Type Definitions
keyPressed(keyValue)
Callback for the rcb.onKeyboardPress function.
Parameters:
Name | Type | Description |
---|---|---|
keyValue |
number | The ASCII code of the key that was pressed. |
newLogSaved()
Callback for the newLogEntry function when finished writing to file.
rampDone()
Callback for the rcb.output.ramp function.
readOhmReady(result)
Callback for the readOhm function when reading is ready.
Parameters:
Name | Type | Description |
---|---|---|
result |
number | Ohmmeter reading. If NaN means value is out of measurement range. |
readSensorsReady(results)
Callback for the readSensors function when readings are ready.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
results |
Object | Averaged reading results
Properties
|
stepDone(lastStep, nextStep)
Callback for the rcb.output.steps function.
Parameters:
Name | Type | Description |
---|---|---|
lastStep |
boolean | Will be true if this is the last step. |
nextStep |
function | Function that you should call when ready to go to the next step. |
tareCurrentComplete()
Callback for the tareCurrent function when tare is complete.
tareLoadCellsComplete()
Callback for the tareLoadCells function when tare is complete.
textSaved()
Callback for the appendTextFile function when finished writing to file.
UDPdataReceived(data)
Callback for the rcb.udp.onReceive function.
Parameters:
Name | Type | Description |
---|---|---|
data |
ArrayBuffer | Received data. Use the ab2str helper function to convert it to a string. |
udpReady()
Callback for the rcb.udp.init function when socket is ready.
UDPsent()
Callback for the rcb.udp.send function when packet has sent.
waitDone()
Callback for the wait function.