Jump to content

Gepponline

Members
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Gepponline

  1. Hi, I'm trying to insert some NULL values in a datetime field. In the example, the DATA_INSERIMENTO field has a non empty value and it works correctly but DATA_INTERVENTO doesn't accept NULL. If I use an empty string instead of null, the VI run without any errors but it fill the database field with a 1900-01-01 and it's not what I want. If I use the DB Tools NULL VI it gives me another type of error, maybe 'cause I'm connecting a variant to a cluster of string. If i use a Variant to Data VI for the NULL value it returns an empty string so not the result I need. If use the string you see in the label at the bottom of my diagram in SQL Server manager, it works correctly. How can I obtain the same result with labview?
  2. I developed an appication to manage a DB. So I need to create an interface that could be accessed from different users that will make different queries on the DB so it should display different results. Is this possible with this tool?
  3. Is there a way to display a DXF or a DWG file? Not an interactive control, I need to display them as they are Images. Is to avoid to export bitmap form dxf files only to show the user a reference layout... something like a preview... Is there a way to do it?
  4. I've found this on wikipedia http://rosettacode.org/mw/images/f/fb/LabVIEW_Determine_if_a_string_is_numeric.png
  5. Hi! i need to check an integer string, but if i use Scan from string with a %d as format string, and I have a string that contains 12A13 for example, it don't return me an error 'cause it recognize a 12 before A. SHould i use a different format string to consider the whole string?
  6. SOmetimes yes and sometimes no, it depends on which pc the authenication is required...
  7. I took a look at your software and get a solution, the problem is that authentication takes quite 30 seconds... No faster solutions?
  8. Hi! I need to authenticate users on my program relying on LDAP. At the moment i use a .NET contructor that work but it takes 30 seconds to authenticate the user. Is there any other way to do this? Activex? dll? Thank you! Attached you can find the snippet of the way i do now.
  9. Hi!, I have a problem with a spreadsheet file. I need to import a tabulated file that contain some text fileds with a EOL inside. I've tried exporting that file in csv with a text delimiter such as " but the problem is how to import the file makin labview recognize the text field and so ignore the EOL in the text field. At the moment with normal spreadsheet VI's i get a new line when i have a text field with an EOL character. Is there any solution for my problem? EXAMPLE: 88 250 P A2 1971 1-lug-1990 Tenax D 250 P DP "Testa con passaggio acqua Monta Verin D. 60 corsa lunga" 110 x 110 345 Tenax 1 the above text return me two line 'cause "Testa con passaggio acqua EOL Monta Verin D. 60 corsa lunga" is a single text field and the EOL must be ignored. thank you! Geppo!
  10. Even using .Net can be a good idea..but i dpn't know which construct to use
  11. hi! I need to athenticate users of my program using LDAP. Does anyone can help me on how to do this? I suppose i need to use a DLL but I don't know which one and I don't know what i have to give it as Input. Thank you!
  12. Hi, I have a problem with my signal generation Vi. I use a Ni PCI-6221 board to generate arbitrary waveform. In my application i need to change waveform and frequency on the run and the next waveform MUST start after the last point of the first one. I attach an example of what i need to do. Don't care about the shape of the waveform bout only the frequency. As you can see in the exampel when i change waveform the new waveform immediately start truncating the waveform in execution. I need the new waveform to start at the end of the first one. NOTE: I MUST use continuee samples or regeneration 'cause i could not be fast enough to write continuously the waveform when i generate 100hz waveform or similar. could anyone help me? Prova2.zip
  13. I solved my problem and now i can read every file. Now i Have a problem with communication. Sometimes i Get ERROR 56, so i stop and restart communication and i can communicate again. Sometimes i get error 60 and it seems that it's not possible to restart communication. Should there be a minimum time between stop and start connection with the PLC?
  14. Hi! I'm communicating with a Micrologix 1400 PLC. I Can read the N7 integer value, but the plc software use even "B" and "I"files for boolean variables. I Can't modify the PLC software. Is there a way to read these files with your VI's?How?
  15. Hi! i'm going to develop an application to read a couple of analog input from an object that turn continuously. Needing a wireless communication, i decided to use Xbee modules. Now I have my modules but i don't know how to start communicating with them using labview. Any Idea about it? Is there any labview tool to communicate with xbee modules? Is bettere to use API mode or AT command mode? thank you so much.
  16. a little suggestion. I think it could be usefull to add an Order By array input in the select Vi.
  17. I'm not using it at the moment but i'm going to use it early to substitute the old SQlite wrapper i used in some applications
  18. Here it is! http://gepponline.altervista.org/_altervista_ht/SQLite.zip I'm not able to attach file here in the forum, maybe a Proxy problem of my net. If anybody can download it from the link and upload it in the forum it's better 'cause that is my old domain and it can give some problem for file sharing. I deleted recursion istances and all seems to work. i use it with Ubuntu and Labview dor linux 8.5. ...ma ciao! Geppo!
  19. I confirm, no issues with LV9. And now that i have deleted recursive VI, no issues even with LV 8.5. Maybe i'll convert the recursive VIs as you said with call vi nodes to have all the tool working, but for the moment i only need to make some simple query and i don't need nothing more
  20. maybe there is a a little misunderstanding. i don't have LV 9.0 for linux, i have LV 8.5 for linux. That's why i have to convert VI's forst to LV 8.6 in windows and then to 8.5 for linux.
  21. No I don't ...even if i cannot find any TARGET_BITNESS variable in the project...where is it placed? Oh, QUery3.vi, rename column and dlete column report the same recursion problem.
  22. Ok, i find that After converting Vi's to 8.6, Labview autodisconnect rename column and Delete column to prevent recursion. There is a SQLite_Query.VI that is recursive and cause problem with versions 8.6. SQLlite_query3.vi cause the problem.
  23. I Didn't make an example i only created a new blank vi and place a Table.vi inside. Could it be a converting from LV9 to LV 8.5 problem? To make this i had to convert to 8.6 first and then with LV 8.6 to 8.5...maybe something get lost inthis step. I created a New project but the OS variable was not "Unix" but "Linux" and the bitness variable did not exists. Now i'm trying reconverting Vis from LV9 to LV8.5 and using a project, i'll let you know if i find something new
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.