ScienceContainerModule

The type of structures returned by kOS when querying a module that stores science experiments.

structure ScienceContainerModule

Suffix

Type

Description

All suffixes of PartModule

ScienceContainerModule objects are a type of PartModule

DUMPDATA(DATA)

Discard the experiment

COLLECTALL()

Run the “collect all” action directly

HASDATA

Boolean

Does this part contain experiments

DATA

List of ScienceData

List of scientific data obtained by this experiment

Note

A ScienceContainerModule is a type of PartModule, and therefore can use all the suffixes of PartModule.

ScienceContainerModule:DUMPDATA(DATA)

Call this method to dump the particular experiment provided

ScienceContainerModule:COLLECTALL()

Call this method to run the unit’s “collect all” action

ScienceContainerModule:HASDATA
Access

Get only

Type

Boolean

True if this container has scientific data stored.

ScienceContainerModule:DATA
Access

Get only

Type

List of ScienceData

List of scientific data contained by this part