Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VI_ATTR_FIND_RSRC_MODE documentation?

I have a PXI chassis. By running NI-MAX and tracing with NI-IOTRACE I can see that MAX calls viSetAttribute(session, VI_ATTR_FIND_RSRC_MODE, 0x8018) as the first order of business; subsequently, it can enumerate all the PXI slots with viFindRsrc("/?*") - i.e. viFindNext returns all the PXI*::INSTR resources. Without setting that attribute, I can only find PXI*::BACKPLANE. I can't find any documentation for this attribute.

 

Please indicate where I can find documentation for this attribute, as I'd like to enumerate PXI slots. 

0 Kudos
Message 1 of 2
(3,040 Views)

Hi luchnikov,

 

You can start by taking a look at this document. It explains with more detail all related to VISA Library Extensions for PXI Systems.

 

Do you want to determine the slot number of your PXI device or you want to enumerate each slot by yourself?

 

Regards,

Jose F.

0 Kudos
Message 2 of 2
(3,001 Views)