NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Switch Executive: How to run the 34980-IVI-driver?

Hello,
i´m using TS 3.5 and Switch Executive 2.1.  I have the AG34980A-mainframe with a AG34932-matrix-module connected with Lan to the PC.
I created:
1.) MAX + IVI-drivers + Advanced + Hardware-Assets ==> New asset with IP-descriptor of the mainframe
2.) MAX + IVI-drivers + Driver Sessions ==> New session which points to asset and has driver-setup-string: "DMM=false, slot1=34932A
3.) MAX + IVI-drivers + Logical Names ==> Create new name which points t0 driversession
4.) MAX + SwitchExecutiveVirtualDevices ==> Create new device which points to logicalName
5.) In the nes Device in tab "Routes/Groups" ==> Create new route with name TST and startpoint "s1m1c1" to endpoint "s1m1r1"
6.) Start TestStand and insert a non-adapter action and open properties there
7.) Activate switching and select the TST-route
8.) Close properties and run this step

Now i get this error-message:
Details:
An error occurred while performing the switch operation 'Connect' for the following device 'SwitchConfiguration1'.
Could not perform the switching operation:
Details:An error has occured while attempting to access device logical_ag34980A

Agilent34980A: IO error: .(Error = -1074118124)

Error-Code:
-17500; Operation Failed.

What is the problem here? And what does the error-number mean? I cant find this number in any of the help- or header-files.

The "IP-descriptor" in the hardware-address is correct cause i can send SCPI-commands to this address when using labview. When i change the IP to something wrong then the errormessage changes. That means that IP is ok and the session could be opened. But why is the switching not running?

IVI-Com driver is specially for Switch-Executive downloaded from agilent homepage at http://adn.tm.agilent.com/index.cgi?CONTENT_ID=2750


Thanks for your help

0 Kudos
Message 1 of 6
(5,206 Views)

Hello OnlyOne,

in my opinion, you have a topology problem. You need to be closing the session for the first topology before you can use the switch in a different topology. TestStand does not expose the closing of a device session in any direct way. Basically TestStand attaches the device session to a reference object in the Session Manager, and the reference object is attached to the execution. You can manually release the device by releasing this reference object, i.e. by setting "RunState.Execution.TSIviStepTypes_AnchorName_For_uno = Nothing".

Best wishes Mr_Jingles

 

Jan Kniewasser | Applications Engineer | Tel.: +49 89 7413130 | Fax: +49 89 7146035

»
0 Kudos
Message 2 of 6
(5,189 Views)
Hello,

i have another problem with the 34980 i hope somebody can help me.
When i close or open some relais in the Max it works very well.

In TestStand when i want to do the same i got this error


Details:
An error occurred while performing the switch operation 'Connect' for the following device 'SwitchConfiguration1'.
Could not perform the switching operation:
Details:An error has occured while attempting to access device logical_ag34980A

Agilent34980A: IO error: .(Error = -2147483648)

Error-Code:
-17500; Operation Failed.


Can somebody tell me what i can do?
0 Kudos
Message 3 of 6
(5,171 Views)

Hello,

 

is there nobody who can tell me why i can switch a relais with Ni Switch in Max but not in TestStand

 

Please Help me

 

Thank You

0 Kudos
Message 4 of 6
(5,150 Views)

I got the same problem !!!!

I did not understand ????

Somebody can help us ????

Thank you

 

0 Kudos
Message 5 of 6
(4,288 Views)

This error usually happen when using GPIB communication withthe Agilent Driver. Could you try to switch to serial or USB?

 

There is further informations related to this problem on the following threads :

 

Error -1074118124 :

http://forums.ni.com/t5/Switch-Hardware-and-Software/Error-1074118124/td-p/1411578

 

Agilent 34980 17500 Error :

http://forums.ni.com/t5/Switch-Hardware-and-Software/Agilent-34980-17500-Error/m-p/538180

 

I hope this could help you.

 

Regards

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Kudos
Message 6 of 6
(4,256 Views)