PIPLX_SubStatus

unsigned long PIPLX_SubStatus (long session, unsigned long cardNumber, unsigned long subunit);

Purpose

Obtains the current status flags for the specified output sub-unit. Status bits associated with significant card-level conditions are also returned.
Status bits are as follows:
0x80000000 - STAT_NO_CARD (no card with specified number)
0x40000000 - STAT_WRONG_DRIVER (card requires newer driver)
0x20000000 - STAT_EEPROM_ERR (card EEPROM fault)
0x10000000 - STAT_DISABLED (card disabled)
0x04000000 - STAT_BUSY (card operations not completed)
0x02000000 - STAT_HW_FAULT (card hardware defect)
0x01000000 - STAT_PARITY_ERROR (PCIbus parity error)
0x00000000 - STAT_OK (card functional and stable)

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

subunit unsigned long

Subunit number.

Return Value

Name Type Description
return unsigned long

A value representing the subunit's status flags or -1 if error occured.

References

Info and status
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index