beautypg.com

Part two: commands – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 5

background image

T

A B L E O F

C

O N T E N T S

WM-RCM-E Rev D

ISSUED: February 2005

v

CHAPTER SIX: LINKING WITH AUTOMATION ............................................... 68

What is Automation? ............................................................................................................69

OVERVIEW ......................................................................................................................... 69
SOME DETAILS .................................................................................................................. 69
HOW TO USE THE VBS COMMAND................................................................................. 71
HOW TO USE X-STREAM BROWSER .............................................................................. 72
ACTIONS ............................................................................................................................ 76

PART TWO: COMMANDS .......................................79

Use Commands and Queries ............................................................................................... 81

COMMAND NOTATION ...................................................................................................... 81

Table of Commands and Queries – By Short Form .......................................................... 83
Table of Commands and Queries – By Subsystem........................................................... 86

APPENDIX I, PROGRAMMING EXAMPLES .................................................. 259

Introduction to Instrument Software Tools ...................................................................... 259

EXECUTABLE PROGRAMS............................................................................................. 259

Source Code Example GPIB-1...........................................................................................260

USE THE INTERACTIVE GPIB PROGRAM “IBIC” .......................................................... 260

Source Code Example GPIB-2...........................................................................................261

USE THE GPIB PROGRAM FOR IBM PC (HIGH-LEVEL FUNCTION CALLS) .............. 261

Source Code Example GPIB-3...........................................................................................263

USE THE GPIB PROGRAM FOR IBM PC (LOW-LEVELFUNCTION CALLS) ................ 263

Source Code Example: ActiveDSO – 1 and 2................................................................... 266
Source Code Example: ActiveDSO – 3 and 4................................................................... 268
Source Code Example: ActiveDSO – 5 ............................................................................. 271
Translation Example ........................................................................................................... 271
Introduction to ActiveDSO ................................................................................................. 272
Using ActiveDSO................................................................................................................. 273
Instantiation......................................................................................................................... 273
Example Using PowerPoint 97 .......................................................................................... 274
Example in VBA .................................................................................................................. 278

APPENDIX II, WAVEFORM TEMPLATE ......................................................... 279

Waveform Template ............................................................................................................ 279

WAVEDESC: Block.............................................................................................................. 281
Decoding Floating Point Numbers.................................................................................... 291
How to Construct a Floating Point Number from Four Bytes ........................................ 296