Skip to main content

Data Collection

Data collection for As Found and As Left looks the same. Below is the form for RS-232 collection.

RS-232 data-collection form

RS-232 data-collection form

When the dialog launches, the first thing it does is set up according to the various settings in the Equipment Extended Attributes and the default test points.

Grids

The Calibration Readings grid has one row for each test point, sample, and channel. The number of samples comes from extended attribute NUMBER SAMPLES (default 5). So 3 test points × 4 samples × 2 channels = 24 rows.

  • uL comes from the test point description.
  • Ch is always channel 1.
  • Sp is the sample number for that test point.

The Statistics grid has one row for each test point. Summary statistics are calculated automatically as data is entered.

Internal variables

VariableSource
samplesExtended Attribute IS_PIP NUMBER SAMPLES (default 5)
accuracyExtended Attribute IS_PIP CHECK ACCURACY (default false)
precisionExtended Attribute IS_PIP CHECK PRECISION (default false)
cycle timerExtended Attribute IS_PIP USE CYCLE TIMER (default false)
modeExtended Attribute IS_PIP MODE
calc typeExtended Attribute IS_PIP CALC TYPE
minutesExtended Attribute IS_PIP CYCLE MINUTES
secondsExtended Attribute IS_PIP CYCLE SECONDS
evap blankExtended Attribute IS_PIP EVAP BLANK INTERVAL
initiatetrue if mode isn't a - TARE mode
evap0
evap counter0
Zfactorfrom the Environmental Data screen
Run TypeAS LEFT or AS FOUND
Calculate after...IS_PIP CALCULATE AFTER (default unchecked / "set of samples")

Cycle timer

If the cycle timer is being used, a countdown timer is displayed above the OK button. Every new reading resets it to minutes:seconds.

Reading entry

The Reading field has twice the number of digits available as the maximum resolution on the test points.

If no balance is connected, the only way to enter readings is directly in the Calibration Readings grid or in the Reading entry.

caution

A successfully connected balance does not mean the settings are correct. Other issues can block data from being read.

When a reading is sent from the scale, an attempt is made to convert it to a number. For example:

  • N + 0.4498 g is parsed as 0.4498
  • N - 1.26 g is parsed as -1.26

The value is placed in the Reading input and the OK button is enabled. You can review it, modify it, or just press OK to accept it. A new reading overwrites the current one.

Pressing OK

When OK is pressed:

  1. If the cycle timer is visible, it's reset.
  2. If the mode is ADDITION or SUBTRACTION and evap blank is not 0:
    1. Increment the evap counter.
    2. If the evap counter equals evap blank, change the field label from Reading to Evaporation Blank.
      • No sample should be taken at this time — the amount of evaporation is being calculated instead.
      • The next reading is used to calculate evap, which becomes a modifier on future readings.
    3. Otherwise, set the label to Reading.
  3. If this isn't an evaporation-blank reading, examine the mode to determine how to calculate it:
    • ADDITIONcurrent - previous + Evap
    • ADDITION - TAREcurrent
    • SUBTRACTIONcurrent - previous - Evap
    • SUBTRACTION - TARE-current
  4. If this isn't an evaporation-blank reading, the final value of the reading is added to the next row.
  5. Results for the Statistics grid are recalculated.
note

You can directly modify the Weight column, but that won't affect what's considered the "current" row.

Multi-balance buttons

If more than one balance is connected:

  • Sample — sends the Sample command to prompt the balance to send a reading.
  • Redo — sends the Sample command and the above logic happens in the current weight instead of the next weight. Useful for redoing a bad reading from the scale.
  • Re-sample — same as Redo, for redoing a bad sample.
  • Tare / Zero — sends the respective command to the balance.

If the mode is ADDITION or SUBTRACTION, a Tare button is displayed. Pressing it sets previous to zero.

Statistics calculation

For each Calibration Reading:

  1. Volume = Weight * Z-factor

For each test point (a complete group of samples):

  1. If precision and calc type = "INDIVIDUAL BASED", then for each weight: if abs(weight * Zfactor - nominal) * 100 > precision * nominal, the test point fails.
  2. The individual weights are summed as SumWeight.
  3. MeanWeight = SumWeight / samples
  4. MeanVolume = MeanWeight * Zfactor
  5. SDVolume = sample standard deviation of the Volumes
  6. Precision = SDVolume * 100 / MeanVolume
  7. Accuracy = (MeanVolume - nominal) * 100 / nominal
  8. F-Error = abs(Accuracy) + 2 * SDVolume
  9. If samples > 1, save Precision, SDVolume, and F-Error to the Statistics grid; otherwise save NA.
  10. If using accuracy as a criterion: if abs(Accuracy) > Accuracy Limit, the test point fails.
  11. If using precision as a criterion and Calc Type = "AVERAGE BASED": if samples <= 1 or abs(precision) > Precision Limit, the test point fails.

Test points without full data have the mean, precision %, accuracy %, SD, F-Error, and status cleared. Test points with full data also calculate their uncertainties, if configured.

If all data is entered, the Save Results button is enabled; otherwise it's disabled.

Individual volumes that exceed the accuracy limit appear in the readings grid with a red background. The overall result is listed above the Statistics grid in green (PASS) or red (FAIL).

Statistics grid with results

Statistics grid with results

Buttons

  • Cancel — closes the dialog and discards all readings.
  • Save Results — closes the dialog and saves all readings to Calibration Test Points (CALPNTS) and Calibration Test Points Extra (CALPNTSEXTRA).
    • For As Found results, the field name on CALPNTSEXTRA is AS FOUND # (where # is the test-point number). Results are stored in as_found (1 = PASS, 0 = FAIL), Custom1, and Custom3 for the test point.
    • For As Left results, the field name is AS LEFT #. Results are stored in as_left (1 = PASS, 0 = FAIL), Custom2, and Custom4.
    • Overall Pass/Fail/Adjusted results are then calculated for the entire event.

Extra Command

Lets you send device-specific commands to the balance over RS-232. Enter the command in the window, then click Send Command. Refer to your balance's instruction manual for commands and their effects. Only visible when connected to a device via RS-232.