Hi,
The examples were written using a 625x device, but all MSeries boards (PCI/PXI-62xx) share the same architecture. The difference between models (622x, 623x, 625x and 628x) usually affect frontend settings, such as the gain-range map and convert clock polarity.
623x and 622x boards use the same settings. It is not mentioned in the examples since they were released before the boards were released.
Try the attached example (aiex1.cpp - on demand AI) to see how it works. The changes apply to the other AI examples.
Diego
---------------------------------
The specific changes in the example are:
- line 34 -> change the convert polarity in aiPersonalize() to:
tMSeries::tAI_Output_Control::kAI_CONVERT_Output_SelectActive_High
- line 47 - comment adcReset()
- line 60 - in aiConfigureChannel() change gain index from 1 to 0