02-27-2012 11:00 AM
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?
02-28-2012 11:46 AM
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?
02-28-2012 12:06 PM
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.
02-28-2012 01:07 PM
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!