Open this Phidget with a specific serial number.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public void open( int serialNumber ) |
Visual Basic (Declaration) |
---|
Public Sub open ( _ serialNumber As Integer _ ) |
Visual C++ |
---|
public: void open( int serialNumber ) |
Parameters
- serialNumber
- Type: System..::.Int32
The Serial Number
Remarks
Open is pervasive. What this means is that you can call open on a device before it is plugged in, and keep the device opened across device dis- and re-connections.
Open is Asynchronous. What this means is that open will return immediately – before the device being opened is actually available, so you need to use either the attach event or the waitForAttachment method to determine if a device is available before using it.
This version of open specifies a serial number - The serial number is a unique number assigned to each Phidget during production and can be used to uniquely identify specific phidgets.