Impact Acquire SDK .NET
|
A class to represent real time control programs (Device specific interface layout only). More...
Public Member Functions | |
IEnumerable< T > | getEnumerable< T > () |
Returns an enumerator of a certain type that iterates through the collection. | |
IEnumerator< int > | GetEnumerator () |
Returns an enumerator that iterates through the collection. | |
int | load () |
Loads an existing program specified by the property mv.impact.acquire.RTCtrProgram.fileName. | |
RTCtrProgramStep | programStep (int nr) |
Returns a pointer to a program instruction of the program. | |
void | restoreDefault () |
Restores the default for every component of this collection. | |
int | save () |
Stores the current state of the program under the name specified by the property mv.impact.acquire.RTCtrProgram.fileName. | |
Public Attributes | |
readonly PropertyS | fileName = new PropertyS() |
A string property storing the filename for this program. | |
readonly EnumPropertyI< TRTCtrlModes > | mode = new EnumPropertyI<TRTCtrlModes>() |
An enumerated integer property defining the current state this program is into. | |
readonly PropertyS | programState = new PropertyS() |
A string property (read-only) containing information about the current state of the program. | |
Properties | |
IEnumerable< Component > | componentEnumerable [get] |
Returns an enumerator that iterates through the collection. | |
IEnumerable< ComponentList > | componentListEnumerable [get] |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection. | |
int | hObj [get] |
Returns a unique identifier for the component collection referenced by this object. | |
int | programSize [get, set] |
A property to control the number of instructions this program consist of. | |
A class to represent real time control programs (Device specific interface layout only).
Real time control programs can be used to control the way how an when images are exposed and transmitted to the user.
An mv.impact.acquire.RTCtrProgram e.g. can be used to achieve a constant frame rate with a desired frequency. This can be done e.g. by triggering the camera with a constant frequency.
Example An appropriate signal for triggering the camera can be generated as follows:
Once this program has been defined it can be executed by setting the mode property to mv.impact.acquire.TRTCtrlModes.rtctrlModeRun. As in this example we do not wait for an external signal the property triggerMode must be set to a value demanding an external signal (e.g. mv.impact.acquire.TCameraTriggerMode.ctmOnHighLevel ; You will find a summary of the valid trigger modes in the sensor specific data in the "Sensor data" chapter of the specific product manual. triggerMode must be set to mv.impact.acquire.TCameraTriggerSource.ctsRTCtrl to inform the driver that the signal generate by the real time program shall be used as the trigger signal.
|
inlineinherited |
Returns an enumerator of a certain type that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Returns an enumerator that iterates through the collection.
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inline |
Loads an existing program specified by the property mv.impact.acquire.RTCtrProgram.fileName.
The default file extension for these programs is '*.rtp'. If the user doesn't specify this file extension, it is appended automatically. Only files of this type can be loaded by this function.
|
inline |
Returns a pointer to a program instruction of the program.
[in] | nr | The index of the program instruction to obtain. |
|
inlineinherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
|
inline |
Stores the current state of the program under the name specified by the property mv.impact.acquire.RTCtrProgram.fileName.
The default file extension for files stored using this function is '*.rtp'. If the user doesn't specify this file extension, it is appended automatically. Only files of this type can be loaded by the function mv.impact.acquire.RTCtrProgram.load.
A string property storing the filename for this program.
mv.impact.acquire.RTCtrProgram s can be stored and loaded from/to XML files. To do this, this property must be set to the desired filename.
readonly EnumPropertyI<TRTCtrlModes> mode = new EnumPropertyI<TRTCtrlModes>() |
An enumerated integer property defining the current state this program is into.
In order to affect the behaviour of the image acquisition an mv.impact.acquire.RTCtrProgram must be in running mode. Apart from that the property triggerSource must be set appropriately.
Valid values for this property are defined by the enumeration mv.impact.acquire.TRTCtrlModes.
A string property (read-only) containing information about the current state of the program.
|
getinherited |
Returns an enumerator that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mv.impact.acquire.ComponentList.
|
getset |
A property to control the number of instructions this program consist of.