User | Kudos |
---|---|
8 | |
6 | |
4 | |
3 | |
2 |
At present when an external call is made via system exec.vi you have 2 options wait on completion true or false. If set to true labview suspends until the external app finishes, if set to false labview carries on but can not wait on an output from the external application. There should be a possibility of getting the output from the system exec.vi when when wait on completion set to false.
To give a real world example. I have a large test program that basically monitors a comms bus (udb in this case), and reacts to requests received on it. It also monitors the health and goes into a fault state if nothing received for over 100ms. WHen I call my external application (connects to wlan and gets some data and returns it to labview) labview pauses while this happens, this in turn forces a timeout error. If i set wait until completion false then i dont get the data from the external app. I have implemented a work round (use a temp file which is monitored from labview and set wait on completion to false). Would be much simpler if a method could be implemented in labview itself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.