Ejemplo n.º 1
0
 private void Filter_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     TryCatch(() =>
     {
         serTest.RCUCom.SetConfigFilter();
     });
 }
Ejemplo n.º 2
0
 private void SetConfigVCO_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     TryCatch(() =>
     {
         serTest.RCUCom.SetConfigVCO();
     });
 }
Ejemplo n.º 3
0
 private void ADCFreq_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.RCUCom.ADCSampleRateIndex = (UInt32)cbFreqAdc.SelectedIndex;
     TryCatch(() =>
     {
         serTest.RCUCom.SetADCSampleRate();
     });
 }
Ejemplo n.º 4
0
 private void ADCFreq_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.RCUCom.ADCSampleRateIndex = (UInt32)cbFreqAdc.SelectedIndex;
     TryCatch(() =>
     {
         serTest.RCUCom.SetADCSampleRate();
     });
 }
Ejemplo n.º 5
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     cbFreqAdc.SelectedIndex = (int)serTest.RCUCom.ADCSampleRateIndex;
 }
Ejemplo n.º 6
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     cbFreqAdc.SelectedIndex = (int)serTest.RCUCom.ADCSampleRateIndex;
 }
Ejemplo n.º 7
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.ProgressChanged += setProgressValue;
 }
Ejemplo n.º 8
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.ProgressChanged += setProgressValue;
 }