07-31-2010 03:06 AM
I am using VISA Write command to write some command like 'ABCDE" to serial port which connected with another serial port of UUT. At the same time, i reack feedback from UUT.The problem is not every time the write is ok. Sometimes it seems it lose some byte. For example ,sometimes i can read back from UUT ,the response is " Unknown command ABDE". So where is the C go? i should send all ABCDE command out to UUT ,but seems the C is lost during the transmission. While when i use hypter terminal, it is very reliable ,no this problem can be seen. So what problem is Labivew ? how to fix it ? thanks a lot.
07-31-2010 05:28 AM
Hello
It is not due to the VISA Write,At the time of read (VISA Read ) showing the problem. This is because of the instrument which you are using in not having the EOI( End Or Identity). Please check the manual it is supported or not And also check the timeout value, terminators(clr, clr+lf etc).
and also go through he below link.
http://forums.ni.com/t5/LabVIEW/solartron-1250-driver/m-p/1086923#M480961
07-31-2010 10:54 AM
Not sure what EOI or the link has to do with serial communication and the problem.
Perhaps you are sending data too fast. Try a lower baud rate or adding some delay between characters as Hyperterminal does. See here.