![IOtech Personal488 User Manual Download Page 122](http://html1.mh-extra.com/html/iotech/personal488/personal488_user-manual_2088013122.webp)
Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-54
Status
Syntax
INT WINAPI Status(DevHandleT devHandle, IeeeStatusPT result);
devHandle
refers to either an IEEE 488 interface or an external device. If
devHandle
refers to an external device,
Status
acts on the hardware interface to which the
external device is attached.
result
is a pointer to a
Status
structure.
Returns
-1
if error
Bus States
None
Example
result = Status(ieee,&StatusResult);
if (StatusResult.SRQ) {
printf(“We have a serial poll request”);
} else {
printf(“There is no serial poll request”);
}
See Also
GetError, SPoll
The
Status
command returns various items detailing the current state of Driver488. They are returned in
a data structure, based on the following table.
Status Item
Structure
Menber
Values and Description
Primary Bus Address
.Primaddr
0
to
30
: Two-digit decimal number.
Service Request
.SRQ
TRUE
: SRQ is asserted,
FALSE
: SRQ is not
asserted.
The Primary Bus Address (
.Primaddr
) is the IEEE 488 bus device primary address assigned to
Driver488 or the specified device. This will be an integer from
0
to
30
.
The Service Request field (
.SRQ
), as an active controller, reflects the IEEE 488 bus
SRQ
line signal. As a
peripheral, this status reflects the
rsv
bit that can be set by the
Request
command and is cleared when the
Driver488 is Serial Polled. For more details, refer to the
SPoll
command in this chapter.
Summary of Contents for Personal488
Page 2: ...ii Personal488 User s Manual for Windows95 98 Me NT 2000...
Page 6: ...vi 04 10 01 Personal488 User s Manual for Windows95 98 Me NT 2000...
Page 12: ...3 2 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 18: ...Windows 95 3 8 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 24: ...Windows 98 3 14 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 30: ...Windows Me 3 20 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 38: ...Windows 2000 3 28 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 40: ...Windows 2000 3 30 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 42: ...4 2 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 46: ...4 6 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 50: ...4 10 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 54: ...4 14 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 68: ...5 14 Using IEEE 488 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 132: ...Personal488 for Windows 95 98 Me NT 2000 04 10 01 API Reference 6 64...
Page 138: ...B 2 IEEE488 ASCII Code Maps 03 16 01 Personal488 for Windows 95 98 Me NT 2000...