01-12-2009 05:41 AM
I have to display a graphics screen of a simulator that is run through a batch file, in a tab. Is it possible? If yes how might I do so?
Thanks for you time!
01-12-2009 07:13 AM
Can you provide more details on:
"graphics screen of a simulator that is run through a batch file"
Also...
Is the simulator an application? Running on which OS? Which version of LabVIEW are you using? How is it called from the batch file & why? If an application, what "hooks" (API) are available.. Does it need to be called from a batch file?
R
01-12-2009 08:26 AM
Thanks JoeLabView for the reply.
Yes simulator is an executable. It is running on WindowsXP. I am using LabVIEW 8.6. It is called from the batch file because it requires some command line arguments like screen size, files to read data from etc. I am not sure, but I think api hooks might not be available. It was coded using some .Net language (most probably C#) using VASP controls (its a flight simulator). And yes it must be called from whitin a batch file because it is expecting some command line arguments (if they can be passed to it using some other mechanism then I suppose it would (at least theorotically) work.
01-13-2009 10:19 AM
01-13-2009 10:28 AM
01-14-2009 10:51 AM
01-14-2009 12:24 PM
You might be able to capture the command line window data through Windows API or ActiveX and display the image on your front panel.
Attached is what it would look like, though it is just a mock-up.
01-15-2009 04:07 AM
Thanks vt92! Your suggestion might work for me. How did you do it? Can you, kindly, attach the VI, so that I may get the hang of the code that you used for the graphic you have attached with your reply.
Thanks in advance.
Take care and have a very pleasant day!
01-15-2009 04:09 AM
01-15-2009 06:24 AM
Is your problem solved yet? If not take a look at this page http://www.labnol.org/software/tutorials/copy-dos-command-line-output-clipboard-clip-exe/2506/
It might help you
By using a property node you can copy content from clipboard