LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run an executable with DSC runtime only?

Hi,
 
I'm wondering is it's possible to run a .exe file with DSC RTS only?
Do I need to install LabVIEW runtime also?
 
I thought that I could run my application with DSC RTS only, but I can't see the ActiveX...
 
 
Thanx
Stephanie
0 Kudos
Message 1 of 8
(12,453 Views)
Alright, I guess the answer is yes because my vi finally works (I forgot to put one subVI in the project.. oops).
 
But I have another question.
 
 
I have created a Database and a Process with the DSC RTS module and I think it worked, because I can see in the ODBC Data source that my database is create and I also display the Process List and my process is in there. But now I want to Deploy my library. I only have the DSC runtime so I need to build an executable. I only put the "Deploy Library.vi", the library path (C:\Variables.lvlib) and the error out. When I run it, it says error1: "Property Node in PRC_Deploy.vi->Deploy Library.vi->Deploy Variables Library.vi". Beacause I'm using only the DSC Runtime,  I guess my computer doesn't reconize the library file, so maybe that's why I have this error.
 
I've try something else... I include the Library file in the project and when I build it, I put it in the support file. In my program I use the "Build path", I put the "Current VI path.vi" to the first input, and I put "..\Variables.lvlib" string to the other input. The ouput of the build path is the new input of the Deploy Library. When I run it, I got a new error: error 7: "Invoke Node in PRC_Deploy.vi->Deploy Library.vi->Deploy Variables Library.vi". Error 7 means that the path is not correct, but I don't see any other way to do this...
 
Anyone can help me with this please?
Thanx
Stephanie
0 Kudos
Message 2 of 8
(12,446 Views)
Nobody knows why? Smiley Sad
0 Kudos
Message 3 of 8
(12,428 Views)

Hello Stephanie,

You should be able to deploy the library using the DSC RTS.  I'll try and get one of the deployment gurus to get on here and look into your specific issue.

Regards,
Robert
0 Kudos
Message 4 of 8
(12,420 Views)

Thank you Robert!

I really don't know what I did wrong... so I put my code in attachment.

 

Thanx again, hope someone will help me!  🙂

Stephanie

0 Kudos
Message 5 of 8
(12,419 Views)
Stephanie,

I hope you're doing well.  It sounds like you were able to solve your initial problem and get your executable to run correctly, but now you're running into problems with deploying libraries.  By the way, we cannot open your attached project correctly since the .lvlib files were not in the .zip file.  Does this behavior happen on the development machine and the machine with DSC RTS?  Also, since the .lvlib files aren't included, I wasn't sure what the Shared Variables were bound to.  Are they connected to an I/O Server?  If so, try including that I/O Server in the same .lvlib if you haven't already done so.  I might be able to provide a little more insight with some more details about what the .lvlib contains.  Thanks!

Thaison V
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(12,379 Views)

Hi Thaison,

I forgot to include my library, sorry about that.

The behavior happens on the machine with DSC RTS and the type of my variables is Network-Published and they are not connected to an I/O Server (I even don't know that it is).

Thanks for helping me,
Stephanie
0 Kudos
Message 7 of 8
(12,368 Views)

Hi,

I just wanted to tell you that it's working now (I still don't know why...). I think it worked when I changed the computer name in the proprieties... strange..

I solve this problem but now I have another one. I'll write to NI support for that. I have that nids.dll error..!!??

 

Thank you everyone

Stephanie

0 Kudos
Message 8 of 8
(12,356 Views)