Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetManagerMBS class.

OldPhidgetManagerMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Closes the file handles for this device. You should always call this when finished with a Manager.

Lasterror is set.

OldPhidgetManagerMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constructor.

The Lasterror property is set.
On success the handle value is not zero.

OldPhidgetManagerMBS.Device(index as Integer) as OldPhidgetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The array of the attached devices.

The Lasterror property is set.
You need to call getAttachedDevices before this property is valid.

OldPhidgetManagerMBS.getAttachedDevices

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Copies the list of attached devices into the Device and Count properties.

Lasterror is set.

Some examples using this method:

OldPhidgetManagerMBS.GetDeviceStatus as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Returns an integer indicating the status of the device.

Returns:
PHIDGET_ATTACHED 0x1
PHIDGET_NOTATTACHED 0x0

Lasterror is set.

OldPhidgetManagerMBS.getServerAddress(byref port as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the address and port.

The Lasterror property is set.

OldPhidgetManagerMBS.getServerID as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the server ID.

The Lasterror property is set.

OldPhidgetManagerMBS.GetServerStatus as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Returns an integer indicating the connection status of a Webservice.

Returns one of the following values:
1 CONNECTED
0 NOTCONNECTED

Lasterror is set.

OldPhidgetManagerMBS.Open

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Opens a connection to the local Phidget Manager.

Lasterror is set.

OldPhidgetManagerMBS.openRemote(serverID as string, password as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
This method is not yet implemented and will return EPHIDGET_UNSUPPORTED.

Lasterror is set.

OldPhidgetManagerMBS.openRemoteIP(addr as string, port as Integer, password as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Opens a connection to a remote Phidget Manager.

OpenRemoteIP will block until it connects to the server, which means that when it returns with EPHIDGET_OK, this means that the connection is active.

If the server is unavailable, this will return an error code. If the connection to a webservice is disrupted while in use, an error event will be thrown.

Lasterror is set.

Address is the address of the computer running the Phidget Webservice.
This can be either an IP address or a hostname.
Port specifies the port of the Webservice on the remote computer.
Password specifies the password, which is required if authentication is active on the Webservice.
If authentication is not active, this can be set to "".

The items on this page are in the following plugins: MBS Phidgets Plugin.


The biggest plugin in space...