LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error programmatically deploying shared variable lvlib from an installed app

I'm using shared variables in my app.  According to what I've read, I need to deploy the lib programmatically using the app invoke node deploy library.  I do this and it works fine for the app exe on my machine.  But then I created an installer and tried it on a "virgin" machine and I get a "error 1 at invoke node" saying "an input parameter is invalid."  I added an indicator that shows the lib file path I'm using and it's fine.  I had left the target IP addr unwired but I also tried 127.0.0.1 just in case.  Any ideas what's going wrong here?
0 Kudos
Message 1 of 6
(3,247 Views)
Is the Shared Variable Engine installed on your target machine?
0 Kudos
Message 2 of 6
(3,226 Views)

I thought it would automagically know that I needed the SVE because I'm using SVs.  Oh well.  I added the SVE installer and every other one I think I needed but I still get the same error.  Any other ideas?

 

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

Are you sure the librarys path is correct? What is it in your application?

Are there other items in the library next to the shared variables?

0 Kudos
Message 4 of 6
(3,195 Views)

Yes, as I said, I added an indicator so I know what the args are being passed into the invoke node and they are fine.

I'm not sure what you're asking in your last question -- the lvlib file only holds my shared variables and nothing else.

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

Hi:

 

If including the SVE installer didn't resolve the issue then it looks like there are some other possibilities that are discussed in the following forum threads.  Not sure if you've seen these yet, but hopefully they will help.

http://forums.ni.com/ni/board/message?board.id=170&message.id=240865

http://forums.ni.com/ni/board/message?board.id=170&message.id=230033

http://forums.ni.com/ni/board/message?board.id=170&message.id=249345

Message Edited by A Person on 03-23-2009 02:40 PM
Message Edited by A Person on 03-23-2009 02:40 PM
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,157 Views)