USB not HID
We have USB device but without HID protocol – spectormeter USB (SV2100).
there are independant software to show spectra, but we need to recevie these data into Max
is there a possibility to receive data from non HID devices?
Might be stating the obvious but have you tried using the [hi] object? Sometimes it works anyway for devices without the protocol, often with strange results which require conversion.
Depending on what platform you are on, the operating system should look for devices and their drivers when plugged in, as you may be able to get one from the product’s website, then do some tweaking to get it to work.
1st Creative Labs Support Team
It might work with the serial object. Any link to that device?
@ 1st Creative Solution:
yes, at the first I tried hi object but device is not recocnize in Max
I have to use PC (XP and windows7) beacouse the driver and softwar for the spectrometer are not writen on the Mac
The driver is not on the internet – it’s uncommon device and not like midi devices
I am in touch with french ditributor – but they don’t know anything about Max ;-)
your answer is not clear for me. as I know the serial object works only with ports and devices supported by the standard serial driver. It does not work with USB ports and devices.
Is there any possibility to receive the messages from USB port?
The "S" in USB stands for "serial". Many non-HID USB devices can be accessed this way. Arduino is a good example, I have USB GPS module that is another.
Is the device using a FTDI USB chip? Plug in your device, open up the serial help patch and click print. Is there anything that looks promising printed in the Max Window?
No, I don’t know if the device is using FTDI.
I opened the serial help patch and here is the result:
for "print" message, serial object return -
"port c: COM3"
I put the argument "c" to serial for receiving messages, but there are no data after bang and the only result is from right output (Status Signal):
Maybe its important to know that spectrometer is don’t send data when you plug it in USB port. You have put button "start" in spectrometer software and after the spectrometer is sending data. it is possible that spetromeer software receive data form USB port but Max doesn’t?
It’s hard to guess what’s going on. Many devices register themselves as a virtual COM port when plugged in. At that point, any app could have two-way communication with the port. But, it seems like this device is doing something more unusual. I’m not sure they were designing with third party software in mind.
I think it’s beyond my expertise to reverse engineer their communication protocol. I’d try to get some clues from the manufacturer. I think I found it online, but the website doesn’t offer much.
yes there are not the technical informations on the website and the device we have is little bit old
for the moment we can start programming to sonify the data from the files made with spectrometer but the idea is to have real time sonification of the ligth spectrums
but if you interested about our project maybe it’s better to contact us privately
thanks for your help!