PCI-AC51 OPTO 22, PCI-AC51 Datasheet - Page 20

Computers, Interface Cards

PCI-AC51

Manufacturer Part Number
PCI-AC51
Description
Computers, Interface Cards
Manufacturer
OPTO 22
Datasheet

Specifications of PCI-AC51

Peak Reflow Compatible (260 C)
No
Leaded Process Compatible
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
FUNCTION COMMAND REFERENCE
* Note for Visual Basic users: * indicates a “by reference” argument.
* Note for Visual Basic users: * indicates a “by reference” argument.
Function
Function
16
Type
Type
void
void
long
float
float
long
PCI-AC51 User’s Guide
PamuxUtilBitPackArray2I
PamuxUtilBitUnPackI2Array
PamuxUtilScaleI2I
PamuxUtilScaleI2F
PamuxUtilScaleF2F
PamuxUtilScaleF2I
Function
Function
Parameter
Type
long
long
long
long
long
long
long
float
float
long
float
float
float
float
float
float
float
long
long
float
Pack/Unpack Utility Operations
Parameter
Scaling Operations
Type
long
long
long
long
long
long
X1
X2
Y1
Y2
Xin
X1
X2
Y1
Y2
Xin
X1
X2
Y1
Y2
Xin
X1
X2
Y1
Y2
Xin
Parameter
* DestInt
SourceArray[]
Qty
DestArray[]
SourceInt
Qty
Parameter
These interpolation functions are useful for converting
between engineering units and raw analog counts.
Pamux analog input and output values range between 0
and FFF hex (4,095 decimal). These values typically
correspond to engineering units, such as pH and psi.
For example, to convert raw counts (from 0 to FFF hex)
to a percentage, use:
float fPercent=PamuxUtilScaleI2F
(0,0xFFF,0.0,100.0,RawCount);
Converts an array of boolean (0 or not
0) values to a bit packed integer.
Converts a bit packed integer to an
array of boolean (1 or 0) values.
Qty indicates the number of bits to be
packed or unpacked.
Description
Description

Related parts for PCI-AC51