6403D AWG output

Having problems ? let us know the details here
Post Reply
MisterT
User
User
Posts: 2
Joined: Fri Dec 01, 2017 1:32 pm

6403D AWG output

Post by MisterT »

Hi there,

I've just started looking at the 6403D. I want to use C#.net and have got some of the basics up and running. however I'm having problems with the AWG - there is no output. When I use Pico6 I can create and import files to the AWG correctly. But when I use the C# example there is no output with the csv files previously used. The other features of the app all work as expected.

It seems as if something basic is missing - perhaps for my particular model ? Do the files need to be different from the Pico6 files ?

I've attached a screenshot of the unit information.

Thanks,
Attachments
Picoscope unit information
Picoscope unit information

Hitesh

Re: 6403D AWG output

Post by Hitesh »

Hi MisterT,

The PicoScope 6 software scales the waveform in the range -1 to +1 whereas the API function requires the waveform to be defined in the range 0 to 4095 - please refer to the Programmer's Guide for further information on the ps6000SetSigGenArbitrary() function:
arbitraryWaveform, a buffer that holds the waveform pattern as a set of
samples equally spaced in time. If pkToPk is set to its maximum (4 V) and
offsetVoltage is set to 0:
a sample of minArbitraryWaveformValue
a sample of maxArbitraryWaveformValue corresponds to +2 V
where minArbitraryWaveformValue and maxArbitraryWaveformValue are the
values returned by ps6000SigGenArbitraryMinMaxValues.
You can modify the code to scale the values using the values obtained from the ps6000SigGenArbitraryMinMaxValues() function.

Hope this helps.

Regards,

MisterT
User
User
Posts: 2
Joined: Fri Dec 01, 2017 1:32 pm

Re: 6403D AWG output

Post by MisterT »

Excellent it's now up and running !

It felt like I was missing something simple but got confused as Pico6 worked. I can now started experimenting with measurement possibilities.

Thanks,
MisterT

Hitesh

Re: 6403D AWG output

Post by Hitesh »

Hi MisterT,

Good to hear that's worked :)

Regards,

Post Reply