Super class: PhidgetMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Phidgets||MBS USB Plugin||7.7||Yes||Yes||Yes||Yes||No|
The PhidgetInterfaceKit is a component that provides a high-level programmer interface to control a PhidgetInterfaceKit device connected through a USB port.
With this component, the programmer can:
- Turn particular outputs on and off.
- Get notified of changes of state of the inputs as events.
- Configure events to fire when the analog inputs change.
The PhidgetInterfaceKit devices provide a combination of:
- Digital outputs.
- Digital inputs.
- Analog inputs.
- 3 events
- 17 methods
- method Constructor
- method getDataRate(index as Integer) as Integer
- method getDataRateMax(index as Integer) as Integer
- method getDataRateMin(index as Integer) as Integer
- method getInputCount as Integer
- method getInputState(index as Integer) as boolean
- method getOutputCount as Integer
- method getOutputState(index as Integer) as boolean
- method getRatiometric as boolean
- method getSensorChangeTrigger(index as Integer) as Integer
- method getSensorCount as Integer
- method getSensorRawValue(index as Integer) as Integer
- method getSensorValue(index as Integer) as Integer
- method setDataRate(index as Integer, milliseconds as Integer)
- method setOutputState(index as Integer, value as boolean)
- method setRatiometric(value as boolean)
- method setSensorChangeTrigger(index as Integer, value as Integer)
Super class PhidgetMBS
- 7 events
- 2 properties
- 24 methods
- method Close
- method disableLogging
- method enableLogging(level as Integer, outputFile as string)
- method GetDeviceClass as Integer
- method GetDeviceID as Integer
- method GetDeviceLabel as string
- method GetDeviceName as string
- method GetDeviceStatus as Integer
- method GetDeviceType as string
- method GetDeviceVersion as Integer
- method GetErrorDescription(errorcode as Integer) as string
- method GetLibraryVersion as string
- method GetSerialNumber as Integer
- method GetServerAddress(byref port as Integer) as string
- method GetServerID as string
- method GetServerStatus as Integer
- method Open(serialNumber as Integer = -1)
- method OpenLabel(label as string = "")
- method openLabelRemote(label as string, serverID as string, password as string = "")
- method openLabelRemoteIP(label as string, addr as string, port as Integer, password as string = "")
- method openRemote(serial as Integer, serverID as string, password as string = "")
- method openRemoteIP(serial as Integer, addr as string, port as Integer, password as string = "")
- method SetDeviceLabel(label as string)
- method waitForAttachment(milliseconds as Integer)
- 2 shared methods
- 161 constants
This class has no sub classes.
Some examples which use this class:
The items on this page are in the following plugins: MBS USB Plugin.
MBS Xojo blog