Chapter 3
Local Command Set
3-22
ni.com
Srvnts?
Purpose
Get a list of a device’s Servants.
Query Syntax
Srvnts? <logical address>
<logical address>
is the device’s logical address.
Response
Program response:
<sla1>,<sla2>,...,<sla
N>
<CRLF>
where
<sla1>
through
<sla
N>
are the Servant device logical addresses.
Console response:
Logical Address <logical address> has servants:
<sla1>, <sla2>,..., <sla
N> <comment>
<CRLF>
if the device has Servants, or
Logical Address <logical address> has servants:
none <comment>
<CRLF>
if the device has no Servants.
The
<comment>
field indicates any relevant information about the status and/or capabilities
of the device.
Example
Get a list of Servants for device at Logical Address 15.
Srvnts? 15