Test and Measurement Forum

Streaming and signal generation with a 5000 series device

Post your C and C++ discussions here

Streaming and signal generation with a 5000 series device

Postby billm » Tue Feb 28, 2017 12:06 am

I am trying to generate a tone burst while streaming data from a 5244A. To do this, I am calling ps5000aSetSigGenBuiltIn() but it always returns PICO_BUSY.
Is it possible to do what I want, or is it a fundamental limitation of the 5000 series devices that the signal generator cannot be changed while in streaming mode?
billm
Newbie
 
Posts: 0
Joined: Mon Dec 15, 2014 10:50 pm

Re: Streaming and signal generation with a 5000 series devic

Postby Martyn » Tue Feb 28, 2017 12:57 pm

Whilst the device is streaming it is not possible to change the settings. However if you set up the signal generator beforehand, add the support to control it with a trigger, then you will be able to start the scope streaming and then fire the signal generator in response to the trigger event. The trigger can use an actual input via the ExtIn port, or a manual software trigger event.
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2617
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Streaming and signal generation with a 5000 series devic

Postby billm » Tue Feb 28, 2017 11:46 pm

Thanks for the reply Martyn.
That works for me. By setting shots to the number of cycles and then using the software trigger I am able to generate the tone burst more or less as I want it.
billm
Newbie
 
Posts: 0
Joined: Mon Dec 15, 2014 10:50 pm


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests