Chapter 3
Local Command Set
3-20
ni.com
RmEntry?
Purpose
Return RM information about a device or all devices.
RmEntry?
does not return the
Servant list.
Query Syntax
RmEntry? [<logical address>]
If
<logical address>
is omitted,
RmEntry?
returns the RM information for all devices.
Response
Program response:
<la>,<cla>,<sa>,<slot>,<devclass>,<subclass>,<manID>,<modelcode>,
<memspace>,<membase>,<memsize>,<state>,<line status>
<CRLF>
Console response:
Resource manager entry for Logical Address <logical address>:
<CRLF>
<CRLF>
Commander's Logical Address
:<cla>
<CRLF>
GPIB Secondary Address
:<addr>
<CRLF>
Slot
:<slot>
<CRLF>
Device class
:<devclass> (class)
<CRLF>
Extended Sub Class
:<subclass>
<CRLF>
Manufacturer's ID
:<manID> (manufacturer's name)
<CRLF>
Model code
:<modelcode>
<CRLF>
A16/A24/A32 Memory space
:<memspace> (memory space)
<CRLF>
A24/A32 Memory Base
:<membase>
<CRLF>
A24/A32 Memory Size
:<memsize>K (<memsize> bytes)
<CRLF>
Status State
:<state> (state)
<CRLF>
Forced Offline?
:<line status> (yes/no)
<CRLF>
The mnemonics have the following meanings:
la
Device’s logical address
cla
Commander’s logical address
addr
Device’s GPIB address (255 if not assigned GPIB address)
slot
Slot number (255 if unknown, such as if the device does not have
MODID capability)