Help with LabVIEW Setup

Post your LabVIEW discussions here
Post Reply
LabEngy
Newbie
Posts: 0
Joined: Tue Oct 22, 2019 8:34 pm

Help with LabVIEW Setup

Post by LabEngy » Tue Oct 22, 2019 8:52 pm

Hi All,

I am trying to setup my PicoScope with LabVIEW and can't seem to get it to work. I've downloaded the SDK driver, and have 4 folders now. One of those folders has all the .dll and .lib files, and the one other one has all the .h files. I tried using the LabVIEW shared library wizard with different combinations of these, but nothing seems to be working. How exactly can i get this to work? Do I have to many any files around? Can I just download the LabVIEW examples online and use them without the SDK?

Thank you so much!! Greatly appreciate any help!

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

Re: Help with LabVIEW Setup

Post by AndrewA » Fri Oct 25, 2019 8:00 am

Hi,
For 32-bit LabVIEW you need 32-bit SDK, or for 64-bit LabVIEW you need 64-bit SDK
You can install both if you wish.

You can download the Software Development Kit from our website at:
https://www.picotech.com/downloads

Step 1, select your 'Series' in the left column.
Step 2, select 'Model' in the next column.
Step 3, select 'Software' in the next column.

You can also download the correct programmers guide here also, which indicates the correct driver and examples to be used for your model.
By choosing 'Manuals & brochures' in instead of 'Software'
ie 2000 or 2000A etc

LabVIEW software examples are available from our GitHub repositories.
https://github.com/picotech/picosdk-ni-labview-examples

If asked for PicoscopeAdctoVolts, PicoErrorHandler, and PicoStatus.vi
Are in /shared/PicoScope.llb. This llb file is used for all our LabVIEW examples.
The /shared folder is now located in a submodule, if you have cloned the repository from https://github.com/picotech/picosdk-ni-labview-examples you also may need issue the git command-
submodule update --init
if it has not pulled down the submodule folder.
Otherwise you can download the submodule contents from- https://github.com/picotech/picosdk-ni-labview-shared

Note there are examples for 32-bit and 64-bit version of LabVIEW.
For more information see- https://github.com/picotech/picosdk-ni-labview-examples/blob/master/README.md
Regards Andrew
Technical Specialist

LabEngy
Newbie
Posts: 0
Joined: Tue Oct 22, 2019 8:34 pm

Re: Help with LabVIEW Setup

Post by LabEngy » Thu Oct 31, 2019 1:31 am

AndrewA,

Thank you so much for the quick reply and the help!

So I don't need the SDK and/or the .dll files at all to be able to use LabVIEW with my scope? Could I just download the .llb file you mentioned and then download an example from the github and get it to run?

I've looked at the programmer's guide, and from my understanding, I have to import the .dll files through LabVIEW. I tried using the import shared library tool in LabVIEW, but everytime I input the header, it says that the header was not found. I tried this for many combinations. It finds the functions but it doesn't find the header. Maybe I have to use the Call Library Function Node and define all the parameters by looking at the programmer's guide.

I really appreciate your help, it goes such a long way!

Post Reply