How to install new libraries in Labview function paletes | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
How to install new libraries in Labview function paletes
November 18, 2015
8:30 am
Avatar
mpuig
Member
Members
Forum Posts: 3
Member Since:
November 18, 2015
sp_UserOfflineSmall Offline

Dear all,

once we have created a new set of Labview API VIs corresponding to an Arduino library, where I have to save these Labview API VIs in Labview directories in order to use them in a new Labview project?

For exemple, regarding the user manual, a new library of Labview API VIs have been developed for the Diglent Analog Shield library. The obtained VIs are not available in the Labview function paletes. These VIs have to be saved in the directory: "C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\"? This is the normal procedure?

Thank you very much

November 18, 2015
3:20 pm
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Hello

Your created VIs will have to reside in a directory in the same directory where the folder for the Digilent shield does. 

Cheers
Filipe

November 18, 2015
7:16 pm
Avatar
mpuig
Member
Members
Forum Posts: 3
Member Since:
November 18, 2015
sp_UserOfflineSmall Offline

Hello Filipe,

Thank you for your fast response.

You mean the same folder where I have made Labview API VIs? I attach the picture of the folder in my PC screen.

In that case I have not access to these functions in Labview Block diagram function paletes. I need acces in order to implement a new VI using these new functions and other functions from "Arduino Compatible Compiler" palete (second attachement).

How I will be able to access to these new created libraries?

Thank you very much

Manel Puig

November 18, 2015
9:32 pm
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Yes, you need a folder inside the addons folder that you show on the snapshot image. This folder will contain your API VIs. You should mimic the structure shown by the Digilent example.

Regarding your other questions, those are related to the LabVIEW dev environment itself, so you can probably get more information on those on the NI support material. In a nutshell, you don't need a VI to be part of the function palette in order for it to be used as subVIs (you can drag and drop VIs from the Windows explorer straight into your LV VI). Also, you can create your own subpalette and include the VIs you created so it becomes available in the function palette as well; as this is regular LV.

Filipe

Cheers
Filipe

November 27, 2015
8:55 am
Avatar
mpuig
Member
Members
Forum Posts: 3
Member Since:
November 18, 2015
sp_UserOfflineSmall Offline

Perfect! it is working fine

Thank you very much

Manel

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
2
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356