Chemstore Custom Calculations
Posted: Thu Feb 11, 2010 5:33 pm
Hi All
Thanks in advance for any help you can offer.
We use chemstation / chemstore at work (no choice in this). I have been playing with the custom calculations but I can't figure out how to enter a calculation that works out a result for more than one line in a table.
eg (table)
batch area assay
1 xxxx
2 xxxxx etc Where the assay result is calculated for each batch. I know how to do it for one batch at a time, but would like to be able to take the stds and sample data, and work out the assay.
I worked out a basic calculation to be
sample table.area * std table wt *all dils istds etc /mean (std area from table)*sample wt
if i remove the sample bits or enter them manually it works, but if i use a table containing data for all batches/injections, i get no results
I know you can do this in chemstation using the cal tables, but for technical reasons need to be able to do this another way. Basically, the std contains peaks that need subtracting from the impurities in a second std before working out the impurity results (if that makes sense)
Also when I create a table i always get three lines for each section ie
inj name area
1 A xxxxxx
1 A
1 A
2 A xxxxxx
etc
But 2 of the 3 lines are always empty except for names and location data. How do I prevent this?.
While I am at it, is there a wildcard option for fields....like in linux where you can search for *.txt and get all txt files as a result?
Thanks again
Thanks in advance for any help you can offer.
We use chemstation / chemstore at work (no choice in this). I have been playing with the custom calculations but I can't figure out how to enter a calculation that works out a result for more than one line in a table.
eg (table)
batch area assay
1 xxxx
2 xxxxx etc Where the assay result is calculated for each batch. I know how to do it for one batch at a time, but would like to be able to take the stds and sample data, and work out the assay.
I worked out a basic calculation to be
sample table.area * std table wt *all dils istds etc /mean (std area from table)*sample wt
if i remove the sample bits or enter them manually it works, but if i use a table containing data for all batches/injections, i get no results
I know you can do this in chemstation using the cal tables, but for technical reasons need to be able to do this another way. Basically, the std contains peaks that need subtracting from the impurities in a second std before working out the impurity results (if that makes sense)
Also when I create a table i always get three lines for each section ie
inj name area
1 A xxxxxx
1 A
1 A
2 A xxxxxx
etc
But 2 of the 3 lines are always empty except for names and location data. How do I prevent this?.
While I am at it, is there a wildcard option for fields....like in linux where you can search for *.txt and get all txt files as a result?
Thanks again