LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with Serial Port

Yes, I realize this, when i had the port set to 0 (for com 1), the program was not even recognising any data at the serial port, but when i deleted the serial port initialisation (or changed the number to a non existent serial port) the vi read the data at serial port 1 (prompting for the password).
I shall have another go after looking at the readings you have suggested.
Thanks
0 Kudos
Message 11 of 16
(1,676 Views)
Ill give it a crack
Cheers
0 Kudos
Message 12 of 16
(1,267 Views)
hi Mr Dennis i am trying to use serial port init to send data through externally and plot on the graph this is what i have done till now but in vain could you please help me pls..... thank you in advance
0 Kudos
Message 13 of 16
(1,066 Views)

You've responded into a very old thread.  Even 7 years ago, the replies said don't use the old serial VI's, use VISA instead.  So how come your VI which is written in  LV8.5 is using those ancient serial VI's?

 

You have the same problem as the original poster in that there is no dataflow dependency between your serial write and serial read.  Either could happen first.

 

Take a look at the Basic Serial Write and Read example in the example finder (along with several other serial examples) and structure your code based on that using VISA functions.

 

Once you've redone your code using modern LV VISA functions, start a new thread with any questions you may still have.

 

 

0 Kudos
Message 14 of 16
(1,043 Views)
Hi i have done that too with online help just check my VI but how can i send data externally using this VI just let me know pls
0 Kudos
Message 15 of 16
(1,036 Views)
Stop posting the same question to multiple threads.
0 Kudos
Message 16 of 16
(1,024 Views)