06-13-2011 10:04 AM
So what? I will repeat what I have said before. The flush is not any problem. If it bothers you for some reason, use something other than VISA.
06-13-2011 10:11 AM
Comparing Visa to Hyperterminal that is the difference when viewd through Portman? Isn't this basic what I'm trying to do even when I use a LV example it's the same thing......?
If the "flush" is not the problem problem what? What else could I try?
06-13-2011 10:16 AM
Attach your modified VI with an actual command saved in the 'String Write' control (Edit>Make Current Values Default. Save the VI). Provide a link or attach the programming manual for the instrument.
06-13-2011 11:55 AM
Here's vi and newer manual..........
I've noticed the only way to stop flush is is changing "flow control" ......
06-13-2011 12:04 PM
You changed the string format but now the string does not have the CR (\r)
06-13-2011 12:56 PM
Forgot to save with "\r" but still reads zero on output attached pdf with view. Format problem on read?
06-13-2011 01:19 PM
Please post actual VIs rather than images placed into a PDF. We can't debug PDFs.
Several comments:
06-14-2011 09:53 AM
Code is posted in this thread?
1) one character at a time : I guess it's not needed but when I first started by viewing Portman didn't know if I full string would work.
2) time between characters : For the way it's set up presently it needs to be set at 200 but without out loops and sequence it's not needed?
3) setting flow control to XON/XOFF : Not using just saved with it selected.
4) wire a large value : Yep did that trying different things to see how stuff works...Novice..
5) no formatting on the buffer you read: Trying to figure out how to read...? LV only reading one channel but scaning 4 channels????
6) sequence frame : Correct not needed.........
06-15-2011 09:22 AM
Unless the manual explictly tells you that you're supposed to wait a certain amount of time between characters, or the manufacturer tells you that, simply wire the full command string to VISA Write. If the device communicates via the RS-232 protocol, then it will have a UART that has a buffer. Also, turn off flow control since it's not supported. You can't have flow control to be one-sided.
06-16-2011 10:13 AM
Not using " flow control " just saved when selected.
Need to have time in loop or no result for output......
Working on String Read output for all channel output instead of just one channel?