ExperimentMeasureCount
ExperimentMeasureCount[Objects]⟹Protocol
creates a MeasureCount Protocol which determines the count of Objects.
In count measurements, the number of tablets in a given tablet sample is calculated by determining the average weight of the tablets in the sample and the total mass of the given tablet sample.
Experimental Principles
Figure 1.1: Procedural overview of a count measurement. Step 1: The average tablet weight is calculated by weighing multiple individual tablets and stored in the sample model's SolidUnitWeight field. This step is skipped if SolidUnitWeight is already known. Step 2: The entire sample weight is measured on a scale. This step can be skipped if the total weight is alrady known. Step 3: The number of tablets is calculated by dividing the mass of the sample minus the mass of the container by the average tablet weight.
Experiment Options
General
ParameterizeSolidUnits
For each input, indicates if a small number of tablets or sachets should be weighed to determine the average solid unit weight of this sample. If specified when SolidUnitWeight is already informed, the newly recorded weight of the tablets or sachets will overwrite the existing SolidUnitWeight.
Default Calculation: Automatic will resolve to True if SolidUnitWeight is unknown and/or SolidUnitParameterizationReplicates is specified, or False if SolidUnitWeight is already informed.
SolidUnitParameterizationReplicates
For each input, the number of tablets or sachets that should be weighed to determine the average solid unit weight of this sample. Cannot be specified if ParameterizeSolidUnits is set to False. If specified when SolidUnitWeight is already informed, the newly recorded weight of the tablets or sachets will overwrite the existing SolidUnitWeight.
Default Calculation: If the SolidUnitWeight is unknown or ParameterizeSolidUnits is set to True, automatically resolves to 10, if enough are available. If SolidUnitWeight is already informed and/or ParameterizeSolidUnits is set to False, resolves to Null.
Pattern Description: Greater than or equal to 5 and less than or equal to 20 in increments of 1 or Null.
MeasureTotalWeight
For each input, indicates if the total weight of this sample should be measured. If specified when Mass (in Object[Sample]) is already informed, the newly recorded total weight of the sample will overwrite the existing Mass.
Default Calculation: Automatic will resolve to True if Mass (in Object[Sample]) is unknown or False if Mass is already informed.
NumberOfReplicates
The number of times to repeat the experiment on each provided sample. Note that if specified, the recorded measurements will be pooled for determining the count of the sample(s): the SolidUnitWeight and the Mass in Object[Sample] (if determined in this experiment) will be calculated from the average of all experimental replicates and the count of the sample is calculated from the average SolidUnitWeight and the average Mass.
Model Input
PreparedModelAmount
Indicates the amount of a Model[Sample] specified as input to the experiment function that will be prepared in the PreparedModelContainer. When set to All and the input model sample is not preparable, the entire amount of the input model sample that comes from one of the Products is prepared. The selected product must have both Amount and DefaultContainerModel populated, and it must not be a KitProduct. When set to All and the input model is preparable such as water, 1 Milliliter of the input model sample is prepared.
Programmatic Pattern: ((Null | (RangeP[1*Microliter, 20*Liter] | RangeP[1*Milligram, 20*Kilogram] | GreaterP[0*Unit, 1*Unit] | GreaterP[0., 1.] | All)) | Automatic) | Null
PreparedModelContainer
Indicates the container in which a Model[Sample] specified as input to the experiment function will be prepared.
Default Calculation: If PreparedModelAmount is set to All and the input model has a product associated with both Amount and DefaultContainerModel populated, automatically set to the DefaultContainerModel value in the product. Otherwise, automatically set to Model[Container, Vessel, "50mL Tube"].
Post Experiment
SamplesInStorageCondition
The non-default conditions under which the SamplesIn of this experiment should be stored after the protocol is completed. If left unset, SamplesIn will be stored according to their current StorageCondition.
Pattern Description: {AmbientStorage, EnclosedAmbientStorage, Refrigerator, Freezer, DeepFreezer, CryogenicStorage, YeastIncubation, YeastShakingIncubation, BacterialIncubation, BacterialShakingIncubation, MammalianIncubation, ViralIncubation, CrystalIncubation, AcceleratedTesting, IntermediateTesting, LongTermTesting, UVVisLightTesting} or Disposal or Null.
Sample Prep Options
Sample Preparation
PreparatoryUnitOperations
Specifies a sequence of transferring, aliquoting, consolidating, or mixing of new or existing samples before the main experiment. These prepared samples can be used in the main experiment by referencing their defined name. For more information, please reference the documentation for ExperimentSamplePreparation.
Protocol Options
Organizational Information
Template
A template protocol whose methodology should be reproduced in running this experiment. Option values will be inherited from the template protocol, but can be individually overridden by directly specifying values for those options to this Experiment function.
Pattern Description: An object of type or subtype Object[Protocol] or an object of type or subtype of Object[Protocol] with UnresolvedOptions, ResolvedOptions specified or Null.
Programmatic Pattern: (ObjectP[Object[Protocol]] | FieldReferenceP[Object[Protocol], {UnresolvedOptions, ResolvedOptions}]) | Null
Name
A object name which should be used to refer to the output object in lieu of an automatically generated ID number.
Post Experiment
ImageSample
Warnings and Errors
Messages (18)
IncompatibleContainer (2)
If MeasureTotalWeight is set to True, the sample needs to be in a container that is compatible with ExperimentMeasureWeight (MeasureWeightContainerP) even if the Mass is known:



If the sample needs to be weight measured, it needs to be in a container that is compatible with ExperimentMeasureWeight (MeasureWeightContainerP):


InvalidParameterizationOptions (1)
MassKnown (1)
ObjectDoesNotExist (4)
ParameterizationReplicatesRequired (2)
ParameterizationRequired (1)
SolidUnitWeightKnown (2)
Last modified on Wed 27 Aug 2025 17:02:36