Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using PCI 6013 to generate 6 lines of 0-5v TTL singals?

I have PCI 6013 and want it to control a valve controller which will be connected with 6 on-off solnoid valves. The valves will be in different status during different time. The valve controller accepts 0-5 v TTL singals. I am really new on Labview programming. Does any boday give any hints where I can get similar code example or suggestion?
Thanks a lot!
0 Kudos
Message 1 of 4
(3,694 Views)
Hello,

There are 8 digital I/O lines available on your 6013, which operate on 0-5V logic levels (TTL). These lines can be controlled as a port or as individual lines. Each of the lines is able to source 10mA and sink 24mA.

If you are using LabVIEW 7.0 or 7.1 there is an excellent example that installs with LabVIEW. This example can be found by first opening Example Finder, by clicking �Help� on the menu of any open LabVIEW window. Choose �Find Examples��

When the Example Finder program opens browse to �Hardware Input and Output -> DAQmx -> Digital Generation -> Write Dig Chan.vi�. The documentation for this VI is shown in the Description pane on the right side of the Example Finder.

I hope this helps! Let me know if there is anything I can help
with or clarify.

Ken S.
Applications Engineering
National Instruments
Message 2 of 4
(3,694 Views)
Thanks, Ken, Your suggestion is very good for me.
However, the digital signals in my application need to be like a pulse train. I am wondering if I need to use the counter in PCI 6013 or other function like time delay in Labview...Please give me more hints on counter using in controlling digital I/O. I find some examples that are for generation of pulse train. But the problem is how to combine these two(pulse train and digital generation).
Thank you again!
0 Kudos
Message 3 of 4
(3,694 Views)
The 6013 has two onboard counters which can be used to generate two independent pulse train signals with user-defined frequency and duty cycle. These counters however can�t supply 6 different pulse trains to 6 different valves.

The 8 digital I/O lines can also be used to generate pulses but the timing of these pulses are software-controlled so their timing would be extremely imprecise.

Ken S.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,694 Views)