AWG in LabVIEW PS2000.dll

Post your LabVIEW discussions here
Post Reply

AWG in LabVIEW PS2000.dll

Post by Lorenz_A » Mon Apr 04, 2011 12:01 pm


The AWG is working fine in PicoScope 6. I can use most of the .dll-calls of the PS2000.dll in my LabVIEW programs but I don't understand how to use the call for the AWG.

I tried to create all the parameters described in the manual - but I don't know what data-type is the sweeptype?
I created an array (size 1024) for the waveform buffer and I know how to hand it over to the dll-call.
I tried some parameters and the .dll-call returns 0 - but I cannot get the AWG to work.

A list of parameters for a wokring call would be very helpful.



Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: AWG in LabVIEW PS2000.dll

Post by Chris » Mon Apr 11, 2011 10:02 am

The return value is 0 for an error, non-zero for success.
(Not as stated in the manual).

The set_sig_gen_arb function code in the ps2000con.c is a good example to look at.

Note: The values in the arbitraryWaveform buffer need to be in the range 0 to 255, and the size of this buffer should be < 4094

Posts: 0
Joined: Fri Dec 23, 2011 3:13 am

Re: AWG in LabVIEW PS2000.dll

Post by atulkumar » Fri Jan 06, 2012 2:12 pm

Why 4094? Should not it be 4096?


Post Reply