Set up a recording condition
Use recording conditions to automatically start or stop data collection.
Recording conditions can be used to control when data recording starts and stops based on a measurement or time value. You have the option to set start and stop conditions simultaneously or individually. You can also mix the types of recordings used for starting and stopping data recording, such as setting a measurement based start condition and a time based stop condition.
Start conditions
Measurement based
Use this condition to control when data recording begins based on a specific measurement value. For example, you can configure data recording to begin when a sensor measurement passes the set value.
- From the Experiment Screen, select Sampling Options .
- Select the box next to Sensor to select the sensor you want to create a start condition for, or select Common Sample Rate if you want to set the same start condition for all sensors.
- Select Start Condition to open the start condition submenu.
- Select the box next to Condition Type and select Measurement Based.
- Select a measurement for the start condition by clicking the box next to Measurement and selecting an option from the list.
-
Select the box next to Condition to select one of the following condition types:
-
Rises Above
Recording begins when the measurement changes from below the entered value to above the entered value.
-
Falls Below
Recording begins when the measurement changes from above the entered value to below the entered value.
-
Is Above
Recording begins when the measurement is above the entered value.
-
Is Below
Recording begins when the measurement is below the entered value.
-
-
Enter a Value for the condition. The units of this value are the same as the units for the selected measurement in Measurement.
- Optional: Enter a value, in seconds, into the Pre-Record box if you want data to be recorded before the start condition is met. For example, entering 3 will cause the program to record the three seconds prior to the start condition being met. Leaving the box empty or entering 0 will cause the program to not pre-record any data.
- Select OK, then select Start . When the start condition is met, data will begin recording automatically.
Time based
Use this condition to set the amount of time by which data recording will be delayed after you click Start . For example, if you set a value of 5 seconds, data will automatically begin recording 5 seconds after you click the Start button.
- From the Experiment Screen, select Sampling Options .
- Click the box next to Sensor to select the sensor you want to create a start and stop condition for, or select Common Sample Rate if you want to set the same start condition for all sensors.
- Click Start Condition to open the start condition submenu.
- Click the box next to Condition Type and select Time Based.
- In the Time Delay box, enter the amount of time by which you want data collection to be delayed. The default unit for this value is seconds. To change this unit, click the box next to Units and select an option from the list.
- Select OK, then click Start . The clock will count down starting at your entered value, and data recording will begin when the clock reaches zero.
In-sensor triggering
In-sensor triggering provides the ability to record a short burst of data at a high sample rate over Bluetooth. When a measurement based condition is met, data is recorded in the sensor and then transferred to SPARKvue. This is necessary due to limitations in streaming large amounts of data over Bluetooth. This feature is supported on the following sensors:
- Wireless Acceleration/Altimeter (PS-3223)
- Wireless Force Platform (PS-3229)
- Wireless 2-Axis Force Platform (PS-3230)
To enable in-sensor triggering:
- Connect one of the compatible sensors (listed above) to SPARKvue and create a display.
- Follow the steps described above to set up a measurement based start condition until you reach Step 4.
- Select the box next to Measurement, then select a non-calculated measurement of acceleration or velocity from the list of options. (Calculated options, such as resultant acceleration, will not work to enable in-sensor triggering.)
-
A new option labeled Trigger in the Sensor will appear below the Pre-Recording Time box. Select On to enable in-sensor triggering.
-
Finish setting the measurement based condition as described above.
When using in-sensor triggering, the only stop conditions that can be used are time based stop conditions. If you do not set a stop condition, data recording will stop on its own after the sensor's memory is full. This will likely occur after around 0.5 to 2 seconds of data recording, depending on the sample rate. Due to the high number of samples being transferred, expect some lag as data is transferred from the sensor to SPARKvue.
Stop conditions
Measurement based
Use this condition to control when data recording stops based on a measurement value. For example, you can configure data recording to stop when a sensor measurement passes a certain value.
- From the Experiment Screen, select Sampling Options .
- Select the box next to Sensor to select the sensor you want to create a stop condition for, or select Common Sample Rate if you want to set the same stop condition for all sensors.
- Select Stop Condition to open the stop condition submenu.
- Select the box next to Condition Type and select Measurement Based.
- Select a measurement for the stop condition by clicking the box next to Measurement and selecting an option from the list.
-
Select the box next to Condition and choose one of the following condition types:
-
Rises Above
Recording ends when the measurement changes from below the entered value to above the entered value.
-
Falls Below
Recording ends when the measurement changes from above the entered value to below the entered value.
-
Is Above
Recording ends when the measurement is above the entered value.
-
Is Below
Recording ends when the measurement is below the entered value.
-
-
Enter a Value for the condition. The units of this value are the same as the units for the selected measurement in Measurement.
- Select OK, then select Start . When the stop condition is met, data recording will automatically end.
Time based
Use this condition to set the amount of time Capstone records data for after you click Record. For example, if you set a value of 10 seconds, data will record for 10 seconds after starting and then automatically stop.
- From the Experiment Screen, select Sampling Options .
- Select the box next to Sensor to choose the sensor you want to create a stop condition for, or select Common Sample Rate if you want to set the same stop condition for all sensors.
- Select Stop Condition to open the stop condition submenu.
- Click the box next to Condition Type and select Time Based.
- In the Record Time box, enter the amount of time you want data recording to take. The default unit for this value is seconds. To change this unit, click the box next to Units and select an option from the list.
- Select OK, then select Start . Data will be recorded until the clock reaches the value entered for the stop condition.