PicoScope 5000 series using LabVIEW2014 64 bit

Post your LabVIEW discussions here
ahmadtarmimi
Newbie
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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 chaneel not found
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

Post by ahmadtarmimi »

Good Day

Can anyone please give me an email for Picoscope sales/service engineer south east asia?(malaysia or singapore)

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

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

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

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

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

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

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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

Post by ahmadtarmimi »

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

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

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

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

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

Please ensure data types are correct for the run block function below especially-
IpReady and pParameter
Attachments
5000 64-bit runblock function vars
5000 64-bit runblock function vars
Regards Andrew
Technical Specialist

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

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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

Post by ahmadtarmimi »

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

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

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

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

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by ahmadtarmimi »

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?

AndrewA
PICO STAFF
PICO STAFF
Posts: 400
Joined: Tue Oct 21, 2014 3:07 pm

Re: PicoScope 5000 series using LabVIEW2014 64 bit

Post by AndrewA »

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

Post Reply