LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting a ihistorianopccolector as a service and stopping it when it is not needed

Hello everyone.
 
I have a problem, whe have created a executable with Labview 7.1.
This Executable Comunicated with a OPC Server V2.1.3 from Phoenixs Contact.
 
One the same PC there is a Ihistorian OPC collector wich collects data from the same OPC server whe are talking to.
 
If whe are the first to get access to the OPC server its workst fine for us. But if the IhistorianOPC Collector is the first, then at startup of the I/O module within our executable whe get the error Error creating file mapping. and the executable crashes.
 
Is there some example to start the ihistorian OPC collector as a service directly from our code.  and stop the ihistorian OPC Collector if our Executable stops.
 
Software Windows XP
Please Advice
 
Greatings
 
Robert Nijhof
Automation Engineer
Norit Process Technology
0 Kudos
Message 1 of 1
(2,194 Views)