public class SignalGenerator
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
int |
itsChannel |
DeviceInterface |
itsDeviceInterface |
float |
itsOutputV |
int |
itsRefreshRate |
long |
itsStartTime |
int |
mSPerStep |
Constructor and Description |
---|
SignalGenerator(DeviceInterface devIntf,
float outV,
int channel)
standard constructor for the Sine wave Generator
|
Modifier and Type | Method and Description |
---|---|
void |
close(java.lang.Exception e)
close the signal generator
|
void |
initialize()
initialize the signal generator
|
void |
run() |
void |
setChannel(int channel)
sets the channel
|
void |
setsOutputVoltage(float outV)
sets the output voltages
|
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 DeviceInterface itsDeviceInterface
public int itsChannel
public long itsStartTime
public int itsRefreshRate
public int mSPerStep
public float itsOutputV
public SignalGenerator(DeviceInterface devIntf, float outV, int channel)
public void setChannel(int channel)
public void setsOutputVoltage(float outV) throws java.lang.Exception
java.lang.Exception
public void initialize()
public void close(java.lang.Exception e)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
RH, 2017