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

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
Analog Status Operations
Pamux Utility Operations
* Note for Visual Basic users: * indicates a “by reference” argument.
* Note for Visual Basic users: * indicates a “by reference” argument.
Function
Function
Type
Type
long
long
void
void
void
PamuxAnaStatusGetAsError
PamuxUtilBitSetTo
PamuxUtilBitSet
PamuxUtilBitClr
PamuxUtilBitTest
Function
Function
The following utility functions are provided primarily for Visual Basic applications. These are not
Pamux-specific functions.
Parameter
Type
long
long
long
long
long
long
long
long
long
Parameter
Type
long
long
Bit Operations
* pData
BitNumber0
bBitValue
* pData
BitNumber0
* pData
BitNumber0
Data
BitNumber0
CHAPTER 2: PROGRAMMING WITH THE PCI-AC51 TOOLKIT IN WINDOWS
Parameter
hHandle
Bank
Parameter
These bit operations are useful in Visual Basic
applications to access individual bits within an
integer. The BitSetTo function either sets or
clears the specified bit based on the value of
bBitValue. Any non-zero value for Data turns on
the bit. The BitSet and BitClr functions set and
clear the specified bit. Bit numbers start at zero
for the least significant bit (LSB).
The zero at the end of the parameter name
“BitNumber0” serves as a reminder of this fact
for anyone looking through the function defini-
tions in either the .BAS file or the .H header
files. PamuxUtilBitTest returns true if bit number
BitNumber0 in Data is set.
Gets an analog board’s status and returns
an equivalent error. Analog read functions
also return the same result after perform-
ing their read. An analog configure func-
tion can be used to clear the “power-up”
error. The “old data” error is cleared by
the B6 processor as it updates inputs.
This function could be used to wait for
fresh input data.
Description
Description
PCI-AC51 User’s Guide
15
15

Related parts for PCI-AC51