AnsweredAssumed Answered

visual basic VISA programme example

Question asked by kekexi on Aug 18, 2008
Latest reply on Aug 19, 2008 by odanzy
hi all ,i have a visual basic programme example for Agilent 33220A 20 Mhz Function/Arbitrary Waveform Generator,see below :

Private Sub cmdSimpleSine_Click()
Dim io_mgr As VisaComLib.ResourceManager
Dim Fgen As VisaComLib.FormattedIO488
Set io_mgr = New AgilentRMLib.SRMCls
Set Fgen = New VisaComLib.FormattedIO488
Set Fgen.IO = io_mgr.Open(txtIO.Text)
On Error GoTo MyError

i want to know io_mgr.Open(txtIO.Text) function "txtIO.Text" is what ?it's is the GPIB address ?

PS :
this example code is from agilent paper"connectivity_guide.pdf".p114.see attachment file .  

Attachments

Outcomes