**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 ([[jvs:cigal:manual:chapter7:nidig|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 [[jvs:cigal:manual:chapter7:niprims|NIPRIMS]]. **See Also:**\\ [[jvs:cigal:manual:chapter7:nidig|NIDIG]], [[jvs:cigal:manual:chapter7:niprims|NIPRIMS]],[[jvs:cigal:manual:chapter2:initialize|Initialize]], [[jvs:cigal:manual:chapter1:configure|Configure]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter7|Hardware]], [[jvs:cigal:manual:help|Manual Help]]