UsbAccessXtra for Adobe Director
Messages:
| Name | Description |
|---|---|
New | Standard message to create a new instance |
OpenById | If you know the device vendor and product ids you can open them with this message. You can use FindUsbDevices to obtain this information. |
OpenByProductName | Open a connected usb device using the name |
IsOpen | returns true if a device is open, else false |
Close | Close an open usb device. |
Write | Write data to the Usb hid device. |
MonitorChanges | Monitor the usb bus for connections and disconnections and callback into Director when an event occurs. |
GetCapabilities | Get the capabilities of an opened device |
FindAllUsbDevices | Scan through all the Usb hid devices and return info on each |
| Name | Description |
|---|---|
Read | Read data that has been recieved from the Usb hid device. |
NumberOfItemsInReadBuffer | Obtain a count of the number of bytes waiting to be read from the input buffer. |
ReadPacket | Usb data is transferred in blocks called packets. Often it is preferential to read a packet at a time. This message supports this. The Read message reads all the waiting data and returns them. |
NumberOfPacketsInReadBuffer | Obtain the number of packets, rather than bytes, waiting in the input buffer |
ReadReport | Read the HID descriptor data |
DoNotBufferPackets | Enable or disable the packet buffering option. When false, all packets are put into the input queue when they arrive. If true then only the latest packet is ever in the input queue. The default value is false |
| Name | Description |
|---|---|
ShowErrorsAsDialogs | Controls if error dialogs are shwn in addtion to the error return. Turn this off is you want your problem to handle errors without informing the user |
GetVersionString | Obtain the version number of the xtra as a string. This may be requested when you are reporting bugs or interacting with PhysicalBits support. |
GetLicensetype | Returns the license type for this xtra. #Author, #Demo or #Full |
GetDemoDaysRemaining | Returns the number of days remaining on a demo license. Returns 0 if authoring license, or a big number if a full license. |
privateInstance | Private function |
privateGlobal | Private |
Detailed Useage Information:
