Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

command through serial port

i have a device which is rs 232 compatible. iam using labview with a 4 port serial card.
in one device there is a standard list of commands which when given to the device shall return some value. i issued the commands through the hyper terminal and it was working well.
but when i accessed thro labview the commands sent are recieved in the device as data and are sent back. to be clear it is not taking as an command but some text and sending it back.
i have changed lot of options like terminatin character, serila end mode for write etc but i failed.
but iam surprised that without any advanced comfiguration the hyperteminal is able to execute the command
0 Kudos
Message 1 of 3
(3,252 Views)
Serial communication should be fairly straight forward. If you perform a VISA open, write, then a read, do you see the data? What are hyperterm's settings (these should be replicated with the configure vi)?

I've attached a serial write/read example that uses VISA. Please let me know if it helps!
0 Kudos
Message 2 of 3
(3,252 Views)
i have solved the problem. that particular device has a slow response. so the string should be sent as a character stream with a delay of 100 msec.
thanks for the response.
viswa
0 Kudos
Message 3 of 3
(3,252 Views)