Test and Measurement Forum

AWG parameters

Post your LabVIEW discussions here

AWG parameters

Postby mario.tavanti » Mon Feb 13, 2012 8:44 pm

I have a problem about parameters passed to the function ps2000_set_sig_gen_arbitrary of PS2000.dll;i don't understand my errors in the project attached where I try to generate a sinusoidal signal(I know that this can be done by the buit-in generator but I want to learn how to use the AWG).Can someone help me?
(58.83 KiB) Downloaded 208 times
Posts: 0
Joined: Mon Feb 13, 2012 8:21 pm

Re: AWG parameters

Postby Hitesh » Fri Feb 17, 2012 11:32 am

Hi Mario,

I've put together an example to show how to call the ps2000_set_sig_gen_arbitrary function - one of the things that I noticed about your file was that you are calling the function inside a while loop which isn't recommended.

I've also had to change the 20e-9 term in the formula to 10e-9 in order to set the frequency correctly. Please note that in this version the sweep functionality does not work as it will require a start and stop delta phase that are different.

I created some arbitrary waveforms using PicoScope and ran them through the example sending the AWG wave to another PicoScope device. One AWG file is attached as an example.

Example Sine wave AWG file.
(50 KiB) Downloaded 248 times

LabVIEW file
(15.64 KiB) Downloaded 239 times

Hope this helps.

Technical Support Engineer
Site Admin
Site Admin
Posts: 2793
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests