Impact Acquire SDK .NET
PulseStartConfiguration Class Referencesealed

A class to configure the creation of digital signals passed to one or more of the digital outputs of a device(Device specific interface layout only). More...

Inheritance diagram for PulseStartConfiguration:
[legend]

Public Member Functions

IEnumerable< TgetEnumerable< T > ()
 Returns an enumerator of a certain type that iterates through the collection.
 
IEnumerator< intGetEnumerator ()
 Returns an enumerator that iterates through the collection.
 
void restoreDefault ()
 Restores the default for every component of this collection.
 

Public Attributes

readonly EnumPropertyI< TDigitalSignaldigitalSignal = new EnumPropertyI<TDigitalSignal>()
 An enumerated property to define one or more signals that will trigger the creation of the associated output signals.
 
readonly PropertyI divider = new PropertyI()
 An integer property defining a factor by which the external input signal shall divided.
 
readonly PropertyF frequency_Hz = new PropertyF()
 A float property defining the frequency in Hz. for the creation of the output signals associated with configuration.
 
readonly EnumPropertyI< TPulseStartTriggerpulseStartTrigger = new EnumPropertyI<TPulseStartTrigger>()
 An enumerated integer property that will define how/when a digital signal is generated by the device.
 
readonly EnumPropertyI< TTriggerMomenttriggerMoment = new EnumPropertyI<TTriggerMoment>()
 An enumerated integer property defining the exact moment when this pulse start configuration shall be triggered.
 

Properties

IEnumerable< ComponentcomponentEnumerable [get]
 Returns an enumerator that iterates through the collection.
 
IEnumerable< ComponentListcomponentListEnumerable [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 number [get]
 Returns the internal number associated with this pulse start configuration.
 

Detailed Description

A class to configure the creation of digital signals passed to one or more of the digital outputs of a device(Device specific interface layout only).

Note
This class will only be available if mv.impact.acquire.Device.interfaceLayout is set to mv.impact.acquire.TDeviceInterfaceLayout.dilDeviceSpecific before the device is opened.

Member Function Documentation

◆ getEnumerable< T >()

IEnumerable< T > getEnumerable< T > ( )
inlineinherited

Returns an enumerator of a certain type that iterates through the collection.

This interface will allow to e.g. write code like this:

Info info = new Info(pDev);
foreach (Property c in info.getEnumerable<Property>())
{
}
A template class to represent 32 bit integer properties and 32 bit enumerated integer properties.
Definition EnumPropertyI.cs:61
A class to query various general information about the device, its driver and other information.
Definition Info.cs:10
A base class for properties.
Definition Property.cs:109

See the frameworks documentation about the System.Collections.IEnumerable interface for more information.

Returns
An enumerator that iterates through the collection

◆ GetEnumerator()

IEnumerator< int > GetEnumerator ( )
inlineinherited

Returns an enumerator that iterates through the collection.

See the frameworks documentation about the System.Collections.IEnumerable interface for more information.

Returns
An enumerator that iterates through the collection

◆ restoreDefault()

void restoreDefault ( )
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.

Note
The caller must have the right to modify the component. Otherwise an exception will be thrown.

Member Data Documentation

◆ digitalSignal

An enumerated property to define one or more signals that will trigger the creation of the associated output signals.

This property will be visible and thus active when mv.impact.acquire.PulseStartConfiguration.digitalSignal is switched to mv.impact.acquire.TPulseStartTrigger.pstDigitalSignal.

Depending on the device one or more signals can be defined as 'active for output signal creation'. When more than one signal can be defined, calling mv.impact.acquire.EnumPropertyI<T>.allowsValueCombinations will return true.

Valid values for this property are defined by the enumeration mv.impact.acquire.TDigitalSignal.

mvHYPERION specific: Currently when more than one signal can be defined here, these signals will have an 'or relationship', which means that when any of these signals is detected, it will trigger the creation of the associated output signals.

The following signals are defined:

enum Value Associated signal
mv.impact.acquire.TDigitalSignal.dsSignal1 Line Valid(J1)
mv.impact.acquire.TDigitalSignal.dsSignal2 Line Valid(J2)
mv.impact.acquire.TDigitalSignal.dsSignal3 Frame Valid(J1)
mv.impact.acquire.TDigitalSignal.dsSignal4 Frame Valid(J2)
mv.impact.acquire.TDigitalSignal.dsSignal5 Trigger-In(J3.4/J3.5)
mv.impact.acquire.TDigitalSignal.dsSignal6 Sync-In(J3.6/J3.7)
mv.impact.acquire.TDigitalSignal.dsSignal7 Trigger-In(J4.4/J4.5)
mv.impact.acquire.TDigitalSignal.dsSignal8 Sync-In(J4.6/J4.7)
mv.impact.acquire.TDigitalSignal.dsSignal9 DigIn0(J6.9)
mv.impact.acquire.TDigitalSignal.dsSignal10 DigIn1(J6.10)
mv.impact.acquire.TDigitalSignal.dsSignal11 DigIn2(J6.11)
mv.impact.acquire.TDigitalSignal.dsSignal12 DigIn3(J6.12)

◆ divider

An integer property defining a factor by which the external input signal shall divided.

Every divider-value pulse will be used then. All others will be skipped.

◆ frequency_Hz

readonly PropertyF frequency_Hz = new PropertyF()

A float property defining the frequency in Hz. for the creation of the output signals associated with configuration.

This property will be visible and thus active when mv.impact.acquire.PulseStartConfiguration.digitalSignal is switched to mv.impact.acquire.TPulseStartTrigger.pstPeriodically.

◆ pulseStartTrigger

An enumerated integer property that will define how/when a digital signal is generated by the device.

When certain digital output signals

Valid values for this property are defined by the enumeration mv.impact.acquire.TPulseStartTrigger.

Note
Not every device will offer the same options. Check for valid modes by reading the properties translation dictionary with the functions mv.impact.acquire.EnumPropertyI<T>.getTranslationDictString and mv.impact.acquire.EnumPropertyI<T>.getTranslationDictValue. There is a more efficient function mv.impact.acquire.PropertyIPulseStartTrigger.getTranslationDict. in addition to the functions mentioned above.

◆ triggerMoment

An enumerated integer property defining the exact moment when this pulse start configuration shall be triggered.

Valid values for this property are defined by the enumeration mv.impact.acquire.TTriggerMoment.

Property Documentation

◆ componentEnumerable

IEnumerable<Component> componentEnumerable
getinherited

Returns an enumerator that iterates through the collection.

This interface will allow to e.g. write code like this:

Info info = new Info(pDev);
foreach (Component c in info.componentEnumerable)
{
Console.WriteLine("{0}", c.name);
}
String name
Returns the name of the component referenced by this object.
Definition ComponentAccess.cs:167
A base class to implement access to internal driver components.
Definition Component.cs:133

See the frameworks documentation about the System.Collections.IEnumerable interface for more information.

Returns
An enumerator that iterates through the collection

◆ componentListEnumerable

IEnumerable<ComponentList> componentListEnumerable
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:

Info info = new Info(pDev);
foreach (ComponentList cl in info.componentListEnumerable)
{
Console.WriteLine("{0}", cl.name);
}
A class to provide access to component lists.
Definition ComponentList.cs:14

See the frameworks documentation about the System.Collections.IEnumerable interface for more information.

Returns
An enumerator that iterates through the collection

◆ hObj

int hObj
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.

Returns
A unique identifier for the component referenced by this object.

◆ number

int number
get

Returns the internal number associated with this pulse start configuration.