Hi to all !!
I need to handle device disconnections (change of cables, sensor replacements, etc), so I use the "Set Timeouts.vi" in the Modbus TCP/IP Utilities and I define them right after the "Create Instance.vi".
So I set 500ms, but it appears that when the LAN connection is lost, my code freezes for ~5sec !!
I suppose that this is due to the timeouts set already to 5000ms in the "Create Instance.vi" ("Write read operation timeout.vi" and "Write write operation timeout.vi").
So, my main question is why the timeouts set by me do not work ?
And a side-question: if I modify the preset timeouts in "Create Instance.vi", will my code work in other PCs ? Which is best strategy when modifying labview libraries ?
Thanks is advance !
Dimitri