Impact Acquire SDK Java
|
A class to create complex digital output signals(Device specific interface layout only) (deprecated. More...
Public Member Functions | |
int | defineLineScanPulse (DigitalOutput pOutput, int pulseStartEventValue, int softwareSignalPeriod_pclk, int width_pclk, int polarity, long divider) |
Defines a pulse to trigger line scan cameras. | |
int | definePassThroughSignal (DigitalOutput pOutput, int digitalSignal) |
Assigns a certain signal to a digital output. | |
int | definePassThroughSignal (DigitalOutput pOutput, int digitalSignal, boolean boInverted) |
Assigns a certain signal to a digital output. | |
int | definePassThroughSignal (DigitalOutput pOutput, String digitalSignal) |
Assigning a certain signal to a digital output. | |
int | definePassThroughSignal (DigitalOutput pOutput, String digitalSignal, boolean boInverted) |
Assigning a certain signal to a digital output. | |
int | definePulse (DigitalOutput pOutput, int polarity, int delay, int width) |
Assigns a single pulse to a digital output. | |
int | definePulse (DigitalOutput pOutput, int polarity, int delay, int width, PulseStartConfiguration pPulseStartConfiguration) |
Assigns a single pulse to a digital output. | |
int | definePulseSequence (DigitalOutput pOutput, int startLevel, IntVector sequence) |
Assigns a complex signal to a digital output. | |
int | definePulseSequence (DigitalOutput pOutput, int startLevel, IntVector sequence, PulseStartConfiguration pPulseStartConfiguration) |
Assigns a complex signal to a digital output. | |
synchronized void | delete () |
PropertyI | getControlMode () |
An enumerated integer property defining the general method used to create output signals. | |
PropertyI | getImageTrigger () |
An enumerated integer property defining the general behaviour of created output signals. | |
PropertyI | getPulseStartEvent () |
An enumerated integer property defining the general behaviour of created output signals. | |
long | getValidPassThroughSignalCount (DigitalOutput pOutput) |
Returns the number of signals that can be used for pass through signal definitions for a certain digital output pin of this device. | |
String | getValidPassThroughSignalString (DigitalOutput pOutput) |
Receives a valid string representation of a signal that can be passed directly to a certain digital output pin. | |
String | getValidPassThroughSignalString (DigitalOutput pOutput, int index) |
Receives a valid string representation of a signal that can be passed directly to a certain digital output pin. | |
int | getValidPassThroughSignalValue (DigitalOutput pOutput) |
Receives a valid signal that can be passed directly to a certain digital output pin. | |
int | getValidPassThroughSignalValue (DigitalOutput pOutput, int index) |
Receives a valid signal that can be passed directly to a certain digital output pin. | |
int | getValidSignalsForPassThroughModes (DigitalOutput pOutput, StringIntVector sequence) |
Receives a list of valid signals that can be passed directly to a certain digital output pin. | |
OutputSignalGeneratorFrameGrabber (OutputSignalGeneratorFrameGrabber src) | |
Constructs a new mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber from an existing one. | |
int | undefineSignal (DigitalOutput pOutput) |
Removes the signal definition from the specified output pin. | |
Protected Member Functions | |
void | finalize () |
OutputSignalGeneratorFrameGrabber (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (OutputSignalGeneratorFrameGrabber obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
A class to create complex digital output signals(Device specific interface layout only) (deprecated.
Instances of this class can be used to create more complex digital output related signals like a single pulse or sequence of pulses on a certain pin as a reaction on a signal on one of the digital inputs of a device.
The availability of the features provided by this class heavily depends on the used capture device. Therefore it's crucial to check if a desired feature is available at all. This class either provides the functions needed for these checks or its functions will return appropriate error codes.
Pointers to mvIMPACT.acquire.DigitalOutput objects MUST be obtained by an instance to a mvIMPACT.acquire.IOSubSystemFrameGrabber object of the same device.
Whenever a signal has been defined for a a certain digital output pin, this pin can no longer controlled using the corresponding functions in the class mvIMPACT.acquire.DigitalOutput. In order to do that the pin in question must be released using the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.undefineSignal.
|
protected |
Constructs a new mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber from an existing one.
src | [in] A constant reference to the mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber object, this object shall be created from |
int defineLineScanPulse | ( | DigitalOutput | pOutput, |
int | pulseStartEventValue, | ||
int | softwareSignalPeriod_pclk, | ||
int | width_pclk, | ||
int | polarity, | ||
long | divider ) |
Defines a pulse to trigger line scan cameras.
Calling this function without setting mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getControlMode() to mvIMPACT.acquire.TDigitalOutputControlMode.docmRTC will have NO effect.
divider | [in] Defines the divider value if pulseStartEventValue is mvIMPACT.acquire.TDeviceSignalOutputStartEvent.dsosePeriodically |
int definePassThroughSignal | ( | DigitalOutput | pOutput, |
int | digitalSignal ) |
Assigns a certain signal to a digital output.
Some digital input signals or even some internal signals can be passed directly to one or more digital outputs.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
digitalSignal | [in] The digital signal that shall be passed to the digital output. Valid values for this parameter will be obtained by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidSignalsForPassThroughModes. |
int definePassThroughSignal | ( | DigitalOutput | pOutput, |
int | digitalSignal, | ||
boolean | boInverted ) |
Assigns a certain signal to a digital output.
Some digital input signals or even some internal signals can be passed directly to one or more digital outputs.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
digitalSignal | [in] The digital signal that shall be passed to the digital output. Valid values for this parameter will be obtained by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidSignalsForPassThroughModes. |
boInverted | [in] If set to true, the signal will be inverted internally before being passed to the output. |
int definePassThroughSignal | ( | DigitalOutput | pOutput, |
String | digitalSignal ) |
Assigning a certain signal to a digital output.
Some digital input signals or even some internal signals can be passed directly to one or more digital outputs.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
digitalSignal | [in] The string representation of the digital output that shall be passed to the digital output. Valid values for this parameter will be obtained by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidSignalsForPassThroughModes. |
int definePassThroughSignal | ( | DigitalOutput | pOutput, |
String | digitalSignal, | ||
boolean | boInverted ) |
Assigning a certain signal to a digital output.
Some digital input signals or even some internal signals can be passed directly to one or more digital outputs.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
digitalSignal | [in] The string representation of the digital output that shall be passed to the digital output. Valid values for this parameter will be obtained by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidSignalsForPassThroughModes. |
boInverted | [in] If set to true, the signal will be inverted internally before being passed to the output. |
int definePulse | ( | DigitalOutput | pOutput, |
int | polarity, | ||
int | delay, | ||
int | width ) |
Assigns a single pulse to a digital output.
Whenever a single pulse of a certain duration and polarity shall be generated on a digital output as a reaction on a trigger signal that was either generated by one of digital inputs of the device or software this is the right function to use.
When the signal is generated can be defined by the properties mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getPulseStartEvent() and mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger().
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
polarity | [in] The polarity of the pulse to generate. |
delay | [in] The delay after the trigger event before a signal generation starts |
width | [in] The width of the pulse to generate Not every device will support the use of pulse start configurations. Valid objects that can be passed to this function can be obtained from a call to mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration, and mvIMPACT.acquire.IOSubSystem.getPulseStartConfigurationCount. If objects of these type are not supported, pass 0 or ignore this parameter. In that case the property mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger() will define the start condition for the signal output. |
int definePulse | ( | DigitalOutput | pOutput, |
int | polarity, | ||
int | delay, | ||
int | width, | ||
PulseStartConfiguration | pPulseStartConfiguration ) |
Assigns a single pulse to a digital output.
Whenever a single pulse of a certain duration and polarity shall be generated on a digital output as a reaction on a trigger signal that was either generated by one of digital inputs of the device or software this is the right function to use.
When the signal is generated can be defined by the properties mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getPulseStartEvent() and mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger().
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
polarity | [in] The polarity of the pulse to generate. |
delay | [in] The delay after the trigger event before a signal generation starts |
width | [in] The width of the pulse to generate |
pPulseStartConfiguration | [in] The pulse start configuration to be used for this pulse sequence. Not every device will support the use of pulse start configurations. Valid objects that can be passed to this function can be obtained from a call to mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration, and mvIMPACT.acquire.IOSubSystem.getPulseStartConfigurationCount. If objects of these type are not supported, pass 0 or ignore this parameter. In that case the property mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger() will define the start condition for the signal output. |
int definePulseSequence | ( | DigitalOutput | pOutput, |
int | startLevel, | ||
IntVector | sequence ) |
Assigns a complex signal to a digital output.
This function can be used when a complex signal shall be generated on a digital output as a reaction on a trigger signal that was either generated by one of digital inputs of the device or software.
When the signal is generated can be defined by the properties mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getPulseStartEvent() and mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger().
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
startLevel | [in] The start level of the generated signal. |
sequence | [in] An array of integer values. Each values defines a switch in polarity of the signal after 'x' us. An array containing '1000', '2000' therefore will describe a signal starting with startLevel, switches polarity after 1000 us and then again switches polarity after 2000 us. Not every device will support the use of pulse start configurations. Valid objects that can be passed to this function can be obtained from a call to mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration, and mvIMPACT.acquire.IOSubSystem.getPulseStartConfigurationCount. If objects of these type are not supported, pass 0 or ignore this parameter. In that case the property mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger() will define the start condition for the signal output. |
int definePulseSequence | ( | DigitalOutput | pOutput, |
int | startLevel, | ||
IntVector | sequence, | ||
PulseStartConfiguration | pPulseStartConfiguration ) |
Assigns a complex signal to a digital output.
This function can be used when a complex signal shall be generated on a digital output as a reaction on a trigger signal that was either generated by one of digital inputs of the device or software.
When the signal is generated can be defined by the properties mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getPulseStartEvent() and mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger().
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
startLevel | [in] The start level of the generated signal. |
sequence | [in] An array of integer values. Each values defines a switch in polarity of the signal after 'x' us. An array containing '1000', '2000' therefore will describe a signal starting with startLevel, switches polarity after 1000 us and then again switches polarity after 2000 us. |
pPulseStartConfiguration | [in] The pulse start configuration to be used for this pulse sequence. Not every device will support the use of pulse start configurations. Valid objects that can be passed to this function can be obtained from a call to mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration, and mvIMPACT.acquire.IOSubSystem.getPulseStartConfigurationCount. If objects of these type are not supported, pass 0 or ignore this parameter. In that case the property mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getImageTrigger() will define the start condition for the signal output. |
synchronized void delete | ( | ) |
|
protected |
PropertyI getControlMode | ( | ) |
An enumerated integer property defining the general method used to create output signals.
This setting always applies to every signal defined. Modifying this property will also change the behaviour of signals already defined.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TDigitalOutputControlMode.
When switching to mvIMPACT.acquire.TDigitalOutputControlMode.docmRTC mode only one signal can be created currently.
Some devices will offer a more flexible way to define this behaviour. In this case, this property won't be available (a call to the function mvIMPACT.acquire.Component.isValid will return false). However then calls to mvIMPACT.acquire.IOSubSystem.getPulseStartConfigurationCount and mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration will succeed and the objects returned by mvIMPACT.acquire.IOSubSystem.getPulseStartConfiguration (mvIMPACT.acquire.PulseStartConfiguration) will provide a more sophisticated way to define the signal output behaviour of a device.
PropertyI getImageTrigger | ( | ) |
An enumerated integer property defining the general behaviour of created output signals.
This setting always applies to every signal defined. Modifying this property will also change the behaviour of signals already defined.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TDeviceImageTrigger.
PropertyI getPulseStartEvent | ( | ) |
An enumerated integer property defining the general behaviour of created output signals.
This setting always applies to every signal defined. Modifying this property will also change the behaviour of signals already defined.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TDeviceSignalOutputStartEvent.
long getValidPassThroughSignalCount | ( | DigitalOutput | pOutput | ) |
Returns the number of signals that can be used for pass through signal definitions for a certain digital output pin of this device.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
String getValidPassThroughSignalString | ( | DigitalOutput | pOutput | ) |
Receives a valid string representation of a signal that can be passed directly to a certain digital output pin.
Whenever it is necessary to output a certain signal (e.g. a digital input signal connected to the device or an internal digital signal like e.g. a frame valid signal) to a digital output of the device this can be done by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.definePassThroughSignal
As the type of signals that a device can send to a digital output depends heavily on the device and even on the digital output as well, this function together with the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalString can be used to query a list of strings and a numerical representation for each signal that can be sent to this digital output.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. call mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalCount |
String getValidPassThroughSignalString | ( | DigitalOutput | pOutput, |
int | index ) |
Receives a valid string representation of a signal that can be passed directly to a certain digital output pin.
Whenever it is necessary to output a certain signal (e.g. a digital input signal connected to the device or an internal digital signal like e.g. a frame valid signal) to a digital output of the device this can be done by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.definePassThroughSignal
As the type of signals that a device can send to a digital output depends heavily on the device and even on the digital output as well, this function together with the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalString can be used to query a list of strings and a numerical representation for each signal that can be sent to this digital output.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
index | [in] The index of the entry to read from the property. The find out the last valid value for this parameter call mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalCount |
int getValidPassThroughSignalValue | ( | DigitalOutput | pOutput | ) |
Receives a valid signal that can be passed directly to a certain digital output pin.
Whenever it is necessary to output a certain signal (e.g. a digital input signal connected to the device or an internal digital signal like e.g. a frame valid signal) to a digital output of the device this can be done by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.definePassThroughSignal
As the type of signals that a device can send to a digital output depends heavily on the device and even on the digital output as well, this function together with the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalString can be used to query a list of strings and a numerical representation for each signal that can be sent to this digital output.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. call mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalCount |
int getValidPassThroughSignalValue | ( | DigitalOutput | pOutput, |
int | index ) |
Receives a valid signal that can be passed directly to a certain digital output pin.
Whenever it is necessary to output a certain signal (e.g. a digital input signal connected to the device or an internal digital signal like e.g. a frame valid signal) to a digital output of the device this can be done by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.definePassThroughSignal
As the type of signals that a device can send to a digital output depends heavily on the device and even on the digital output as well, this function together with the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalString can be used to query a list of strings and a numerical representation for each signal that can be sent to this digital output.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
index | [in] The index of the entry to read from the property. The find out the last valid value for this parameter call mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.getValidPassThroughSignalCount |
int getValidSignalsForPassThroughModes | ( | DigitalOutput | pOutput, |
StringIntVector | sequence ) |
Receives a list of valid signals that can be passed directly to a certain digital output pin.
Whenever it is necessary to output a certain signal (e.g. a digital input signal connected to the device or an internal digital signal like e.g. a frame valid signal) to a digital output of the device this can be done by a call to the function mvIMPACT.acquire.OutputSignalGeneratorFrameGrabber.definePassThroughSignal
As the type of signals that a device can send to a digital output depends heavily on the device and even on the digital output as well, this function will return a list of strings and a numerical representation for each signal that can be sent to this digital output.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
sequence | [out] A reference to a vector that will receive the list of allowed digital signals for this particular digital output pin. |
|
staticprotected |
int undefineSignal | ( | DigitalOutput | pOutput | ) |
Removes the signal definition from the specified output pin.
Whenever a signal has been defined for a a certain digital output pin, this pin can no longer controlled using the corresponding functions in the class mvIMPACT.acquire.DigitalOutput. This function removes the signal definition and hands back manual control of that digital output to the user.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemFrameGrabber for this device. |
|
protected |