Subject: [Mac]Bug in serial reading binary data
Message-ID: <0160AA0E-D5D3-4361-BCF3-E7351E9106AB@xs4all.nl>
When reading binary data the property node "Serial Settings:Number of Bytes at Serial Port" shows a wrong number of bytes when one or more bytes has the value of xFF. For each byte on the bus containing xFF the #bytes is incremented by one.
So when the bytes 10,20,30,255,112 are sent to the computer, LabVIEW's #bytes shows 6 bytes. So reading 6 bytes will time-out after which 5 bytes are received with the values as sent. When the bytes 10,20,30,254,112 were sent, everything is OK.
It should be nice if there is somebody able to try this using a different language than LabVIEW.
This was done on MacBookPro MacOsX10.7.5 and VISA5.2.0 LabVIEW2009SP1/2012
If this is reproducible it is a bug in my opinion.
Regards,
Paul