01-07-2021 11:02 AM
Hi,
I have been communicating with Azure System.exec.vi and CLI for Azure but I have hit a snag.
One command line i use is monitor-event. This is an infinity loop which I cannot seem to get out with programming. Only a physical ctrl-c will exit the loop. This of course also means loosing the data from the loop.
Does any one have a suggestion how to solve this?
01-10-2021 09:37 AM
01-18-2021 08:17 PM
I am not sure what you are suggesting?
My programming skills is rather limited to LabVIEW at the moment.
I simply need a better solution to get out of the loop.
Soren 🙂
01-19-2021 03:11 AM
01-19-2021 04:19 AM
One thing which might help you is something like this JKI wrapper, which should give you access to stdin and stdout, which I assume will allow you to communicate with the process:
https://www.youtube.com/watch?v=4F2-Ml71z78
01-19-2021 08:14 AM
The ctrl-c in cmd is BREAK. This does not work.
To solve the problem, I currently use cmd write to a txt file ( > output.txt) then I kill the cmd processes.