"

2013 FRC Java API

"

Uses of Class
edu.wpi.first.wpilibj.visa.VisaException

Packages that use VisaException
edu.wpi.first.wpilibj The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. 
edu.wpi.first.wpilibj.visa Provides classes to access I/O functions in visa.h. 
 

Uses of VisaException in edu.wpi.first.wpilibj
 

Methods in edu.wpi.first.wpilibj that throw VisaException
 void SerialPort.disableTermination()
          Disable termination behavior.
 void SerialPort.enableTermination()
          Enable termination and specify the termination character.
 void SerialPort.enableTermination(char terminator)
          Enable termination and specify the termination character.
 void SerialPort.flush()
          Force the output buffer to be written to the port.
 int SerialPort.getBytesReceived()
          Get the number of bytes currently available to read from the serial port.
 void SerialPort.print(String write)
          Deprecated. use write(string.getBytes()) instead
 byte[] SerialPort.read(int count)
          Read raw bytes out of the buffer.
 String SerialPort.readString()
          Read a string out of the buffer.
 String SerialPort.readString(int count)
          Read a string out of the buffer.
 void SerialPort.reset()
          Reset the serial port driver to a known state.
 void SerialPort.setFlowControl(SerialPort.FlowControl flowControl)
          Set the type of flow control to enable on this port.
 void SerialPort.setTimeout(double timeout)
          Configure the timeout of the serial port.
 void SerialPort.setWriteBufferMode(SerialPort.WriteBufferMode mode)
          Specify the flushing behavior of the output buffer.
 int SerialPort.write(byte[] buffer, int count)
          Write raw bytes to the buffer.
 

Constructors in edu.wpi.first.wpilibj that throw VisaException
SerialPort(int baudRate)
          Create an instance of a Serial Port class.
SerialPort(int baudRate, int dataBits)
          Create an instance of a Serial Port class.
SerialPort(int baudRate, int dataBits, SerialPort.Parity parity)
          Create an instance of a Serial Port class.
SerialPort(int baudRate, int dataBits, SerialPort.Parity parity, SerialPort.StopBits stopBits)
          Create an instance of a Serial Port class.
 

Uses of VisaException in edu.wpi.first.wpilibj.visa
 

Methods in edu.wpi.first.wpilibj.visa that throw VisaException
protected static void Visa.assertCleanStatus(String function)
           
static byte[] Visa.viBufRead(int vi, int cnt)
           
static int Visa.viBufWrite(int vi, byte[] buf, int cnt)
           
static void Visa.viClear(int vi)
           
static void Visa.viFlush(int vi, short mask)
           
static int Visa.viGetAttribute(int vi, int attrName)
           
static int Visa.viOpen(int sesn, String name, int mode, int timeout)
           
static int Visa.viOpenDefaultRM()
           
static void Visa.viSetAttribute(int vi, int attrName, boolean attrValue)
           
static void Visa.viSetAttribute(int vi, int attrName, int attrValue)
           
static void Visa.viSetBuf(int vi, short buffer, int size)
           
static void Visa.viVPrintf(int vi, String write)
           
 


"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"