Impact Acquire SDK Java
|
A class to handle the digital inputs and outputs for mvBlueFOX USB cameras(Device specific interface layout only). More...
Public Member Functions | |
synchronized void | delete () |
PropertyI | getDigitalInputThreshold () |
An enumerated integer property defining the threshold for the digital inputs in Volt. | |
long | getInputCount () |
Returns the number of mvIMPACT.acquire.DigitalInput s available for the mvIMPACT.acquire.Device associated with this object. | |
long | getOutputCount () |
Returns the number of digital outputs available for the mvIMPACT.acquire.Device associated with this object. | |
PulseStartConfiguration | getPulseStartConfiguration (long nr) |
Returns a pointer to a mvIMPACT.acquire.PulseStartConfiguration associated with this device. | |
long | getPulseStartConfigurationCount () |
Returns the number of mvIMPACT.acquire.PulseStartConfiguration objects available for the mvIMPACT.acquire.Device associated with this object. | |
RTCtrProgram | getRTCtrProgram (long nr) |
Returns a pointer to a mvIMPACT.acquire.RTCtrProgram associated with this device. | |
DigitalInput | input (long nr) |
Returns a const pointer to a mvIMPACT.acquire.DigitalInput object. | |
IOSubSystemBlueFOX (Device pDev) | |
Constructs a new mvIMPACT.acquire.IOSubSystemBlueFOX object. | |
DigitalOutput | output (long nr) |
Returns a pointer to a mvIMPACT.acquire.DigitalOutput object. | |
long | readInputRegister () |
Returns the current state of the digital input register. | |
long | readInputRegisterAtomic () |
Returns the current state of the digital input register. | |
long | readOutputRegister () |
Returns the current state of the digital output register. | |
long | readOutputRegisterAtomic () |
Returns the current state of the digital output register. | |
long | RTCtrProgramCount () |
Returns the number of mvIMPACT.acquire.RTCtrProgram s available for the mvIMPACT.acquire.Device associated with this object. | |
void | writeOutputRegister (long value) |
Alters the state of the digital output register. | |
void | writeOutputRegister (long value, long mask) |
Alters the state of the digital output register. | |
void | writeOutputRegisterAtomic (long value) |
Alters the state of the digital output register. | |
void | writeOutputRegisterAtomic (long value, long mask) |
Alters the state of the digital output register. | |
Protected Member Functions | |
void | finalize () |
IOSubSystemBlueFOX (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (IOSubSystem obj) |
static long | swigRelease (IOSubSystemBlueFOX obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
A class to handle the digital inputs and outputs for mvBlueFOX USB cameras(Device specific interface layout only).
If a digital output is defined to be 'logic 0' but the flash mode is switched on for the same digital output, the output will be high during the expose time of the camera sensor. If a digital output is defined to be 'logic 1' the output will be high all the time.
|
protected |
IOSubSystemBlueFOX | ( | Device | pDev | ) |
Constructs a new mvIMPACT.acquire.IOSubSystemBlueFOX object.
pDev | [in] A pointer to a mvIMPACT.acquire.Device object obtained from a mvIMPACT.acquire.DeviceManager object. |
synchronized void delete | ( | ) |
Reimplemented from IOSubSystem.
|
protected |
Reimplemented from IOSubSystem.
PropertyI getDigitalInputThreshold | ( | ) |
An enumerated integer property defining the threshold for the digital inputs in Volt.
If a voltage applied to the digital input lies above the threshold this pin will be considered as 'logic 1' otherwise it will be considered as 'logic 0'.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TBlueFOXDigitalInputThreshold.
|
inherited |
Returns the number of mvIMPACT.acquire.DigitalInput s available for the mvIMPACT.acquire.Device associated with this object.
|
inherited |
Returns the number of digital outputs available for the mvIMPACT.acquire.Device associated with this object.
|
inherited |
Returns a pointer to a mvIMPACT.acquire.PulseStartConfiguration associated with this device.
nr | [in] The number of the pulse start configuration to return |
|
inherited |
Returns the number of mvIMPACT.acquire.PulseStartConfiguration objects available for the mvIMPACT.acquire.Device associated with this object.
|
inherited |
Returns a pointer to a mvIMPACT.acquire.RTCtrProgram associated with this device.
nr | [in] The number of the real time controller program to return |
|
inherited |
Returns a const pointer to a mvIMPACT.acquire.DigitalInput object.
nr | [in] The number of the digital input. |
|
inherited |
Returns a pointer to a mvIMPACT.acquire.DigitalOutput object.
nr | [in] The number of the digital output. |
|
inherited |
Returns the current state of the digital input register.
This function can be used to read all digital inputs as a single value. Each bit represents the status of one digital output pin.
EXAMPLE
A value of '3' returned by this function means that digital inputs 0 and 1 are currently have a voltage considered as logical '1' applied to them.
long readInputRegisterAtomic | ( | ) |
Returns the current state of the digital input register.
This function can be used to read all digital inputs as a single value at the same time. Each bit represents the status of one digital output pin.
EXAMPLE
A value of '3' returned by this function means that digital inputs 0 and 1 are currently have a voltage considered as logical '1' applied to them.
|
inherited |
Returns the current state of the digital output register.
This function can be used to read all digital outputs as a single value. Each bit represents the status of one digital output pin.
EXAMPLE
A value of '3' returned by this function means that digital output 0 and 1 are currently set to high.
long readOutputRegisterAtomic | ( | ) |
Returns the current state of the digital output register.
This function can be used to read all digital outputs as a single value at the same time. Each bit represents the status of one digital output pin.
EXAMPLE
A value of '3' returned by this function means that digital output 0 and 1 are currently set to high.
|
inherited |
Returns the number of mvIMPACT.acquire.RTCtrProgram s available for the mvIMPACT.acquire.Device associated with this object.
|
staticprotectedinherited |
|
staticprotected |
void writeOutputRegister | ( | long | value | ) |
Alters the state of the digital output register.
This function can be used to alter the state of certain (or all) digital outputs with a single function call. By working with the parameter mask certain bits can remain unaffected.
EXAMPLE
If the previous state of a digital output register was '5', which means that outputs 0 and 2 are set to high a call to mvIMPACT.acquire.IOSubSystem.writeOutputRegister with value set to 2 and mask set to 3 would result in '6' as the new value for the output register. Pin 2 will remain unaffected, as mask states just to modify pin 0 and 1 ( 3 = 00000011 binary ).
value | [in] The value to be applied to the output register set to '1' in this parameter means that the state of this output has to adopt its style according to the value in value. |
Reimplemented from IOSubSystem.
void writeOutputRegister | ( | long | value, |
long | mask ) |
Alters the state of the digital output register.
This function can be used to alter the state of certain (or all) digital outputs with a single function call. By working with the parameter mask certain bits can remain unaffected.
EXAMPLE
If the previous state of a digital output register was '5', which means that outputs 0 and 2 are set to high a call to mvIMPACT.acquire.IOSubSystem.writeOutputRegister with value set to 2 and mask set to 3 would result in '6' as the new value for the output register. Pin 2 will remain unaffected, as mask states just to modify pin 0 and 1 ( 3 = 00000011 binary ).
value | [in] The value to be applied to the output register |
mask | [in] The mask to specify which pins to modify. A bit set to '1' in this parameter means that the state of this output has to adopt its style according to the value in value. |
Reimplemented from IOSubSystem.
void writeOutputRegisterAtomic | ( | long | value | ) |
Alters the state of the digital output register.
This function can be used to alter the state of certain (or all) digital outputs with a single function call at the same time. By working with the parameter mask certain bits can remain unaffected.
EXAMPLE
If the previous state of a digital output register was '5', which means that outputs 0 and 2 are set to high a call to mvIMPACT.acquire.IOSubSystem.writeOutputRegister with value set to 2 and mask set to 3 would result in '6' as the new value for the output register. Pin 2 will remain unaffected, as mask states just to modify pin 0 and 1 ( 3 = 00000011 binary ).
value | [in] The value to be applied to the output register set to '1' in this parameter means that the state of this output has to adopt its style according to the value in value. |
void writeOutputRegisterAtomic | ( | long | value, |
long | mask ) |
Alters the state of the digital output register.
This function can be used to alter the state of certain (or all) digital outputs with a single function call at the same time. By working with the parameter mask certain bits can remain unaffected.
EXAMPLE
If the previous state of a digital output register was '5', which means that outputs 0 and 2 are set to high a call to mvIMPACT.acquire.IOSubSystem.writeOutputRegister with value set to 2 and mask set to 3 would result in '6' as the new value for the output register. Pin 2 will remain unaffected, as mask states just to modify pin 0 and 1 ( 3 = 00000011 binary ).
value | [in] The value to be applied to the output register |
mask | [in] The mask to specify which pins to modify. A bit set to '1' in this parameter means that the state of this output has to adopt its style according to the value in value. |
|
protectedinherited |