beautypg.com

Status, Status readstatusbyte syntax – Measurement Computing GPIB-488.2 User Manual

Page 58

background image

3-40

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

Status

ReadStatusByte

Syntax

Status

INT WINAPI Status(DevHandleT devHandle,

IeeeStatusPT result);

ReadStatusByte ReadStatusByte(int board, int address,

short *result)])

Usage Notes

The Status command, no longer to be used, returned various items detailing the current state
of Driver488.

ReadStatusByte serial polls a single device and reads its status byte. In the following example
the command instructs to: serial poll the device [at address 2] and retrieve its status byte.
Example:

short result;
ReadStatusByte (0, 2, &result);