User Tools

Site Tools


CIGAL Reference Manual, Chapter 7 (Hardware): NIADC

NIADC - National Instruments Analog to digital convertor inputs

usage: init niadc boardnum param nadc_chans revpol

CIGAL supports National Instrument's NIDAQ-MX library interface capable of controlling a variety of NI data acquisition devices. There are separate INIT commands for configuring analog (NIADC) and digital (NIDIG) communication settings.

The INIT NIADC call expects the following arguments (default values in []):

  • boardnum [-1] - the device number (this is required)
  • param [-1] - (this is the 3rd arg to NIDAQ's AI_READ() function)
  • nadc_chans [8] - number of analog channels
  • revpol [0] - bitmask to reverse polarity of selected analog channels

You can also access some NIDAQ library routines directly in CIGAL using the PRIMITIVE command. A description of the NIDAQ primitive functions can be found in NIPRIMS.

See Also:
NIDIG, NIPRIMS,Initialize, Configure

CIGAL Home, CIGAL Manual, Hardware, Manual Help

jvs/cigal/manual/chapter7/niadc.txt · Last modified: 2023/02/23 18:43 (external edit)