7-16
Chapter 7
Programming Examples
Measurement Setup Examples
}
/* Optionally reset the instrument, close the */
/* instrument handle, and exit the program. */
/* hp875x_reset(vi); */
/* hp875x_close(vi); */
/* exit(err_status);
*/
return VI_TRUE;
}
return VI_SUCCESS ;
}
Visual BASIC Program Listing
VERSION 5.00
Begin VB.Form frmExample1a
Caption = “hp875x Visual Basic Programming Example 1a”
ClientHeight = 5610
ClientLeft = 1140
ClientTop = 1515
ClientWidth = 5895
LinkTopic = “Form1”
PaletteMode = 1 ‘UseZOrder
ScaleHeight = 5610
ScaleWidth = 5895
Begin VB.ListBox lstText
Height = 4350
ItemData = “frmExamp1a.frx”:0000
Left = 360
List = “frmExamp1a.frx”:0002
TabIndex = 2
Top = 120
Width = 5175
End
Begin VB.CommandButton cmdQuit
Caption = “Quit”
Height = 495
Left = 3120
TabIndex = 1
Top = 4800
Width = 1455
End
Begin VB.CommandButton cmdExecute
Caption = “Execute Program”
Height = 495
Left = 1200
TabIndex = 0
Top = 4800
Width = 1455
End
End
Attribute VB_Name = “frmExample1a”
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Summary of Contents for 8719ES
Page 15: ...1 1 1 Alphabetical Command Reference ...
Page 293: ...2 1 2 Introduction to Instrument Control ...
Page 310: ...3 1 3 GPIB Programming ...
Page 334: ...4 1 4 Reading Analyzer Data ...
Page 343: ...5 1 5 Data Processing Chain ...
Page 350: ...6 1 6 Error Reporting ...
Page 364: ...7 1 7 Programming Examples ...
Page 502: ...A 1 A Preset Conditions ...
Page 517: ...B 1 B Command Listings ...