Page 1 of 1

Automation: How to load WAV in Generator ?

PostPosted: Sat Jul 16, 2022 8:30 pm
by RJA4000
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...

Re: Automation: How to load WAV in Generator ?

PostPosted: Sun Jul 17, 2022 1:55 am
by RJA4000
OK, it seems I figured it out by myself.

I just call the function SetSignalGeneratorParameters with both nWafeFormA and nWafeFormB set to 13.

Re: Automation: How to load WAV in Generator ?

PostPosted: Wed Jul 20, 2022 1:48 am
by VirtinsTech
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 ?

PostPosted: Mon Jul 25, 2022 3:55 pm
by RJA4000
Yes, indeed.
"LoadPannelSettingFile" doesn't work to change the level.
But it sets the filename.