Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use IVI switch driver with relays (34959A)

I have the 34980A chassis with a 34959A breadboard in it.  I do not understand how to use this IVI driver to close the general purpose relays.  The driver seems to be setup for a crosspoint matrix and wants the two channels to connect.  I simply want to close one relay, is there some default common channel I am supposed to use for the second one?

0 Kudos
Message 1 of 9
(5,172 Views)

I don't quite understand. All of the relays have two channels - an input and an output. In the LabVIEW example, they are denoted as SourceChannel and CommonChannel.

0 Kudos
Message 2 of 9
(5,169 Views)

So if I want to close relay 127 for instance; what would the input and output channel names be?  I do not see anything in the documentation that defines this.

0 Kudos
Message 3 of 9
(5,166 Views)

If I remember correctly, you assign the names in MAX. I'm using the 34980 right now but I generally avoid IVI so I can't provide exact specifics. 

0 Kudos
Message 4 of 9
(5,164 Views)

I plan to use max too, but for now I am just trying to get it to work so I am hard coding the channel name in.  Any idea what the syntax is for the channel names?

0 Kudos
Message 5 of 9
(5,157 Views)

No, I don't think I've ever used anything hard coded, sorry.

0 Kudos
Message 6 of 9
(5,149 Views)

Still working this issue and having no luck.  I am able to initialize the chassis with the initi VI so I think MAX is setup correctly.  But I cannot get the connect VI to work.  It always rejects my channel names and syays there is no path between the two.  I founf in the documentation that the channel nomenclature is "sccc<term>" were "s"= slot the card is in, "ccc" = channel number, and <term> = the terminals to connect.  For a general purpose relay that would be COM, NO, or NC.  Mine is in slot 1 so I tried 1128COM to 1128NO and it still doesn't work.

 

I did check the card.  I can open and close the relay manually with the front panel on the chassis.  So the card is working.

0 Kudos
Message 7 of 9
(4,832 Views)

Muffin,

 

Can you see the device in MAX? How does it show it in MAX, if it does? Is there a specific error that is being returned?

Noah | Applications Engineer | National Instruments
0 Kudos
Message 8 of 9
(4,774 Views)

hey Muffin,

 

The following modules/cards are not supported with the IviSwtch class API in the Agilent 34980A IVI driver (as of version 1.5.3.0):

 

 34945A, 34950A, 34951A, 34952A, 34959A

 

I updated the driver download page on Agilent.com to add that note (this little detail was not documented anywhere). Sorry it took so long to figure this out...

 

As an alternative, you can use the Agilent-specific part of the driver, the LabVIEW driver from NI, or just send the SCPI commands directly.

 

Alan Copeland

Connectivity Support

Agilent Technologies

0 Kudos
Message 9 of 9
(4,500 Views)