Scope
FPGADigitalDemultiplexerPage.cpp
1 #include "StdAfx.h"
2 #include "FPGADigitalDemultiplexerPage.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  , interloopoverflow_led(&_parameters->diagnosis.InterloopOverflow)
13  , interlooptimeout_led(&_parameters->diagnosis.InterloopTimeout)
14  , acquiring_led(&_parameters->diagnosis.Acquiring, SCOPELED_OKONTRUE)
15  , laserfreq_edit(&_parameters->diagnosis.MeasuredLaserFreq) {
16 }
17 
18 BOOL CFPGADigitalDemultiplexerPage::OnInitDialog(CWindow wndFocus, LPARAM lInitParam) {
19  tohostoverflowA1Ch1_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA1CH1_BUTTON));
20  tohostoverflowA1Ch2_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA1CH2_BUTTON));
21  tohostoverflowA2Ch1_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA2CH1_BUTTON));
22  tohostoverflowA2Ch2_led.AttachToDlgItem(GetDlgItem(IDC_TOHOSTOVERFLOWA2CH2_BUTTON));
23  interloopoverflow_led.AttachToDlgItem(GetDlgItem(IDC_INTERLOOPOVERFLOW_BUTTON));
24  interlooptimeout_led.AttachToDlgItem(GetDlgItem(IDC_INTERLOOPTIMEOUT_BUTTON));
25  acquiring_led.AttachToDlgItem(GetDlgItem(IDC_ACQUIRING_BUTTON));
26  laserfreq_edit.AttachToDlgItem(GetDlgItem(IDC_LASERFREQ_EDIT));
27 
28  return 0;
29 }
30 
31 
32 }}
CScopeEditCtrl< double > laserfreq_edit
Displays measured laser frequency.
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
Definition: ScopeEditCtrl.h:68
Parameters for pixel acquisition with FPGADigitalDemultiplexer.
Definition: IO.h:196
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
This is the include file for standard system include files, or project specific include files that ar...
CFPGADigitalDemultiplexerPage(parameters::InputsFPGADigitalDemultiplexer *const _parameters)
Connect to the FIFOStatus ScopeNumbers.