TheRidDler
Member
Hi all. This would be my first post on this forum, but i have so say i have been following it for quite some time and it has provided me with alot of answers in the past. For this issue however i cannot find anything that is clear to me (ive found some but they confuse me) I hope you all can gimme a hand.
Problem : I need some rungs of code to restore the value i am backing up in real time back to the preset window of the VHSC and then ultimately back into the current counts after extensive powerloss (SFC).
Complications : Of all the answers i have read some indicate the methodology to follow is - 1) Write backup counts into preset window 2) Flag counter preset bit 3) Inhibit and Uninhibit the module. Others suggest doing Inhibit, then writing preset and flagging counterpreset, then uninhibit. Both options have been unsuccessful so far. I dont know if im doing it wrong or if the order is right to begin with.
Suggestions : I have been trying to experiment with the Module Reconfigure MSG instruction but again im not sure of the order of which to set and unset / inhibit and uninhibit the module bits or when to issue the MSG to get the value to actually take.
Any help or even some sample code would be greatly appreciated!
Problem : I need some rungs of code to restore the value i am backing up in real time back to the preset window of the VHSC and then ultimately back into the current counts after extensive powerloss (SFC).
Complications : Of all the answers i have read some indicate the methodology to follow is - 1) Write backup counts into preset window 2) Flag counter preset bit 3) Inhibit and Uninhibit the module. Others suggest doing Inhibit, then writing preset and flagging counterpreset, then uninhibit. Both options have been unsuccessful so far. I dont know if im doing it wrong or if the order is right to begin with.
Suggestions : I have been trying to experiment with the Module Reconfigure MSG instruction but again im not sure of the order of which to set and unset / inhibit and uninhibit the module bits or when to issue the MSG to get the value to actually take.
Any help or even some sample code would be greatly appreciated!