.. _sec-item-sensorload: SensorLoad ========== A sensor attached to a load. The sensor measures the load values and outputs values into a file, showing per line [time, sensorValue[0], sensorValue[1], ...]. Use SensorUserFunction to modify sensor results (e.g., transforming to other coordinates) and writing to file. The item \ **SensorLoad**\ with type = 'Load' has the following parameters: * | **name** [type = String, default = '']: | sensor's unique name * | **loadNumber** [type = LoadIndex, default = invalid (-1)]: | load number to which sensor is attached to * | **writeToFile** [type = Bool, default = True]: | True: write sensor output to file; flag is ignored (interpreted as False), if fileName='' * | **fileName** [type = String, default = '']: | directory and file name for sensor file output; default: empty string generates sensor + sensorNumber + outputVariableType; directory will be created if it does not exist * | **storeInternal** [type = Bool, default = False]: | true: store sensor data in memory (faster, but may consume large amounts of memory); false: internal storage not available * | **visualization** [type = VSensorLoad]: | parameters for visualization of item The item VSensorLoad has the following parameters: * | **show** [type = Bool, default = True]: | set true, if item is shown in visualization and false if it is not shown; sensor visualization CURRENTLY NOT IMPLEMENTED ---------- .. _description-sensorload: DESCRIPTION of SensorLoad ------------------------- Relevant Examples and TestModels with weblink: \ `leggedRobot.py `_\ (Examples/), \ `nMassOscillator.py `_\ (Examples/), \ `nMassOscillatorInteractive.py `_\ (Examples/), \ `serialRobotInteractiveLimits.py `_\ (Examples/), \ `simulateInteractively.py `_\ (Examples/), \ `sliderCrank3DwithANCFbeltDrive2.py `_\ (Examples/), \ `movingGroundRobotTest.py `_\ (TestModels/), \ `plotSensorTest.py `_\ (TestModels/), \ `rightAngleFrame.py `_\ (TestModels/), \ `serialRobotTest.py `_\ (TestModels/), \ `springDamperUserFunctionTest.py `_\ (TestModels/) \ **The web version may not be complete. For details, consider also the Exudyn PDF documentation** : `theDoc.pdf `_