MBS Plugin Documentation

Search:

Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchie

New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0

The list of the   themes,   classes,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

PhidgetManagerMBS.Attach(devicehandle as integer)
event, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The event called when a device is attached.
Notes:
With plugin version 8.5 and newer this event is executed on the main thread of your application to avoid crashes with REALbasic. Events are buffered until you the main thread has time available.
Older plugins execute the event on the thread where the event was created which may lead into problems described in the ThreadMBS class documentation.
class PhidgetManagerMBS
class, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The Phidget manager is an interface that allows for monitoring of all phidgets connected to a system, without opening them.
PhidgetManagerMBS.Close
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Closes the file handles for this device. You should always call this when finished with a Manager.
Notes: Lasterror is set.
PhidgetManagerMBS.Constructor
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The constructor.
Notes:
The Lasterror property is set.
On success the handle value is not zero.
PhidgetManagerMBS.Count as Integer
property, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Number of devices.
Notes:
The Lasterror property is set.
You need to call getAttachedDevices before this property is valid.
(Read and Write property)
PhidgetManagerMBS.Detach(devicehandle as integer)
event, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The event called when a device is detached.
Notes:
With plugin version 8.5 and newer this event is executed on the main thread of your application to avoid crashes with REALbasic. Events are buffered until you the main thread has time available.
Older plugins execute the event on the thread where the event was created which may lead into problems described in the ThreadMBS class documentation.
PhidgetManagerMBS.Device(index as integer) as PhidgetMBS
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The array of the attached devices.
Notes:
The Lasterror property is set.
You need to call getAttachedDevices before this property is valid.
PhidgetManagerMBS.Error(errorCode as integer, errorDescription as string)
event, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: This event is used for reporting asynchronous errors – mostly related to opening remote Phidgets.
Notes:
With plugin version 8.5 and newer this event is executed on the main thread of your application to avoid crashes with REALbasic. Events are buffered until you the main thread has time available.
Older plugins execute the event on the thread where the event was created which may lead into problems described in the ThreadMBS class documentation.
PhidgetManagerMBS.getAttachedDevices
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Copies the list of attached devices into the Device and Count properties.
Notes: Lasterror is set.
PhidgetManagerMBS.GetDeviceStatus as integer
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns an integer indicating the status of the device.
Notes:
Returns:
PHIDGET_ATTACHED 0x1
PHIDGET_NOTATTACHED 0x0

Lasterror is set.
PhidgetManagerMBS.getServerAddress(byref port as integer) as string
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Gets the address and port.
Notes: The Lasterror property is set.
PhidgetManagerMBS.getServerID as string
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Gets the server ID.
Notes: The Lasterror property is set.
PhidgetManagerMBS.GetServerStatus as integer
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns an integer indicating the connection status of a Webservice.
Notes:
Returns one of the following values:
1 CONNECTED
0 NOTCONNECTED

Lasterror is set.
PhidgetManagerMBS.Handle as Integer
property, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The internal used CPhidgetManagerHandle.
Notes: (Read and Write property)
PhidgetManagerMBS.Lasterror as Integer
property, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The last error code reported.
Notes: (Read and Write property)
PhidgetManagerMBS.Open
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Opens a connection to the local Phidget Manager.
Notes: Lasterror is set.
PhidgetManagerMBS.openRemote(serverID as string, password as string) as integer
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: This method is not yet implemented and will return EPHIDGET_UNSUPPORTED.
Notes: Lasterror is set.
PhidgetManagerMBS.openRemoteIP(addr as string, port as integer, password as string) as integer
method, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Opens a connection to a remote Phidget Manager.
Notes:
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 "".
PhidgetManagerMBS.ServerConnect
event, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: This event is called when a connection to the sever has been made.
Notes:
With plugin version 8.5 and newer this event is executed on the main thread of your application to avoid crashes with REALbasic. Events are buffered until you the main thread has time available.
Older plugins execute the event on the thread where the event was created which may lead into problems described in the ThreadMBS class documentation.
PhidgetManagerMBS.ServerDisconnect
event, Phidget, MBS USB Plugin (Phidgets), class PhidgetManagerMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: This event is called when a connection to the server has been lost.
Notes:
With plugin version 8.5 and newer this event is executed on the main thread of your application to avoid crashes with REALbasic. Events are buffered until you the main thread has time available.
Older plugins execute the event on the thread where the event was created which may lead into problems described in the ThreadMBS class documentation.

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