AnalogDevice#
- class pyCGM2.Nexus.Devices.AnalogDevice(NEXUS, id: str)#
Represents an analog device in a pyCGM2-Nexus interface, extending the Device class.
- __init__(NEXUS, id: str)#
Initializes the AnalogDevice object with a Vicon Nexus handle and device ID.
Methods
__init__(NEXUS, id)Initializes the AnalogDevice object with a Vicon Nexus handle and device ID.
Retrieves and stores the channels associated with the analog device.
getDeviceFrequency()Returns the sampling frequency of the device.
getDeviceName()Returns the name of the device.
getOutputNames()Returns a list of output names from the device.
getUnit()Returns the unit of measurement for the analog device's channels.
- getChannels()#
Retrieves and stores the channels associated with the analog device.
- Returns:
List[Channel] – A list of Channel objects associated with the device.
- getUnit()#
Returns the unit of measurement for the analog device’s channels.
- Returns:
str – The unit of measurement for the channels.