Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb to serial communication problem

Solved!
Go to solution

Hello. 

I am trying to communicate with a mesytec mscf-16 module through usb ( usb to serial converter chip from fdti ) . Using hyper terminal i can connect and send commands to the module but from labview i can't use the commands . it is like the module sens back the same string i write. 

Is there any incompatibility between the fdti vcp driver and visa? 

Download All
0 Kudos
Message 1 of 3
(4,511 Views)
Solution
Accepted by topic author andrei123456
Hyperterminal sends a CR and LF with each command. You are only sending LF - the \n. In MAX, try appending \r\n. The \r is carriage return. In LabVIEW, you must right click on the string control and select '\' Codes Display or use the constants from the string palette.
Message 2 of 3
(4,492 Views)

It works . Thank you. 

0 Kudos
Message 3 of 3
(4,469 Views)