GpibSendSRQ


Function

Transmits SRQ and performs setting for status byte.

Format

Ret = GpibSendSRQ (  DevId, SrqSend, Stb )

Parameter

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

Specifies DevID.

 

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

Sets whether transmits SRQ.

 

0

Not transmit

Except 0

Transmit

 

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

Sets status byte.

 

0 to 255

Status byte

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

22622

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

22647

Being used in other process

Initial Value

Stb

0

Status byte

Remarks

The value for 6th bit of status byte changes with SrqSend.

Example

Performs output of SRQ and set status byte to 10.

C

short SrqSend, Stb;

SrqSend = 1;

Stb = 10;

Ret = GpibSendSRQ ( DevId, SrqSend, Stb );

See Also

GpibCheckSPoll