Test and Measurement Forum

PicoScope 5000 series using LabVIEW2014 64 bit

Post your LabVIEW discussions here

PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Sun Mar 22, 2015 4:11 pm

Good Day,


I have one unit picoscope (5203) for my research project... I'm using LabVIEW 2014 64 bit

I follow all the Faq and tip sent by mrHitesh....

-download the 5000sdk10.5.2.1 from the website
-put picolpp ps5000 and ps 5000wrap .dll(64 bit) file into labIEW resource file....
-but get an error from the picoscope sub vi(subvie put in the instrument library)
error type
1)-same error on error handler,picoscope 5000 close,get block, rapid block,setting ,start setting

error= call library function node"ps3000.dll ps 3000_open.unit 0 function not found
i don't understand why it keep searching for ps3000 since I use a 5000 series...

2)error pico scope on 5000 wrap
set enable channel@8 not found.gif
set enable chaneel not found



can you give advice and help me with this problem
thanks
regard
ahmad tarmimi
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Tue Apr 07, 2015 12:11 am

Good Day

Can anyone please give me an email for Picoscope sales/service engineer south east asia?(malaysia or singapore)
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Tue Apr 07, 2015 1:07 pm

Hello Ahmad,

You are using the 5000GetRapidBlock vi this does not use the wrapper vi. The wrapper is only needs when using the scope in streaming mode. Do you want to do streaming?
What are errors for GetBlock and GetRapidBlock vi?
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Wed Apr 08, 2015 12:22 am

Hi AndrewA

Thanks for the reply

1)yes i want to test stream mode also..
I follow the same instruction(but using 64 bit file) on with labview primer video topic15211.html
step taken:
a)3 file copy from PS5000SDK10.5.2.1 (64bit):
i-PicoIpp.dll
ii-Ps5000.dll
iii-ps5000wrap.dll

b)paste the copy file into labview resoure file and paste also inside instr.lib/PICOSCOPE (create for picoscope Vi)


2) error on Get block and get rapid block vi is=
error= call library function node"ps3000.dll ps 3000_open.unit 0 function not found
i don't understand why it keep searching for ps3000 since I use a 5000 series...


Thanks for your strong support
Best Regard
ahamadtarmimi
Attachments
ps3000_open unit not found 2.gif
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Wed Apr 08, 2015 3:38 pm

Hi Tarmimi,

1) For the vi errors (5000getblock, startstreaming, rapid etc)
Double click on the call library error, this will take you to the function node or vi front panel.
2) If you at a vi front panel you will need to do a ctrl-E, to get to the function node. The function node should now be selected.
3) Then right click on the call library function node and select configure, and choose the correct dll file.

I have also seen your forum post here-
https://www.picotech.com/support/post49931.html#p49931
4) You may also need to reselect the function calls (in the drop down) when converting to 64 bit labview, as it does not link the functions correctly, from the 32-bit versions.
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Wed Apr 08, 2015 11:04 pm

Hi Andrew

Thanks for the information

Best Regards
Tarmimi
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Thu Apr 09, 2015 4:10 am

Good day andrew

1) i follow the step in topic14105.html (point no 9 for 64 bit)

----step taken= in parameter change to unsigned 32 bit (in figure attached)
-----problem= pico not found (in figure attached)

2) check with picoscope software.. condition is ok

3) do you have example vi for 64 bit that i can try..


Best regard
ahmadTarmimi
Attachments
pico not found.gif
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Thu Apr 09, 2015 3:39 pm

Please try the following-

1. Close picoscope if its running
2. Save and Close Labview
3. Disconnect and reconnect the scope both, USB and power
4. Restart Labview
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Thu Apr 09, 2015 11:23 pm

Hi Andrew

thanks for the information...

1) Disconnect and reconnect the scope both, USB and power..... Solution very Good

2) when I try run example block diagram.. labview crash...

problem..Exception: Access violation (0xC0000005) at EIP=0x0000000100000000
version: 14.0 (64-bit)
step taken:
change the VI in example from 32 bit to 64 bit..
from topic12601.html
a)Ensure that you are using the 64-bit version of the dll (and wrapper dll for Oscilloscope Streaming) and that the dll is loaded in for each function call.---------(OK copy from SDK kit 64 bit file)
b)Unsigned 32-bit Integer for PICO STATUS values.------(OK data type change in parameter)
c)Signed 64-bit Integers for pointers to callback functions and void pointers ----( ?? not change )

Please advice
Best Regards
AhmadTarmimi
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Mon Apr 13, 2015 11:30 am

Please ensure data types are correct for the run block function below especially-
IpReady and pParameter
Attachments
5000 64-bit runblock vars.PNG
5000 64-bit runblock function vars
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Sun Apr 26, 2015 2:23 am

Good Day Andrew

Thank for your strong support..

p/s: sorry for the late reply.. i was out of town.
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Sun Apr 26, 2015 7:39 am

Good Day Andrew

Thank for your information, now i can operate the PicoScope using labVIEW and also Picoscope 6 Software..


is there any start capturing function( picture attached) in can be set on picoscope subVI properties?

Best Regards
Ahmad Tarmimi
Attachments
capture.gif
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Tue May 12, 2015 8:37 am

Hi Ahmad,

We don't have any general start capture function in our API. You need to do this yourself in your labview vi.
You can just use the labview run/start button in the vi.
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby ahmadtarmimi » Thu Jul 30, 2015 4:04 am

Hi Mr Alvin

what is the different between PS5000 Software Development Kit 10.5.2 and PS5000A Software Development Kit 10.5.2?

I use Picoscope 5203 for PS5000 Software Development Kit 10.5.2
and Picoscope 5244B for PS5000A Software Development Kit 10.5.2

method: need to change the picolpp ps5000 and ps 5000wrap .dll every time change the picoscope device.

since I have 2 type of picoscope with common 5000 series connect to only one PC, is there any method to make the development kit common?
ahmadtarmimi
Newbie
 
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Postby AndrewA » Fri Jul 31, 2015 10:47 am

The SDK for PS5000 and PS5000A files relate to difference drivers.
A single driver covers multiple models of scopes.
See the this post with the device driver table-
topic15321.html

As for using multiple drivers or scopes at the same time, this is possible.
You need to call each function twice and especially the open unit function which will give you a handle value for each device. You need that handle value to control each individual device.

Please read this forum post topic12601.html
See point 5. Can I control multiple devices?
Regards Andrew
Technical Specialist
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm

Next

Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests