Scope
FPGANoiseOutputPage.cpp
1 #include "stdafx.h"
2 #include "FPGANoiseOutputPage.h"
3 
4 namespace scope {
5  namespace gui {
6 
8  : tohostoverflowA1Ch1_led(&_parameters->diagnosis.ToHostOverflowA1Ch1)
9  , tohostoverflowA1Ch2_led(&_parameters->diagnosis.ToHostOverflowA1Ch2)
10  , tohostoverflowA2Ch1_led(&_parameters->diagnosis.ToHostOverflowA2Ch1)
11  , tohostoverflowA2Ch2_led(&_parameters->diagnosis.ToHostOverflowA2Ch2)
12  , acquiring_led(&_parameters->diagnosis.Acquiring, SCOPELED_OKONTRUE) {
13 }
14 
15 BOOL CFPGANoiseOutputPage::OnInitDialog(CWindow wndFocus, LPARAM lInitParam) {
16  tohostoverflowA1Ch1_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA1CH1_BUTTON));
17  tohostoverflowA1Ch2_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA1CH2_BUTTON));
18  tohostoverflowA2Ch1_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA2CH1_BUTTON));
19  tohostoverflowA2Ch2_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA2CH2_BUTTON));
20  acquiring_led.AttachToDlgItem(GetDlgItem(IDC_ACQUIRING_BUTTON));
21 
22  return 0;
23 }
24 
25 }}
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
Parameters for the noise generating FPGA vi.
Definition: IO.h:137
This is the include file for standard system include files, or project specific include files that ar...
CFPGANoiseOutputPage(parameters::InputsFPGANoiseOutput *const _parameters)
Connect to the FIFOStatus ScopeNumbers.