Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI Simulation Driver

Hello,

 

I have the Keysight 67xx IVI driver installed (AgN67xx.dll).  I can run the simulation mode no problem through the NI VI "N67xxOutputExample_1.vi".  The simulation grabs the:

InstrumentFWRevision as "Sim1.3.5.0"

measured Voltage of "6.74473E-6". 

As well as some other items, but the ones listed are hard-coded into the AgN67xx.dll.

 

Now I want to use the nisDCpwr Simulation Driver Software Module within NIMAX.

NI MAX Relevant My System>>Software:

IVI Compliance Package 4.5

NI-VISA 16.0

 

My System>>IVI Drivers>>Logical Names is setup with DcPwr1, pointing to Driver session is N6711a

My System>>IVI Drivers>>Driver Session is N6711a, Simulate With is pointing to nisDCPwr.

My System>>IVI Drivers>>Advanced>>Simulation Driver Session is nisDCPwr, Simulation Driver Software Module is pointing to nisDCPwr

 

Regardless of what I switch the "Simulate With" in the N6711a Driver Session, the simulation comes back with the same AgN67xx.dll responses of:

InstrumentFWRevision as "Sim1.3.5.0" every time, expected should be "A0.01.01" from Initial settings in Simulation Driver Session

measured Voltage of "6.74473E-6" every time, expected should be random number between 0-10volts

 

I have searched as much as I think I can possibly cover, unless I missed something.  Is there a setting I am missing?  Any help into were to look next would be greatly appreciated.

 

Best Regards,

Andrew

 

 

 

0 Kudos
Message 1 of 4
(3,286 Views)

Thank you for the detailed information on your issue. I would like to ask a few follow up questions so I can better understand your issue.

 

Could you please re-summarize your issue and send me a screenshot of the unexpected behavior you're experiencing? I'm not familiar with the 3rd-party instruments you are using. Also could you tell me more about the nis DC power driver you're using?

 

Once I know more about your application I will be better able to help you.

 

I look forward to hearing back from you.

Patrick O.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,240 Views)

Hello Patrick,

 

I took 3 screen shots.  One is the VI with NI Max IVI Driver>>Advanced>>Simulation Driver Session, the next is of the IVI Driver>>Driver Session.  The third one is of the block diagram after cleaning it up a bit to get into a reasonable size.  Let me know if you would like to see something else.

Download All
0 Kudos
Message 3 of 4
(3,233 Views)

Hello All,

A call to NI Support has me straightened out.  Apparently a huge piece of the puzzle was missing, NI-DCPower installed.  This used a non vendor supplied VI called "IviDCPwr [MSR] - Output DC Volts.vi" to call the Logical Name via IVI and not call the vendor supplied dll directly.  I am a little bit closer by getting the expected results when switching Driver Sessions, but not when switching "Simulate With" in the Driver Sesson from Specific Driver to nisDCPwr.  That throws an error, I suspect the IVI architecture of the vendor dll, but no data to support that claim.

 

 

Error -1074130544 occurred at IviDCPwr Initialize With Options.vi

Possible reason(s):

Primary Error: (Hex 0xBFFA1190) The session handle is not valid.


Complete call chain:
     IviDCPwr Initialize With Options.vi
     IviDCPwr Initialize.vi
     IviDCPwr [MSR] - Output DC Volts.vi

0 Kudos
Message 4 of 4
(3,225 Views)