06-23-2006 03:12 PM
06-23-2006 04:38 PM
06-23-2006 04:49 PM
06-23-2006 05:28 PM
06-26-2006 01:52 AM
Hi,
The VI's looks nice but, you read the characters from the COM port right after the write and bytes at serial port'
I don't know when you stop the while loop, but is it possible when you receive a part of the reply that the loop stops ?
Can you have a look here reply 17 and here.
With my VI you should know how many bytes there will be returned this can be a disadvantage.
You can also try to wait some time (a few hundred msec?) after the write and before 'bytes at serial port' depending on your device.
06-26-2006 01:53 PM
06-26-2006 01:59 PM
Hi,
The COM port in reply 17 can be used as a VI, but you have to set the COM parameters according your device and make sure you want or not want to add a <cr> to your command.
Did you try placing a wait after the write in your VI ?
The time-out error you get is that your time-out message or from a function ?
06-26-2006 03:37 PM
06-26-2006 04:22 PM
06-28-2006 01:28 PM