File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,34 @@ class TPS1000BAP(GeoComSubsystem):
3636
3737 """
3838
39+ def get_last_displayed_error (self ) -> GeoComResponse [tuple [int , int ]]:
40+ """
41+ RPC 17003, ``BAP_GetLastDisplayedError``
42+
43+ Retrieves the number of the last displayed system error.
44+
45+ Returns
46+ -------
47+ GeoComResponse
48+ Params:
49+ - `int`: Last error, warning or info number.
50+ - `int`: Corresponding GSI error number.
51+ Error codes:
52+ - ``IVRESULT``: No error was displayed since last call.
53+
54+ Note
55+ ----
56+ The error code will be reset once command is executed. A repeated
57+ call will be unsuccessful.
58+ """
59+ return self ._request (
60+ 17003 ,
61+ parsers = (
62+ int ,
63+ int
64+ )
65+ )
66+
3967 def meas_distance_angle (
4068 self ,
4169 mode : MEASUREPROGRAM | str = MEASUREPROGRAM .DISTANCE
You can’t perform that action at this time.
0 commit comments