Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Open ALL Relays on NI2569 using DAQmx in Labview2009

Solved!
Go to solution

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 ??

 

 

0 Kudos
Message 11 of 14
(3,388 Views)

Yeah, there's the reset in the VI.  That is what is opening up your relays.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 12 of 14
(3,381 Views)
Solution
Accepted by topic author clint100

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.

Eric S.
AE Specialist | Global Support
National Instruments
Message 13 of 14
(3,379 Views)

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.

0 Kudos
Message 14 of 14
(3,367 Views)