User Manual
The “voltages” and “stateIOout” arrays are represented as strings. Floating point data is
returned as 13 characters per number (XXXX.XXXXXXXX) and integers are returned as 10
characters per number (XXXXXXXXXX). Zeros are used for padding where necessary. The
total number of bytes in the “voltages” string is 13*numSamples. The total number of bytes in
the “stateIOout” string is 10*numScans.
Declaration (ActiveX):
long AIBurstX ( long FAR* idnum,
long numChannels,
long channelsPacked,
long gainsPacked,
float FAR* scanRate,
long triggerIO,
long triggerState,
long numScans,
long timeout,
BSTR FAR* voltages,
BSTR FAR* stateIOout,
long FAR* overVoltage,
long optionBits)
4.8 AIStreamStart
Starts a hardware timed continuous acquisition where data is sampled and stored in the
LabJack RAM buffer, and can be simultaneously transferred out of the RAM buffer to the PC
application. A call to this function should be followed by periodic calls to AIStreamRead, and
eventually a call to AIStreamClear.
If the LED is enabled (ledOn>0), it will toggle every 40 samples during acquisition and turn on
when the stream operation stops.
Declaration:
long AIStreamStart ( long *idnum,
long demo,
long stateIOin,
long updateIO,
long ledOn,
long numChannels,
long *channels,
long *gains,
float *scanRate,
long disableCal,
long reserved1,
long readCount )
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
• *idnum – Local ID, serial number, or -1 for first found.
• demo – Send 0 for normal operation, >0 for demo mode. Demo mode allows
this function to be called without a LabJack.
• stateIOin – Output states for IO0-IO3.










