Proper way to disable function generator

Post general discussions on using our drivers to write your own software here
Post Reply
hexamer
Advanced User
Advanced User
Posts: 0
Joined: Tue Aug 12, 2014 10:09 pm

Proper way to disable function generator

Post by hexamer » Wed Oct 22, 2014 5:25 pm

I see that for some scope models the documentation is clear. E.g. passing a 0 start_frequency in ps3000_set_siggen disables the generator. However, for other scopes I don't see explicit documentation. E.g. for PS5000A: passing 0.0 frequency generates PICO_SIG_GEN_PARAM. Passing a valid frequency but 0 Vpp might seem valid, but I would rather tri-state the signal generator rather than output 0 volts. Would ps5000aStop() do it? I could experiment some more, but I'd rather have a documented way to handle this.

Hitesh
Site Admin
Site Admin
Posts: 2811
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Proper way to disable function generator

Post by Hitesh » Mon Oct 27, 2014 1:51 pm

Hi hexamer,

At the present moment, the best way to turn 'off' the signal generator would be to set the waveform to a 0V DC Voltage output.

I will put in a request to the Software Development Team to add an API function to the driver in order to tri-state the device as I have been advised that this is possible in the hardware.

Regards,
Hitesh

Technical Support Engineer

hexamer
Advanced User
Advanced User
Posts: 0
Joined: Tue Aug 12, 2014 10:09 pm

Re: Proper way to disable function generator

Post by hexamer » Mon Oct 27, 2014 8:24 pm

Thanks, Hitesh. I'll do that for now and add an enhancement later when the API is updated.

Post Reply