94 Pamux User’s Guide
DIGITAL POINT OPERATIONS
PamuxDigPointConfig
PROTOTYPE:
int PamuxDigPointConfig(int hAc28, int Bank, int Position, BOOL bOutput);
DESCRIPTION:
Configures a point as either an input or output. A non-zero value in bOutput
will configure the point as an output.
PamuxDigPointRead
PROTOTYPE:
int PamuxDigPointRead(int hAc28, int Bank, int Point, BOOL far* pData);
DESCRIPTION:
Reads the value of a point and puts the value in pData. The value will be either 1 for on or 0
for off.
PamuxDigPointWrite
PROTOTYPE:
int PamuxDigPointWrite(int hAc28, int Bank, int Point, BOOL Data);
DESCRIPTION:
Writes to a point using the value in Data. A non-zero value for Data will turn the point on.
PROGRAMING WITH THE PAMUX DRIVER