Test and Measurement Forum

Pico Scope 2206 simple programing in labview

Post your LabVIEW discussions here

Pico Scope 2206 simple programing in labview

Postby knwinn » Mon Apr 16, 2012 5:54 pm

I want to be able to use labview to turn on the pico scope, generator a sine wave, then record channels A and B and save that waveform to a excel file.

currently I have my code open the PicoScope, then I try to generator a sine wave. I get an error "Error 5012 occurred at ps2000aSetSigGenBuiltIn". Any suggestion on the error?

Does any one have an example code I could modify?

Thanks
Kevin
Attachments
PS2000_AWG.vi
(15.64 KiB) Downloaded 214 times
knwinn
Newbie
 
Posts: 0
Joined: Mon Apr 09, 2012 11:21 pm

Re: Pico Scope 2206 simple programing in labview

Postby Hitesh » Wed Apr 18, 2012 4:11 pm

Hi Kevin,

Removing the '50' from the LabVIEW code gives the Pico Status code 12. Converting this to hexadecimal gives 'C' corresponding to 'PICO_INVALID_HANDLE' in the Programmer's Guide. It's worth checking to see what the value of handle is going into the function call.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 1997
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