02-11-2007 02:15 PM
02-11-2007 02:56 PM
Hello!
you must use the string functions to separate what is before and after the number that you must put there, after that you must use the concatnate string to put your strings together.
regards
02-11-2007 03:01 PM
02-11-2007 08:22 PM
Hello again,
Ni has nice training courses they can save a lot a time to start in Labview ou they sell the course manuals. There are also some nice Labview books, i have several that helped me to start.
Good luck
02-11-2007 11:46 PM
06-09-2008 01:12 PM
06-23-2009 10:49 AM
Hello,
I am working with a series 2000 Environics gas mixer and I'm having some trouble establishing communication. I tried passing the mixer a command of the format in the user manual (eg. STX Time? ETX) but I get no response. This is the case when I use the Basic Serial Write and Read VI in the example finder. I also tried using MAX but I get a timeout error. Any help would the greatly appreciated!
06-23-2009 01:34 PM
06-24-2009 08:54 AM
Why don't you have the STX or ETX in the string you pass the instrument or do I just not see it? Also can you explain what the hex part of the string is? I'm just a little confused
06-24-2009 09:09 AM
You really need to get an understanding of ASCII and control codes. STX cannot be sent by typing 'STX'. If you get an ASCII table (google it), you will see that STX stands for start of text and you send hex 02. A string control/constant can be set for hex display (right click). You could also set it for '\' codes Display and enter \02. A third way is to use an array of U8 and use the Byte Array to String function. A typecast of a U8 to a string also works.
This is a highly discussed issue. Search for 'serial hex' and you will find hundreds of threads.