LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC historical VI in executables

Hallo all,

I'm tring to acces a remote Citadel Database using historical VI from an executable.

On a machine with Development Suite installed I can access the DB without any problem also with executables.
On a clean machine with LV Runtime I have problems. The executables is compiled with Enhanced DSC Run-Time support enabled.

The first time I attempt to access the database I get an error -1967353854 no source
The second and following tries I get the error -1967362015 source: Citadel Historical Data Manager - IAK_SHARED Failed to load library

Maybe is a problem of missing libraries.
Or maybe is a problem of licence:  To access from an executable a remote database with historical VI's should I have the DSC Runtime licence installed ?

thank you

Gianpiero

LV 8.5 + DSC




0 Kudos
Message 1 of 5
(3,346 Views)
 

Dear Giampiero,

If you used DSC in your developing you do need to install and activate the DSC runtime engine on the target machine. You can think to is as a sort of DLL that handles all the DSC advanced function in the target machine. Without you'll likely face errors that bottom line sound like "something is missing".

Please note while LabVIEW runtime engine is free the DSC engine for deployment purposes must be purchased and activated.

Have a good day

 

 

FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman
Message 2 of 5
(3,330 Views)
Jon, thank you for repling

Do you know if it is possible to query a Citadel database from LabView without using DSC functions ?

I need to perform simple data acces from a client and I would not spend 679 € for the DSC Runtime License for a such simple task that would not use all the powerful functions of DSC like datalogging alarming etc...

I know what I'm going to say is OT but every time I compare NI prices in US $ and Euros I cannot avoid to ask myself what kind of strange exchange policy NI is following.

For istance the DSC Runtime costs 699$ in US and 679€ in Europe
At the actual currency exchange rate (about 0,66 € per $) the DSC RT should cost about 460 €
I can understand I have to pay more because NI European organization has to work with european currency and costs but I think this is really difficult to uderstand.


 
0 Kudos
Message 3 of 5
(3,322 Views)
 

Dear Giampiero,

Actually Citadel Database itself is a key component of DSC runtime engine, you'll not be able to use that database without a suitable engine. You can read this KB to get info about it. Retrieving Data from a Citadel Database without Lookout or the LabVIEW DSC Module Installed.

If you want you can use another database.
Although you should be aware that without the strong connection between DSC module and Citadel saving and retrieving these information would not be so easy, actually a part of the value you get from DSC engine is at all the time you spare in programming and testing these tasks yourself.  

I have to beg you pardon but since I'm an NI employee I won't speak about prices policies.

Best Regard

 

FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman
Message 4 of 5
(3,311 Views)
 

If I well understand the situation there is no way to gain direct access to a remote Citadel 5 database without a valid DSC licence installed on the client neither through DSC functions nor through ODBC or other drivers.
The only option is to build some interface application on the server to listen and answer to remote clients queries like is explained here: Citadel 5 Remote Database Access Using COM+ and ADO 

I conclude that I have to consider seriously to buy some DSC RT licenses... Smiley Mad

my best regards Gianpiero

 



Message Edited by htdev on 04-03-2008 12:41 PM

Message 5 of 5
(3,301 Views)