Can't control signal generator in PS-4227

Having problems ? let us know the details here
Post Reply
jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Can't control signal generator in PS-4227

Post by jerry-Pico »

I am practicing signal-generation with PS-4227:
* I connect AWG output to channel-A.
* Then I run demo "PS400 C-console" of PicoSDK.
* No matter how I choose "waveform/frequency" of the built-in functions, I always observed "sine" wave with 1kHz.

So, anybody know how to control the signal generation in PS-4227?
Thanks!

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

Are you using the code in the SDK without any changes ?

How are you viewing the outputted wave ?
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

No, I made no changes to the SDK demo.

Basically I use PS-4227 to generate waveform, and again use PS-4227 to see the results. As I mentioned:
* I connect AWG output to channel-A.

Anything wrong with my procedure?

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

And what sequence do you use the menu options in ?

Please note that you can't change the generator whilst the scope is collecting, or waiting to collect, the data.

Try using PicoScope 6 to see how it works.
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

Yes, I was using PicoScope-6 to see the waveform:
* Configuration step:
--------- I just run the SDK demo, and choose waveform "triangle/gaussian/etc/" and difference frequency.
* Monitoring step:
--------- after configuration, I use PicoScope-6 to view the waveform
--------- Problem is: I always see the "sine" waveform with 1khz.

Anything wrong with my steps?
And what do you mean by "what sequence do you use the menu options in"?
Thanks!

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

If you run the SDK C code to start the generator, then close the application, before running PicoScope 6 to see the data, that will be the problem. PicoScope will start with it's own settings which may have a 1kHz sine wave set.

If you don't close the C console before starting PicoScope 6, the the PicoScope 6 software will not be connected to the scope but will be running in demo mode, which by default displays a 1kHz wine wave on Channel A.

Go to Help->About in PicoScope 6 and post the text from the box, then we can see the reason.
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

OK, here is my sequence:
* G - Signal generator
* 2 - TRIANGLE
* 1000 (Hz)
* X - exit

Anything wrong with my menu option sequence?

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

Here is "About":

PicoScope® 6 - PC Oscilloscope software version: 6.11.12.1692
Copyright © 1995-2016, Pico Technology Ltd.

Model: PicoScope 4227
Serial Number: AP248/063
USB Version: 2.0
Calibration Date: Thursday, July 22, 2010
Hardware Version: 1
Driver Version: 1.2.6.4
Firmware Version: 1.0.5.0 / 0.5.10.0

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

If you click on the SigGen icon in PicoScope 6 what does it show ? Sine wave at 1kHz ?

When you open a scope with PicoScope 6 it will write the code to run the device into it before restarting it. Any previous state will be lost.
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

SigGen icon? I can't find it, what does it look like?

"When you open a scope with PicoScope 6 it will write the code to run the device into it before restarting it"
--- write what code? when we open PicoScope-6, we just want to view( and not provide any code), right?

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

The right of the tool bar, hover over the icons for a tool tip.
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

OK, I find it. Thanks a lot!

By the way, are we supposed to configure signal-generator inside the PicoScope-6?
Then what can we do with SDK (VC++ application)? Because it will lost after close the application, right?

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

Re: Can't control signal generator in PS-4227

Post by Martyn »

You can use the SDK to write your own application to do exactly what you want it to do.

PicoScope 6 is our application, that behaves in a similar way to a bench top scope, but has a few more bells and whistles.

Use either one or the other, whichever matches your needs best.
Martyn
Technical Support Manager

jerry-Pico
User
User
Posts: 8
Joined: Thu Mar 30, 2017 3:44 pm

Re: Can't control signal generator in PS-4227

Post by jerry-Pico »

Got it:
* sophisticated applications may need to use SDK.
* but for my basic needs, SDK is not necessary, as PicoScope-6 is good enough.

Thanks again!

Post Reply