Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008 as PLC

I am a new user of LabVIEW, starting with the USB-6008 student kit.
My first application is a small PLC (programmable logic controller) with 8 inputs (port0,di0...di7), 4 outputs (port1,do0...do3)
and free boolean logic schematics between.
In my opinion, this was a very simple job, but I see now that it is not so simple to read every input bit and update continuosly
every output bit. I didn't found any suitable example using DAQmx.
Is there someone who can help me?  Thanks
0 Kudos
Message 1 of 3
(3,412 Views)
If you are looking for examples in NIDAQmx you should install the latest driver version 8.0. Then look at the examples in LabVIEW.
You need probably to combine different pieces of software to do what you need.
If you post here some specifications of what your application should do in terms of timing constraints, you would probably get more effective help.
 
AlessioD
 
0 Kudos
Message 2 of 3
(3,391 Views)

Thanks to Alessio for the  replay, but in the meantime I found the vay to program

the USB-6008 in order to emulate a PLC.

I discovered the  UNBUNDLE  LabVIEW function to split the input data in single bits,

and the BUNDLE function to collect the single output bits in an output data.

Anyway, thanks again.

0 Kudos
Message 3 of 3
(3,384 Views)