Views:

Pc-Check Windows Compass Direction Test Failure Information

Group Number 750X

 

Device Compass

 

The Compass sensor provides the system with a simple orientation in relation to the magnetic field of Earth. This is often used in mobile devices to allow north to be located so that digital maps can be auto rotated depending on the physical orientation of the device.

 

Test Number 303

Direction

The Direction test checks the orientation within a compass sensor. The test can be executed either interactively or non interactively. If the test parameter is set to zero, the operator is requested to rotate the device towards true north.

If the parameter is non zero, the test will be non interactive where the user is expected to enter the rotation of the device in degrees.

It is important that this test be executed ensuring the device resides on a planar surface, since compensation for device rotation is not added during this test. Further, the device should be kept away from any known ferrous material such as permanent magnets since they will affect the output of the electronic compass sensor.

A Pre-calibration sequence maybe necessary depending on the system. This will involve rotating the system, holding the system in all available planes for a few seconds and making a 'figure of eight'. Failure to do this may result in an incorrect result.

NOTE: The compass reads true north not magnetic north and any errors in declination should be taken into account as appropriate.

Estimated Test Time 1 Second for the non-interactive test, and the time depends on the time-out parameter for the interactive test.

PARAM1: Orientation Angle

Angle (in degrees) to north.

PARAM2: Time-out

Test time-out.

PARAM3: Tolerance

Angle tolerance.

PARAM4: Calibration Prefix

Specifies whether or not to display a pre-calibration message before running the interactive test.

 

ERRORCODES & TROUBLESHOOTING

 

The sensor was not found. CODE=0x00/3FF

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

The sensor failed to start. CODE=0x01/3FF

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

Access to the sensor was denied. CODE=0x02/3FF

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

The sensor has encountered an error. CODE=0x03/3FF

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

The sensor is in an unknown state. CODE=0x04/097

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

The Operator chose to fail the test. CODE=0x05/3FF

TROUBLESHOOTING1: The interactive test failed since the user cancelled the test or not responded.

 

Unable to create test window. CODE=0x06/001

TROUBLESHOOTING2: The interactive window creation has failed or timed out. If it has failed it is most likely an operating system issue.

 

The Operator did not respond within the time-out. CODE=0x07/3FF

TROUBLESHOOTING1: The interactive test failed since the user cancelled the test or not responded.

 

The test timed out awaiting user interaction. CODE=0x08/3FF

TROUBLESHOOTING2: The interactive window creation has failed or timed out. If it has failed it is most likely an operating system issue.

 

Unable to set rotation. CODE=0x09/3FF

TROUBLESHOOTING3: The interactive test requires rotation to be disabled. Check the overall system settings.

 

The sensor heading is outside of the tolerance CODE=0x0A/3FF

TROUBLESHOOTING4: The heading from the sensor is outside of the tolerance for the test. This may be caused by a faulty sensor, issue reading the heading or an incorrect test parameter. The sensor may also require calibration or may be experiencing interference from nearby ferrous metals or magnets.

 

Test threshold for the test failure. CODE=0x0B/3FF

TROUBLESHOOTING0: The sensor was not detected. This could be caused by faulty drivers or a loose connection.

 

Eurosoft (UK) Ltd 
3 St. Stephen's Road 
Bournemouth, Dorset, BH2 6JL 
United Kingdom 
Tel +44 (0)1202 297315 
Fax +44 (0)1202 558280

www.eurosoft-uk.com