37
Status Reporting
Example
The following example uses the resource session object's ReadSTB method to read
the contents of the oscilloscope's Status Byte Register.
varQueryResult = myScope.IO.ReadSTB
MsgBox "Status Byte Register, Serial Poll: 0x" + Hex(varQueryResult)
Use Serial Polling to Read Status Byte Register. Serial polling is the preferred method to read
NOTE
the contents of the Status Byte Register because it resets bit 6 and allows the next enabled
event that occurs to generate a new SRQ interrupt.
See Also
•
"*STB (Read Status Byte)"
on page 195
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
1307
Need help?
Do you have a question about the InfiniiVision M9241A and is the answer not in the manual?