11-24-2009 07:11 AM
Hi,
I am trying to check the feasability of a new data acquisition code on an old PC. The problem is that the target PC is very old and I can't install labview on it. I read my way through many of the RT tutorials am familiar with some of the basics features. I understand that I can create a stand-alone application on the old target PC. I also know that the fron pannels and some of the input can be controlled programatically. However, what are my options in case I need to modify the block diagram and run the application again? I want to know is there any way to develop the code on my office PC and debug/run it on the target PC. Unfortuantely, this was the only relevant thread I could find: http://forums.ni.com/ni/board/message?board.id=70&message.id=7462&query.id=1375136#M7462 . Does anyone know of any new features/modules that can help me?
I am working with LV 8.2 and RS232 communication with the target PC I/O devices.
I would be very greatful to anyone who could offer me some insights on how to tackle this problem.
Regards,
Tamir.
11-24-2009 07:26 AM - edited 11-24-2009 07:31 AM
What I can suggest is to build the EXE in offline computer with Remote debugging option enabled. Install in your actual PC and debug it using remote debugger from your PC
Here is a quick link for remote debugging
11-24-2009 07:52 AM
Hi Vsh and thank you for the quick reply.
This is a great solution for remote debugging. However, it does not allow one to modify the code on the target PC. Are you familiar with some complimentary solution that enables to send/publish a new VI to a target PC? Maybe the two approaches can be combined to allow for true remote programming...
Aditional input/insights/suggestions will be highly appreciated.
Regards,
Tamir.
11-24-2009 08:04 AM
tamirduc wrote:However, it does not allow one to modify the code on the target PC. Are you familiar with some complimentary solution that enables to send/publish a new VI to a target PC? Maybe the two approaches can be combined to allow for true remote programming...
I am not much familiar with such tool, (may be it does exist ). But another thing i could suggest is to call VIs dynamically in your built exe. If any changes required, modify in your pc and copy it to target machine.
Remember, these vis (which you would like to modify quite frequently) must be called dynamically from the EXE. Just reload the vi with a click of button...
there you go....
11-24-2009 08:55 AM
If I understand your idea correctly you suggest to add a dynamic call to a subVI within the EXE file and to modify this subVI code on my PC? That way, each time the EXE executes it uses my new and remotely modified subVI? In that case I will have to use remote desktop to activate the EXE file, right?
The problem is that I don't think that I'll be able to debug the remote subVI in such a case. I might be able to use the desktop execution trace toolkit to do that but I am not sure.
So many problems and so little time!
Thanks for your input.
Tamir.
11-24-2009 09:41 AM
tamirduc wrote:If I understand your idea correctly you suggest to add a dynamic call to a subVI within the EXE file and to modify this subVI code on my PC? That way, each time the EXE executes it uses my new and remotely modified subVI? In that case I will have to use remote desktop to activate the EXE file, right?
No. You dont have to use remote desktop. You just have to open the vi in network or copy to your pc and open, modify the vi, save/paste it back.
Assuming that you have already provided utilities in your exe to call vis dynamically, now just call the new vi in target pc using remote debugger.
Desktop execution toolkit is also not a bad idea. You can download it here
11-24-2009 10:08 AM
11-24-2009 10:08 AM
11-24-2009 10:56 AM
Thanks Lv_Pro,
I have similar concerns and objections. Unfortunately, my proffessor does not share these concerns with us. He is determined to automate one of our chemistry experiments using the old PC and some VERY old PH measuring equipment. My hands are tied...
11-24-2009 11:01 AM
Hi Dennis,
I was actually converging on the same solution when I read your reply. Do you know if I have to install the run-time engine or some other LV utilities/toolkits/modules to share the serial ports? I know how to do it using the DAQ-MAX but if you know a way to do it without the MAX it is even better.
Thanks again!
Tamir