06-10-2009 10:52 AM
I have made a simple VI and it runs pretty well. The only problem is that when I give it some commands I can't read the entire buffer. The best example is when given the command "instr name" the response is supposed to be "instr name/ SO2 analyzer/ SO2 analyzer" (with the / being a new line). However when I press the execute command button I get only the first part of the response, and then when I press it again I get the second part, and so on. Is there any way to make sure the entire buffer gets read?
Any help is greatly appreciated
Solved! Go to Solution.
06-10-2009 10:53 AM
06-10-2009 11:01 AM
02-18-2011 05:29 PM
I know how to enter an empty string, but how do you get an empty char from the Programming palette, when you're using the "enable termination char (T)" function in the code?
02-18-2011 05:41 PM
Not sure why you're replying to a 2-year old thread. What do you mean by an "empty char"? Are you looking for a null character? If so, right-click on a string constant, choose "'\' Codes Display" and then enter \00 in the string constant.
02-18-2011 05:53 PM
I was looking for "enable termination char" and the data type is a character. A null string wouldn't work for it. But it turns out the enable termination character is already in the Visa Serial Port VI. I was reading an old thread to get ideas