Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetDictionaryMBS class.

OldPhidgetDictionaryMBS.addKey(key as string, value as string, persistent 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
Adds a new key to the Dictionary, or modifies the value of an existing key.

The key can only contain numbers, letters, ‘/', ‘.', ‘-‘, ‘_', and must begin with a letter, ‘_' or ‘/'.
The value can contain any value.
The persistent value controls whether a key will stay in the dictionary after the client that created it disconnects. If persistent == 0, the key is removed when the connection closes. Otherwise the key remains in the dictionary until it is explicitly removed.

Lasterror is set.

OldPhidgetDictionaryMBS.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 Dictionary.
Lasterror is set.

OldPhidgetDictionaryMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
A dummy constructor doing nothing.

See also:

OldPhidgetDictionaryMBS.Constructor(pattern 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
The constructor.

The Lasterror property is set.
Pattern is a regular expression that matches the keys you want to listen for in the keychange event.

See also:

OldPhidgetDictionaryMBS.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.

OldPhidgetDictionaryMBS.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.

OldPhidgetDictionaryMBS.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.

OldPhidgetDictionaryMBS.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.

OldPhidgetDictionaryMBS.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.

The Lasterror property is set.

OldPhidgetDictionaryMBS.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 Dictionary.

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, and it is recommended that an error event listener be registered for this reason.

Lasterror is set.

OldPhidgetDictionaryMBS.removeKey(pattern 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
Removes a key, or set of keys, from the Dictionary.

The key name is a regular expressions pattern, and so care must be taken to only have it match the specific keys you want to remove.
Lasterror is set.

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


The biggest plugin in space...