Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI SWITCH Models

Hi
I have an application using ivi_switch class and the configuration store that can connect with a pickeruing swich pi40iv,
but its not running in an agilent switch Ag34980a
 
i have modify mi configuration store and the logical name and its points to the correct driver session
 
 
The software return the nest error:
 
Error Message: The option string parameter contains an entry without a value (no
thing after the '=').
 
 
My option strings is:

ViString optionString = "Simulate=1,RangeCheck=1,QueryInstrStatus=1,Cache=1,DriverSetup=Model:40-535-021;";

 
Thanks
0 Kudos
Message 1 of 5
(3,911 Views)
Hello geodo,
       It looks like one of the possible reasons that the driver is not working with the Agilent switch is that the DriverSetup is still set for the Pickering switch.  You are also running in simulation mode, which should be disabled if you would like to communicate with the actual instruments.  Here is the Option String that I recommend: "Simulate=0,RangeCheck=1,QueryInstrStatus=1,Cache=1"

Let us know how it goes,

NathanT
0 Kudos
Message 2 of 5
(3,897 Views)

Thanks Nathan

The problem is that i'm waiting for the switch and i´m doing trials before, that is the reason why i use simulate option

if i dont use simulation ---->"Simulate=0,RangeCheck=1,QueryInstrStatus=1,Cache=1"   the error is:

Error Code: 0xBFFA0060
Error Message: Insufficient location information or resource not present in the
system.

 

if i use simulate=1-->"Simulate=1,RangeCheck=1,QueryInstrStatus=1,Cache=1"

 i have the same error that i show in the first post 

Error Code: 0xBFFA004A
Error Message: The option string parameter contains an entry without a value (no
thing after the '=').

 

:S

 

 

0 Kudos
Message 3 of 5
(3,895 Views)
Hello geodo,
       I downloaded and ran the driver with just an IVISwitch Initialize and Close and got a similar error:

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.

Even after adding "DMM=true" or false, it still gave the error.

I looked through the help documentation that shipped with the driver, but could not find a good explanation of what might be causing the problem.  I recommend that you contact the instrument driver vendor about this issue and see if they have any suggestions.

Cheers,

NathanT

0 Kudos
Message 4 of 5
(3,872 Views)

Thanks Nathan

I probed with other switchs (ivi_driver in simulation mode) ant they runs without problems, i will trie to search the cause of this problems and post it there

 

Thanks

0 Kudos
Message 5 of 5
(3,854 Views)