How Do I Launch a LabVIEW Executable Remotely Using ActiveX/DCOM?Primary Software: LabVIEW Development Systems>>LabVIEW Base PackagePrimary Software Version: 5.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I can communicate with LabVIEW using DataSocket and the Web Publishing Tool. However, I'm having trouble setting up an ActiveX control using DCOM with my executable. How do I launch a LabVIEW executable using ActiveX/DCOM? Solution: When you build the executable in LabVIEW, you must make sure the Enable ActiveX Server option is checked on the Advanced section in the My Application Properties dialog, as shown below. Open this dialog from the Project Explorer window under Build Specifications»New»Application (EXE). ![]() When the application is built, LabVIEW will build the .exe file and a .tlb file. The .tlb file needs to be copied to the remote machine along with the .exe file. The .tlb file opens an access point for the remote machine. Run the executable once on the remote machine to register it. Follow these steps:
Related Links: Developer Zone Example: Remote Control (Launch) of LabVIEW Using ActiveX/DCOM KnowledgeBase DIRECT-3S8RNX: What Is DCOM and How Do I Install It? Attachments:
Report Date: 11/17/2003 Last Updated: 04/22/2009 Document ID: 33GBN31E |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

