How do I force Picoscope to use streaming mode?

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
Ben321
User
User
Posts: 5
Joined: Tue May 23, 2017 8:09 am

How do I force Picoscope to use streaming mode?

Post by Ben321 » Thu Mar 08, 2018 10:12 pm

I want to force Picoscope 6 software to use streaming mode, rather than block mode, so I can record the signal stream to a file (for later analysis in other software). I can't find any "Activate USB Streaming Mode" option in the software's settings. It seems to always use block mode, no matter what, as the saved waveform always has breaks between blocks of the signal. There's a very sharp edge where it's easy to see that some of the waveform was lost between blocks, which is proof that it's operating in block mode, rather than streaming mode.

I'm using the Picoscope 6 software with my 2204A Picoscope hardware. My current settings are 200ms/div and 1million samples per block. And this itself seems to indicate block mode is in use, because it is even allowing me to set block size. A stream has no block size. It is just a constant stream of signal samples passed from the Picoscope to the computer over the USB cable. When USB Streaming Mode is active, I assume that the buttons to set the block size will be grayed out, indicating that block mode is not active.

Any help here would be greatly appreciated.

bennog
Active User
Active User
Posts: 33
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: How do I force Picoscope to use streaming mode?

Post by bennog » Fri Mar 09, 2018 6:43 am

try setting timebase to 1 or 10 sec / division. (or longer depending how long you want the trace to be)
ans max samples to 100Ms

Then you get a single trace for 10 or 100 sec without gaps.

Between traces are always gaps. So you can only use a single trace.

Otherwise use the SDK for streaming mode alt higher rates than the PS software allows you to set.

Benno

Ben321
User
User
Posts: 5
Joined: Tue May 23, 2017 8:09 am

Re: How do I force Picoscope to use streaming mode?

Post by Ben321 » Fri Mar 09, 2018 6:50 pm

bennog wrote:try setting timebase to 1 or 10 sec / division. (or longer depending how long you want the trace to be)
ans max samples to 100Ms

Then you get a single trace for 10 or 100 sec without gaps.

Between traces are always gaps. So you can only use a single trace.

Otherwise use the SDK for streaming mode alt higher rates than the PS software allows you to set.

Benno

Thanks for the info. Too bad Picoscope6 doesn't have a "recording mode" where it would work like soundcard software, where you just hit a "record" button, and it runs full USB-streaming continuously at the max-samplerate of whatever scope you have connected, and just records everything until you hit the "stop" button.

bennog
Active User
Active User
Posts: 33
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: How do I force Picoscope to use streaming mode?

Post by bennog » Fri Mar 09, 2018 9:22 pm

Ben321 wrote: Thanks for the info. Too bad Picoscope6 doesn't have a "recording mode" where it would work like soundcard software, where you just hit a "record" button, and it runs full USB-streaming continuously at the max-samplerate of whatever scope you have connected, and just records everything until you hit the "stop" button.
But it have this mode limit to 100MS (depending on the scope type)
I use this mode often to stream 100MS in memory.
What sampling speed do you want to get (how many samples / sec and how many channels ?)

Benno

Martyn
Site Admin
Site Admin
Posts: 3372
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: How do I force Picoscope to use streaming mode?

Post by Martyn » Mon Mar 12, 2018 7:52 am

Writing an application using the SDK would be the easiest way to achieve this.
Martyn
Technical Support Manager

bennog
Active User
Active User
Posts: 33
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: How do I force Picoscope to use streaming mode?

Post by bennog » Mon Mar 12, 2018 8:14 am

Martyn wrote:Writing an application using the SDK would be the easiest way to achieve this.
Problem with this is you can not use any of the beautiful features of the PicoScope software, because you can not save the data as .psdata file.
So decoding the data e.g. CAN or RS232 or any other protocol will not work anymore.

Maby allow save as .psdata when there is a picoscope connected (as proof you own a picoscope device)
This also allows for higher streaming rates and still analyze the data with the PS6 software.

Benno

Post Reply