Hi
I don't find a way to load the generator parameter with a WAV file.
In the Automation server manual (v1.7), I read
nWaveformB
Waveform for Channel B:
0: None
1: Sine
2: Rectangle
3: Triangle
4: SawTooth
5: WhiteNoise
6: PinkNoise
7: MultiTones
8: Arbitrary (via Waveform Library File)
9: MLS
How to set it to "WAV" ?
If that doesn't work, that means that I can't call the function SetSignaGeneratorParameters
which is annoying, because I need it to set the output level...
			
			
									
						
										
						Automation: How to load WAV in Generator ?
Re: Automation: How to load WAV in Generator ?
OK, it seems I figured it out by myself.
I just call the function SetSignalGeneratorParameters with both nWafeFormA and nWafeFormB set to 13.
			
			
									
						
										
						I just call the function SetSignalGeneratorParameters with both nWafeFormA and nWafeFormB set to 13.
- 
				VirtinsTech
 - Site Admin
 - Posts: 306
 - Joined: Tue Oct 01, 2013 3:06 pm
 
Re: Automation: How to load WAV in Generator ?
Great! You have figured it out by yourself 
 LoadPanelSettingFile() can also be used and is more generic.
			
			
									
						
										
						Re: Automation: How to load WAV in Generator ?
Yes, indeed.
"LoadPannelSettingFile" doesn't work to change the level.
But it sets the filename.
			
			
									
						
										
						"LoadPannelSettingFile" doesn't work to change the level.
But it sets the filename.