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
I am trying to connect to an OLA instance on my machine. I get the following error when the sketch starts:
Nov 27, 2017 3:46:13 PM artnet4j.ArtNet <init>
INFO: Art-Net v0001-20091119
java.net.BindException: Address already in use (Bind failed)
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:93)
at java.net.DatagramSocket.bind(DatagramSocket.java:392)
at java.net.DatagramSocket.<init>(DatagramSocket.java:242)
at java.net.DatagramSocket.<init>(DatagramSocket.java:299)
at java.net.DatagramSocket.<init>(DatagramSocket.java:271)
at artnet4j.ArtNetServer.start(ArtNetServer.java:148)
at artnet4j.ArtNet.start(ArtNet.java:102)
at artnetP5.ArtnetP5.setup(ArtnetP5.java:41)
at artnetP5.ArtnetP5.<init>(ArtnetP5.java:33)
at mysketch.setup(mysketch.java:53)
at processing.core.PApplet.handleDraw(PApplet.java:2412)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1557)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
And then this every time my draw() loops:
node not found: 127.0.0.1
I have the same result if I use the local network IP and not the loopback. Here is my sketch:
intFPS=1;
importartnetP5.*;
ArtnetP5 artnet;
voidsetup() {
frameRate(FPS);
size(300, 1, JAVA2D);
artnet =newArtnetP5();
}
int test =255;
voiddraw() {
fill(test);
noStroke();
rect(0,0,300,1);
test--;
if (test <0) test =255;
sendPixels();
}
voidsendPixels() {
loadPixels();
artnet.send(pixels, "127.0.0.1");
updatePixels();
}
The text was updated successfully, but these errors were encountered:
I am trying to connect to an OLA instance on my machine. I get the following error when the sketch starts:
And then this every time my
draw()
loops:I have the same result if I use the local network IP and not the loopback. Here is my sketch:
The text was updated successfully, but these errors were encountered: