org.lsst.ccs.drivers.wattsup
Class TalkWatts

java.lang.Object
  extended by org.lsst.ccs.drivers.wattsup.TalkWatts

public class TalkWatts
extends Object

Program to enable direct talking to a WattsUp? meter

Author:
Owen Saxton

Constructor Summary
TalkWatts(String portName)
          Main constructor
 
Method Summary
static void main(String[] args)
          Main program
 void run()
          Send commands to the meter Loops reading and processing each new typed command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TalkWatts

public TalkWatts(String portName)
          throws Exception
Main constructor

Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main program

Throws:
Exception

run

public void run()
         throws IOException
Send commands to the meter Loops reading and processing each new typed command line.

Throws:
IOException


Copyright © 2012 LSST. All Rights Reserved.