ConOpSys V2970  P004.07
ANVILEX control operating system
Signal_Recorder.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Signal_Recorder.h
3 //! @brief Signal recorder class header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Engine/Signal_Recorder/Signal_Recorder.h $
7 //! $Revision: 2794 $
8 //! $Date: 2021-07-11 04:06:01 +0500 (So, 11 Jul 2021) $
9 //! $Author: minch $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 
40 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include standard libraries header files
48 //------------------------------------------------------------------------------
49 
50 //------------------------------------------------------------------------------
51 // Include thrid party header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include ConOpSys header files
56 //------------------------------------------------------------------------------
57 
58 #include "Scope_Defines.h"
59 #include "Parameter_Base.h"
60 #include "ConOpSys_Variant.h"
61 #include "Block_Output_Connector.h"
62 
63 //------------------------------------------------------------------------------
64 // Include ConOpSys application header files
65 //------------------------------------------------------------------------------
66 
67 //------------------------------------------------------------------------------
68 // Macros
69 //------------------------------------------------------------------------------
70 
71 //------------------------------------------------------------------------------
72 // Trigger mask
73 // ANVILEX: Change to TConOpSys_Variant
74 //------------------------------------------------------------------------------
75 /*
76  // ANVILEX: Reserved for the functionality expansion
77 typedef union
78 {
79 
80  unsigned char Unsigned_8_Bit; // Unsigned byte value of the object
81  char Signed_8_Bit; // Byte value of the object
82  unsigned int Unsigned_16_Bit; // Unsigned integer value of the object
83  int Signed_16_Bit; // Integer value of the object
84  unsigned long Unsigned_32_Bit; // Unsigned long integer value of the object
85  long Signed_32_Bit; // Long integer value of the object
86  unsigned long long Unsigned_64_Bit; // Unsigned 64 bit integer value of the object
87  long long Signed_64_Bit; // 64 bit integer value of the object
88 
89 } TSignal_Recorder_Trigger_Bit_Pattern_Mask;
90 */
91 //------------------------------------------------------------------------------
92 // Sample data storage
93 // ANVILEX: Change to TConOpSys_Variant
94 //------------------------------------------------------------------------------
95 
96 typedef struct
97 {
98 
99  union
100  {
101 
102  BOOL bool_Value; // Boolean value of the object
103  U8 u8_Value; // Unsigned byte value of the object
104  C8 i8_Value; // Byte value of the object
105  U16 u16_Value; // Unsigned integer value of the object
106  I16 i16_Value; // Integer value of the object
107  U32 u32_Value; // Unsigned long integer value of the object
108  I32 i32_Value; // Long integer value of the object
109  U64 u64_Value; // Unsigned 64 bit integer value of the object
110  I64 i64_Value; // 64 bit integer value of the object
111  F32 f32_Value; // Float value of the object
112  F64 f64_Value; // Double value of the object
113 
114  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
115 
116  F80 f80_Value; // Long double value of the object
117 
118  #endif
119 
120  // Raw data buffer
121 // U8 u8_Buffer[ 10 ];
122  U8 u8_Buffer[ CONOPSYS_VARIANT_DATA_SIZE ];
123 
124  } Data;
125 
127 
128 
129 //------------------------------------------------------------------------------
130 // Class definitions
131 //------------------------------------------------------------------------------
132 
133 //! @brief Signal recorder class
135 {
136 
137  //----------------------------------------------------------------------------
138  // Public defines, methods and variables
139  //----------------------------------------------------------------------------
140 
141  public:
142 
143  //!-------------------------------------------------------------------------
144  //! @brief Class constructor method.
145  //! @note None
146  //! \par Override
147  //! Not allowed
148  //! @attention Don't call this method directly.
149  //--------------------------------------------------------------------------
150 
152 
153  //!-------------------------------------------------------------------------
154  //! @brief Class destructor method.
155  //! @note None
156  //! \par Override
157  //! Not allowed
158  //! @attention Don't call this method directly.
159  //--------------------------------------------------------------------------
160 
162 
163  // General methods
164  VOID Execute(); //!< Data processing method
165  VOID Set_Sample_Time( F32 f32_New_Sample_Time ); //!< Set new sample time
166  BOOL Is_Armed(); //!< Trigger armed status
167  VOID Force(); //!< Force trigger method
168 
169  // Trigger related methods
170  VOID Set_Trigger_State( TSignal_Recorder_Trigger_State enum_New_Trigger_State );
171  VOID Get_Trigger_State( TSignal_Recorder_Trigger_State *enum_Actual_Trigger_State );
172 
173  BOOL Set_Trigger_Position( U32 u32_New_Trigger_Position );
174  VOID Get_Trigger_Position( U32 *u32_Actual_Trigger_Position );
175 
176  BOOL Set_Trigger_Source( TParameter_Base *struct_Parameter );
177  BOOL Set_Trigger_Source( TBlock_Output_Connector *object_Connector );
178  BOOL Get_Trigger_Source( TParameter_Base **struct_Parameter );
179 
180  VOID Set_Trigger_Mode( TSignal_Recorder_Trigger_Mode enum_New_Trigger_Mode );
181  VOID Get_Trigger_Mode( TSignal_Recorder_Trigger_Mode *enum_Actual_Trigger_Mode );
182 
183 // Reserved for functionality expansion
184 // VOID Set_Trigger_Bit_Pattern_Mask( TSignal_Recorder_Trigger_Bit_Pattern_Mask struct_New_Trigger_Bit_Pattern_Mask );
185 // VOID Get_Trigger_Bit_Pattern_Mask( TSignal_Recorder_Trigger_Bit_Pattern_Mask *struct_Actual_Trigger_Bit_Pattern_Mask );
186 
187  // Data related methods
188  U32 Get_Data_Channel_Count(); //!< Get scope channel count
191 
196 
197  BOOL Set_Channel_Data_Decimation( U32 u32_Channel_Data_Decimation );
198  BOOL Get_Channel_Data_Decimation( U32 *u32_Channel_Data_Decimation );
199 
200  BOOL Get_Channel_Data_Timebase( F32 *f32_Channel_Data_Timebase );
201 
202  // Set data channel source methods
203 // BOOL Set_Data_Channel_Source( TParameter_Base &object_Parameter );
204  BOOL Set_Data_Channel_Source( TParameter_Base *object_Parameter );
205 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, TParameter_Base &object_Parameter );
206  BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, TParameter_Base *object_Parameter );
207 
208  // Second level methods, obsolete
209 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, BOOL *bool_Variable );
210 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, U8 *u8_Variable );
211 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, I8 *i8_Variable );
212 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, U16 *u16_Variable );
213 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, I16 *i16_Variable );
214 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, U32 *u32_Variable );
215 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, I32 *i32_Variable );
216 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, U64 *u64_Variable );
217 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, I64 *i64_Variable );
218 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, F32 *f32_Variable );
219 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, F64 *f64_Variable );
220 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, F80 *f80_Variable );
221 
222  // ANVILEX: Reserved for functionality expansion
223 // BOOL Set_Data_Channel_Source( U32 u32_Data_Channel_Index, TBlock_Output_Connector *object_Connector );
224 
225  // Get data channel source methods
226  BOOL Get_Data_Channel_Source( TParameter_Base **object_Parameter );
227  BOOL Get_Data_Channel_Source( U32 u32_Data_Channel_Index, TParameter_Base **object_Parameter );
228 
229  // Get data element
231  BOOL Get_Data_Channel_Element( U32 u32_Data_Channel_Index, U32 u32_Data_Channel_Element_Index, TSignal_Recorder_Data_Line **struct_Data_Line );
232 
233  //!-------------------------------------------------------------------------
234  //! @brief This method return OS status
235  //! @note None
236  //! @return U32 - OS status
237  //! \par Override
238  //! Required
239  //! @attention None
240  //--------------------------------------------------------------------------
241 
242  U32 Get_OS_Status();
243 
244  //!-------------------------------------------------------------------------
245  //! @brief This method set module in operation mode
246  //! @note None
247  //! @return BOOL - Module status
248  //! @retval false - Module in error mode
249  //! @retval true - Module ready to operations
250  //! \par Override
251  //! Required
252  //! @attention None
253  //--------------------------------------------------------------------------
254 
256 
257  //----------------------------------------------------------------------------
258  // Protected defines, methods and variables
259  //----------------------------------------------------------------------------
260 
261  protected:
262 
263  //----------------------------------------------------------------------------
264  // Private defines, methods and variables
265  //----------------------------------------------------------------------------
266 
267  private:
268 
269  // Channel data source parameter
271 
272  // Channel data source variable
274 
275  // Channel data storage
276  TSignal_Recorder_Data_Line struct_Data_Channel[ SCOPE_CHANNEL_COUNT ][ SCOPE_CHANNEL_BUFFER_SIZE ];
277 
278  // Trigger level data parameter
280 
281  // Trigger related variables
282 // TSignal_Recorder_Trigger_Bit_Pattern_Mask struct_Trigger_Bit_Pattern_Mask; //!< Reserved for the functionality expansion
283 
289 
290  // Data related parameters
293 
296 
297  U32 u32_Data_Decimation; //!< Time decimation factor
298  U32 u32_Data_Decimation_Counter; //!< Time decimation factor counter
299 
300  F32 f32_Sample_Time; //!< Basic sample time
301 
302  U32 u32_VDC_Channel_Index; //!< VDC channel index
303  U32 u32_VDC_Channel_Data_Index; //!< VDC channel element index
304 
306 
307  //--------------------------------------------------------------------------
308  // General trigger methods
309  //--------------------------------------------------------------------------
310 
311  VOID (TSignal_Recorder::*method_Process_Trigger)(); //!< Process trigger callback method pointer
312 
313  // Trigger related methods
315 
338 
339  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
340 
342 
343  #endif
344 
345  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
346 
348 
349  #endif
350 
373 
374  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
375 
377 
378  #endif
379 
380  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
381 
383 
384  #endif
385 
408 
409  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
410 
412 
413  #endif
414 
415  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
416 
418 
419  #endif
420 
421 // ANVILEX : Reserved for functionality expansion
422 // VOID Process_Edge_BOOL_Trigger();
423 // VOID Process_Edge_PBOOL_Trigger();
424 // VOID Process_Edge_U8_Trigger();
425 // VOID Process_Edge_PU8_Trigger();
426 // VOID Process_Edge_I8_Trigger();
427 // VOID Process_Edge_PI8_Trigger();
428 // VOID Process_Edge_U16_Trigger();
429 // VOID Process_Edge_PU16_Trigger();
430 // VOID Process_Edge_I16_Trigger();
431 // VOID Process_Edge_PI16_Trigger();
432 // VOID Process_Edge_U32_Trigger();
433 // VOID Process_Edge_PU32_Trigger();
434 // VOID Process_Edge_I32_Trigger();
435 // VOID Process_Edge_PI32_Trigger();
436 // VOID Process_Edge_U64_Trigger();
437 // VOID Process_Edge_PU64_Trigger();
438 // VOID Process_Edge_I64_Trigger();
439 // VOID Process_Edge_PI64_Trigger();
440 // VOID Process_Edge_F32_Trigger();
441 // VOID Process_Edge_PF32_Trigger();
442 // VOID Process_Edge_F64_Trigger();
443 // VOID Process_Edge_PF64_Trigger();
444 // VOID Process_Edge_F80_Trigger();
445 // VOID Process_Edge_PF80_Trigger();
446 
447 // VOID Process_Change_BOOL_Trigger();
448 // VOID Process_Change_PBOOL_Trigger();
449 // VOID Process_Change_U8_Trigger();
450 // VOID Process_Change_PU8_Trigger();
451 // VOID Process_Change_I8_Trigger();
452 // VOID Process_Change_PI8_Trigger();
453 // VOID Process_Change_U16_Trigger();
454 // VOID Process_Change_PU16_Trigger();
455 // VOID Process_Change_I16_Trigger();
456 // VOID Process_Change_PI16_Trigger();
457 // VOID Process_Change_U32_Trigger();
458 // VOID Process_Change_PU32_Trigger();
459 // VOID Process_Change_I32_Trigger();
460 // VOID Process_Change_PI32_Trigger();
461 // VOID Process_Change_U64_Trigger();
462 // VOID Process_Change_PU64_Trigger();
463 // VOID Process_Change_I64_Trigger();
464 // VOID Process_Change_PI64_Trigger();
465 // VOID Process_Change_F32_Trigger();
466 // VOID Process_Change_PF32_Trigger();
467 // VOID Process_Change_F64_Trigger();
468 // VOID Process_Change_PF64_Trigger();
469 // VOID Process_Change_F80_Trigger();
470 // VOID Process_Change_PF80_Trigger();
471 
472  //--------------------------------------------------------------------------
473  // Realtime data copy related methods
474  //--------------------------------------------------------------------------
475 
476  // Data copy related methods
477  VOID (TSignal_Recorder::*Set_Data_Channel_Element[ 2 * SCOPE_CHANNEL_COUNT ])( U32 u32_Data_Channel_Index );
478 
479  // Copy parameter value methods
480  VOID Set_Data_Channel_Element_Dummy( U32 u32_Data_Channel_Index );
481  VOID Set_Data_Channel_Element_BOOL( U32 u32_Data_Channel_Index );
482  VOID Set_Data_Channel_Element_PBOOL( U32 u32_Data_Channel_Index );
483  VOID Set_Data_Channel_Element_U8( U32 u32_Data_Channel_Index );
484  VOID Set_Data_Channel_Element_PU8( U32 u32_Data_Channel_Index );
485  VOID Set_Data_Channel_Element_I8( U32 u32_Data_Channel_Index );
486  VOID Set_Data_Channel_Element_PI8( U32 u32_Data_Channel_Index );
487  VOID Set_Data_Channel_Element_U16( U32 u32_Data_Channel_Index );
488  VOID Set_Data_Channel_Element_PU16( U32 u32_Data_Channel_Index );
489  VOID Set_Data_Channel_Element_I16( U32 u32_Data_Channel_Index );
490  VOID Set_Data_Channel_Element_PI16( U32 u32_Data_Channel_Index );
491  VOID Set_Data_Channel_Element_U32( U32 u32_Data_Channel_Index );
492  VOID Set_Data_Channel_Element_PU32( U32 u32_Data_Channel_Index );
493  VOID Set_Data_Channel_Element_I32( U32 u32_Data_Channel_Index );
494  VOID Set_Data_Channel_Element_PI32( U32 u32_Data_Channel_Index );
495  VOID Set_Data_Channel_Element_U64( U32 u32_Data_Channel_Index );
496  VOID Set_Data_Channel_Element_PU64( U32 u32_Data_Channel_Index );
497  VOID Set_Data_Channel_Element_I64( U32 u32_Data_Channel_Index );
498  VOID Set_Data_Channel_Element_PI64( U32 u32_Data_Channel_Index );
499  VOID Set_Data_Channel_Element_F32( U32 u32_Data_Channel_Index );
500  VOID Set_Data_Channel_Element_PF32( U32 u32_Data_Channel_Index );
501  VOID Set_Data_Channel_Element_F64( U32 u32_Data_Channel_Index );
502  VOID Set_Data_Channel_Element_PF64( U32 u32_Data_Channel_Index );
503 
504  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
505 
506  VOID Set_Data_Channel_Element_F80( U32 u32_Data_Channel_Index );
507 
508  #endif
509 
510  #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
511 
512  VOID Set_Data_Channel_Element_PF80( U32 u32_Data_Channel_Index );
513 
514  #endif
515 
516  //! @brief Container for OS status
518 
519 };
520 
521 //------------------------------------------------------------------------------
522 // End of file
523 //------------------------------------------------------------------------------
Block output connecttor class header file.
ConOpSys variant class header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
long I32
2s Compliment 32-Bit signed integer datatype defenition
Definition: Defines.h:206
unsigned char U8
Binary 8-Bit unsigned integer datatype defenition.
Definition: Defines.h:183
long double F80
IEEE-754 80-Bit extended presession floating point numbers datatype defenition.
Definition: Defines.h:330
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
short I16
2s Compliment 16-Bit signed integer datatype defenition
Definition: Defines.h:196
long long I64
2s Compliment 64-Bit signed integer datatype defenition
Definition: Defines.h:217
double F64
IEEE-754 64-Bit double presession floating point numbers datatype defenition.
Definition: Defines.h:327
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
char C8
ASCII 8-Bit char datatype defenition.
Definition: Defines.h:156
ConOpSys parameter base class header file.
Scope defines header file.
TSignal_Recorder_Trigger_Mode
Signal recorder trigger mode definition.
Definition: Scope_Defines.h:130
TSignal_Recorder_Trigger_State
Signal recorder trigger state definition.
Definition: Scope_Defines.h:85
Function block output connector class.
Definition: Block_Output_Connector.h:59
Parameter base class.
Definition: Parameter_Base.h:60
Signal recorder class.
Definition: Signal_Recorder.h:135
U32 Get_Data_Element_Per_Channel_Count()
Definition: Signal_Recorder.cpp:3195
VOID Process_Match_I16_Trigger()
Definition: Signal_Recorder.cpp:1944
VOID Process_Rising_Edge_F80_Trigger()
Definition: Signal_Recorder.cpp:2601
VOID Process_Rising_Edge_PF80_Trigger()
Definition: Signal_Recorder.cpp:2622
VOID Process_Falling_Edge_U32_Trigger()
Definition: Signal_Recorder.cpp:2812
BOOL Get_VDC_Channel_Index(U32 *u32_VDC_Channel_Index)
Definition: Signal_Recorder.cpp:3250
VOID Set_Data_Channel_Element_U64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4714
VOID Process_Rising_Edge_I16_Trigger()
Definition: Signal_Recorder.cpp:2361
TConOpSys_Variant_Data object_Data_Channel_Variable[SCOPE_CHANNEL_COUNT]
Definition: Signal_Recorder.h:273
VOID Process_Falling_Edge_PU8_Trigger()
Definition: Signal_Recorder.cpp:2693
VOID Set_Data_Channel_Element_PI8(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4624
TParameter_Base * object_Data_Channel_Parameter[SCOPE_CHANNEL_COUNT]
Definition: Signal_Recorder.h:270
VOID Process_Falling_Edge_PI16_Trigger()
Definition: Signal_Recorder.cpp:2795
VOID(TSignal_Recorder::* Set_Data_Channel_Element[2 *SCOPE_CHANNEL_COUNT])(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.h:477
VOID Process_Falling_Edge_PI64_Trigger()
Definition: Signal_Recorder.cpp:2931
VOID Set_Data_Channel_Element_I8(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4614
VOID Process_Falling_Edge_U16_Trigger()
Definition: Signal_Recorder.cpp:2744
VOID Process_Rising_Edge_PI16_Trigger()
Definition: Signal_Recorder.cpp:2378
VOID Process_Match_I64_Trigger()
Definition: Signal_Recorder.cpp:2080
U32 u32_Start_Buffer_Index
Definition: Signal_Recorder.h:295
U32 u32_VDC_Channel_Data_Index
VDC channel element index.
Definition: Signal_Recorder.h:303
VOID Process_Rising_Edge_PU8_Trigger()
Definition: Signal_Recorder.cpp:2276
BOOL Set_VDC_Channel_Index(U32 u32_VDC_Channel_Index)
Definition: Signal_Recorder.cpp:3217
VOID Process_Match_I8_Trigger()
Definition: Signal_Recorder.cpp:1876
VOID Set_Data_Channel_Element_I64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4734
TOS_Status_Structure struct_OS_Status
Container for OS status.
Definition: Signal_Recorder.h:517
VOID Process_Rising_Edge_PI32_Trigger()
Definition: Signal_Recorder.cpp:2446
TParameter_Base * object_Trigger_Parameter
Definition: Signal_Recorder.h:287
VOID Process_Match_PU64_Trigger()
Definition: Signal_Recorder.cpp:2063
VOID Process_Falling_Edge_I64_Trigger()
Definition: Signal_Recorder.cpp:2914
VOID Set_Data_Channel_Element_Dummy(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4565
BOOL Get_Channel_Data_Decimation(U32 *u32_Channel_Data_Decimation)
Definition: Signal_Recorder.cpp:3343
VOID Process_Match_PU16_Trigger()
Definition: Signal_Recorder.cpp:1927
VOID Process_Rising_Edge_PU16_Trigger()
Definition: Signal_Recorder.cpp:2344
VOID Process_Falling_Edge_F80_Trigger()
Definition: Signal_Recorder.cpp:3018
VOID Process_Rising_Edge_F32_Trigger()
Definition: Signal_Recorder.cpp:2531
VOID Process_Rising_Edge_PBOOL_Trigger()
Definition: Signal_Recorder.cpp:2242
U32 u32_VDC_Channel_Index
VDC channel index.
Definition: Signal_Recorder.h:302
VOID Process_Rising_Edge_I64_Trigger()
Definition: Signal_Recorder.cpp:2497
VOID Set_Data_Channel_Element_PF64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4784
VOID Process_Match_U64_Trigger()
Definition: Signal_Recorder.cpp:2046
VOID Process_Match_F32_Trigger()
Definition: Signal_Recorder.cpp:2114
VOID Process_Falling_Edge_F32_Trigger()
Definition: Signal_Recorder.cpp:2948
U32 u32_Data_Elements_Per_Channel_Count
Definition: Signal_Recorder.h:292
U32 u32_Data_Channel_Count
Definition: Signal_Recorder.h:291
BOOL Is_Armed()
Trigger armed status.
Definition: Signal_Recorder.cpp:165
VOID Process_Match_PBOOL_Trigger()
Definition: Signal_Recorder.cpp:1825
VOID Process_Falling_Edge_PI32_Trigger()
Definition: Signal_Recorder.cpp:2863
VOID Process_Match_PI8_Trigger()
Definition: Signal_Recorder.cpp:1893
U32 Get_OS_Status()
This method return OS status.
Definition: Signal_Recorder.cpp:4884
VOID Process_Falling_Edge_PF80_Trigger()
Definition: Signal_Recorder.cpp:3039
BOOL Set_VDC_Channel_Data_Index(U32 u32_VDC_Channel_Data_Index)
Definition: Signal_Recorder.cpp:3270
VOID Process_Rising_Edge_BOOL_Trigger()
Definition: Signal_Recorder.cpp:2225
VOID Set_Data_Channel_Element_PI16(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4664
BOOL Get_Trigger_Source(TParameter_Base **struct_Parameter)
Definition: Signal_Recorder.cpp:418
BOOL Set_Data_Channel_Source(TParameter_Base *object_Parameter)
Definition: Signal_Recorder.cpp:3396
VOID Process_Match_U8_Trigger()
Definition: Signal_Recorder.cpp:1842
VOID Set_Trigger_State(TSignal_Recorder_Trigger_State enum_New_Trigger_State)
Set trigger state.
Definition: Signal_Recorder.cpp:198
U32 u32_Trigger_Pretrigger_Count
Definition: Signal_Recorder.h:286
F32 f32_Sample_Time
Basic sample time.
Definition: Signal_Recorder.h:300
VOID Process_Match_U16_Trigger()
Definition: Signal_Recorder.cpp:1910
VOID Process_Rising_Edge_U8_Trigger()
Definition: Signal_Recorder.cpp:2259
VOID Process_Falling_Edge_U64_Trigger()
Definition: Signal_Recorder.cpp:2880
VOID Process_Rising_Edge_PF32_Trigger()
Definition: Signal_Recorder.cpp:2548
VOID Set_Data_Channel_Element_PF80(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4810
VOID Set_Data_Channel_Element_PU64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4724
TSignal_Recorder()
Class constructor method.
Definition: Signal_Recorder.cpp:68
TSignal_Recorder_Trigger_Mode enum_Trigger_Mode
Definition: Signal_Recorder.h:288
TParameter_Base * object_Trigger_Level_Data_Parameter
Definition: Signal_Recorder.h:279
U32 u32_Current_Buffer_Index
Definition: Signal_Recorder.h:294
VOID Set_Data_Channel_Element_PF32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4764
VOID Process_Match_U32_Trigger()
Definition: Signal_Recorder.cpp:1978
BOOL Set_Channel_Data_Decimation(U32 u32_Channel_Data_Decimation)
Definition: Signal_Recorder.cpp:3323
VOID Process_Falling_Edge_BOOL_Trigger()
Definition: Signal_Recorder.cpp:2642
VOID Execute()
Data processing method.
Definition: Signal_Recorder.cpp:3058
VOID Process_Rising_Edge_F64_Trigger()
Definition: Signal_Recorder.cpp:2565
VOID Set_Data_Channel_Element_U8(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4594
U32 Get_Data_Element_Size()
Definition: Signal_Recorder.cpp:3206
VOID Set_Data_Channel_Element_U32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4674
VOID Process_Match_PF32_Trigger()
Definition: Signal_Recorder.cpp:2131
VOID Set_Data_Channel_Element_F80(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4796
BOOL Start_Operation()
This method set module in operation mode.
Definition: Signal_Recorder.cpp:4896
VOID Set_Trigger_Mode(TSignal_Recorder_Trigger_Mode enum_New_Trigger_Mode)
Definition: Signal_Recorder.cpp:456
VOID Process_Rising_Edge_I8_Trigger()
Definition: Signal_Recorder.cpp:2293
VOID Process_Match_F80_Trigger()
Definition: Signal_Recorder.cpp:2184
VOID(TSignal_Recorder::* method_Process_Trigger)()
Process trigger callback method pointer.
Definition: Signal_Recorder.h:311
VOID Process_Match_PF80_Trigger()
Definition: Signal_Recorder.cpp:2205
VOID Process_Dummy_Trigger()
Definition: Signal_Recorder.cpp:1797
VOID Process_Rising_Edge_PU64_Trigger()
Definition: Signal_Recorder.cpp:2480
BOOL Get_VDC_Channel_Data_Index(U32 *u32_VDC_Channel_Data_Index)
Definition: Signal_Recorder.cpp:3303
VOID Process_Falling_Edge_U8_Trigger()
Definition: Signal_Recorder.cpp:2676
VOID Set_Data_Channel_Element_PU16(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4644
VOID Get_Trigger_Mode(TSignal_Recorder_Trigger_Mode *enum_Actual_Trigger_Mode)
Definition: Signal_Recorder.cpp:1737
VOID Process_Falling_Edge_PI8_Trigger()
Definition: Signal_Recorder.cpp:2727
VOID Set_Data_Channel_Element_PBOOL(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4584
VOID Process_Falling_Edge_PF64_Trigger()
Definition: Signal_Recorder.cpp:2999
VOID Process_Falling_Edge_PBOOL_Trigger()
Definition: Signal_Recorder.cpp:2659
VOID Set_Sample_Time(F32 f32_New_Sample_Time)
Set new sample time.
Definition: Signal_Recorder.cpp:3363
VOID Process_Falling_Edge_PU16_Trigger()
Definition: Signal_Recorder.cpp:2761
VOID Process_Rising_Edge_I32_Trigger()
Definition: Signal_Recorder.cpp:2429
VOID Set_Data_Channel_Element_BOOL(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4574
VOID Set_Data_Channel_Element_PI32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4704
VOID Set_Data_Channel_Element_PU32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4684
BOOL Set_Trigger_Position(U32 u32_New_Trigger_Position)
Definition: Signal_Recorder.cpp:293
VOID Process_Rising_Edge_PF64_Trigger()
Definition: Signal_Recorder.cpp:2582
U32 Get_Data_Channel_Count()
Get scope channel count.
Definition: Signal_Recorder.cpp:3183
VOID Process_Match_PU32_Trigger()
Definition: Signal_Recorder.cpp:1995
VOID Process_Falling_Edge_PU32_Trigger()
Definition: Signal_Recorder.cpp:2829
VOID Process_Match_I32_Trigger()
Definition: Signal_Recorder.cpp:2012
VOID Process_Falling_Edge_I8_Trigger()
Definition: Signal_Recorder.cpp:2710
TSignal_Recorder_Data_Line struct_Data_Channel[SCOPE_CHANNEL_COUNT][SCOPE_CHANNEL_BUFFER_SIZE]
Definition: Signal_Recorder.h:276
VOID Process_Rising_Edge_PU32_Trigger()
Definition: Signal_Recorder.cpp:2412
BOOL Set_Trigger_Source(TParameter_Base *struct_Parameter)
Definition: Signal_Recorder.cpp:339
U32 u32_Data_Decimation
Time decimation factor.
Definition: Signal_Recorder.h:297
BOOL Get_Data_Channel_Element(TSignal_Recorder_Data_Line **struct_Data_Line)
Definition: Signal_Recorder.cpp:4822
BOOL Get_Channel_Data_Timebase(F32 *f32_Channel_Data_Timebase)
Definition: Signal_Recorder.cpp:3374
VOID Process_Match_PF64_Trigger()
Definition: Signal_Recorder.cpp:2165
VOID Process_Rising_Edge_PI8_Trigger()
Definition: Signal_Recorder.cpp:2310
TSignal_Recorder_Trigger_State enum_Trigger_State
Definition: Signal_Recorder.h:284
VOID Set_Data_Channel_Element_PI64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4744
VOID Process_Falling_Edge_PU64_Trigger()
Definition: Signal_Recorder.cpp:2897
U32 u32_Trigger_Position
Definition: Signal_Recorder.h:285
VOID Process_Falling_Edge_I16_Trigger()
Definition: Signal_Recorder.cpp:2778
VOID Get_Trigger_State(TSignal_Recorder_Trigger_State *enum_Actual_Trigger_State)
Definition: Signal_Recorder.cpp:281
BOOL Get_Data_Channel_Source(TParameter_Base **object_Parameter)
Definition: Signal_Recorder.cpp:3924
VOID Process_Rising_Edge_U64_Trigger()
Definition: Signal_Recorder.cpp:2463
VOID Set_Data_Channel_Element_F32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4754
VOID Process_Match_BOOL_Trigger()
Definition: Signal_Recorder.cpp:1808
U32 u32_Temp_Index
Definition: Signal_Recorder.h:305
VOID Force()
Force trigger method.
Definition: Signal_Recorder.cpp:177
VOID Set_Data_Channel_Element_F64(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4774
VOID Process_Falling_Edge_PF32_Trigger()
Definition: Signal_Recorder.cpp:2965
VOID Process_Match_PU8_Trigger()
Definition: Signal_Recorder.cpp:1859
VOID Process_Match_F64_Trigger()
Definition: Signal_Recorder.cpp:2148
VOID Process_Match_PI32_Trigger()
Definition: Signal_Recorder.cpp:2029
~TSignal_Recorder()
Class destructor method.
Definition: Signal_Recorder.cpp:154
VOID Set_Data_Channel_Element_I16(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4654
VOID Set_Data_Channel_Element_PU8(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4604
VOID Process_Match_PI16_Trigger()
Definition: Signal_Recorder.cpp:1961
VOID Process_Match_PI64_Trigger()
Definition: Signal_Recorder.cpp:2097
VOID Process_Falling_Edge_I32_Trigger()
Definition: Signal_Recorder.cpp:2846
VOID Process_Rising_Edge_PI64_Trigger()
Definition: Signal_Recorder.cpp:2514
VOID Get_Trigger_Position(U32 *u32_Actual_Trigger_Position)
Definition: Signal_Recorder.cpp:327
VOID Process_Rising_Edge_U16_Trigger()
Definition: Signal_Recorder.cpp:2327
VOID Process_Falling_Edge_F64_Trigger()
Definition: Signal_Recorder.cpp:2982
VOID Set_Data_Channel_Element_U16(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4634
VOID Set_Data_Channel_Element_I32(U32 u32_Data_Channel_Index)
Definition: Signal_Recorder.cpp:4694
U32 u32_Data_Decimation_Counter
Time decimation factor counter.
Definition: Signal_Recorder.h:298
VOID Process_Rising_Edge_U32_Trigger()
Definition: Signal_Recorder.cpp:2395
Definition: Signal_Recorder.h:97
U16 u16_Value
Definition: Signal_Recorder.h:105
F64 f64_Value
Definition: Signal_Recorder.h:112
F80 f80_Value
Definition: Signal_Recorder.h:116
I32 i32_Value
Definition: Signal_Recorder.h:108
I64 i64_Value
Definition: Signal_Recorder.h:110
I16 i16_Value
Definition: Signal_Recorder.h:106
U32 u32_Value
Definition: Signal_Recorder.h:107
BOOL bool_Value
Definition: Signal_Recorder.h:102
U64 u64_Value
Definition: Signal_Recorder.h:109
F32 f32_Value
Definition: Signal_Recorder.h:111
C8 i8_Value
Definition: Signal_Recorder.h:104
U8 u8_Value
Definition: Signal_Recorder.h:103
ConOpSys variant data storage structure.
Definition: ConOpSys_Variant.h:403
OS parameter status structure.
Definition: Defines.h:855