Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

viFindRsrc returns nothing using VISA 14.0.1

I have software that uses the following method to identify PXI card addresses in a PXI chassis.

 

viOpenDefaultRM (&rm);

viFindRsrc (rm, "?*", &vi, &retCnt, desc);

viFindNext (vi, desc);

viOpen(rm, descs[i], 0, 0, &vi);
viGetAttribute(vi, VI_ATTR_MODEL_NAME, &model);
viGetAttribute(vi, VI_ATTR_MANF_NAME, &mfg);
viClose(vi);

 

This works on all PXI systems so far using NI VISA 5.4 or earlier.

So the problem is that now we have NI VISA 14.0.1 installed and this no longer works.

 

I can't find anything about NI discontinuing this functionality, so I am asking if anyone know why this would stop working?

0 Kudos
Message 1 of 2
(4,114 Views)

I would like to change the issue regarding this functionality and NI VISA.

It seems as though I will only be able to retrieve the top layer of the VISA structure. Basically, is you open NI MAX and view the Devices and Interfaces, whatever shows up there without going down any further, that is what I can see using the code I have.

 

The problem is that VISA 5.4 placed everything on the top-level and VISA 14 places PXI cards UNDER the PXI Chassis.

 

So the only thing I can see is the chassis and none of the instruments in the chassis.

 

In order to not change my code just yet, is there a way to have all PXI instruments show up on the same level as the PXI Chassis in NI MAX 14?

0 Kudos
Message 2 of 2
(4,112 Views)