public class SineWaveGenerator extends PotentialGenerator
Modifier and Type | Field and Description |
---|---|
float |
cyclesPerSec |
itsChannel, itsDeviceInterface, itsOutputV, itsRefreshRate, itsStartTime, mSPerStep
Constructor and Description |
---|
SineWaveGenerator(DeviceInterface devIntf,
float maxVolts,
int channel,
float freq)
standard constructor for the Sine wave Generator
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method.
|
void |
run() |
initialize
close, setChannel, setsOutputVoltage
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public SineWaveGenerator(DeviceInterface devIntf, float maxVolts, int channel, float freq)
public void run()
run
in interface java.lang.Runnable
run
in class SignalGenerator
public static void main(java.lang.String[] args)
args
- RH, 2017