everythings work when i activate the 4701 channel 0. when I try to open the channel in an init method it throws also an unknown error.
Code: Select all
phid = new PhidgetEncoder();	
			phid.addEventListener(PhidgetDataEvent.
			phid.addEventListener(PhidgetEvent.DETACH, onDetach);
			phid.addEventListener(PhidgetEvent.ATTACH, onAttach);
			phid.addEventListener(PhidgetErrorEvent.ERROR, onError);
			phid.addEventListener(PhidgetDataEvent.INPUT_CHANGE, onInputChange);
			phid.addEventListener(PhidgetDataEvent.POSITION_CHANGE, onPositionChange);
			
			phid.open("localhost", 5001);
			stage.addEventListener(MouseEvent.CLICK, onStageClick);
			
			if (phid.getEnabled(0) == false){
				phid.setEnabled( 0, true);
			}
