02-16-2012 01:46 AM
Hello Everyone,
How to Configure windows DCOM settings programmatically via LabVIEW?
Like we can edit windows registry via LabVIEW, is there any VI or example to edit DCOM settings via LabVIEW?
Thanks.
02-16-2012 02:46 AM
Do you really use DCOM on a machine somewhere far off? Than access right considerations over the network would be the main issue.
Local COM should be handled easily enough with Active-X nodes.
Open a reference and then you have access to all methods and properties. (don't forget to close it if not needed anymore)
Gabi
02-16-2012 02:48 AM
Hi Gabi,
Can you please any VI refrence/example for doing this.
02-16-2012 03:34 AM
For a beginning try this:
Open a new VI, goto diagram.
Place "Automation Open" from connectivity>Active-X on the desktop an create a constant on it's reference input.
Then right click on that constant and find "select Active x class". You can browse for any registered Active-X components or enter a path to a not registered one.
The output of the open is a refnum that you can wire to the other parts of the Active-X-Connectivity.
Is that OK ?
Regards Gabi