07-07-2005 07:00 AM
07-08-2005
12:19 PM
- last edited on
07-11-2025
10:14 AM
by
Content Cleaner
Hi Susanto-
If you are using a PCI-6036E you should consider programming in NI-DAQmx instead. It is much more intuitive and easier to use and offers considerably better performance than Traditional DAQ. This KB explains how to use NI-DAQmx with Borland C and Delphi.
Because of the polling nature of your reading you will only be able to observe signals that are in a high state long enough for the polling step to occur again. One alternative would be to use a counter to measure a rising edge on the signal and to read the count value to see if there has been a change.
The reason your DAQ_VScale changes the array size is that it converts an integer binary array to a double-precision volt array. This results in a doubling of the effective size of the array.
I would strongly suggest that you consider updating to NI-DAQmx for your programming. Examples of various operations are installed with NI-DAQ versions 7.x in this location on your local drive: C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C
Thanks-
07-09-2005 12:03 AM
07-11-2005
12:38 PM
- last edited on
07-11-2025
10:14 AM
by
Content Cleaner
Hi Susanto-
Yes, NI-DAQmx is indeed a new driver API for controlling your DAQ board. It is a really awesome and easy to use package that makes programming much more intuitive and offers better performance in most applications. All of the new M Series DAQ boards and any other boards to be released in the future are and will only be supported by NI-DAQmx, so while your E Series board will continue to be supported in Traditional NI-DAQ it would be a great idea to switch over to NI-DAQmx now for all new applications.
More information about the differences between Traditional NI-DAQ and NI-DAQmx are summarized in this article. In order to illustrate the power and versatility of NI-DAQmx we have published this tutorial Learn 10 Functions in NI-DAQmx and Solve 80% of Data Acquisition Applications.
I hope this helps!
Thanks-
07-20-2005 08:51 PM
07-21-2005
11:36 AM
- last edited on
07-11-2025
10:16 AM
by
Content Cleaner
07-25-2005 08:24 PM
07-26-2005 10:55 AM
Hi Susanto-
That is a great question- in E Series (and M Series) cards all of the grounds are internally referenced together to the same ground plane. So, all of the various GND pins are internally "wired" together and do not require any external connections for your application.
Thanks-
08-02-2005 01:58 AM
08-02-2005 03:51 PM