Quantcast
Channel: GE Intelligent Platforms e-Forum
Viewing all articles
Browse latest Browse all 2516

How to force a WriteValue to act immediately?

$
0
0
Hi,

In one of my Fixbackgroundserver VBA script, I use a WriteValue routine to reset a DI stored in SIM2 and then I launch another function which test the value of this DI.

My problem is that sometimes the DI value is still set when I test it into the function because the WriteValue hasn't been done yet.

Is there a way to force the writing?

I've been thinking about doing a ReadValue just after the write and loop until it has the right value but I'm afraid of falling into an infinite loop if iFix is unable to write for any reason...

Viewing all articles
Browse latest Browse all 2516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>