XMLProfile(String, String, UInt32, ILogger) Constructor
Creates an XML profile, loading what exists at the path. This is Home or Documents /ASCOM/Alpaca/{driverID}/{deviceType}/v1/Instance-{deviceID}.xml or /ascom/alpaca/{driverID}/{deviceType}/v1/instance-{deviceID}.xml
It is not recommended to access the same file from two different instances of this Profile at the same time
Namespace: ASCOM.ToolsAssembly: ASCOM.Tools (in ASCOM.Tools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public XMLProfile(
string driverID,
string deviceType,
uint deviceNumber = 0,
ILogger logger = null
)
Public Sub New (
driverID As String,
deviceType As String,
Optional deviceNumber As UInteger = 0,
Optional logger As ILogger = Nothing
)
- driverID String
- A unique name for your driver. Must be allowed to be in the path.
- deviceType String
- The ASCOM / Alpaca device type IE focuser, camera, telescope, etc. Must be allowed to be in the path.
- deviceNumber UInt32 (Optional)
- The Alpaca device number. Defaults to 0 for drivers with only one device.
- logger ILogger (Optional)
- The logging device to be used (can be null).
Supported in: 2.0