Vishay Micro-Measurements
System 7000 Programmer’s Reference Manual
Page 60 of 142
6.4 Sample Programs
The CD that ships with the electronic version of this manual contains sample programs. Sample
programs are available in Embarcadero Delphi, National Instruments LabWindows/CVI, and
Microsoft Visual C#. These programs are written in a style so that programmers of any language
should be able to follow the logic of the code in any sample.
6.4.1 Delphi Sample Program
The Delphi sample program demonstrates how to:
configure strain gage, high level, LVDT, and thermocouple cards,
configure simple time-based recording,
configure a simple scan session,
arm, start scanning, and stop scanning,
read the last recorded data files from the scanner,
delete the last recorded data files from the scanner.
Programming Note: The sample program includes a type library file generated with the “Import
Type Library” tool. You may wish to re-generate the type library.
6.4.2 Visual C# Sample Programs
The C# sample program demonstrates how to:
configure strain gage cards,
configure online date,
configure a simple scan session,
arm, start scanning, and stop scanning,
control online data,
receive and decode online data.
A separate C# sample program implements the data file decoding process.
6.4.3 LabWindows/CVI Sample Program
The LabWindows/CVI sample program demonstrates how to:
configure strain gage, high level, LVDT, and thermocouple cards,
configure simple time-based recording,
configure online date,
configure a simple scan session,
arm, start scanning, and stop scanning,
read the last recorded data files from the scanner,
delete the last recorded data files from the scanner,
control online data,
receive and online data.
Programming Note: The sample program uses an instrument driver, created with the “Create
ActiveX Controller” tool, to access the ActiveX interface. You may wish to re-create the instrument
driver.