Page 4.7
32-CHANNEL DIGITAL I/O MODULE 40-412
pickering
SECTION 4 - PROGRAMMING GUIDE
Reading all 32 Input Levels In Parallel - Model -111 Only
(see above for setting the comparison threshold levels)
Using the Pickering Direct I/O Driver:
DWORD SubUnit;
SubUnit = 1;
//Sub unit 1 specifies all 32 inputs
DWORD InputChannelValues[2];
PIL_ReadSub(CardNo, SubUnit, InputChannelValues)
//return 32 values, 2 bits per value
Using the VISA driver:
ViUInt32 SubUnit;
SubUnit = 1;
//Sub unit 1 specifies all 32 inputs
ViUInt32 InputChannelValues[2];
pipx40_readInputPattern(vi, SubUnit, InputChannelValues);
//return 32 values, 2 bits per value