01-07-2009 06:20 AM
Solved! Go to Solution.
01-07-2009 08:59 AM
Yes, you can control a switch/relay with a digital output. Depending on the specs of the relay, you may need to amplify the current or do a voltage level shift in order to drive it.
I have no idea what you mean by 'virtual switch' and why you would even care about the digital inputs. You simply set the digital output high or low.
01-07-2009 09:05 AM
01-07-2009 10:03 AM - edited 01-07-2009 10:05 AM
Here's a couple of ways to do a basic digital output. Alos look in the shipping examples (Help>Find Examples) and give a look at the DAQmx Getting Started.
01-07-2009 12:14 PM
02-06-2009 11:09 AM
I believe I am trying to do something similar, but I am confused. Any help would be appreciated.
I have an SCB-68 DAQ to which are tied 4 relays by way of transistors. (DAQ Digital out pin -> transistor -> relay -> load)
I want to "activate" the transistor to trip the relay. I.e., I need to hold high (+5V) at the transistor for as long as I want the relay to stay shut. Initially, I will just want to use switches on my LV front panel to operate the relays (press button to go high...press again to go back low).
This seems very basic, but I am just not seeing how to send a continuous high or low as an output. Unless I just can't see the forest for the trees, I don't believe any examples that ship with LabView or any examples of this great forum show an example of this exact scenario...
Can someone provide one?
Thanks very much,
-Rev