ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC Citadel

Hello,

i am working with DCS module, citadel and OPC servers

i need to know how could i have, in a VI:

- the list of all available OPC servers and by clicking on each OPC server it should browse all available variables

- then i should be able to select the variables that i need to trace, define the libraries and the path in which i want to archive each variable

- then by pressing on OK button the variables will begin to be traced in the location defined

- And if it is possible to define the frequency and the scale of each variable

In resume, i want to do an Interface in a VI in which i can choose all the variables that i need to archive without using the project explorator (which browses the servers and variables).


How could i do that ? could you help me please ?

 
Samer,
Samer,
0 Kudos
Message 1 of 5
(3,455 Views)


samerham1 wrote:
Hello,

i am working with DCS module, citadel and OPC servers


Hi,
 
Does it mean a DCS or the LV DSC module?
 
Please be clear.
 
I think there is no VI that will list out all the available OPC servers & the shared variables, that you get to see in the NI Variable Manager. Smiley Sad
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 5
(3,430 Views)
Hi,

it is indeed the LV DSC module.

i need to list out all OPC available server programatically in a VI without needing the variable manager.

are u sure that i can't ?
Samer,
0 Kudos
Message 3 of 5
(3,427 Views)
I think you can programatically get only the Shared Variables, not the OPC servers.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 5
(3,420 Views)

Yes, it is possible. I've been successful in my projects in accomplishing this.

 

Dynamic OPC Server Discovery and Connection Reference Example:

 

http://zone.ni.com/devzone/cda/epd/p/id/6341

 

 

Regards,

Craig

Message Edited by craige on 01-29-2010 01:32 PM
0 Kudos
Message 5 of 5
(3,181 Views)