03-20-2010 07:33 PM
hi everybody could somebody please help me,
I need to autoamtically send a didgital output from my daq based on a value. the backround of my little project. I am reading data in from a database if a value equals a certain value i want to send a digital signal from the daq to a relay, so for example if the database value equals 1 generate a digital signl from port 0 line 7 .
If anybody could help it would be much appreciated
Solved! Go to Solution.
03-20-2010 07:37 PM
Where exactly do you need help? Outputting a 0 or 1 is one of the simplest thngs to do and there are example programs that you can review.
Be sure that you can drive the relay with 6008. The current output is small so you will almost certainly need some type of driver between the 6008 and the coil.
03-20-2010 10:02 PM
03-20-2010 10:27 PM
So what is the problem with AUTOMATICALLY sending a single. You simply compare the value from the database. A comparison function outputs a True/False which is pretty ideal for outputing a true/false signal.
Attach the code you have written. This is not a howework service and seeing some actual code goes a long way in getting detailed help.
03-20-2010 10:29 PM