NI-Scope examples

From Free Pascal wiki
Jump to navigationJump to search

INTRODUCTION

National Instruments produce a wide range of 8-,12-,14,16-,24-bit Oscilloscopes/Digitizers cards in PCI, PCIe, PXI and PXIe form factor with sample rate up to 12.5Gs/s. [1]

This cards are supported by NI-Scope driver. Only Linux 32-bit and Windows 32/64 bit are supported.

NI Scope for Linux

Hardware are supported by Ni-Scope 3.1 for Linux (download). This driver works only on Linux distributions with kernel 2.6.x RHEL 5.x, 6.x, Scientific Linux 5.x, 6.x and some old for example Mandrake 10.1. Read readme file to find list of supported hardware.

To install NI-Scope 3.1 properly under these distributions make this trick

  Install NI-DAQmx 8.0.2 after NI-Scope.

(NI-DAQmx8.0.2 download)

To check device presents in your system type nilsdev in terminal. Output should be like this

  NI PXI-5122: "Dev2" 
  NI PXI-5122: "Dev1"

Two PXI-5122 cards are present in the system with aliases Dev1 and Dev2.

NI-Scope for Linux

Windows OSes are supported by latest NI-Scope 14.1 driver (download).

Read readme to find list of supported hardware.

Use NIMAX utility to setup device alias, for example Dev1.

Library documentation

Your can view or download latest documentation here [2]. Alternately NI-Scope installation copy it to your PC, for example in Linux PC /usr/local/natinst/niscope/doc.

PASCAL bindings

You can download bindings from this forum thread [3].

To use it in your application copy bindings to your project directory and add niscope to USES section.