QLIB functions


The following listing contains all QLIB functions. They are divided in extended (QAPIExt...) and simple (QAPI...) functions. The simple functions you don't need a card handle and can only access the first card of one type. For multiple cards of the same type you must use the extended functions. .



 Continue with "General programming examples"


Watchdog functions


 QAPIExtWatchdog With the function QAPIExtWatchdog it is possible to respond the Watchdog card.

 QAPIWatchdogDisable The QAPIWatchdogDisable function disables the watchdog board.

 QAPIWatchdogRetrigger With the function QAPIWatchdogRetrigger it is possible to retigger an active watchdog card.

 QAPIWatchdogEnable The QAPIWatchdogEnable function enables the watchdog board.

 QAPIWatchdogStatus The function QAPIWatchdogStatus reads the timeout status register of the watchdog card.


TCP/IP functions


 QAPIConnect Connects the QLIB to a QLIB Remote Server over a TCP/IP connection.

 QAPIDisconnect Terminates an existing TCP/IP connection to a QLIB Remote Server.

 QAPIGetConnectionMode Gets the current connection mode.


special functions


 QAPIExtReleaseCardInfo With the function QAPIExtReleaseCardInfo it is possible with QAPIExtGetCardInfo to get out the asked card information

 QAPIExtGetCardInfo With the function QAPIExtGetCardInfo it is possible to get some information about the card.

 QAPIExtEnableIRQ With the function QAPIExtEnableIRQ it is possible to activate an IRQ an the card.

 QAPIGetCardInfo With the function QAPIGetCardInfo it is possible to get some information about the card.

 QAPIExtSetDebugLevel With the function QAPIExtSetDebugLevel it is possible to set an intern debug level.

 QAPIGetCardInfoEx With the function QAPIGetCardInfoEx it is possible to get some information about the card. These will be written into the applications memory.

 QAPIExtGetCardInfoEx With the function QAPIExtGetCardInfoEx it is possible to get some information about the card. These will be written into the applications memory.

 QAPIExtSpecial With this function QAPIExtSpecial it is possible to run card specific functions.

 QAPISpecial With this function QAPISpecial it is possible to run card specific functions.


GPIB Routinen


 QAPIReadString With the function QAPIReadString a string is received by a set. This instruction is used for the QUANCOM GPIB controllers in the current socket of the QLIB. This instruction also is provided for RS422/485 boards in the future.

 QAPIWriteString With the function QAPIWriteString a string becomes and the set sent. This instruction is used for the QUANCOM GPIB controllers in the current socket of the QLIB. This instruction is also for RS422/485 boards in the future scheduled.

 QAPIExtWriteString The function QAPIExtWriteString sends a string to a GPIB Device. This instruction also is provided for RS422/485 boards in the future.

 QAPIExtReadString The function QAPIExtReadString receives a string from a GPIB Device. This instruction also is provided for RS422/485 boards in the future.


General


 QAPIExtCloseCard With the function QAPIExtCloseCard the board is closed.

 QAPINumOfCards With the function QAPINumOfCards it is possible to ask , which used cards are supported by the QLIB.

 QAPIExtOpenCard Use the function QAPIExtOpenCard to open a board and retrieve the board handle.

 QAPIGetLastErrorStringEx Obtains error message strings for the QLIB error codes returned by QAPIGetLastError and QAPIGetLastErrorCode

 QAPIGetLastErrorCode Retrieves the calling thread's extended last-error code value

 QAPIExtNumOfCards With the function QAPIExtNumOfCards it is possible to ask , which used cards are supported by the QLIB.

 QAPIGetLastError The QAPIGetLastError function retrieves the calling thread's last-error code value. The last-error code is maintained on a per-thread basis. Multiple threads do not overwrite each other's last-error code.


Digital write functions


 QAPIPutDO With the function QAPIExtWriteDO32 it is possible to give out a 32 Bit width digital value on a channel of the DO card.

 QAPIExtWriteDO1 With the function QAPIExtWriteDO1 it is possible to give out a 1 Bit width digital value on a channel of the DO card.

 QAPIExtWriteDO8 With the function QAPIExtWriteDO8 it is possible to give out a 8 Bit width digital value on a channel of the DO card.

 QAPIExtWriteDO16 With the function QAPIExtWriteDO16 it is possible to give out a 16 Bit width digital value on a channel of the DO card.

 QAPIExtWriteDO32 With the function QAPIExtWriteDO32 it is possible to give out a 32 Bit width digital value on a channel of the DO card.

 QAPIExtWriteDO64 With the function QAPIExtWriteDO64 it is possible to give out a 64 Bit width digital value on a channel of the DO card.


Digital read functions


 QAPIGetDI With the function QAPIGetDI the condition of a 32 Bit width digital channel could be read by a DI card.

 QAPIExtReadDI1 With the function QAPIExtReadDI1 the condition of a 1 Bit width digital channel could be read by a DI card.

 QAPIExtReadDI8 With the function QAPIExtReadDI8 the condition of a 8 Bit width digital channel could be read by a DI card.

 QAPIExtReadDI16 With the function QAPIExtReadDI16 the condition of a 16 Bit width digital channel could be read by a DI card.

 QAPIExtReadDI32 With the function QAPIExtReadDI32 the condition of a 32 Bit width digital channel could be read by a DI card.

 QAPIExtReadDI64 With the function QAPIExtReadDI64 the condition of a 64 Bit width digital channel could be read by a DI card.


A/D and D/A functions


 QAPIConvertDWToVoltage With the function QAPIConvertDWToVoltage a digital value will be calculated into an analog value.

 QAPIExtLatchDA With the function QAPIExtLatchDA are all digital values put out of the channels.

 QAPIExtConvertDWToVoltage With the function QAPIExtConvertDWToVoltage a digital value will be calculated into an analog value.

 QAPIPutDA With the function QAPIPutDA it is possible to give out a digital value on the channel of an A/D card.

 QAPIGetAD With the function QAPIGetAD it is possible to read a digital value from an input channel of a A/D card.

 QAPIExtReadAD With the function QAPIExtReadAD it is possible to read a digital value from an input channel of an A/D card.

 QAPIExtWriteDA With the function QAPIExtReadAD it is possible to give out a digital value from an input channel of an A/D card.


8255/8253 PIA functions


 QAPIRead8253 With the function QAPIRead8253 a 8 bit digital value is read from a 8253 register.

 QAPIWrite8253 With the function QAPIWrite8253 a 8 bit value is written to a 8253 register.

 QAPIWrite8255 With the function QAPIWrite8255 a 8 Bit value will be written from the register 8255.

 QAPIRead8255 With the function QAPIRead8255 the 8 Bit value will be read from the Register 8255.

 QAPIExtWrite8255 With the function QAPIExtWrite8255 the 8 Bit value will be written from the Register 8255.

 QAPIExtWrite8253 With the function QAPIExtWrite8253 the 8 bit value will be written from the register 8253.

 QAPIExtRead8253 With the function QAPIExtRead8253 the 8 bit value will be read from the register 8253

 QAPIExtRead8255 With the function QAPIExtRead8255 the 8 Bit value will be read from the Register 8255.




 Continue to "General programming examples"  Back to the Qlib overview