11-18-2009 09:34 AM
11-18-2009 09:37 AM
11-18-2009 09:51 AM
I have installed DAQmx but I can't seem to find any examples for controlling the 9481 module. I can switch the relays using a boolean control but I thought there may be a faster way like send a waveform pulse. I need the relay to switch on for .05 seconds and off for 1 second. Is there a way to do this using a waveform?
11-18-2009 10:07 AM
11-18-2009 11:01 AM
11-18-2009 12:44 PM
You actually can use a waveform with the NI 9481. What API are you using? In LabVIEW you can use Cont Write Dig Port Int Clk.vi or one of the other similar timed digital examples.
Your sample clock is going to have to be slow though. If you attempt to switch faster than specified by the module the relays will not switch and you will receive no notification that you are going too fast.
11-18-2009 12:49 PM
11-18-2009 01:06 PM
You do get an error if you attempt to configure hardware timing on a module that supports only software timing. The NI 9481 in a Compact DAQ chassis supports hardware timing as well as software timing. Where are you seeing that it only supports software timing? I'd like to make sure the documentation is correct.
Just to verify we didn't break anything I ran the example I mentioned in a NI 9481 in a cDAQ-9174 chassis at 1Hz and the relay is happily clicking away.
The general rule for whether or not a digital module supports hardware timing is the number of lines.
>8 software timing only in Compact DAQ
<=8 hardware and software timing
Now that's not an official rule and could change in the future (which is probably why the documentation lists them individually) but it is correct for all currently shipping modules.
11-18-2009 01:29 PM
11-18-2009 02:30 PM