Skip to content

Commit 257ea2a

Browse files
committed
on the get all channel values, fire asyc
WHen a all values change is called it updates the async handelers
1 parent c5ad76d commit 257ea2a

File tree

1 file changed

+4
-0
lines changed
  • javasdk/NRSDK/src/com/neuronrobotics/sdk/dyio

1 file changed

+4
-0
lines changed

javasdk/NRSDK/src/com/neuronrobotics/sdk/dyio/DyIO.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,10 +1063,14 @@ public int[] getAllChannelValues() {
10631063
ByteList val = new ByteList(bl.popList(4));
10641064
DyIOChannelEvent ev =new DyIOChannelEvent(c,val);
10651065
back[i++]=ev.getValue();
1066+
if(!c.isStreamChannel()){
1067+
c.fireChannelEvent(ev);
1068+
}
10661069
}else{
10671070
back[i++] = 0;
10681071
}
10691072
}
1073+
10701074
return back;
10711075
}
10721076

0 commit comments

Comments
 (0)