Thanks you for reply. I succeed to manage with this somehow, but now I see your answer so maby I will try to improve it again.
The program gives a const. bias to some electrical sample. Every few sec. We inc. the bias voltage, and monitoring the current. Because the electrical sample very gentle, we must shutoff the bias immediately to zero volts. As soon we response, as much less the electrical Sample under voltage, the live period of her will be bigger. And you right, with today PCs we can go down to 1-2ms response time. So maybe it will ne enough... Thanks you anyway.