ESDeviceCreate(String, Int32, Int32) Method |
Connects to the IP Address given and determines what kind of
Brainboxes Ethernet to Serial Device is there, creates the object and returns it
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static ESDevice Create(
string ipAddress,
int port1PortNumber = 9001,
int timeout = 2000
)
Public Shared Function Create (
ipAddress As String,
Optional port1PortNumber As Integer = 9001,
Optional timeout As Integer = 2000
) As ESDevice
static member Create :
ipAddress : string *
?port1PortNumber : int *
?timeout : int
(* Defaults:
let _port1PortNumber = defaultArg port1PortNumber 9001
let _timeout = defaultArg timeout 2000
*)
-> ESDevice
Parameters
- ipAddress String
[Missing <param name="ipAddress"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
- port1PortNumber Int32 (Optional)
[Missing <param name="port1PortNumber"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
- timeout Int32 (Optional)
[Missing <param name="timeout"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
Return Value
ESDevice[Missing <returns> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
See Also