investigator

Icons & Hints Examples
Hints: Use this command initiate data collection using the light sensor. The data returned is a number between 1 (dark) and 100 (bright). This piece of code resets the light sensor and then logs 10 light data points.
Hints: Use this command to initiate data collection from the touch sensor. If pressed, the sensor returns a 1, otherwise, it returns a zero. This piece of code would take 10 data points from the touch sensor.
Hints: Use this command to initiate temperature data collection in Celsius from the temperature sensor. This piece of code resets the temperature sensor and then logs 10 temperature data points.
Hints: Use this command to initiate temperature data collection Fahrenheit from the temperature sensor. This piece of code would take 10 data points from the temperature sensor.
Hints: Use this command to initiate data collection from the rotation sensor. Data is in sixteenths of a rotation so a reading of 16 is equal to one rotation. Rotation can either be in either direction. This piece of code clears the data memory, then logs 500 points of rotation sensor data.
Hints: Use this command to initiate data collection from the click sensor. It might be helpful to zero the click sensor at the beginning of the code. This piece of code zeros the click sensor. Then it logs click sensor data for 4 seconds and stops.
Hints: Use this command to initiate data collection from the touch and release sensor. It might be helpful to zero the touch and release sensor at the beginning of the code. This piece of code zeros the touch and release sensor. Then it logs touch and release sensor data for 8 seconds and stops.
Hints: Use this command to initiate data collection from the NXT light sensor. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code initiates light sensor logging on the NXT light sensor on port 1. It begins data collection, logging light sensor data every 1 second to the Red Data Set until it collects 50 data points.
Hints: Use this command to initiate data collection from the NXT touch sensor. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code initiates touch sensor logging on the NXT touch sensor on port 2. It begins data collection, logging light sensor data every 1 minute to the Blue Data Set until for 30 minutes.
Hints: Use this command to initiate data collection from the NXT distance sensor. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code initiates distance sensor logging on the NXT distance sensor on port 1. It begins data collection, logging distance sensor data every 0.1 seconds. Motors A and C turn on. After 4 seconds, data collection and the motors stop.
Hints: Use this command to initiate data collection from the NXT sound sensor. It might be helpful to zero the NXT sound sensor at the beginning of the code. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code initiates sound sensor logging on the NXT sound sensor on port 2. It begins data collection, logging sound sensor data every 0.1 seconds for 30 seconds.
Hints: Use this command to initiate data collection from the encoder in an NXT motor. It might be helpful to zero the NXT angle sensor at the beginning of the code. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code initiates rotation sensor logging on the NXT angle sensor on motor A. It begins data collection, logging angle sensor data every 0.1 seconds. Motor A and C turn on and continue for 4 seconds. Then data collection and the motor stop.
Hints: Use this command to initiate data collection from the NXT clicks sensor. It might be helpful to zero the NXT clicks sensor at the beginning of the code. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code zeros the NXT clicks sensor. It then initiates click sensor logging on port 1. It begins data collection, logging clicks sensor data every 0.1 seconds. Motor A turn on and continues for 8 seconds. Then data collection and Motor A stop.
Hints: Use this command to initiate data collection from the NXT touch and release sensor. It might be helpful to zero the NXT touch and release sensor at the beginning of the code. If you do not add a Data Set modifier, the data will be collected as the Red Data Set (default). This piece of code zeros the NXT touch and release sensor. Then it logs touch and release sensor data every second for 45 seconds and stops.
Hints: Use this command initiate data collection from a container. This piece of code empties the container, then logs container data for 4 seconds and then stops.
Hints: Use this command to initiate data collection from the mailbox. This piece of code would take 50 data points from the mailbox.
Hints: Use this command to initialize logging of the RCX clock. This piece of code logs 100 data points from the clock.
Hints: This initializes logging of the regular timer (timer that increases in .1 second increments versus the fast timer which increases in .01 second increments). This piece of code initializes the red (default) timer to zero, initializes regular timer logging, starts data logging every 1 second, logs for 4 seconds, and then stops data logging.
Hints: This initializes logging of the fast timer (timer that increases in .01 second increments versus the regular timer which increases in .1 second increments). This piece of code initializes the red (default) timer to zero, initializes fast timer logging, starts data logging every 1 second, logs for 4 seconds, and then stops data logging.
Hints: Use this command to initiate data collection from the camera sensor. This piece of code would take 10 data points from the camera sensor.
Hints: Use this command to add a data point to a data set. MUST have both Initialize Logging and Start Logging commands before this command. This piece of code would log rotation sensor data until the light sensor reading increases by 5. It would then add the light sensor reading to the data set and stop logging data.
Hints: Use this to start taking data points. There MUST be an initialize command before this. This piece of code resets the light sensor and then logs 10 light data points.
Hints: Use this command to log click data along with another type of data. An Initialize Logging command must come before this icon. This command WILL start logging data. This piece of code would log rotation data with clicks for 10 seconds and then stop.
Hints: Use this to stop taking data points for all data sets. This piece of code resets the light sensor and then logs 10 light data points.
Hints: Use this command to start data logging again after it has been stopped. This piece of code would log data from the rotation sensor until the touch sensor was pushed in. Then it would stop until the touch sensor was released. Then it would resume data logging for 2 seconds.
Hints: Use this command to find out how much time has passed since you began taking data. This piece of code would log data from the rotation sensor until the touch sensor on port 2 is pressed. Then it would log how much time has passed since data logging began, and stop logging data.
Hints: Use this command to take voltage data from a generic powered sensor. This piece of code would take 10 data points from a generic powered sensor.
Hints: Use this command to take humidity data from a humidity sensor adapter. The data is returned as a percentage between 1 and 100. This piece of code would take 10 data points from the humidity sensor.
Hints: Use this command to take pH data from the pH sensor. The data is returned as a number between 1 and 14. This piece of code would take 10 data points from the pH sensor.
Hints: Use this command to take pressure data from the pressure sensor adapter. The data is returned in kPa. This piece of code would take 10 data points from the pressure sensor.
Hints: Use this command to take sound data from the sound level sensor. The data is returned in dB. This piece of code would take 10 data points from the sound level sensor.
Hints: Use this command to take temperature data in Celsius from the temperature sensor adapter. You cannot take data in Fahrenheit with this sensor. This piece of code would take 10 data points from the temperature sensor.
Hints: Use this command to take position data in degrees from the position sensor adapter. This piece of code would take 10 data points from the position sensor.
Hints: Use this command to take voltage data from the voltmeter. This piece of code would take 10 data points from the voltmeter.
Hints: Use this command to take voltage data from the acceleration sensor. This piece of code would take 10 data points from the acceleration sensor.
Hints: Use this command to take voltage data from the lux sensor. This piece of code would take 10 data points from the lux sensor.
Hints: Use this command to take voltage data from the barometric sensor. This piece of code would take 10 data points from the barometric sensor.
Hints: Use this command to take voltage data from the redox sensor. This piece of code would take 10 data points from the redox sensor.
Hints: Use this command to take voltage data from the current sensor. This piece of code would take 10 data points from the current sensor.