LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV8.6 - Deploy Shared Variable Library

Hi,

 

I am trying to programmatically deploy my shared variables via the LV Node "Deploy Library.vi". In this library I am also using I/O-Servers which are the source of my variables. When using the Project Explorer and interactiv deploy this library everything works correct. But when I programmatically deploy this library via an application the I/O Servers aren't created. When I create a new LVLIB with the SV IO-Server included the programmatically deployment was ok. Could it be that something is wrong with my lvlib-file? Inconsistency?

 

I have attached this lvlib-file. Maybe somebody can reproduce the situation that the IO-Servers aren't deployed correctly. I can create the IO-Server manually via the DSN - doing this the variables get a connection to the IO-Servers.

 

Maybe somebody can give me a hint.

 

Best Regards,

 

--
Joachim

0 Kudos
Message 1 of 6
(3,293 Views)

Hi Joachim,

 

Thanks for the post!

 

Are you getting an error message?

 

Also what version of LabVIEW are you using?

 

And of DSC?

 

Then I will try to replicate.

 

 I think it could be an issue data bindings. 

 

Kind Regards,
James.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 6
(3,281 Views)

Hi James,

 

No - the Deploy Library Node doesn't provide an error message. I am using DSC Runtime 8.6

 

The variables of the lib are created correct - only the IO-Server is missing.

 

Kind Regards,

--
Joachim

0 Kudos
Message 3 of 6
(3,260 Views)

Hi Joachim,

 

Thanks for the update - I have been away for the last few days teaching.  So sorry for the delay.

 

Im still haven't looked into reasons for why the I/O Server would be missing.

 

But if you could post an update - I willl work on this tomorrow.

 

Kind Regards,

James.  

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 4 of 6
(3,228 Views)

Hi James,

 

the problem is that I am unable to deploy the library from my first post correctly. Using the deploy library node from an application will not create the I/O server which is included in the library.

 

Kind Regards,

 

--
Joachim

0 Kudos
Message 5 of 6
(3,215 Views)

Hi Joachim,

 

I hope your well. Are you still having issues?

 

I have more free time - and I'd be able to try to replicate your issue, if you could detail the steps your taking.

 

Do you get an error if you use the express vi - create an configure IO Server?

 

Just to confirm you have DSC (Or RT) Installed to LabVIEW 8.6 standard?

 

Also, Shared Variable bound to an item(SV or I/O server) in another library can't be deployed programmatically - is anything bound to the variable?

 

Kind Regards,
james

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 6 of 6
(3,145 Views)