GpibGetPPollResponse


Function

Retrieves initial setting of parallel poll response.

Format

Ret = GpibGetPPollResponse (  DevId, Response )

Parameter

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

Specifies DevID.

 

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

Retrieves response mode of Parallel Poll.

 

0

Not respond

1

Sets response on the GpibSetIst function

2

Reponds with SRQ

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

12462

Pointer to Response is NULL

22472

When device is used as master (controller),  functions for slave (non-controller) are execute

Initial Value

Response

0

Not respond

Remarks

 

Example

Retrieves current status and displays it.

C

short Response;

Ret = GpibGetPPollResponse ( DevId, &Response );

if ( Ret == 0) Printf ("%d \n", Response );

See Also

GpibSetPPollResponse, GpibSetIst, GpibGetIst