Test and Measurement Forum

Proper way to disable function generator

Post general discussions on using our drivers to write your own software here

Proper way to disable function generator

Postby 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.
hexamer
Advanced User
Advanced User
 
Posts: 62
Joined: Tue Aug 12, 2014 10:09 pm

Re: Proper way to disable function generator

Postby 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 Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Proper way to disable function generator

Postby 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.
hexamer
Advanced User
Advanced User
 
Posts: 62
Joined: Tue Aug 12, 2014 10:09 pm


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests