![Agilent Technologies Agilent 33500 Series Скачать руководство пользователя страница 233](http://html.mh-extra.com/html/agilent-technologies/agilent-33500-series/agilent-33500-series_user-manual_2867489233.webp)
232
Chapter 4 Application Programs
Program Listings
4
End With
'Loading arb files into waveform memory.
With mFio
.WriteString "MMEM:LOAD:DATA ""INT:\BUILTIN\SINC.ARB"""
Call WaitForOPC(mFio)
.WriteString "MMEM:LOAD:DATA ""INT:\BUILTIN\CARDIAC.ARB"""
Call WaitForOPC(mFio)
.WriteString "MMEM:LOAD:DATA ""INT:\BUILTIN\HAVERSINE.ARB"""
Call WaitForOPC(mFio)
End With
'Build a sequence descriptor string consisting of arbitrary waveform segments.
strSeqDescriptor = "mySequence"
strSeqDescriptor = strSeqDescriptor & "," +
"""INT:\BUILTIN\SINC.ARB"",5,once,maintain,12"
strSeqDescriptor = strSeqDescriptor & "," +
"""INT:\BUILTIN\CARDIAC.ARB"",5,repeat,highAtStart,35"
strSeqDescriptor = strSeqDescriptor & "," +
"""INT:\BUILTIN\HAVERSINE.ARB"",0,once,lowAtStart,10"
strSeqDescriptor = strSeqDescriptor & "," +
"""INT:\BUILTIN\SINC.ARB"",0,once,highAtStartGoLow,7"
'Calculate the header of the sequence command.
strHeader = "#" & CStr(Len(CStr(Len(strSeqDescriptor)))) &
CStr(Len(strSeqDescriptor))
'Append the header information and sequence descriptor.
strCommand = "SOURce1:DATA:SEQ " & strHeader & strSeqDescriptor
With mFio
'Send command to set the desired configuration
.WriteString strCommand
Call WaitForOPC(mFio)
.WriteString "SOURce1:FUNCtion:ARBitrary mySequence"
.WriteString "SOURCE1:VOLT 2"
.WriteString "SOURCE1:VOLT:OFFSET 0"
.WriteString "OUTPUT1:LOAD 50"
.WriteString "SOURCE1:FUNCtion:ARB:SRATe 40000"
.WriteString "SOURce1:FUNCtion ARB"
'Enable output.
.WriteString "OUTPUT1 ON"
Sleep 1000
End With
Text2.SelText = "Arbitrary Wave Sequence generated on Channel1" & vbCrLf
Exit Sub
MyError:
Text2 = Err.Description
Resume Next
Содержание Agilent 33500 Series
Страница 2: ...Agilent Technologies Agilent 33500 Series 30 MHz Function Arbitrary Waveform Generator User s Guide ...
Страница 13: ...12 ...
Страница 16: ...1 1 Quick Start ...
Страница 41: ...40 Chapter 1 Quick Start To Rack Mount the Waveform Generator 1 ...
Страница 42: ...2 2 Front Panel Menu Operation ...
Страница 90: ...3 3 Features and Functions ...
Страница 218: ...4 4 Application Programs ...
Страница 243: ...242 Chapter 4 Application Programs Program Listings 4 ...
Страница 244: ...5 5 Tutorial ...
Страница 261: ...260 Chapter 5 Tutorial Ground Loops 5 ...
Страница 262: ...6 Specifications ...