GpibSetPPollResponse


Function

Performs initial setting of parallel poll response.

Format

Ret = GpibSetPPollResponse (  DevId, Response )

Parameter

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

Specifies DevID.

 

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

Sets response mode of Parallel Poll.

 

0

Not respond

1

Sets response on the GpibSetIst function

2

Responds 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

12402

Pointer to Response is Null

22422

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

22447

Being used by other process

Initial Value

Response

0

Not respond

Remarks

 

Example

Sets that respond with SRQ.

C

short Response;

Response = 2;

Ret = GpibSetPPollResponse ( DevId, Response );

See Also

GpibGetPPollResponse, GpibSetIst, GpibGetIst