Settings¶
Description¶
Module: geocompy.gsi.dna.settings
Definitions for the DNA settings subsystem.
Types¶
GsiOnlineDNASettings
Definitions¶
- class GsiOnlineDNASettings(parent: GsiOnlineType)[source]¶
Settings subsystem of the DNA GSI Online protocol.
This subsystem gives access to the internal parameters of the instrument. Most parameters (with a few exceptions) can be both queried and set/changed.
- Parameters:
- parent: GsiOnlineType¶
The parent protocol instance of this subsystem.
- get_autooff() GsiOnlineResponse[AutoOff][source]¶
CONF 95Gets the current status of the automatic shutdown feature.
- Returns:
Status of the automatic shutdown.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_battery() GsiOnlineResponse[int][source]¶
CONF 90Gets the current level of the battery.
- Returns:
Remaining battery capacity in [0; 10] range.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_baud() GsiOnlineResponse[Baud][source]¶
CONF 70Gets the current communication speed.
- Returns:
Communication speed.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_beep() GsiOnlineResponse[BeepIntensity][source]¶
CONF 30Gets the current set intensity of the beep signals.
- Returns:
Current beep intensity.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_contrast() GsiOnlineResponse[int][source]¶
CONF 32Gets the current display contrast level.
- Returns:
Contrast level in [0; 100] range.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_curvature_correction() GsiOnlineResponse[bool][source]¶
CONF 125Gets the current status of the Earth curvature correction.
- Returns:
Status of the curvature correction.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_decimals() GsiOnlineResponse[int][source]¶
CONF 51Gets the current number of displayed decimals.
- Returns:
Number of decimals.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_delay() GsiOnlineResponse[int][source]¶
CONF 78Gets the current message delay.
- Returns:
Delay between two messages in [0; 50] range in [10ms] units.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_display_heater() GsiOnlineResponse[bool][source]¶
CONF 106Gets the current status of the display heater unit.
- Returns:
Status of the display heater.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_distance_unit() GsiOnlineResponse[Distance][source]¶
CONF 41Gets the current distance measurement unit.
- Returns:
Distance unit.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_format() GsiOnlineResponse[GSIFormat][source]¶
CONF 137Gets the current GSI communication format of the instrument.
- Returns:
GSI format.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).Note
If the request is successful, the internal format variable is updated accordingly to keep the communication in sync between the computer and the instrument.
- get_illumination() GsiOnlineResponse[Illumination][source]¶
CONF 31Gets the current status of the diplay and bubble illumination.
- Returns:
Illumination status.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_parity() GsiOnlineResponse[Parity][source]¶
CONF 71Gets the current parity bit setting.
- Returns:
Parity bit setting.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_protocol() GsiOnlineResponse[bool][source]¶
CONF 75Gets the current status of the communication protocol.
- Returns:
Protocol status.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_recorder() GsiOnlineResponse[Recorder][source]¶
CONF 76Gets the current measurement recording device.
- Returns:
Target recording device.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_staff_mode() GsiOnlineResponse[bool][source]¶
CONF 127Gets the current mode of the levelling staff.
- Returns:
Is the levelling staff inverted?
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_temperature() GsiOnlineResponse[int][source]¶
CONF 91Gets the current internal temperature.
- Returns:
Internal temperature.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_temperature_unit() GsiOnlineResponse[Temperature][source]¶
CONF 42Gets the current temperature measurement unit.
- Returns:
Temperature unit.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- get_terminator() GsiOnlineResponse[Terminator][source]¶
CONF 73Gets the current message terminator.
- Returns:
Message terminator.
- Return type:
Note
The value in the response is
Noneif the value could not be retrieved (i.e. an error occured during the request).
- set_autooff(status: AutoOff | str) GsiOnlineResponse[bool][source]¶
SET 95Sets the status of the automatic shutdown feature.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_baud(baud: Baud | str) GsiOnlineResponse[bool][source]¶
SET 70Sets the communication speed.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_beep(intensity: BeepIntensity | str) GsiOnlineResponse[bool][source]¶
SET 30Sets the intensity of the beep signals.
- Parameters:
- intensity: BeepIntensity | str¶
Beep intensity to set.
- Returns:
Success of the change.
- Return type:
- set_code_recording(mode: RecordCode | str) GsiOnlineResponse[bool][source]¶
SET 138Sets the quick code recording mode.
- Parameters:
- mode: RecordCode | str¶
Quick code recording mode.
- Returns:
Success of the change.
- Return type:
- set_contrast(contrast: int) GsiOnlineResponse[bool][source]¶
SET 32Sets the display contrast level.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_curvature_correction(enabled: bool) GsiOnlineResponse[bool][source]¶
SET 125Enables or disables the Earth curvature correction.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_decimals(decimals: int) GsiOnlineResponse[bool][source]¶
SET 51Sets the number of displayed decimal places.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_delay(delay: int) GsiOnlineResponse[bool][source]¶
SET 78Sets the delay between messages.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_display_heater(enabled: bool) GsiOnlineResponse[bool][source]¶
SET 106Enables or disables the display heater unit.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_distance_unit(unit: Distance | str) GsiOnlineResponse[bool][source]¶
SET 41Sets the distance measurement unit.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_format(format: GSIFormat | str) GsiOnlineResponse[bool][source]¶
SET 137Sets the GSI format of the instrument.
- Parameters:
- Returns:
Success of the change.
- Return type:
Note
If the request is successful, the internal format variable is updated accordingly to keep the communication in sync between the computer and the instrument.
- set_parity(parity: Parity | str) GsiOnlineResponse[bool][source]¶
SET 71Sets parity check bit behavior.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_protocol(enabled: bool) GsiOnlineResponse[bool][source]¶
SET 75Enables or disables the communication protocol.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_recorder(recorder: Recorder | str) GsiOnlineResponse[bool][source]¶
SET 76Sets the measurement recording device.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_staff_mode(inverted: bool) GsiOnlineResponse[bool][source]¶
SET 127Sets the levelling staff mode.
- Parameters:
- Returns:
Success of the change.
- Return type:
- set_temperature_unit(unit: Temperature | str) GsiOnlineResponse[bool][source]¶
SET 42Sets the temperature measurement unit.
- Parameters:
- unit: Temperature | str¶
Temperature unit to set.
- Returns:
Success of the change.
- Return type:
- set_terminator(terminator: Terminator | str) GsiOnlineResponse[bool][source]¶
SET 73Sets the message terminator character.
- Parameters:
- terminator: Terminator | str¶
Message terminator.
- Returns:
Success of the change.
- Return type: