You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Been a while since you are active in this project, but i was trying to use it and would really appreaciate your help.
Basically im trying to make a java program to simulate a light and render it, controlled by Dot2 (Or any other program you reccomend). What i dont get is how to use the whole library.
I tried to make a basic setup, where i try to print all the bytes to at least see if anything changes, but i have no idea what im doing
client = newArtNetClient();
client.start("0.0.0.0"); // IP Given by Dot2for(inti = 0; i < 100; i++) {
byte[] data = client.readDmxData(0,0);
System.err.println("Test: " + (data[1] & 0xFF));
Thread.sleep(100);
}
client.stop();
It just prints me
dic 11, 2023 6:01:09 PM ch.bildspur.artnet.ArtNetServer start
INFORMAZIONI: Art-Net server started at: 0.0.0.0:6454
Not any of the bytes ever change even though im changing values on Dot2. Is there some kind of wiki to understand how this library works?
The text was updated successfully, but these errors were encountered:
I'd guess "readDmxData(x, y)" reports to x being the subnet and y being the universe to read. Is that right? Are you sure Dot2 is writing to the same universe you are reading?
In addition, not sure if it's going to help, but I'd start checking if System.err.println is printing in the console output. Also, it seems that line "System.err.println("Test: " + data[1] & 0xFF));" could be "System.out.println("Test: " + data[i] & 0xFF);" (out instead of err, i instead of 1").
Unfortunately, I ended up not using ArtNetClient, so I can't help with specific issues as I don't know the library details. =/
Hello! Been a while since you are active in this project, but i was trying to use it and would really appreaciate your help.
Basically im trying to make a java program to simulate a light and render it, controlled by Dot2 (Or any other program you reccomend). What i dont get is how to use the whole library.
I tried to make a basic setup, where i try to print all the bytes to at least see if anything changes, but i have no idea what im doing
It just prints me
Not any of the bytes ever change even though im changing values on Dot2. Is there some kind of wiki to understand how this library works?
The text was updated successfully, but these errors were encountered: