Test and Measurement Forum

Agilent Vee 9.32 and new Picoscope 2204A: Signal generation

Post general discussions on using our drivers to write your own software here

Agilent Vee 9.32 and new Picoscope 2204A: Signal generation

Postby saketh » Wed Jun 10, 2015 10:37 am

I am trying to use the new Picoscope 2204A (smaller dark blue one) along with Agilent VEE 9.32 to generate both sine and arbitrary waveforms. I have the latest DLL and vee drivers. Based on the programming guide, it seems that I have to use ps2000SetSigGenArbitrary and ps2000SetSigGenBuiltIn.

ps2000SetSigGenArbitrary is not declared in the ps2000.vh and the built-in block does not appear in VEE for this function.
ps2000SetSigGenBuiltIn is declared in the ps2000.vh and the built-in block does appear in VEE. However, when I run the VEE program it complains about an error in line 135 about a wrong declaration of the variable. It turns out that this might be because the function is not declared short _stdcall ... or long _stdcall... but just _stdcall... When this was corrected, it seems that the program has no errors but there is no output from the Picoscope.

I would very much appreciate if you can take a look at these two functions and provide a simple example in VEE of generating signals. I am looking for something basic really.

Thanks.

--Saketh
saketh
Newbie
 
Posts: 0
Joined: Wed Jun 10, 2015 10:22 am

Re: Agilent Vee 9.32 and new Picoscope 2204A: Signal generat

Postby Martyn » Mon Jun 15, 2015 2:41 pm

Unfortunately we no longer actively support Agilent VEE for our scopes, and do not have an environment where we can test out any code. It is still included in the drivers, for legacy reasons, although it has been removed in the new SDK installer which will be available on the web soon.

Are you setting the scope up to capture data at the same time as generating, or are you just trying to use the generator ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests