03-25-2012 03:45 PM
I need to make a serial comunication. In attached VI I send button's state for serial port. I send: A,B,C,D,E,F,G,H. But i don't Know if is OK. Is for write in serial port. I would like that you to see if it's ok. Thanks
apparently there is an error in serial port configuration.
03-25-2012 03:56 PM
Why didn't you continue in the same message thread?
It looks better than before. You still need to move the VISA close outside of the while loop.
We can't see if it is okay since you are the one with the instrument.
"Apparently there is an error in serial port configuration." Why do you say that? Is it giving you an error? If so, what is the error? We can't give specific answers to ambiguous questions.
03-25-2012 05:09 PM
If I move the visa-close out of while loop, there is a wiring error. Why?....
03-25-2012 06:39 PM - edited 03-25-2012 06:39 PM
Turn on context help and hover over the errored out wire. It will tell you.
My guess is that a wire is becoming an auto-index tunnel on the way out of the For Loop thus becoming a 1-D array. Disable auto-indexing on the tunnel.
03-25-2012 07:27 PM
Why don't you use Hyperterminal or something like it to make sure the protocol settings are all okay, before you automate it with LabVIEW?
Much easier that way.