Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW USB-6008 Capabilities and Application Question

Hi Ryan,

 

Thank you for the valuable suggestions. I have completed actuating the sonlenoids using relays and the transistor BDX33C in switching mode.

 

Now the scenario is i have to switch on and off the transistors at some time delay using the signals generated from the DAQ.

 

I have 4 transistors and 4 relays for controlling the 2 solenoids for making the cylinder extend and retract.

 

Is there a need to use four DAQ cards or can be done using a single one? 

 

Awaiting your suggestions. Thank you.

0 Kudos
Message 11 of 14
(804 Views)

As long as I understand your application, you only need 4 digital control lines.  If this is correct, you can certainly do this with your usb 6009.  If you need help writing the code, refer to the example finder.  If you navigate Help > Example Finder and then Hardware Input and Output > DAQmx > Digital Generation > Write Dig Port.

 

Ryan

Applications Engineer
National Instruments
0 Kudos
Message 12 of 14
(796 Views)

HI RYan,

 

The program worked well. Thanks a lot. I have one more option to be added in the project.

 

If I enter the sequence in the Front panel, the relays should switch accordingly.

 

For example, if the sequence is A1B1A0B0, the corresponding relays should switch on.

 

Can  I do it using the string compare options?

 

Thanks in advance.

0 Kudos
Message 13 of 14
(780 Views)

Yes, you will be able to.  You may need a few more string functions, depending on exactly how you are working with your data.  String subset may be useful for removing part of the string after you have processed it.  

 

If you have more questions about working with strings, I would recommend finding or creating a forum more focused on that topic.

Applications Engineer
National Instruments
0 Kudos
Message 14 of 14
(774 Views)