Difference between revisions of "NI-DAQmx and NI-DAQmx Base examples"

From Free Pascal wiki
Jump to navigationJump to search
Line 31: Line 31:
  
 
== '''NI-DAQmx examples''' ==
 
== '''NI-DAQmx examples''' ==
 +
'''Get device list'''

Revision as of 10:32, 13 November 2014

INTRODUCTION

National Instruments produce a wide range of DAQ cards, which generally used for acquiring a generating signals. [1] These cards usually have a few numbers of analog inputs/outputs, digital inputs/ouputs, counters and frequency generator with hardware/software timing. Exiting of feature (type, number, parameters) on card depends on card type.

NIDAQmxBase.pas and NIDAQmx.pas are provided pascal bindings to National Instruments libraries and enabled control NI DAQ cards from program writing on FreePascal.

What National Instruments Hardware are supported

Supported hardware list by NI-DAQmx and NI-DAQ Driver for different operation system [2]

NI-DAQmxBase library

NI-DAQmxBase library or driver is multiplatform library for Linux, Windows and MacOS X, but doesn't implement all device features. For example, digital input/output ports speed is limited by computer speed ~100kHz, because DMA data tranfer is not supported.

Download library for Linux [3], Windows [4], MacOS X [5]. Read readme.txt file to find the list of supported hardware and hardware features.

NI-DAQmx library

Actual (newest) NI-DAQmx library is available only for Windows today.

Download it there [6]

NI-DAQmx version 8.0.2 is also available for Linux 32-bit. You can use it with enterprise RHEL 5,6 distribution or with it clones CentOS 5,6 and Scientific Linux 5,6 or you can use it with old version Linux distribution with kernel 2.6.x.

Download it there [7]

Read readme.txt file to find the list of supported hardware and hardware features.

NI-DAQmx examples

Get device list