National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 5 RS-232 Library
© National Instruments Corporation 5-37 LabWindows/CVI Standard Libraries
Table 5-6. RS-232 Library Error Codes (Continued)
-258 Packet not sent within retry limit.
-259 Packet not received within retry limit.
-260 End of transmission character encountered when start of
data character expected.
-261 Packet number could not be read.
-262 Packet number inconsistency.
-263 Packet data could not be read.
-264 Checksum could not be read.
-265 Checksum received did not match computed
checksum.
-269 Packet size exceeds input queue size.
-300 Error opening file.
-301 Error reading file.
-302 Did not receive the initial negative acknowledgment
character.
-303 Did not receive acknowledgment after the end of
transmission character was sent.
-304 Error while writing to file.
-305 Did not receive either a start of data or end of
transmission character when expected.
-402 Transfer was canceled because the CAN character was
received.
-503 Invalid start delay.
-504 Invalid maximum number of retries.
-505 Invalid wait period.
-506 Invalid packet size.
-507 Unable to read CRC.
-508 CRC error.
The value of rs232err is zero if the most recently called RS-232 function completed
successfully. Errors above 200 occur only on XModem function calls. Errors 261 through 265
are recorded when the maximum number of retries has been exhausted in trying to receive an
XModem function packet.