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

NI-DCPwr ignores IVI DriverSetup String set in NI MAX

$
0
0

Hi everyone,

I want to specify the simulated instrument Model in the "Driver Setup" field in NI MAX. In NI MAX I gave the Driver Setup as follows:

Model:4137

I then create an instance by calling the `IviDCPwr_init` function. However if  I then query the `IVIDCPWR_ATTR_INSTRUMENT_MODEL` attribute, I see that the option was ignored and only a 'NI PXI-4110' was created instead of the 4137.

 

What am I doing wrong?

 

(The only workaround I found is to I use the `IviDCPwr_InitWithOptions` function and pass the option string as a parameter. But I want to be able to configure the options in NI MAX.)


Viewing all articles
Browse latest Browse all 5681


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>