#Open an existing file
fileName = ,,F:\\Waveform1MV.and"
openfileRet = wavemaster.OpenFile(fileName)
#Arbitrary System Function
sys=WaveMaster.GetArbitrarySystem()
#Configure the device settings
#Define source andamplifier
source = ,,NI DAQ USB-6259"
amplifier = ,,SIB 105-75E-TS"
#Set System
setSysRet = sys.Set (1, source, amplifier,0,0,0)
time.sleep(5)
#Load wave form into instruments memory
sys.Load()
#Enable output
sys.Execute()
#Start running of waveform with burst=5
sys.Start(5)
#Wait until waveform ends after 5 runnings
run = sys.IsRun()
while run == 1:
time.sleep(0.5)
run = sys.IsRun()
#Set output to standby
sys.Standby()