« Close

Datasheets and User Guides

App Notes

Software & Driver

 

4.39 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: valueA + (valueB * 28) + (valueC * 216) + (valueD * 224).

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.