03-13-2008 10:30 AM - edited 03-13-2008 10:31 AM
03-16-2008 04:18 AM - edited 03-16-2008 04:19 AM
04-17-2008 03:36 AM
I want to change my program whitch is much easier.
4 rocker-buttons to switch on or off a relais. when a rocker is 'on' the digital output needs to be +5V. Now when i use the daq assistant he only gives me a short puls.. i want it to be active for a long time and when i click the rocker to 'off' the digital output needs to be zero.
It sounds simpel but i'm a noob and can't figure it out... please help..
kind regards
Stijn
04-17-2008 08:31 AM - edited 04-17-2008 08:33 AM
04-17-2008 08:39 AM - edited 04-17-2008 08:42 AM
Thank you for the information.
The relay is driven by een extern supply to switch, it only needs a 5v output to tell the relay to switch, as long as the output is high the relay is switched. when it has a low output the relay is off.
I attached my program but it is very simple and not working. I know it is not finished but after hours of trying the halve of the program is erased or edited, which leaves not much anymore.. i just want a high output for as long as the rocker (switch) is 'on'... but i can't tell the pc he has to do that to the digital output...
edit: I am using the usb-6211
04-17-2008 08:49 AM