Code: Select all
private void LoadCell_VoltageRatioChange(object sender, Phidget22.Events.VoltageRatioInputVoltageRatioChangeEventArgs e)
{
//when the sensor detects a voltage change, it executes this.
if (loadCellRatioVoltageChangeArray.Count <= 50)
{
loadCellRatioVoltageChangeArray.Add(e.VoltageRatio);
}
}