tf = visastatus(v)
returns 1 (true) if the VISA resource
v has requested and is ready for service and returns
0 (false) if it has not requested service.
True or false result, returned as a 1 or 0 of
data type logical.
Data Types: logical
Status byte register, returned as a positive integer from 0 to 255. You can convert
this value to its binary value using dec2bin and interpret each bit
as information about the VISA resource.
Each bit is associated with a type of event. For example, bit 6 (RQS) indicates the
status of the VISA resource service request.
Status Byte Register Bits
Bit
Label
Description
0-3
–
Instrument-specific summary messages.
4
MAV
The Message Available bit indicates if data is available in the
Output Queue. MAV is 1 if the Output Queue contains data. MAV is 0 if the
Output Queue is empty.
5
ESB
The Event Status bit indicates if one or more enabled events have
occurred. ESB is 1 if an enabled event occurs. ESB is 0 if no enabled events
occur. You enable events with the Standard Event Status Enable
Register.
6
MSS
The Master Summary Status summarizes
the ESB and MAV bits. MSS is 1 if either MAV or ESB is 1. MSS is 0 if both
MAV and ESB are 0. This bit is obtained from the *STB?
command.
RQS
The Request Service bit indicates that the instrument requests
service. This bit can be used for serial polling.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.