07-12-2012 01:35 PM
I "hovered" over each DAQmx subvi in my main vi and could find any where to make reset TRUE or FALSE. Where would that be ??
07-12-2012 02:24 PM
Yeah, there's the reset in the VI. That is what is opening up your relays.
07-12-2012 02:26 PM
The very first VI you have in that block diagram is "DAQmx Switch Set Topology and Reset"
This VI resets the Switch, returning all of the relays to their default position. If you remove the Set Topolgoy and Reset VI your program will leave all relays in their current position untl you explicitly open them, or call the Disconnect All VI or Set Topology and Reset VI later.
It is good practice to have this Set Topology and Reset VI run once at the very beginning of your program but you do not need to continue caling it in every step. The 2569 also only has one topology anyway, unlike many of our other switch modules, so this VI is only useful on the 2569 to reset all the relays.
Note: Restarting your computer will also reset the relays to their default position.
07-13-2012 06:36 AM
Thanks...I couldn't see the forest thru the trees. If I'd have read the description below the block diagram (#1) I would have seen it said:
"Steps:
1 - Reset the switch and set the topology.