How to select a usb port to send out data?

kanick_10@yahoo.es's icon

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's icon

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

pdelges's icon

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

kanick_10@yahoo.es's icon

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

Joe X Med O''s icon

any update on this? I'm trying to do something similar but controlling a display matrix on my asus rog zephyrus g14...