LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening an Executable(exe) file created by LabVIEW on remote PC

Which version of LabVIEW are you using?  I can post instructions, but they can be different depending on which version of LabVIEW you have.
0 Kudos
Message 21 of 48
(2,086 Views)

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.

0 Kudos
Message 22 of 48
(2,078 Views)

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

 

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 23 of 48
(2,071 Views)
Btw havent anyone here done this before?
-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 24 of 48
(2,046 Views)

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?

------

"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!
0 Kudos
Message 25 of 48
(2,039 Views)

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 😞

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 26 of 48
(2,037 Views)

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.

Message Edited by kikiduu on 12-26-2008 06:07 AM
------

"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!
Download All
0 Kudos
Message 27 of 48
(2,031 Views)

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 😞

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 28 of 48
(2,020 Views)

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.

0 Kudos
Message 29 of 48
(1,982 Views)
Tried Everything in my mind, but could not run the exe remotely on XP. The only logic I want to implement is to run a LabVIEW exe on a remote PC directly through a LabVIEW exe from host. Is it not possible in XP?
-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 30 of 48
(1,924 Views)