LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Activex containers and "create object from file" option, how do you programmatically link the file to the activex container?

I am trying to link excel and lv using ActiveX and i want to use the "Create object from file" option for the selection of activeX object. The problem is how do you programmatically set the filename? Can this be done?

The purpose the doing this is to display the values and content of excel in labview rather than toggling to excel running in the background. Using the ""Create object from file" option seems to connect excel directly to LV and the excel updates are handled automatically without any programming done in labview. However, as far as I can figure, the linking of the file only occurs during the creation of the act
iveX container.

Does anyone know how to programmatically set the filename? Thanks
0 Kudos
Message 1 of 2
(3,016 Views)
You can wire the container to a invoke node and select save as property, then saving the document with any name.
Hope this helps
0 Kudos
Message 2 of 2
(3,016 Views)