11-07-2005 05:29 PM
11-07-2005 06:19 PM
11-07-2005 07:43 PM
"Volume info" works OK, except there is a long timeout if the share does not exist. Maybe you can place it in a parallel loop so it does not interfere with the rest of your code, then store the state.
If you want to use ping, you also have a few options:
(1) You can ping using system exec, then parse the output, see:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBA25111EE034080020E74861
(2) You can ping using raw sockets, see the following example:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=D29F1FCA37F94FE5E034080020E74861