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

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
Digital Bank Operations
* Note for Visual Basic users: * indicates a “by reference” argument.
Function
Type
long
long
long
long
long
long
PamuxDigBankConfig
PamuxDigBank16Config
PamuxDigBank32Config
PamuxDigBankRead
PamuxDigBank16Read
PamuxDigBank32Read
Function
The term “bank” refers to groups of eight digital I/O points. A 32-channel Pamux board with a B4
brain board has four banks. It is faster to read a bank all at once than to read each point individually.
Note that channel 0 corresponds to the least significant bit. For example, if you read a bank with
channels 0, 3, and 4 on and all other channels off, the returned value would be 19 hex (11001 binary,
or 25 decimal).
Parameter
Type
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
CHAPTER 2: PROGRAMMING WITH THE PCI-AC51 TOOLKIT IN WINDOWS
hHandle
Bank
OutputMask
Byte Qty
hHandle
Bank
OutputMask
hHandle
Bank
OutputMask
int hHandle
Bank
* pData
int hHandle
Bank
* pData
int hHandle
Bank
* pData
Parameter
Configures a bank of digital I/O points as
either inputs or outputs. A “1” in the
mask indicates an output. Use Pamux-
DigBankConfig for configuring between
8 and 32 points,
PamuxDigBank16Config for 16 points, or
PamuxDigBank32Config for 32 points.
The Byte Qty parameter in PamuxDig-
BankConfig indicates how many banks
to configure (Byte Qty = 4 for 32 points).
Reads inputs and outputs and places
the result in pData. Use PamuxDig-
BankRead for reading eight points,
PamuxDigBank16Read for 16 points, or
PamuxDigBank32Read for 32 points.
Description
PCI-AC51 User’s Guide
11
11

Related parts for PCI-AC51