LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system exe

I am using system exe.vi to get ping status of few systems in my application as health monitoring. On unavailability of any one system the application should exit. Hence each system is pinged twice to get the status based on error code and return message. The code runs indefiniteley (With 1000ms wait time) to keep updated of the ayatem status. The concept and execution works pretty well. But some times even if the system is available I get timeout for ping status. Does running system exe overrides memory usage. Could somebody help?

0 Kudos
Message 1 of 5
(3,036 Views)

Are you means to say 'system exec.vi'. Upload what you did so far

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 5
(3,023 Views)

Hello Yuvish,

 

I would suggest, to write every ping- execution to a logfile, every one in a single line, with timestamp, perhaps the timestamp before "system exec" and when execution is finished. Also write the system exec command line. Maybe this helps you to find out the reason of timeout.

 

 

Greets, Dave
0 Kudos
Message 3 of 5
(3,014 Views)

Hi Dev,

Thanks.

I would try that. I am also interested to know does running "system exe.vi" continuously influences memory usage or memory leak?

 

 

0 Kudos
Message 4 of 5
(3,005 Views)

Running continously will leak. Hence write once and stop(Set wait untill complete to F), redirect output to file and read the file for acknowledgement 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 5
(2,999 Views)