File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
javasdk/NRSDK/src/com/neuronrobotics/sdk/dyio
test/java/src/junit/test/neuronrobotics/namespace Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -399,11 +399,15 @@ public int getValue() {
399399
400400 val = new DyIOChannelEvent (this ,bl ).getValue ();
401401 }else {
402+ int l = Log .getMinimumPrintLevel ();
403+ //Log.enableInfoPrint();
402404 Object [] args =getDevice ().send ("bcs.io.*;0.3;;" ,
403405 BowlerMethod .GET ,
404406 "gchv" ,
405407 new Object []{number });
406408 val =(Integer )args [1 ];
409+
410+ Log .setMinimumPrintLevel (l );
407411 }
408412 setCachedValue (val );
409413 setPreviousValue (val );
Original file line number Diff line number Diff line change @@ -25,11 +25,13 @@ public void setUp() throws Exception {
2525 DyIO .disableFWCheck ();
2626 Log .enableDebugPrint ();
2727
28+ //Change this MAC address to match your tester/testee mapping
2829 SerialConnection testerConection = SerialConnection .getConnectionByMacAddress (new MACAddress ("74:F7:26:80:00:7C" ));
2930 assertTrue (testerConection !=null );
3031 harness = new DyIO (testerConection );
3132 harness .connect ();
3233
34+ //Change this MAC address to match your tester/testee mapping
3335 SerialConnection targetConection = SerialConnection .getConnectionByMacAddress (new MACAddress ("74:F7:26:00:00:00" ));
3436 assertTrue (targetConection !=null );
3537 targetConection .setSynchronusPacketTimeoutTime (10000 );
You can’t perform that action at this time.
0 commit comments