07-06-2006 04:32 PM
07-06-2006 04:56 PM
07-11-2006 05:00 PM
07-11-2006 10:11 PM
07-12-2006 01:50 PM
07-12-2006 03:27 PM
07-13-2006 01:08 PM
07-13-2006 01:43 PM
Using an expensive DAQ board to just provide 5VDC seems a little silly. You could buy a cheap wall transformer from radio shack for around $10. If you wanted, you could also build an extension cable from one of the internal power plugs inside your pc.
If you are not going to control the relay with digital lines from the daq board, you don't need DAQmx or the DAQ Assistant. Nor do you need either if you just provide 5 volts from the DAQ board. The DAQ board has a fixed 5 volt output pin. If you do want to experiment with controlling the DAQ board, then go to the NI Measurements>DAQmx palette. If it's not there, then DAQmx might not be installed. See if you have a Data Acquisition palette under NI Measurements. The functions there use an older DAQ driver.
07-13-2006 01:58 PM
07-13-2006 03:01 PM
The problem with the parallel port's 5 volts is probably that it can't provide enough current and the fixed 5 volt output on the DAQ board is not a high current source either. As I said earlier, you can look up this information in the manual for the DAQ board. There should be some specs provided for the relay. If nothing else, it should provide the coil resistance. Using Ohm's law, you can calculate the current. V=IR or I=V/R where V=volts(5), R=resistance, and I = current. If the I you calculate is greater than the spec for the NI board, you can't use the board.
I'm sure you can find an inexpensive wall transformer. I'm sure you've seen these. They are those little black bricks you plug into a wall socket to do things like charge your cell phone, iPod, etc. They will have a marking on them that state the DC output voltage and current. Find one that provides 5 volts and enough current.
This is starting to sound like some school project. If the task is to design a 5 volt power supply, then maybe you should be looking into transformers and voltage regulators.