
long stateIOin )
Parameter Description:
Returns: optionBits
Inputs:
•
demo –
Send 0 for normal operation, >0 for demo mode. Demo mode allows
this function to be called without a LabJack.
•
ledOn –
If >0, the LabJack LED is turned on.
•
disableCal –
If >0, voltages returned will be raw readings that are not corrected
using calibration constants.
•
transferMode –
0=automatic, 1=force normal, 2=force turbo.
•
updateIO –
If >0, state values will be written. Otherwise, just a read is
performed.
•
*stateIOin –
Output states for IO0-IO3.
4.23 FourPack (ActiveX only)
This function is only in the OCX, and is used to convert a 4 element array into an integer. The
packed value is determined as: (valueB * 2^8) + (valueC * 2^16) + (valueD * 2^24).
Declaration:
long FourPack (
long valueA,
long valueB,
long valueC,
long valueD )
Parameter Description:
Returns:
Packed representation of a 4 element array.
Inputs:
•
valueA –
Element 0 of the array to be converted.
•
valueB –
Element 1 of the array to be converted.
•
valueC –
Element 2 of the array to be converted.
•
valueD –
Element 3 of the array to be converted.