LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

doubts about serial communication. Help me please!!

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.

 

0 Kudos
Message 1 of 5
(2,129 Views)

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.

0 Kudos
Message 2 of 5
(2,128 Views)

If I move the visa-close out of while loop, there is a wiring error. Why?....

0 Kudos
Message 3 of 5
(2,123 Views)

Turn on context help and hover over the errored out wire.  It will tell you.

 

Spoiler

 

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.

 

0 Kudos
Message 4 of 5
(2,118 Views)

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.

0 Kudos
Message 5 of 5
(2,111 Views)