Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Adding a Virtual Device Agilent 34980A

I have configured the logical name and driver session for the equipment and followed the Agilent help file for configuring for NI Switch Executive and added the following line to the driver session - DriverSetup
"dmm=true, slot1=34923A, slot2=34950, slot3=34937A-2W, slot4=34941A"
When I go to add an IVI switch in the Switch executive I get the following error
 
An error has occured while attempting to access device instRAYINDY_ID1_34980A
Primary Error: (Hex 0xBFFA004A) The option string parameter contains an entry without a value (nothing after the '=').
Elaboration: Agilent34980A: The option string is missing an option value.
The DMM option (DMM=true or DMM=false) is required in simulation mode but missing.
I went into NI Spy and traced the call and got the following:
> 1.  IviSwtch_InitWithOptions ("instRAYINDY_ID1_34980A", VI_TRUE, VI_TRUE, "Simulate=1", 0x034E0234)
> Process ID: 0x0000131C         Thread ID: 0x000014DC
> Start Time: 21:22:14.997       Call Duration 00:00:00.156
> Status: 0xBFFA004A (IVI_ERROR_MISSING_OPTION_VALUE)
 
It looks like it is not passing the Driver Setup String? 
Where do I find the options string "Simulate=1" and change it to the parameters I need.
 
Regards,
NickTheTestEngineer
0 Kudos
Message 1 of 6
(8,891 Views)

Hi Nick,

Does the IVI Driver Setup string have quotes at the beginning and end?  Try removing the quotes and let me know if you still receive the error.

Hope this helps!

Chad Erickson
Switch Product Support Engineer
NI - USA

0 Kudos
Message 2 of 6
(8,869 Views)

I have tried it with quotes and without.  I also tried apostrophe ' on the beginning and end.  No change in the parameter string.

 

0 Kudos
Message 3 of 6
(8,854 Views)

Hi Nick,

May I request more information?:

1. What version of the Agilent driver are you using?
2. What version of NI Switch Executive?
3. Can you send us your IviConfigurationStore.xml file?  It is typically located at C:\Program Files\IVI\Data.

Thanks!

Chad Erickson
Switch Product Support Engineer
NI - USA

0 Kudos
Message 4 of 6
(8,843 Views)
Hello,
Agilent AG34980A version 1.3.10.0
Switch Executive version 2.11.49153
 
Attached: IviConfigurationStore.txt -> had to copy and re-name would not accept file type *.xml for upload. 
Hope this helps!
0 Kudos
Message 5 of 6
(8,810 Views)
Hi Nick,
 
Did you ever get your system running?  I've included an example driver session configuration below, just in case you did not.
 
Best regards,
 
Chad Erickson
Switch Product Support Engineer
NI - USA
0 Kudos
Message 6 of 6
(8,683 Views)