From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

citadel web inerface

Is there any web interface of CITADEL so that I can access my logs in the browser by Querying data/time parameters
0 Kudos
Message 1 of 2
(3,060 Views)


Hi,

There's no in-built web interface for Citadel. However, there are couple of ways you can query a Citadel database over the internet.

1. You may want to use Lookout Web Client. Lookout's SQL Object on the web-enabled Server can give you the required data. Lookout Web Client is really an ActiveX Control version of the regular Lookout Client which can be run in a browser.

2. Citadel has an ODBC interface. You can use PHP or ASP to query Citadel over the internet via this ODBC interface. Obviously, you will have to make your Citadel database be either on -- or at least accessible locally by -- a web server (apache, IIS, etc.). And you would also need PHP installed on the web server.

You would then use the ODBC functions available in the we
b scripting languages to query the data. I am more familiar with PHP than ASP; have written many MySQL queries in PHP, and can imagine the ODBC ones to be not very different.

The following links should get you started with PHP and ODBC:

http://www.w3schools.com/php/php_db_odbc.asp

http://us2.php.net/manual/en/function.odbc-connect.php

Finally, this is not directly helpful but wanted to mention the following just in case someone's wondering about similar options for LabVIEW-DSC and Citadel. As you know Citadel is also used by LabVIEW-DSC for its historical data storage, and LabVIEW provides a built-in feature called "remote panels" where you can remotely call-up and view your panels. It also has an Internet toolkit which makes LabVIEW a web server and provides a CGI interface. Using the CGI VIs, one can write web apps to use the actual Citadel retrieval VIs on the LabVIEW web server. See the following post for more details:

http://exchange.ni.com/servlet/ProcessR
equest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000004F8C0000&UCATEGORY_0=_51_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=citadel+internet&USEARCHCONTEXT_QUESTION_S=0

Hope this helps,

Khalid


0 Kudos
Message 2 of 2
(3,060 Views)