Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

24 bit Pattern Acquisition after trigger (DAQ PCI 6534)

We want to build a VI that can acquire a 24 bit pattern after receiving an external trigger, the acquisition being on the rising edge of external clock. The acquisition should continue upto size of buffer which can be set in software. Can some one help me with an example VI that is close to this and also as to how to configure the DAQ hardware.
0 Kudos
Message 1 of 2
(3,265 Views)

Hi Arnab,

There are some great examples in the LabVIEW Example Finder and on the web that will help get you started with this application. In LabVIEW, go to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Digital Measurements >> Cont Read Dig Chan - Ext Clock. You will have to modify this example for a finite acquisition and add a trigger.

Also, there is a finite example for acquiring digital data with 653x devices available online at this link: 653x Read Port with Digital Waveform Graph. You may have to wait until tomorrow morning to view the example on the web, but the one in the Example Finder will be there now. There is a possibility that you could have to adjust the digital input data type and you will need to add a trigger with this example.

The DAQ driver will automatically configure the buffer for you, but if you want to set it up manually, you can use the DAQmx Buffer Property node. Also, you can use the DAQmx Trigger VI to setup your trigger.  However, both of these examples have most of the base programming done for your application already so you should only have to make minor modifications.

Regards,

Hal L.

0 Kudos
Message 2 of 2
(3,249 Views)