How to select a usb port to send out data?

Jan 13, 2008 at 9:21pm

How to select a usb port to send out data?

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.

#35357
Jan 14, 2008 at 5:26am

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

#120445
Jan 14, 2008 at 8:56am

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

#120446
Jan 14, 2008 at 10:56am

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

#120447

You must be logged in to reply to this topic.