Impact Acquire SDK Java
DigitalInput Class Reference

A class to represent a digital input pin(Device specific interface layout only). More...

Public Member Functions

synchronized void delete ()
 
boolean get ()
 Returns the current state of this input pin.
 
String getDescription ()
 Returns a description for this digital input.
 

Protected Member Functions

 DigitalInput (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long swigRelease (DigitalInput obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

A class to represent a digital input pin(Device specific interface layout only).

Note
This class will only be available if mvIMPACT.acquire.Device.getInterfaceLayout() is set to mvIMPACT.acquire.TDeviceInterfaceLayout.dilDeviceSpecific before the device is opened.

Constructor & Destructor Documentation

◆ DigitalInput()

DigitalInput ( long cPtr,
boolean cMemoryOwn )
protected

Member Function Documentation

◆ delete()

synchronized void delete ( )

◆ finalize()

void finalize ( )
protected

◆ get()

boolean get ( )

Returns the current state of this input pin.

Returns
  • true if the current state of this pin is considered as 'logic 1'
  • false otherwise

◆ getDescription()

String getDescription ( )

Returns a description for this digital input.

This might contain connector descriptions or other information like e.g. 'Trigger-In(J8.4/J8.5)', which means, this is the trigger input of connector J8 pins 4 and 5.

◆ swigRelease()

static long swigRelease ( DigitalInput obj)
staticprotected

Member Data Documentation

◆ swigCMemOwn

transient boolean swigCMemOwn
protected