Hello,
Im a mac user, so i can’t use the DLL’s that ships with the vm116 dmx usb box. Does anybody know how to send data to the box with serial data directly?
Hello,
Im a mac user, so i can’t use the DLL’s that ships with the vm116 dmx usb box. Does anybody know how to send data to the box with serial data directly?
VM116/K8062 is recognized as an HID device.
You may use libusb to access it (old API used here)
Do NOT send more than 512 channels.
To send the packets, use usb_interrupt_write(dev,1,(char *) data, 8, 20)
5) repeat step 4 at about every 25ms interval (which leaves time for the whole 512 channels to be transmitted)
6) at program end, release the device (usb_release_interface(dev,0) and usb_close() it.
The usb_detach_kernel_driver_np() call is Linux specific so you may have to skip it under MacOS or use some MAC-only way to disable the default driver.
I hope this will help you… This procedure should work on both Linux, *BSD and MacOSX.