AnalogPhidget.java
Go to the documentation of this file.
00001 
00002 /*
00003  * Copyright 2012 Phidgets Inc.  All rights reserved.
00004  */
00005 
00006 package com.phidgets;
00007 import java.util.Iterator;
00008 import java.util.LinkedList;
00009 import com.phidgets.event.*;
00019 public final class AnalogPhidget extends Phidget
00020 {
00021         public AnalogPhidget () throws PhidgetException
00022         {
00023                 super (create ());
00024         }
00025         private static native long create () throws PhidgetException;
00026 
00031         public native int getOutputCount () throws PhidgetException;
00039         public native double getVoltage (int index) throws PhidgetException;
00047         public native void setVoltage (int index, double current) throws PhidgetException;
00054         public native double getVoltageMin (int index) throws PhidgetException;
00061         public native double getVoltageMax (int index) throws PhidgetException;
00069         public native boolean getEnabled (int index) throws PhidgetException;
00077         public native void setEnabled (int index, boolean state) throws PhidgetException;
00078         private final void enableDeviceSpecificEvents (boolean b)
00079         {
00080         }
00081 }


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:20