Test and Measurement Forum

LabVIEW driver & examples for 2203, 2204, 2205

Post your LabVIEW discussions here

LabVIEW driver & examples for 2203, 2204, 2205

Postby jon@ktizo.co.uk » Thu May 24, 2012 11:32 am

The LabVIEW drivers that Picotech provide for the 2203, 2204, and 2205 are limited. I've written a bunch of much better ones and some examples. All available for free, here:
http://ktizo.co.uk/Picoscope-220x-Drivers.php

The driver implements most features of the PicoScope:
    Open / close
    Adjust channel properties
    Set up trigger
    Set up timebase
    Collect data
    Signal generator
    Utilities: Flash LED, Get unit data
    AUTOSCALE feature - something that Picotech do not provide even for their high-end scopes!

The driver doesn't include all the functions, but there's enough there for a LabVIEW developer to get some good ideas hopefully.

Enjoy - and feedback welcome (just remember they're free though!)
Jon
jon@ktizo.co.uk
Newbie
 
Posts: 0
Joined: Fri Oct 28, 2011 9:09 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby RnDMonkey » Thu Jun 05, 2014 11:55 pm

Thank you for posting this, Jon. I didn't have any luck with their supplied fast sample example driver because of a DLL error (said the function was missing - see picture). Your drivers work really well, though, so thank you!

Ryan R.
Attachments
screenshot_000708.png
This function doesn't exist in the DLL. @28 does, but changing to that didn't fix it.
screenshot_000707.png
LabVIEW Error
RnDMonkey
Newbie
 
Posts: 0
Joined: Thu Jun 05, 2014 11:48 pm

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Hitesh » Mon Jun 09, 2014 9:50 am

Hi RnDMonkey,

The latest version of the SDk (10.5.0.32) for the PicoScope 2000 series contains an updated example for Fast Streaming, which also resolves the issue of lost data during the capture process.

As part of this, the wrapper dll has also been updated.

Hope this helps.
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2000
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Eva zhou » Mon Aug 11, 2014 10:07 am

Hi Hitesh,

I meet the same question as RnDMonkey when running the fast streaming mode with 2204A in R10.5.0.32 SDK. i think i have put ps2000.dll and ps2000warp.dll in the correct position. maybe there is some problem with the fast streaming example in SDK R10.5.0.32.

Eva
Eva zhou
Newbie
 
Posts: 0
Joined: Mon Jul 21, 2014 8:29 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Hitesh » Mon Aug 11, 2014 12:55 pm

Hi Eva,

Please use the PicoScope2000ExampleFastStreaming.vi file in the SDK.

Best wishes,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2000
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Eva zhou » Tue Aug 12, 2014 1:58 pm

Hi Hitesh,

i have run PicoScope2000ExampleFastStreaming.vi and it works fine. However when i run the ps2000_fast_stream.vi, it has an error like RnDMonkey. so How to fix it?

Best Regards
Eva zhou
Newbie
 
Posts: 0
Joined: Mon Jul 21, 2014 8:29 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Hitesh » Tue Aug 12, 2014 3:59 pm

Hi Eva,

The ps2000_fast_stream.vi uses an old version of the ps2000Wrap.dll - the issue with this is that with fast streaming, there would often be lost data.

If you still require this, please look in the Wrapper\ps2000Wrap\Legacy directory in the SDK zip file - there is also a README.txt file in there.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2000
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Eva zhou » Wed Aug 13, 2014 1:23 am

Hi Hitesh,

Thank you for your reply! i have tried the old ps2000warp.dll, it run correctly. before i just wanted to know why it didn't run. Now, as for lost data, i will pay attetion to it.

Best Regrads
Eva
Eva zhou
Newbie
 
Posts: 0
Joined: Mon Jul 21, 2014 8:29 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Antonio Cantos » Wed Aug 27, 2014 9:27 am

Hi everyone,

Recently, I have purchased a "picoScope 2204".
I can't operate my picoScope 2204 with the software LabVIEW although I have downloaded the software "PS2000sdk_r10_5_0_32.zip". Can you tell me how I can operate this?.
I think, I need a LabVIEW manual settings in Spanish, please.

Hope this helps. Thank you very much.

Best wishes.
Antonio Cantos
Newbie
 
Posts: 0
Joined: Wed Aug 27, 2014 9:03 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Karunen » Wed Aug 27, 2014 2:59 pm

Hi Antonio,

Unfortunately we do not have LabVIEW manual settings in Spanish.

Have you have a look at the video on http://www.picotech.com/support/topic14211.html

Also http://www.picotech.com/support/topic12601.html has a lot of useful information.

Do you have 32 or 64 bit LabVIEW?

Kind Regards,
Karunen

Technical Specialist
Pico Technology
Karunen
Zen Master
Zen Master
 
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Antonio Cantos » Wed Sep 10, 2014 5:46 pm

Hi Karunen,

Thank for your reply. Sorry for not writing earlier but I've been really busy.

I have 64 bit LabVIEW. Is this the problem?

I've looked more information in the topics, but I didn't find the problem.

My LabVIEW don't pick up the PicoScope 2204.

Hope to hear from you soon.

Best wishes.

Antonio.
Antonio Cantos
Newbie
 
Posts: 0
Joined: Wed Aug 27, 2014 9:03 am

Re: LabVIEW driver & examples for 2203, 2204, 2205

Postby Karunen » Mon Sep 15, 2014 10:58 am

Hi Antonio,

Sometimes the 64 bit version version of LabVIEW does not pull in the dlls and they need to call again from the Call library Function block.

Please have a look at http://www.picotech.com/support/topic12601.html.

Does the device connect in PicoScope 6?

What do you mean when you say "don't pick up the PicoScope 2204."?
Can you post here or send to support@picotech.com a screen shot of the error are you seeing?

Kind Regards,
Karunen

Technical Specialist
Pico Technology
Karunen
Zen Master
Zen Master
 
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests