04-05-2006 05:28 AM
04-06-2006 03:43 PM
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.