LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The "LabVIEW evaluation version " may use VISA to receive or send data to RS232 port?

Hi All ,
I am using LabVIEW evaluation 8.0 . Now I use NI-VISA function to send or receive data from COM port .
but I can not find com port in the front panel of LV .
I don't know  LabVIEW evaluation whether may use VISA to receive or send data to RS232 port.
Who can help me ?
Thank you in advance !
0 Kudos
Message 1 of 4
(2,772 Views)
ASRL1::INSTR is com1. It's the actual VISA Resource Name. Com1 is just an alias for it.
0 Kudos
Message 2 of 4
(2,751 Views)

Yes ,but it can't  drive com port .could you try it ?

Thanks .

0 Kudos
Message 3 of 4
(2,736 Views)
There's not much for me to try. I know that ASRL1::INSTR is com1 on my pc and I use that all of the time. What exactly are your trying to do? I see a 'string to write' control. What are you connected to? It looks like a command string for an instrument. What make and model. Most serial instruments require a termination character. Are you appending this on the block diagram? If you are not, then check your user manual for the correct termination. It's often a CR, LF, or both. You can also set your string control to do this just like the shipping example called Basic Serial Write and Read. In that, the string control is set for '\' Code Display and a \n character (LF) is used. You've also got these constants on the string palette.
0 Kudos
Message 4 of 4
(2,728 Views)