Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

viFindRsrc returns nothing using VISA 14.0.1

$
0
0

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?


Viewing all articles
Browse latest Browse all 5565

Trending Articles