Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 69
![background image](/manuals/353447/69/background.png)
Chapter Three
Control Reference
Reads the complete ID of the instrument in the format: "LECROY,WM8500,WM000001,0.0.0",
which includes the maker, the instrument model number, the serial number, and the version number.
InstrumentID
Any number of characters
String
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Present the ID of the instrument.
MsgBox app.InstrumentID
Range
Example
Description
Queries the firmware version of the instrument in the form - "1.0.0 (build 12345)"
FirmwareVersion
Any number of characters
String
' Microsoft Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Query the firmware version number of the instrument.
MsgBox "Firmware Version is: " + app.FirmwareVersion
Range
Example
Description
Shuts down the instrument. It will prompt the user with an 'Are you sure?' dialog before shutting down.
Note that until the user responds to the dialog, control via Automation will be blocked.
Shutdown
Action
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Shut down the instrument with a confirmation prompt.
app.Shutdown
Example
Description
Equivalent to app.Quit() method.
Exit
Action
Description
3-2
916435 RevA