|
QLIB-function: 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.
ULONG QAPIWriteString (
ULONG cardid,
ULONG device,
char* buffer,
ULONG chars,
ULONG reserved
);
Parameter 1
| cardid |
Defines the ID of the card , from which you can get an information. |
Parameter 2:
| device |
The set indicates on the bus. This is the Listadress of the recieving set on the GPIB bus. |
Parameter 3:
| buffer |
String contains pointer this one to send this one on the writing buffer. |
Parameter 4:
| chars |
This one sends characters in the buffer for number. |
Parameter 5:
| reserved |
Parameter for future extensions. This parameter shall be put on ZERO. |
Return value
If the function was executed successfully, then the value 1 is delivered. If the function is failed, then the return value is always 0L.
Commands
This function also applies, instead of to boards 8254 fits 8253 with one with one this one is.
Links
QAPIWriteString, QAPIReadString, QAPIExtWriteString, QAPIExtReadString
Back to the QLIB overview
|