Impact Acquire SDK .NET
|
A class to handle the digital inputs and outputs for mvBlueFOX USB cameras (Device specific interface layout only). More...
Public Member Functions | |
PulseStartConfiguration | getPulseStartConfiguration (int nr) |
Returns a pointer to a mv.impact.acquire.PulseStartConfiguration associated with this device. | |
RTCtrProgram | getRTCtrProgram (int nr) |
Returns a pointer to a mv.impact.acquire.RTCtrProgram associated with this device. | |
DigitalInput | input (int nr) |
Returns a const pointer to a mv.impact.acquire.DigitalInput object. | |
IOSubSystemBlueFOX (Device device) | |
Constructs a new mv.impact.acquire.IOSubSystemBlueFOX object. | |
DigitalOutput | output (int nr) |
Returns a pointer to a mv.impact.acquire.DigitalOutput object. | |
override uint | readInputRegister () |
Returns the current state of the digital output register. | |
override uint | readOutputRegister () |
Returns the current state of the digital output register. | |
override void | writeOutputRegister (uint value) |
Alters the state of the digital output register. | |
override void | writeOutputRegister (uint value, uint mask) |
Alters the state of the digital output register. | |
Public Attributes | |
readonly EnumPropertyI< TBlueFOXDigitalInputThreshold > | digitalInputThreshold = new EnumPropertyI<TBlueFOXDigitalInputThreshold>() |
An enumerated integer property defining the threshold for the digital inputs in Volt. | |
Properties | |
int | inputCount [get] |
Returns the number of mv.impact.acquire.DigitalInput s available for the mv.impact.acquire.Device associated with this object. | |
int | outputCount [get] |
Returns the number of digital outputs available for the mv.impact.acquire.Device associated with this object. | |
int | pulseStartConfigurationCount [get] |
Returns the number of mv.impact.acquire.PulseStartConfiguration objects available for the mv.impact.acquire.Device associated with this object. | |
int | RTCtrProgramCount [get] |
Returns the number of mv.impact.acquire.RTCtrProgram s available for the mv.impact.acquire.Device associated with this object. | |
A class to handle the digital inputs and outputs for mvBlueFOX USB cameras (Device specific interface layout only).
A sample to show how to work with this class and the mvBlueFOX (Creating and instance of this class for another device might aise an exception):
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.
|
inline |
Constructs a new mv.impact.acquire.IOSubSystemBlueFOX object.
[in] | device | A pointer to a mv.impact.acquire.Device object obtained from a mv.impact.acquire.DeviceManager object. |
|
inlineinherited |
Returns a pointer to a mv.impact.acquire.PulseStartConfiguration associated with this device.
[in] | nr | The number of the pulse start configuration to return |
|
inlineinherited |
Returns a pointer to a mv.impact.acquire.RTCtrProgram associated with this device.
[in] | nr | The number of the real time controller program to return |
|
inlineinherited |
Returns a const pointer to a mv.impact.acquire.DigitalInput object.
[in] | nr | The number of the digital input. |
|
inlineinherited |
Returns a pointer to a mv.impact.acquire.DigitalOutput object.
[in] | nr | The number of the digital output. |
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.
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.
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 mv.impact.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 ).
[in] | value | The value to be applied to the output register |
Reimplemented from IOSubSystem.
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 mv.impact.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 ).
[in] | value | The value to be applied to the output register |
[in] | mask | 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. |
readonly EnumPropertyI<TBlueFOXDigitalInputThreshold> digitalInputThreshold = new EnumPropertyI<TBlueFOXDigitalInputThreshold>() |
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 mv.impact.acquire.TBlueFOXDigitalInputThreshold.
|
getinherited |
Returns the number of mv.impact.acquire.DigitalInput s available for the mv.impact.acquire.Device associated with this object.
|
getinherited |
Returns the number of digital outputs available for the mv.impact.acquire.Device associated with this object.
|
getinherited |
Returns the number of mv.impact.acquire.PulseStartConfiguration objects available for the mv.impact.acquire.Device associated with this object.
|
getinherited |
Returns the number of mv.impact.acquire.RTCtrProgram s available for the mv.impact.acquire.Device associated with this object.