GpibGetDelim


Function

Retrieves information of delimiter code and EOI line.

Format

Ret = GpibGetDelim (  Id, Delim, Eoi, Eos )

Parameter

Id [ VB.NET: Short ][ C, C++: short ][ C#: short ]

When using DevID:

Retrieves setting contained in specified DevID.

When using EqpID:

Retrieves setting contained in specified EqpID.

 

Delim [ VB.NET: Short ][ C, C++: short * ][ C#: out short ]

Retrieves delimiter to attach to last of data.

 

0

None

1

CR+LF

2

CR

3

LF

4

Reserved

 

Eoi [ VB.NET: Short ][ C, C++: short * ][ C#: out short ]

Retrieves status of EOI line for transmitting last data.

 

0

Not output

Except 0

Output

 

Eos [ VB.NET: Short ][ C, C++: short * ][ C#: out short ]

Reserved

 

10(0AH)

Fixed

Return Value

Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]

 

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

Remarks

 

Example

Retrieves setting for specified EqpID. (It is same for DevID.)

C

short Delim, Eoi, Eos;

Ret = GpibGetDelim ( EqpId, &Delim, &Eoi, &Eos );

See Also

GpibSetDelim