Function
Retrieves information of delimiter code and EOI line.
Format
Ret = GpibGetDelim ( Id, Delim, Eoi, Eos )
Parameter
Id [ short ]
When using DevID:
Retrieves setting contained in specified DevID.
When using EqpID:
Retrieves setting contained in specified EqpID.
Delim [ short * ]
Retrieves delimiter to attach to last of data.
|
0 |
None |
|
1 |
CR+LF |
|
2 |
CR |
|
3 |
LF |
|
4 |
Reserved |
Eoi [ short * ]
Retrieves status of EOI line for transmitting last data.
|
0 |
Not output |
|
Except 0 |
Output |
Eos [ short * ]
Reserved
|
10(0AH) |
Fixed |
Return Value
Ret [ Long ]
|
0 |
Normality completion |
|
10001 |
Invalid ID was specified |
|
10002 |
Driver can not be called |
|
11362 |
Pointer to Delim is NULL |
|
11363 |
Pointer to Eoi is NULL |
|
11364 |
Pointer to Eos is NULL |
Initial Value
DevID:
|
Delim |
1 |
CR+LF |
|
Eoi |
1 |
Output |
|
Eos |
10(0AH) |
LF |
EqpID:
None
Example
Retrieves setting for specified EqpID. (It is same for DevID.)
|
C |
short Delim, Eoi, Eos; Ret = GpibGetDelim ( EqpId, &Delim, &Eoi, &Eos ); |
Remark
See Also