12-24-2008 07:59 PM
12-24-2008 11:12 PM
Did you try to figure out what Graham's link in Message 2 did? An instruction or two about enabling the ActiveX server is for pre-LabVIEW 8.x, but the basics are still the same. In 8.x, you will find Enable ActiveX server in the Advanced Section of your EXE Build Specification.
You can also use VI Server using TCP/IP using a similar method.
12-25-2008 12:03 AM
I am using LabVIEW version 8.5 .
If anyone can help me with step by step instruction about running a LabVIEW built executable on a remote pc, without any third party program, it would be really helpful
12-26-2008 03:45 AM
12-26-2008 04:56 AM
ParagD,
If you can copy the exe to the remote PC, why not try to access the PC from Remote Destop Utility. It comes with windows and youdon't need any other thrid party program.
To access remote desktop go to Start>> All programs>>accessories>>Communication>>Remote Desktop Connection.
Or are you looking to do this programmatically?
12-26-2008 05:10 AM
Yes, I am trying to do it programaticcaly, as my requirement needs to open the exe on remote pc when the user executes the program on host pc...........help needed badly in this 😞
12-26-2008 06:05 AM - edited 12-26-2008 06:07 AM
ParagD,
here is a round about way...it schedules the exe to run on the remote PC. The trick is, you should shedule it so that the time is given in such a way that it will run. Right now, I don't have any idea how you can get the remote PC time. Once the exe is running call the Delete remote exe task.vi before the exe stops, so that the scheduled task is deleted.
12-26-2008 06:44 AM
Well, the exe would be called randomly.
My main aim is to run the LabVIEW build exe file on remote pc at the same time I run a program on my host pc 😞
12-29-2008 02:15 PM
So, I was back in the office today and played around with this, and following the instructions linked to by other members, this works to a degree. I can post a modified solution to the LabVIEW 5.1 version if desired, but the gotcha may cause you some issues.
I do not have NT to confirm if the behavior is the same as in XP, but in XP, I cannot get a GUI to be displayed. This means that if you expect the user on the remote machine to be able to interact with the program, you will have a hard time doing it using the methods outlined in the linked how to's. It may be possible to do it indirectly by using an intermediate VI. You run the intermediate VI/EXE, then have it open the ActiveX reference to the local EXE. I did not try this out, so do not know if it will work.
The 5.1 example runs with no GUI in LV 6.1 and XP. They pass the data back to the local machine and generate the plot locally.
You can see if you can successfully launch your EXE by looking at the Processes tab in Task Manager. You should see your EXE listed in the processes. Your LabVIEW VI will lock up if you have any dialog prompts etc that pop up, as the program is essentially halted and will not respond properly to the ActiveX control.
01-07-2009 12:13 AM