Chapter 3
Local Command Set
3-18
ni.com
CmdrTable?
Purpose
Get the known system hierarchy table.
Query Syntax
CmdrTable?
Response
Program response:
<cla0>,<cla1>,<cla2>,<cla3>,<cla4>, . . .,<cla254>
<CRLF>
where <cla
N
> is either the Commander’s logical address for Logical Address
N
, or 0 for
top-level Commanders and unused logical addresses. Notice that no value is returned for
Logical Address 255.
Console response:
Known Hierarchy is as follows:
<CRLF>
Logical address <la1> has Servants: <sa1,1>,...,<sa1,M>
<comment>
<CRLF>
Logical address <la2> has Servants: <sa2,1>,...,<sa2,M>
<comment>
<CRLF>
•
•
Logical address <la
N> has Servants: <saN,1>,...,<saN,M>
<comment>
<CRLF>
where
<la X>
is a valid logical address with Servant addresses
<sa
X,1>
through
<sa1,M>
.
The
<comment>
field indicates any relevant information about the status and/or capabilities
of the device at Logical Address
<la
X>
.