LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent multimeter Library

Hi,

I am trying to build project which uses drivers and modified example of Agilent34410 multimeter.

I added the Agilent folder to the project (attached), but it created conflict which I can't resolve and the library appears to be locked (attached).

This conflict does not stop the main VI from running properly, but when I try to duplicate the project it produces two folders: one to the location of project and another to program files folder (where the drivers are saved in LabVIEW folder).

Please advise on resolving this conflict.

Thanks,

Inna

 

 

Download All
0 Kudos
Message 1 of 14
(4,422 Views)

Is the folder "Agilent 34401" you added to the project is from instr.lib? If you have created copy of the instr.lib driver folder and added to the project, that will cause the conflicts. Your main VI may be using Agilent VIs from the instr.lib driver path.

0 Kudos
Message 2 of 14
(4,409 Views)

Hi,

The first time i tried to fix the problem I did it this way, and as you said I received the conflict. So I downloaded the folder from Internet and saved it straight into the project folder and it still did not help.

Can you please advise what is the right way to duplicate the desired library, so it woun't happen.

Thanks,

Inna

0 Kudos
Message 3 of 14
(4,403 Views)

I am not getting, why you want to duplicate the library which is already available in the instr.lib folder. Only thing is you have modified the example VI from that library and using it right? If your modified example VI is part of that library, remove that VI from that library and save it in different name.

 

I think you can remove extra copy of that library from your project folder.

 

Otherwise if you want to use the VIs from your project folder, you need to replace the subVIs in Main VI which are taken from instr.lib path to the folder you specify.

0 Kudos
Message 4 of 14
(4,399 Views)

Hi,

 

You can solve this by two ways :

First, (i think this is the one you should follow) try to get your AG34410A Drivers you wrote into your project. Verfy that none call is done from instr.lib

 

Second (this one will show you all mismatch you did between your driver and the original one from instr.lib)

Go on your build, Category "Source File Settings". In your Project File which appears you can click on Dependencies. Then Tick the box "Apply prefix to all contained items" and a String like "AG34410A_"

 

The second way will duplicate your library whith differents names when building it but i think your issue will still remain when duplicating projects. I advice you to get only one dependencies comming from the driver you modify.

Hope this help !

Vincent

0 Kudos
Message 5 of 14
(4,396 Views)

When I try to duplicate only the example and give it new name, the project automatically insert the library into dependencies (attached)

And if I try to produce new copy of the project in earlier version for increasing the revision, labview automatically adds me layers of hierarchy.

Thanks a lot!

0 Kudos
Message 6 of 14
(4,384 Views)

Instr.lib dependencies are expected only. You can include the same lvlib to the project. Also if you want to modify the labVIEW version of the project, it will create the hierarchy of instr.lib. For increasing the revision why you need earlier version?

0 Kudos
Message 7 of 14
(4,377 Views)

Sorry, I was not clear enough, I use the earlier version to run the VI on other computer with labview2012. For increasing the revision i usually duplicate the project, rename it and only then perform changes.

To include the lvlib, can I simply "add" the folder from the "program files" origin?

Thanks again

0 Kudos
Message 8 of 14
(4,366 Views)

For including, you can just drag that library from dependencies to My Computer in project explorer. When you modify the version only, it will create the hierarchy of instrlib folder. Otherwise you can just take the backup of the project folder and change the revison.

0 Kudos
Message 9 of 14
(4,362 Views)

Thanks for help.

First, I tried already to include the drivers without calling them form instr.lib. The liabrary was locked without abbility to fix the conflict. No metter what i try to do, i am still stucked with connection to the "Program File" folder.

 

0 Kudos
Message 10 of 14
(4,357 Views)