User`s guide

Return Format
The query command reads the message currently displayed on the front
panel in the specified window, and returns an ASCII string enclosed in
double quotes. If no message is displayed, a null string ("") is returned.