Counter.AFPData Property
- Mise à jour2023-02-21
- Temps de lecture : 3 minute(s)
Gets or sets an array of data used to configure the Counter feature of AutomaticFrameProcessing.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Overridable Property AFPData As UInteger() |
| C# |
|---|
public virtual uint[] AFPData { get; set; } |
| Visual C++ |
|---|
public: virtual property array<unsigned int>^ AFPData { array<unsigned int>^ get (); void set (array<unsigned int>^ value); } |
Property Value
An array whose elements are described in the Remarks section.
Remarks
The array consists of the following elements:
- AFPData[0]—The width, or number of bits to use for the counter. The maximum is 8.
- AFPData[1]—A 32-bit unsigned integer whose most significant 16 bits specify the counter's bit offset, the number of bits by which to offset the bit(s) used for the counter. For example, given a bit offset of 2 and a width of 4, the counter exists on bits 2-5. The least significant 16 bits of this value specify the the storage offset, the number of bytes by which to offset the byte on which the counter data is stored.
- AFPData[2]—The initial value at which to start the counter. You can specify any number between 0 and 255. When the counter passes 255, it starts over at 0.
- AFPData[3]—A value that indicates whether to use the AlternateChannel you specify to trigger writing data. A value of 1 specifies to update data whenever the value of the AlternateChannel is non-zero. A value of 0 specifies to update data continuously.