LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 34980A matrix switching problem

See attached screenshot of code. Above text "Connect to DMM" I have two 34980A switch actions, one opening 3 switches followed by one closing 1 switch. The closure isn't happening. It used to, then got more flaky, now doesn't close at all in this code. I tried putting a 3 second wait between the two actions with no help. I can write a separate simple vi operating this switch and it works perfectly, as indicated on the front panel of the 34980A. Any idea why this doesn't work?

0 Kudos
Message 1 of 4
(2,853 Views)

Hello, hammer3!

 

You mentioned that it used to work, and got more flaky, and now doesn't work at all. What changed in your code between "working" and "not?"

 

Also, could you post your simple, working code?

Will Hilzinger | Switch Product Support Engineer | National Instruments
0 Kudos
Message 2 of 4
(2,833 Views)

Thank you for your response. I verified that connections were intact to the second relay icon by moving the icon up & watching the connections follow it. For lack of any other options I then completely disconnected and reconnected it and it cured the problem. That section of code had not been tampered with during the time its behavior changed.

0 Kudos
Message 3 of 4
(2,829 Views)

Hello, hammer3!

 

So it sounds like the problem is solved then, correct? 

 

Sometimes device-controling VI's need to be re-wired like that when software connection definitions change - for instance connecting and disconnecting the physical device or re-creating another VI in the same wire chain. It's a subtle thing, but I'm glad the switch is now functioning properly (please let me know if this is not the case).

 

Have a great day, hammer3!

Will Hilzinger | Switch Product Support Engineer | National Instruments
0 Kudos
Message 4 of 4
(2,823 Views)