Hello,
One of our customers request the following: Possibility to log and display in LogViewer the last and previous value when a data change.
So, I remembered there is a special function that has been done to be 21CFR11 part11 compliant. The trick was:
1. Add the following line for 1 text attribute in the file cvarconf.dat
Set=%PreviousControlValue% for example
[ATTRIBUTETextAttribute 5]
DistributedMode=Dynamic
Set=%PreviousControlValue%
2. Don't forget recording the corresponding attribute in the archive
3. You can display now the attribute in one LogViewer column (here #@A5)
I just checked and it works but it looks like there is some limits:
a. Working only on Proprietary archives (maybe a bug I will double check that. I will tell you later)it works with hds, i just needed to restart pcvue!
b. Working for the event "User Actions / Command" on a REGISTER
c. NOT Working for the event "User Actions / Command" on a BIT
d. NOT Working for the event "Bit changes" when a BIT is changing value
My question is: For c. and d., is it working as designed or is it bugs?
For the d. I feel it is as designed because the parameter's name is PreviousControlValue but for the c. I would say it is a bug
Any experience on that?
Nico
c is certainly a bug.
d is not surprising and actually Ok (it is not a command)
Finally I am not sure that's a bug as the previous value of a bit change is predictable. Previous of False is True...
But, I agree it could be NS.
Anyway, my customer wanted only for the Registers 😉
Nico


