Pico Scope 2206 simple programing in labview

Post your LabVIEW discussions here
Post Reply
knwinn
Newbie
Posts: 0
Joined: Mon Apr 09, 2012 11:21 pm

Pico Scope 2206 simple programing in labview

Post by knwinn »

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 770 times

Hitesh

Re: Pico Scope 2206 simple programing in labview

Post by Hitesh »

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,

Post Reply