Class: SignalTestController

Angular. SignalTestController

new SignalTestController()

The SignalTestController coordinates with Max to ensure that the signals being received from connected sensors are of acceptable quality.

Source:

Namespaces

$scope

Methods

edaQualityMessageListener(msg) → {undefined}

This method is called when an EDA quality OSC message is received. $scope#edaQuality is updated accordingly.

Parameters:
Name Type Description
msg Object

The message sent with the event

Source:
Returns:
Type
undefined

poxQualityMessageListener(msg) → {undefined}

This method is called when a POX quality OSC message is received. $scope#poxQuality is updated accordingly.

Parameters:
Name Type Description
msg Object

The data sent with the event

Source:
Returns:
Type
undefined

recordingCompleteMessageListener() → {undefined}

This method is called when an OSC message indicating that the signal test recording is complete is received. $scope#testRecordingComplete is updated accordingly and sendStopSignalTestMessage is called.

Source:
Returns:
Type
undefined

sendStartSignalTestMessage() → {undefined}

Sends a message to Max to start the signal quality test. This message looks like the following:

{
    oscType: 'message',
    address: '/eim/control/signalTest',
    args: [
        {
            type: 'integer',
            value: 1
        },
        {
            type: 'string',
            value: <SESSIONNUMBER>
        }
    ]
}
Source:
Returns:
Type
undefined

sendStopSignalTestMessage() → {undefined}

Sends a message to Max to stop the signal quality test. This message looks like the following:

{
    oscType: 'message',
    address: '/eim/control/signalTest',
    args: [
        {
            type: 'integer',
            value: 0
        },
        {
            type: 'string',
            value: <SESSIONNUMBER>
        }
    ]
}
Source:
Returns:
Type
undefined