Method CreateAsync
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
CreateAsync(string)
Initializes a new instance of the asynchronous API to configure and interface with SyringePump devices on the specified serial port.
public static Task<AsyncDevice> CreateAsync(string portName)
Parameters
portName
stringThe name of the serial port used to communicate with the Harp device.
Returns
- Task<AsyncDevice>
A task that represents the asynchronous initialization operation. The value of the Result parameter contains a new instance of the AsyncDevice class.