jGpibEnet.controllers
Class ICS8065

java.lang.Object
  extended by jGpibEnet.controllers.ICS8065
All Implemented Interfaces:
ControllerIfc

public class ICS8065
extends java.lang.Object
implements ControllerIfc

Class Is For Specific Commands For The ICS8065.


Constructor Summary
ICS8065()
          Creates a new instance of ICS8065
 
Method Summary
 int getConfigChanPortNum()
          Returns The Config Channel Port Number
 int getCoreChanPortNum()
          Returns The Core Channel Port Number
 int getInterfaceGpibAddr()
          Returns The Gpib Address Of The Converter
 java.lang.String getInterfaceName()
          Returns The Gpib Interface Name
 java.lang.String getIpAddr()
          Returns The Gpib Address Of The Converter
 void setCommTimeout(java.lang.Integer timeoutInSec)
          Sets network timeout of the converter.
 void setupInterface(java.lang.String ipAddr, java.lang.Integer commTimeOutInSec)
          Setup Interface For Communication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICS8065

public ICS8065()
Creates a new instance of ICS8065

Method Detail

setupInterface

public void setupInterface(java.lang.String ipAddr,
                           java.lang.Integer commTimeOutInSec)
                    throws java.lang.Exception
Setup Interface For Communication. Method opens config channel, send necessary setup commands and then closes the channel.

Specified by:
setupInterface in interface ControllerIfc
Parameters:
commTimeOutInSec - Set Network Timeout in Seconds. If it is null, no value will be set.
ipAddr - Ip Address of Converter
Throws:
java.lang.Exception

setCommTimeout

public void setCommTimeout(java.lang.Integer timeoutInSec)
                    throws java.lang.Exception
Sets network timeout of the converter. This is the Time for it to disconnect when there is no activity.

Parameters:
timeoutInSec - Set Network Timeout in Seconds. If it is null, no value will be set.
Throws:
java.lang.Exception

getCoreChanPortNum

public int getCoreChanPortNum()
Returns The Core Channel Port Number

Specified by:
getCoreChanPortNum in interface ControllerIfc
Returns:
Core Channel Port Number

getConfigChanPortNum

public int getConfigChanPortNum()
Returns The Config Channel Port Number

Returns:
Config Channel Port Number

getIpAddr

public java.lang.String getIpAddr()
Returns The Gpib Address Of The Converter

Returns:
Ip Address Of Converter

getInterfaceName

public java.lang.String getInterfaceName()
Returns The Gpib Interface Name

Specified by:
getInterfaceName in interface ControllerIfc
Returns:
Interface Name

getInterfaceGpibAddr

public int getInterfaceGpibAddr()
Returns The Gpib Address Of The Converter

Returns:
Gpib Address Of Converter