-
- Posts: 8
- Joined: Tue Dec 05, 2006 8:51 am
I am try to automate calculation in Empower 2 using custom fields that will be locked (not editable by other users). Every thing goes Ok when the chromatogram contains ONE peak .I can add a custom field eg to calculate amout of Salicylic Acid (Peak A),
[b]Concentration_of_A= Amout * 5 / 3[/b]
The problem occurs when my chromatogram contains more than ONE peak eg , Peak A , Peak B and peak C . each peak is calculated as follows :
[b]Concentration_of_A= Amout * 5 / 3[/b]
[b]Concentration_of_B= Amout * 6 / 3[/b]
[b]Concentration_of_C= Amout * 7 / 3[/b]
It's obvious that each peak have different factors , so the same equation can not be used . I need to make a custom field that is smart enough to get the constants for each peak .
I got a simple solution by storing each constant in the CONST1,CONST2,... IN THE component table . It worked fine by I have another problem that it is editable by users. when i tried to lock it , I had to lock the entire processing method which is not feasible since each user has to edit the processing method (eg changing Threshold , Retension times ,...etc and otehr parameters that changes between different runs)
I hope the situation is clear now . for any further inquires , please feel free to ask .
and thank you in advance for your help .