LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

console app from labview VI

I don't really understand what you are trying to do, but there's likely a better way to do whatever it is you are trying to do.  Could you go into a bit more detail?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 11 of 12
(312 Views)

Hi,

 

I am reading command line data using Application:Command Line Arguments property:

AshwiniWini_0-1680493454404.png

After reading this string, I am processing it in my code. Once LabVIEW finishes processing, I want to display string to same command prompt as a response. 

 

AshwiniWini_1-1680493635029.png

 

Meanwhile command line console is not engage which means i can write anything in it. e.g. In attached screenshot, I was pressing Enter key after my first command(setmode) sent to LabVIEW application. after some time i got response from LabVIEW application as Mode successfully changed.

AshwiniWini_2-1680494021808.png

 

 

Now, What I want my application to do:

1. Read string from command prompt,

2. Hold its handle (No other operation should be permitted on that command line console)

3. Once LabVIEW sends response back to console, i want to release handle. (Now next command should be permitted to execute from Command line)

 

Thanks,

Ashwini A Pandit

 

Thanks and Regards,
Ashwini A Pandit
Wired-in Software Pty Ltd
0 Kudos
Message 12 of 12
(303 Views)