I have the K8062 DMX interface and have successfully used it with DMXControl, Freestyler, and the softwar bundled with the interface.
Now i want to control my lights with a Java application and created a JNI interface to communicate with the DLL. The problem is that this method is really slow. If i set the RGB colors of four LED lights, i can see that light no.1 changes its color first, then no. 2, and so on. Setting the channel count to the absolute minimum doesn’t help.
I read that DLL calls over JNI are quite slow, so is there a way to access the interface directly via Java?
Or maybe there’s a way to implement a DLL with a method, which takes a whole array of values and passes it to the interface. So i only have to invoke JNI one time and can transmit several values at once.