LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Library Deployement Error in DSC

Hi all,
 
I was trying to bind two shared variables programatically and deploy the library after the same. I am having a Library 1 with a Variable 1and Library 2 with Variable 2. I made a progarm to bind the Variable 2 with Variable 1. Eventhough i am able to bind successfully, the library Deployement is giving an Error 1.
 
I dont know is it a bug with DSC 8.2 or there are other methods for binding the shared variables programmatically.
 
I am attaching the code with this post.
 
Kindly help me to overcome this issue.
 
 
Thanks and Regards.
 
Mir
Coding is a combination of intelligent and creative work - someone
0 Kudos
Message 1 of 5
(3,091 Views)
Hi Mir,

May I ask what your application is?  Why do you need two separate libraries?  See the following: http://digital.ni.com/public.nsf/allkb/8EF71E1DDDC36C908625716900594B50?OpenDocument


Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,060 Views)
Hi Jeremy_B,

Thanks for your support.

My application is related to Fielpoint.

I have two identical Fieldpoint Controllers both acquiring data from its module and updating its local libraries. At a time any one of these cFP will be active. I have another GUI running in a local PC which is displaying the the Fieldpoint Channel Details and having a shared variable library locally. I have one VI to detect which cFP is Active and if cFP 1 is Active, i need to bind the local shared variables to cFP 1 variable. If cFP 2 is Active i need to bind the local variable to cFP 2 variables..

i hope you are clear with the scenario.

Waiting for your reply.

Mir
Coding is a combination of intelligent and creative work - someone
0 Kudos
Message 3 of 5
(3,058 Views)
Hi Mir,

Try deploying both libraries before you bind the variables.  That seemed to work for me on my machine.
Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,041 Views)
Hi Jeremy,

i tried your method also. Before binding i deployed both the Libraries. Can you attach the trial code which you tried in your PC  so that i can try the same in my PC also.But result is same. Error 1 . But when i  am using Project Explorer it is deploying successfully. i am really worried about this behavior. Is there any other way to bind programatically.

Any suggestion will be appreciated.


Mir
Coding is a combination of intelligent and creative work - someone
0 Kudos
Message 5 of 5
(3,029 Views)