Wgs#
SCPI Command :
- [SOURce<HW>]:BB:GNSS:RECeiver:[V<ST>]:LOCation:COORdinates:DMS:[WGS]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get ( vehicle=Vehicle.Default ) WgsStruct
- set ( structure: WgsStruct, vehicle=Vehicle.Default ) None
# [SOURce<HW>]:BB:GNSS:RECeiver:[V<ST>]:LOCation:COORdinates:DMS:[WGS] # get: value: WgsStruct = driver.source.bb.gnss.receiver.v.location.coordinates.dms.wgs.get(vehicle = repcap.Vehicle.Default) # set: structure = driver.source.bb.gnss.receiver.v.location.coordinates.dms.wgs.WgsStruct() structure.Longitude_Deg: int = 1 structure.Longitude_Min: int = 1 structure.Longitude_Sec: float = 1.0 structure.Longitude_Dir: enums.LongitudeDir = enums.LongitudeDir.EAST structure.Latitude_Deg: int = 1 structure.Latitude_Min: int = 1 structure.Latitude_Sec: float = 1.0 structure.Latitude_Dir: enums.LatitudeDir = enums.LatitudeDir.NORTh structure.Altitude: float = 1.0 driver.source.bb.gnss.receiver.v.location.coordinates.dms.wgs.set(structure, vehicle = repcap.Vehicle.Default)
Defines the coordinates of the geographic location of the GNSS receiver in degrees, minutes and seconds.
- Parameters:
structure – for set value, see the help for WgsStruct structure arguments.
vehicle – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘V’)
- Returns:
structure: for return value, see the help for WgsStruct structure arguments.
- class WgsStruct
Structure for setting input parameters. Fields:
1 Longitude_Deg: int: Defines the longitude degrees.
2 Longitude_Min: int: Defines the longitude minutes.
3 Longitude_Sec: float: Defines the longitude seconds.
4 Longitude_Dir: enums.LongitudeDir: Defines the longitude direction.
5 Latitude_Deg: int: Defines the latitude degrees.
6 Latitude_Min: int: Defines the latitude minutes.
7 Latitude_Sec: float: Defines the latitude seconds.
8 Latitude_Dir: enums.LatitudeDir: Defines the latitude direction.
9 Altitude: float: Defines the altitude. The altitude value is in meters and is the height above the reference ellipsoid.