Chapter 3
Local Command Set
3-94
ni.com
ProtErr?
Purpose
Send a
Read Protocol Error
Word Serial query to a Message-Based device.
Query Syntax
ProtErr? <log addr>
Action
Read Protocol Error
query is sent to a Message-Based device. Response is read and reported.
Response
Program response:
<hex value>
<CRLF>
where
<hex value>
is the hexadecimal value of the Data Low register response.
Console response:
Read Protocol Error for Logical Address <log addr> returned 0x<hex
value>:
<description>
where
<description>
is text explaining the error response.
Example
ProtErr? 3