LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using an Oracle opened session.

Hi everybody,

I would like to run Labview, using an already opened Oracle session....

Is it possible ?

Thanks for answers

Laurent Ricci
0 Kudos
Message 1 of 2
(2,531 Views)
Laurent,
I assume you use the Database Connectivity Toolkit VIs.
To use these VIs with your database, you need to get the connection to the Existing database.

The DB Tools Open Connec (path) VI would open a new connection and get a reference to the database. Since you already have it opened, you need to change the DB Tools Open Connec (String) SubVI. This SubVI has New Connec VI on its block diagram. One of its inputs is mode. By default the mode is set to Open New. You just need to change the mode to lookup existing and specify the object name.
You can also use the activeX technology to get the reference in DB Tools Open Connec (String) SubVI. You will need to use the ADODB._Connection refnum and Connection Information string.

Zvezdana S.
National Ins
truments
0 Kudos
Message 2 of 2
(2,531 Views)