Forums > MaxMSP

How to select a usb port to send out data?

January 13, 2008 | 9:21 pm

Hi,

I want to send out some data to a usb port. I can read data with ‘hi’ but i don’t know how to select a usb port and send something to him.

Can anybody help me in some way?

Thanks.



Dan
January 14, 2008 | 5:26 am

You’re gonna have to be more specific. What’s the device you want to
send data to? Check out the sysex object.


January 14, 2008 | 8:56 am

On 13 janv. 08, at 22:22, kanick wrote:

> I want to send out some data to a usb port. I can read data with
> ‘hi’ but i don’t know how to select a usb port and send something to
> him.

Depending on the device you want to control from the USB port,
[serial] may be what you’re looking for. But if your device is a HID,
I doubt it will work.

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max


January 14, 2008 | 10:56 am

>You’re gonna have to be more specific. What’s the device you want >to send data to? Check out the sysex object.

The device is a servo controller hardware (similar to SSC-32)connected by USB. And it is a HID device.

I’d cheched the sysex object but I only found a ‘sysexin’ and I need somethig like "sysexout".

I think if I could access to the USB port where the hardware is connected I could send the kind of data (messages) that it could understand. But I don’t know how to access to that port and how to send out some data.

I know that is possible to control servos with Max, but I don’t know if its by USB, serial or in an other way.


Viewing 4 posts - 1 through 4 (of 4 total)