| Modifier and Type | Method and Description |
|---|---|
float |
MccUsb.adcIn(int chan,
int units)
Reads an ADC channel
|
int |
MccUsb.adcScan(int start,
int end,
int units,
float[] value)
Scans ADC channels
|
void |
MccUsb.blink()
Blinks the LED
|
void |
MccUsb.calConfig(int gain,
int polarity,
int path)
Configures the calibration MUX
|
void |
MccUsb.calibrate(int type)
Calibrates the ADC channels
|
void |
MccUsb.calSteps(int[] steps)
Gets the number of calibration steps
|
void |
MccUsb.close()
Closes the connection to the device
|
void |
MccUsb.cntrInit()
Initializes the event counter (sets it to zero)
|
int |
MccUsb.cntrRead()
Reads the event counter
|
void |
MccUsb.configAlarm(int alarm,
int iOptns,
int oOptns,
float value1,
float value2)
Configures an alarm
|
void |
MccUsb.dioConfig(int direction)
Configures the DIO port
|
void |
MccUsb.dioConfigBit(int bitno,
int direction)
Configures one DIO line
|
int |
MccUsb.dioIn()
Reads all the DIO lines
|
int |
MccUsb.dioInBit(int bitno)
Reads one DIO line
|
void |
MccUsb.dioOut(int value)
Writes all the DIO lines
|
void |
MccUsb.dioOutBit(int bitno,
int value)
Writes one DIO line
|
void |
MccUsb.getAlarmConfig(int alarm,
int[] optns,
float[] values)
Gets an alarm configuration
|
int |
MccUsb.getBurnout(int mask)
Gets the burnout status and clears it under a mask
|
float |
MccUsb.getCoefficient(int chan,
int coeff)
Gets a channel's coefficient
|
int |
MccUsb.getExcitation(int chan)
Gets a channel pair's current excitation
|
int |
MccUsb.getFilterRate(int chan)
Gets a channel pair's filter update rate
|
int |
MccUsb.getGain(int chan)
Gets a channel's gain
|
float |
MccUsb.getItem(int item,
int subItem)
Gets a configuration item
|
float |
MccUsb.getReferenceVoltage(int chan)
Gets a channel pair's reference voltage
|
int |
MccUsb.getSensorType(int chan)
Gets a channel pair's sensor type
|
int |
MccUsb.getStatus()
Gets the calibration status
|
int |
MccUsb.getTCType(int chan)
Gets a channel's thermocouple type
|
int |
MccUsb.getThermConnType(int chan)
Gets a thermistor or RTD channel pair's connection type
|
int |
MccUsb.getVoltageConnType(int chan)
Gets a voltage channel's connection type
|
void |
MccUsb.open(int did,
String serial,
boolean force)
Opens a connection to the device
|
void |
MccTc.open(String serial,
boolean force)
Opens device connection
|
void |
MccTcAi.open(String serial,
boolean force)
Opens device connection
|
void |
MccTemp.open(String serial,
boolean force)
Opens device connection
|
void |
MccUsb.prepareDownload(int code,
int micro)
Prepares for a download
|
int |
MccUsb.readCode(int addr,
int count,
byte[] data)
Reads firmware code
|
int |
MccUsb.readMemory(int addr,
int type,
int count,
byte[] data)
Reads device memory
|
void |
MccUsb.reset()
Resets the device
|
void |
MccUsb.setCoefficient(int chan,
int coeff,
float value)
Sets a channel's coefficient
|
void |
MccUsb.setExcitation(int chan,
int value)
Sets a channel pair's current excitation
|
void |
MccUsb.setGain(int chan,
int gain)
Sets a channel's gain
|
void |
MccUsb.setItem(int item,
int subItem,
float value)
Sets a configuration item
|
void |
MccUsb.setSensorType(int chan,
int type)
Sets a channel pair's sensor type
|
void |
MccUsb.setTCType(int chan,
int type)
Sets a channel's thermocouple type
|
void |
MccUsb.setThermConnType(int chan,
int type)
Sets a thermistor or RTD channel pair's connection type
|
void |
MccUsb.setVoltageConnType(int chan,
int type)
Sets a voltage channel's connection type
|
void |
MccUsb.writeCode(int addr,
int count,
byte[] data)
Writes firmware code
|
int |
MccUsb.writeMemory(int addr,
int type,
int count,
byte[] data)
Writes device memory
|
void |
MccUsb.writeSerial(String serial)
Writes the serial number
|
Copyright © 2014 LSST. All Rights Reserved.