Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Write to digital line vi with sc-2345

I am attempting to use the pin break out on my sc-2345 to switch a 3rd party relay at high speed (0.001 seconds)  I am able to get it to around 0.003 sec with the DAQ assistant.  Is it possible to make the DIO port switch faster with a Write to Port vi or other?  I have a 6013 E card.  I was told it can handle 3kwords a sec so I was thinking I could switch every 0.0005 sec or so..  ??
0 Kudos
Message 1 of 2
(3,198 Views)

Hi Marty-

The 6013 specs for digital output will be entirely system-dependent because they rely on programmed I/O rather than hardware-timed updates.  If you need to switch the relay on and off faster with hardware-timed resolution you should instead use one of your device's counters to generate a pulse train.  A great LabVIEW example for this can be found in the NI Example Finder (Help>>Find Examples) under Hardware Input and Output>>DAQmx>>Generating Digital Pulses>>Gen Dig Pulse Train-Continuous.vi.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 2 of 2
(3,193 Views)