11-02-2005 11:20 AM
11-03-2005
06:02 PM
- last edited on
05-15-2025
03:45 PM
by
Content Cleaner
Hi Jason,
You mentioned that you are using NI-DAQ 6.9.3 with a PCI-6534.
As I'm sure you know the Traditional DAQ commands are a bit older and more complicated to use. This particular instance is a great example of just why DAQmx is such a great benefit for DAQ programmers. If you could update to the latest version of DAQmx, then you will no longer even have to worry about how you double buffer the data because all of that is handled automatically. You can then more easily set your ports to strobed or unstrobed and simply acquire the signals that you are looking for.
There are even some great examples on how you can do digital operations in DAQmx.
If you are using LabVIEW go to:
Help > Find Examples > Browse > Hardware Input and Output > DAQmx > Digital Measurements
Or if you are using Text-Based programming you can find examples here:
C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Read Values
Hopefully this will make your life much simpler and it will be much easier to diagnose any other issues if you are using DAQmx.
Regards,