Hesham Elsayed 5 роки тому
коміт
718d082d02
64 змінених файлів з 3597 додано та 0 видалено
  1. BIN
      .vs/VTExperiment1/v15/.suo
  2. 0 0
      .vs/VTExperiment1/v15/Server/sqlite3/db.lock
  3. BIN
      .vs/VTExperiment1/v15/Server/sqlite3/storage.ide
  4. 25 0
      VTExperiment1.sln
  5. 6 0
      VTExperiment1/App.config
  6. 9 0
      VTExperiment1/App.xaml
  7. 17 0
      VTExperiment1/App.xaml.cs
  8. 53 0
      VTExperiment1/Calibration.xaml
  9. 295 0
      VTExperiment1/Calibration.xaml.cs
  10. BIN
      VTExperiment1/CommandMessenger.Transport.Serial.dll
  11. BIN
      VTExperiment1/CommandMessenger.dll
  12. 19 0
      VTExperiment1/Condition.xaml
  13. 83 0
      VTExperiment1/Condition.xaml.cs
  14. 71 0
      VTExperiment1/LogWriter.cs
  15. 15 0
      VTExperiment1/MainWindow.xaml
  16. 143 0
      VTExperiment1/MainWindow.xaml.cs
  17. 55 0
      VTExperiment1/Properties/AssemblyInfo.cs
  18. 71 0
      VTExperiment1/Properties/Resources.Designer.cs
  19. 117 0
      VTExperiment1/Properties/Resources.resx
  20. 30 0
      VTExperiment1/Properties/Settings.Designer.cs
  21. 7 0
      VTExperiment1/Properties/Settings.settings
  22. 117 0
      VTExperiment1/Receive.cs
  23. 122 0
      VTExperiment1/VTExperiment1.csproj
  24. 80 0
      VTExperiment1/bin/Debug/1/1_Forearm_Along.txt
  25. 120 0
      VTExperiment1/bin/Debug/1/Calibration.txt
  26. BIN
      VTExperiment1/bin/Debug/ActuBoardInterface.dll
  27. BIN
      VTExperiment1/bin/Debug/ActuBoardInterface.pdb
  28. BIN
      VTExperiment1/bin/Debug/CommandMessenger.Transport.Serial.dll
  29. BIN
      VTExperiment1/bin/Debug/CommandMessenger.dll
  30. BIN
      VTExperiment1/bin/Debug/VTExperiment1.exe
  31. 6 0
      VTExperiment1/bin/Debug/VTExperiment1.exe.config
  32. BIN
      VTExperiment1/bin/Debug/VTExperiment1.pdb
  33. 70 0
      VTExperiment1/obj/Debug/App.g.cs
  34. 70 0
      VTExperiment1/obj/Debug/App.g.i.cs
  35. BIN
      VTExperiment1/obj/Debug/Calibration.baml
  36. 596 0
      VTExperiment1/obj/Debug/Calibration.g.cs
  37. 596 0
      VTExperiment1/obj/Debug/Calibration.g.i.cs
  38. BIN
      VTExperiment1/obj/Debug/Condition.baml
  39. 146 0
      VTExperiment1/obj/Debug/Condition.g.cs
  40. 146 0
      VTExperiment1/obj/Debug/Condition.g.i.cs
  41. BIN
      VTExperiment1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  42. BIN
      VTExperiment1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  43. BIN
      VTExperiment1/obj/Debug/MainWindow.baml
  44. 129 0
      VTExperiment1/obj/Debug/MainWindow.g.cs
  45. 129 0
      VTExperiment1/obj/Debug/MainWindow.g.i.cs
  46. BIN
      VTExperiment1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
  47. 0 0
      VTExperiment1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  48. 0 0
      VTExperiment1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  49. 0 0
      VTExperiment1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
  50. 106 0
      VTExperiment1/obj/Debug/Test.g.i.cs
  51. BIN
      VTExperiment1/obj/Debug/VTExperiment1.Properties.Resources.resources
  52. 0 0
      VTExperiment1/obj/Debug/VTExperiment1.csproj.CopyComplete
  53. 1 0
      VTExperiment1/obj/Debug/VTExperiment1.csproj.CoreCompileInputs.cache
  54. 22 0
      VTExperiment1/obj/Debug/VTExperiment1.csproj.FileListAbsolute.txt
  55. BIN
      VTExperiment1/obj/Debug/VTExperiment1.csproj.GenerateResource.cache
  56. BIN
      VTExperiment1/obj/Debug/VTExperiment1.csprojResolveAssemblyReference.cache
  57. BIN
      VTExperiment1/obj/Debug/VTExperiment1.exe
  58. BIN
      VTExperiment1/obj/Debug/VTExperiment1.g.resources
  59. BIN
      VTExperiment1/obj/Debug/VTExperiment1.pdb
  60. 20 0
      VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.cache
  61. 20 0
      VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.i.cache
  62. 4 0
      VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.i.lref
  63. 6 0
      VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.lref
  64. 75 0
      VTExperiment1/obj/Debug/Window1.g.i.cs

BIN
.vs/VTExperiment1/v15/.suo


+ 0 - 0
.vs/VTExperiment1/v15/Server/sqlite3/db.lock


BIN
.vs/VTExperiment1/v15/Server/sqlite3/storage.ide


+ 25 - 0
VTExperiment1.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.27428.2037
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VTExperiment1", "VTExperiment1\VTExperiment1.csproj", "{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {FBB4634D-EE59-40AD-B365-2C3731CF3179}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
VTExperiment1/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

+ 9 - 0
VTExperiment1/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="VTExperiment1.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:VTExperiment1"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
VTExperiment1/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace VTExperiment1
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 53 - 0
VTExperiment1/Calibration.xaml

@@ -0,0 +1,53 @@
+<Window x:Class="VTExperiment1.Calibration"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
+        xmlns:local="clr-namespace:VTExperiment1"
+        mc:Ignorable="d"
+        Title="Calibration" Height="444.992" Width="800"
+        Closing="WindowClosing">
+    <Grid Margin="0,0,-8,0">
+        <Label Content="Motor 1" HorizontalAlignment="Left" Margin="25,42,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider1" HorizontalAlignment="Left" Height="28" Margin="90,45,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider1_ValueChanged" />
+        <TextBox x:Name="V1" HorizontalAlignment="Left" Height="23" Margin="623,45,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C1" Content="Calibrated" HorizontalAlignment="Left" Margin="697,48,0,0" VerticalAlignment="Top" Checked="C1_Checked" Unchecked="C1_Unchecked"/>
+        <Label Content="Motor 2" HorizontalAlignment="Left" Margin="25,77,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider2" HorizontalAlignment="Left" Height="28" Margin="90,80,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider2_ValueChanged" />
+        <TextBox x:Name="V2" HorizontalAlignment="Left" Height="23" Margin="623,80,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C2" Content="Calibrated" HorizontalAlignment="Left" Margin="697,83,0,0" VerticalAlignment="Top" Checked="C2_Checked" Unchecked="C2_Unchecked"/>
+        <Label Content="Motor 3" HorizontalAlignment="Left" Margin="25,113,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider3" HorizontalAlignment="Left" Height="28" Margin="90,116,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider3_ValueChanged" />
+        <TextBox x:Name="V3" HorizontalAlignment="Left" Height="23" Margin="623,116,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C3" Content="Calibrated" HorizontalAlignment="Left" Margin="697,119,0,0" VerticalAlignment="Top" Checked="C3_Checked" Unchecked="C3_Unchecked"/>
+        <Label Content="Motor 4" HorizontalAlignment="Left" Margin="25,150,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider4" HorizontalAlignment="Left" Height="28" Margin="90,153,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider4_ValueChanged" />
+        <TextBox x:Name="V4" HorizontalAlignment="Left" Height="23" Margin="623,153,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C4" Content="Calibrated" HorizontalAlignment="Left" Margin="697,156,0,0" VerticalAlignment="Top" Checked="C4_Checked" Unchecked="C4_Unchecked"/>
+        <Label Content="Motor 5" HorizontalAlignment="Left" Margin="25,183,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider5" HorizontalAlignment="Left" Height="28" Margin="90,186,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider5_ValueChanged" />
+        <TextBox x:Name="V5" HorizontalAlignment="Left" Height="23" Margin="623,186,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C5" Content="Calibrated" HorizontalAlignment="Left" Margin="697,189,0,0" VerticalAlignment="Top" Checked="C5_Checked" Unchecked="C5_Unchecked"/>
+        <Label Content="Motor 6" HorizontalAlignment="Left" Margin="25,218,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider6" HorizontalAlignment="Left" Height="28" Margin="90,221,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider6_ValueChanged" />
+        <TextBox x:Name="V6" HorizontalAlignment="Left" Height="23" Margin="623,221,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C6" Content="Calibrated" HorizontalAlignment="Left" Margin="697,224,0,0" VerticalAlignment="Top" Checked="C6_Checked" Unchecked="C6_Unchecked"/>
+        <Label Content="Motor 7" HorizontalAlignment="Left" Margin="25,252,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider7" HorizontalAlignment="Left" Height="28" Margin="90,255,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider7_ValueChanged" />
+        <TextBox x:Name="V7" HorizontalAlignment="Left" Height="23" Margin="623,255,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C7" Content="Calibrated" HorizontalAlignment="Left" Margin="697,258,0,0" VerticalAlignment="Top" Checked="C7_Checked" Unchecked="C7_Unchecked"/>
+        <Label Content="Motor 8" HorizontalAlignment="Left" Margin="25,287,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider8" HorizontalAlignment="Left" Height="28" Margin="90,290,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider8_ValueChanged" />
+        <TextBox x:Name="V8" HorizontalAlignment="Left" Height="23" Margin="623,290,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C8" Content="Calibrated" HorizontalAlignment="Left" Margin="697,293,0,0" VerticalAlignment="Top" Checked="C8_Checked" Unchecked="C8_Unchecked"/>
+        <Label Content="Motor 9" HorizontalAlignment="Left" Margin="25,319,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider9" HorizontalAlignment="Left" Height="28" Margin="90,322,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider9_ValueChanged" />
+        <TextBox x:Name="V9" HorizontalAlignment="Left" Height="23" Margin="623,322,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C9" Content="Calibrated" HorizontalAlignment="Left" Margin="697,325,0,0" VerticalAlignment="Top" Checked="C9_Checked" Unchecked="C9_Unchecked"/>
+        <Label Content="Motor 10" HorizontalAlignment="Left" Margin="25,351,0,0" VerticalAlignment="Top" Height="27" Width="108"/>
+        <Slider x:Name="slider10" HorizontalAlignment="Left" Height="28" Margin="90,354,0,0" VerticalAlignment="Top" Width="519" ValueChanged="slider10_ValueChanged" />
+        <TextBox x:Name="V10" HorizontalAlignment="Left" Height="23" Margin="623,354,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="52" IsEnabled="False"/>
+        <CheckBox x:Name="C10" Content="Calibrated" HorizontalAlignment="Left" Margin="697,357,0,0" VerticalAlignment="Top" Checked="C10_Checked" Unchecked="C10_Unchecked"/>
+    </Grid>
+</Window>

+ 295 - 0
VTExperiment1/Calibration.xaml.cs

@@ -0,0 +1,295 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using ActuBoardAPI;
+
+namespace VTExperiment1
+{
+
+    /// </summary>
+    public partial class Calibration : Window
+    {
+        double sliderValue;
+        private ActuBoardInterface _abi;
+        public Calibration()
+        {
+            InitializeComponent();
+            Condition condition = new Condition();
+            condition.ShowDialog();
+            condition.BringIntoView();
+            _abi = new ActuBoardInterface();
+            _abi.SetComPort(6);
+            _abi.Connect();
+            _abi.EnableOutput(true);
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            //Console.WriteLine(motor + " " + sliderValue);
+            //listbox.Items.Remove(listbox.Items[listbox.SelectedIndex]);
+
+        }
+
+        private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            //if (listbox.SelectedItem != null)
+            {
+                //motor = ((Motor)listbox.SelectedItem).value;
+                //Console.WriteLine(motor);
+            }
+        }
+
+        private void overDrive(int channel)
+        {
+            _abi.SetChannel(channel, 120);
+            System.Threading.Thread.Sleep(5);
+        }
+        
+        //Console.Write("Setting motor " + motor + " intensity" + (int) ((1 - (sliderValue / 10)) * 255));
+        private void slider1_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            overDrive(40);
+            int intensity = (int)((slider1.Value / 10) * 165);
+            _abi.SetChannel(40, intensity);
+            V1.Text = (int)(slider1.Value * 10) + "";
+        }
+
+        private void slider2_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider2.Value / 10) * 165);
+            _abi.SetChannel(41, intensity);
+            V2.Text = (int)(slider2.Value * 10) + "";
+        }
+
+        private void slider3_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider3.Value / 10) * 165);
+            _abi.SetChannel(42, intensity);
+            V3.Text = (int)(slider3.Value * 10) + "";
+        }
+
+        private void slider4_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider4.Value / 10) * 165);
+            _abi.SetChannel(43, intensity);
+            V4.Text = (int)(slider4.Value * 10) + "";
+        }
+
+        private void slider5_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider5.Value / 10) * 165);
+            _abi.SetChannel(44, intensity);
+            V5.Text = (int)(slider5.Value * 10) + "";
+        }
+
+        private void slider6_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider6.Value / 10) * 165);
+            _abi.SetChannel(45, intensity);
+            V6.Text = (int)(slider6.Value * 10) + "";
+        }
+
+        private void slider7_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider7.Value / 10) * 165);
+            _abi.SetChannel(46, intensity);
+            V7.Text = (int)(slider7.Value * 10) + "";
+        }
+
+        private void slider8_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider8.Value / 10) * 165);
+            _abi.SetChannel(47, intensity);
+            V8.Text = (int)(slider8.Value * 10) + "";
+        }
+
+        private void slider9_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider9.Value / 10) * 165);
+            _abi.SetChannel(48, intensity);
+            V9.Text = (int)(slider9.Value * 10) + "";
+        }
+
+        private void slider10_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+        {
+            int intensity = (int)((slider10.Value / 10) * 165);
+            _abi.SetChannel(49, intensity);
+            V10.Text = (int)(slider10.Value * 10) + "";
+        }
+
+        private void C1_Checked(object sender, RoutedEventArgs e)
+        {
+            slider1.IsEnabled = false;
+            _abi.SetChannel(40, 0);
+        }
+
+        private void C1_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider1.IsEnabled = true;
+            int intensity = (int)((slider1.Value / 10) * 165);
+            _abi.SetChannel(40, intensity);
+        }
+
+        private void C2_Checked(object sender, RoutedEventArgs e)
+        {
+            slider2.IsEnabled = false;
+            _abi.SetChannel(41, 0);
+        }
+
+        private void C2_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider2.IsEnabled = true;
+            int intensity = (int)((slider2.Value / 10) * 165);
+            _abi.SetChannel(41, intensity);
+        }
+
+        private void C3_Checked(object sender, RoutedEventArgs e)
+        {
+            slider3.IsEnabled = false;
+            _abi.SetChannel(42, 0);
+        }
+
+        private void C3_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider3.IsEnabled = true;
+            int intensity = (int)((slider3.Value / 10) * 165);
+            _abi.SetChannel(42, intensity);
+        }
+
+        private void C4_Checked(object sender, RoutedEventArgs e)
+        {
+            slider4.IsEnabled = false;
+            _abi.SetChannel(43, 0);
+        }
+
+        private void C4_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider4.IsEnabled = true;
+            int intensity = (int)((slider4.Value / 10) * 165);
+            _abi.SetChannel(43, intensity);
+        }
+
+        private void C5_Checked(object sender, RoutedEventArgs e)
+        {
+            slider5.IsEnabled = false;
+            _abi.SetChannel(44, 0);
+        }
+
+        private void C5_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider5.IsEnabled = true;
+            int intensity = (int)((slider5.Value / 10) * 165);
+            _abi.SetChannel(44, intensity);
+        }
+
+        private void C6_Checked(object sender, RoutedEventArgs e)
+        {
+            slider6.IsEnabled = false;
+            _abi.SetChannel(45, 0);
+        }
+
+        private void C6_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider6.IsEnabled = true;
+            int intensity = (int)((slider6.Value / 10) * 165);
+            _abi.SetChannel(45, intensity);
+        }
+
+        private void C7_Checked(object sender, RoutedEventArgs e)
+        {
+            slider7.IsEnabled = false;
+            _abi.SetChannel(46, 0);
+        }
+
+        private void C7_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider7.IsEnabled = true;
+            int intensity = (int)((slider7.Value / 10) * 165);
+            _abi.SetChannel(46, intensity);
+        }
+
+        private void C8_Checked(object sender, RoutedEventArgs e)
+        {
+            slider8.IsEnabled = false;
+            _abi.SetChannel(47, 0);
+        }
+
+        private void C8_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider8.IsEnabled = true;
+            int intensity = (int)((slider8.Value / 10) * 165);
+            _abi.SetChannel(47, intensity);
+        }
+
+        private void C9_Checked(object sender, RoutedEventArgs e)
+        {
+            slider9.IsEnabled = false;
+            _abi.SetChannel(48, 0);
+        }
+
+        private void C9_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider9.IsEnabled = true;
+            int intensity = (int)((slider9.Value / 10) * 165);
+            _abi.SetChannel(48, intensity);
+        }
+
+        private void C10_Checked(object sender, RoutedEventArgs e)
+        {
+            slider10.IsEnabled = false;
+            _abi.SetChannel(49, 0);
+
+        }
+
+        private void C10_Unchecked(object sender, RoutedEventArgs e)
+        {
+            slider10.IsEnabled = true;
+            int intensity = (int)((slider10.Value / 10) * 165);
+            _abi.SetChannel(49, intensity);
+        }
+
+        private void WindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
+        {
+            foreach (double d in GetCalibrationData())
+                Logger.logger.LogWrite(d + "", "Calibration");
+            _abi.Disconnect();
+        }
+        
+        public double[] GetCalibrationData()
+        {
+            return new double[10] { slider1.Value * 10, slider2.Value * 10, slider3.Value * 10, slider4.Value * 10, slider5.Value * 10, slider6.Value * 10, slider7.Value * 10, slider8.Value * 10, slider9.Value * 10, slider10.Value * 10 };
+        }
+    }
+
+    public class Motor : ListItem
+    {
+
+
+        public string name;
+        public int value;
+
+        public Motor(int num)
+        {
+            name = "Motor " + num;
+            value = num;
+        }
+
+
+        public override string ToString()
+        {
+            return this.name;
+            
+        }
+
+    }
+}

BIN
VTExperiment1/CommandMessenger.Transport.Serial.dll


BIN
VTExperiment1/CommandMessenger.dll


+ 19 - 0
VTExperiment1/Condition.xaml

@@ -0,0 +1,19 @@
+<Window x:Class="VTExperiment1.Condition"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:VTExperiment1"
+        mc:Ignorable="d"
+        Title="Condition" Height="314.384" Width="742.055">
+    <Grid>
+        <Label Content="Participant #" HorizontalAlignment="Left" Margin="43,57,0,0" VerticalAlignment="Top" FontSize="16"/>
+        <Label Content="Body Location" HorizontalAlignment="Left" Margin="43,107,0,0" VerticalAlignment="Top" FontSize="16"/>
+        <Label Content="Orientation" HorizontalAlignment="Left" Margin="43,162,0,0" VerticalAlignment="Top" FontSize="16"/>
+        <TextBox x:Name="ParticipantTextField" HorizontalAlignment="Left" Height="21" Margin="217,62,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="437" TextChanged="ParticipantTextField_TextChanged" />
+        <Button x:Name="SaveButton" Content="Save" HorizontalAlignment="Left" Margin="483,225,0,0" VerticalAlignment="Top" Width="171" Height="37" Click="SaveButton_Click" IsEnabled="False"/>
+        <ComboBox x:Name="BodyLocationBox" HorizontalAlignment="Left" Margin="217,114,0,0" VerticalAlignment="Top" Width="437" SelectionChanged="BodyLocationBox_SelectionChanged"/>
+        <ComboBox x:Name="OrientationBox" HorizontalAlignment="Left" Margin="217,166,0,0" VerticalAlignment="Top" Width="437" SelectionChanged="OrientationBox_SelectionChanged"/>
+
+    </Grid>
+</Window>

+ 83 - 0
VTExperiment1/Condition.xaml.cs

@@ -0,0 +1,83 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace VTExperiment1
+{
+    /// <summary>
+    /// Interaction logic for Condition.xaml
+    /// </summary>
+    public partial class Condition : Window
+    {
+        bool PFilled = false;
+        bool BLFilled = false;
+        bool OFilled = false;
+        public Condition()
+        {
+            InitializeComponent();
+            foreach (string s in Enum.GetNames(typeof(BodyLocations)))
+                BodyLocationBox.Items.Add(s);
+            foreach (string s in Enum.GetNames(typeof(Orientations)))
+                OrientationBox.Items.Add(s);
+        }
+
+        private void SaveButton_Click(object sender, RoutedEventArgs e)
+        {
+            Logger.logger = new LogWriter(ParticipantTextField.Text, BodyLocationBox.SelectedValue.ToString() , OrientationBox.SelectedValue.ToString());
+            Close();
+        }
+
+        private void ParticipantTextField_TextChanged(object sender, TextChangedEventArgs e)
+        {
+            PFilled = true;
+            if (PFilled & BLFilled & OFilled)
+                SaveButton.IsEnabled = true;
+        }
+
+        private void BodyLocationBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            BLFilled = true;
+            if (PFilled & BLFilled & OFilled)
+                SaveButton.IsEnabled = true;
+        }
+
+        private void OrientationBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            OFilled = true;
+            if (PFilled & BLFilled & OFilled)
+                SaveButton.IsEnabled = true;
+        }
+    }
+
+    public static class Logger
+    {
+        public static LogWriter logger;
+    }
+
+    enum BodyLocations
+    {
+        Wrist,
+        Forearm,
+        UpperArm,
+        Back,
+        Stomach,
+        Thigh,
+        Leg
+    }
+
+    enum Orientations
+    {
+        Along,
+        Round
+    }
+}

+ 71 - 0
VTExperiment1/LogWriter.cs

@@ -0,0 +1,71 @@
+using System;
+using System.IO;
+using System.Reflection;
+
+
+public class LogWriter
+{
+    private string m_exePath = string.Empty;
+    private string Participant;
+    public string BodyLocation;
+    private string Orientation;
+
+    public LogWriter(String Participant, String BodyLocation, String Orientation)
+    {
+        this.Participant = Participant;
+        this.BodyLocation = BodyLocation;
+        this.Orientation = Orientation;
+    }
+
+    public LogWriter(string logMessage)
+    {
+        LogWrite(logMessage);
+    }
+    public void LogWrite(string logMessage)
+    {
+        m_exePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
+        m_exePath += "\\" + Participant;
+        System.IO.Directory.CreateDirectory(m_exePath);
+        try
+        {
+            using (StreamWriter w = File.AppendText(m_exePath + "\\" + Participant + "_" + BodyLocation + "_" + Orientation +".txt"))
+            {
+                Log(logMessage, w);
+            }
+        }
+        catch (Exception ex)
+        {
+        }
+    }
+
+    public void LogWrite(string logMessage, string filename)
+    {
+        m_exePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
+        m_exePath += "\\" + Participant;
+        System.IO.Directory.CreateDirectory(m_exePath);
+        try
+        {
+            using (StreamWriter w = File.AppendText(m_exePath + "\\" + filename + ".txt"))
+            {
+                Log(logMessage, w);
+            }
+        }
+        catch (Exception ex)
+        {
+        }
+    }
+
+    public void Log(string logMessage, TextWriter txtWriter)
+    {
+        try
+        {
+            txtWriter.Write("\r\nLog Entry : ");
+            txtWriter.WriteLine("{0}", DateTime.Now);
+            txtWriter.WriteLine("  :{0}", logMessage);
+            txtWriter.WriteLine("-------------------------------");
+        }
+        catch (Exception ex)
+        {
+        }
+    }
+}

+ 15 - 0
VTExperiment1/MainWindow.xaml

@@ -0,0 +1,15 @@
+<Window x:Class="VTExperiment1.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:VTExperiment1"
+        mc:Ignorable="d"
+        Title="MainWindow" Height="346.6" Width="872">
+    <Grid>
+        <Button x:Name="DISTINCT" Content="More than 1 Point" HorizontalAlignment="Left" Height="131" Margin="9,96,0,0" VerticalAlignment="Top" Width="273" FontWeight="Bold" FontSize="24" Click="DISTINCT_Click"/>
+        <Button x:Name="NONDISTINCT" Content="1-Point" HorizontalAlignment="Left" Height="131" Margin="294,96,0,0" VerticalAlignment="Top" Width="273" FontWeight="Bold" FontSize="24" Click="NONDISTINCT_Click"/>
+        <Button x:Name="VIBRATE" Content="Vibrate" HorizontalAlignment="Left" Height="131" Margin="581,96,0,0" VerticalAlignment="Top" Width="273" FontWeight="Bold" FontSize="24" Click="VIBRATE_Click"/>
+
+    </Grid>
+</Window>

+ 143 - 0
VTExperiment1/MainWindow.xaml.cs

@@ -0,0 +1,143 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Collections;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using ActuBoardAPI;
+
+namespace VTExperiment1
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        private ActuBoardInterface _abi;
+        double[] calibratedIntensities;
+        int reversal_ctr = 0;
+        int distance = 5;
+        int reversal_flag = 0;
+        int step = 1;
+        Tuple<int, int>[] tuples =
+            {   Tuple.Create(4, 5), // 1 unit distance
+                Tuple.Create(3, 5), // 2 units
+                Tuple.Create(3, 6),
+                Tuple.Create(2, 6),
+                Tuple.Create(2, 7),
+                Tuple.Create(1, 7),
+                Tuple.Create(1, 8),
+                Tuple.Create(0, 8),
+                Tuple.Create(0, 9)
+        };
+        Tuple<int, int>[] tuples6 =
+            {
+                Tuple.Create(2, 3), // 1 unit distance
+                Tuple.Create(2, 4), // 2 units
+                Tuple.Create(1, 4),
+                Tuple.Create(1, 5),
+                Tuple.Create(0, 5)
+            };
+
+    public MainWindow()
+        {
+            InitializeComponent();
+            //Console.WriteLine(_abi.SetChannel(45, 125));
+            Calibration calibration = new Calibration();
+            calibration.ShowDialog();
+            calibration.BringIntoView();
+            calibratedIntensities = calibration.GetCalibrationData();
+            foreach (double d in calibratedIntensities)
+                Console.Write(" " + d);
+            _abi = new ActuBoardInterface();
+            _abi.SetComPort(6);
+            _abi.Connect();
+            _abi.EnableOutput(true);
+        }
+
+        private void DISTINCT_Click(object sender, RoutedEventArgs e)
+        {
+            Logger.logger.LogWrite("1 Point" + distance);
+            if (reversal_flag == 1)
+            {
+                reversal_ctr += 1;
+                reversal_flag = 0;
+                Logger.logger.LogWrite("REVERSAL " + reversal_ctr);
+            }
+            if (distance - step > 0)
+            {
+                distance = distance - step;
+            }
+            //Vibrate();
+        }
+
+        private void NONDISTINCT_Click(object sender, RoutedEventArgs e)
+        {
+            Logger.logger.LogWrite("Several Points" + distance);
+            if (reversal_flag == 0)
+            {
+                reversal_ctr += 1;
+                reversal_flag = 1;
+                Logger.logger.LogWrite("REVERSAL " + reversal_ctr);
+            }
+            if (distance + step < 6)
+            {
+                distance = distance + step;
+            }
+            //Vibrate();
+        }
+
+        private void VIBRATE_Click(object sender, RoutedEventArgs e)
+        {
+            Vibrate();
+        }
+
+        private void Vibrate()
+        {   if(Logger.logger.BodyLocation == "Wrist")
+            {
+                int m1 = tuples6[distance].Item1;
+                int m2 = tuples6[distance].Item2;
+                _abi.SetChannel(m1 + 40, (int)((calibratedIntensities[m1] / 50) * 165));
+                _abi.SetChannel(m2 + 40, (int)((calibratedIntensities[m2] / 50) * 165));
+                System.Threading.Thread.Sleep(1000);
+                _abi.SetChannel(m1 + 40, 0);
+                _abi.SetChannel(m2 + 40, 0);
+            }
+            else
+            {
+                int m1 = tuples[distance].Item1;
+                int m2 = tuples[distance].Item2;
+                _abi.SetChannel(m1 + 40, (int)((calibratedIntensities[m1] / 50) * 165));
+                _abi.SetChannel(m2 + 40, (int)((calibratedIntensities[m2] / 50) * 165));
+                System.Threading.Thread.Sleep(1000);
+                _abi.SetChannel(m1 + 40, 0);
+                _abi.SetChannel(m2 + 40, 0);
+
+            }
+            if (reversal_ctr == 6)
+            {
+                Close();
+            }
+        }
+    }
+
+    public class DataPoint
+    {
+        int dist;
+        bool distinct;
+        public DataPoint(int distance, bool distinct)
+        {
+            dist = distance;
+            this.distinct = distinct;
+        }
+    }
+}

+ 55 - 0
VTExperiment1/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("VTExperiment1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("VTExperiment1")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
+//inside a <PropertyGroup>.  For example, if you are using US english
+//in your source files, set the <UICulture> to en-US.  Then uncomment
+//the NeutralResourceLanguage attribute below.  Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
VTExperiment1/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace VTExperiment1.Properties
+{
+
+
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("VTExperiment1.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
VTExperiment1/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
VTExperiment1/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace VTExperiment1.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
VTExperiment1/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 117 - 0
VTExperiment1/Receive.cs

@@ -0,0 +1,117 @@
+
+using System;
+using System.Diagnostics;
+using System.Threading;
+using CommandMessenger;
+using CommandMessenger.Transport.Serial;
+
+namespace VTExperiment1
+{
+
+    // This is the list of recognized commands. These can be commands that can either be sent or received. 
+    // In order to receive, attach a callback function to these events
+    // 
+    // Default commands
+    // Note that commands work both directions:
+    // - All commands can be sent
+    // - Commands that have callbacks attached can be received
+    // 
+    // This means that both sides should have an identical command list:
+    // one side can either send it or receive it (sometimes both)
+
+    // Commands
+
+
+
+    enum Command
+    {
+        SetLed,
+        SetMotor,// Command to request led to be set in specific state
+    };
+
+    public class Receive
+    {
+        public bool RunLoop { get; set; }
+        private SerialTransport _serialTransport;
+        private CmdMessenger _cmdMessenger;
+        private bool _ledState;
+
+        public int portID;
+
+        // Setup function
+        public void Setup()
+        {
+            _ledState = false;
+
+            // Create Serial Port object
+            _serialTransport = new SerialTransport();
+            _serialTransport.CurrentSerialSettings.PortName = "COM" + portID;    // Set com port
+            _serialTransport.CurrentSerialSettings.BaudRate = 115200;     // Set baud rate
+            _serialTransport.CurrentSerialSettings.DtrEnable = false;     // For some boards (e.g. Sparkfun Pro Micro) DtrEnable may need to be true.
+
+
+
+            // Initialize the command messenger with the Serial Port transport layer
+            _cmdMessenger = new CmdMessenger(_serialTransport, BoardType.Bit16);
+
+            // Attach the callbacks to the Command Messenger
+            AttachCommandCallBacks();
+
+            // Start listening
+            _cmdMessenger.Connect();
+        }
+
+        // Loop function
+        public void Loop()
+        {
+            // Create command
+            var command = new SendCommand((int)Command.SetLed, _ledState);
+
+            // Send command
+            _cmdMessenger.SendCommand(command);
+
+            Console.Write("Turning led ");
+            Console.WriteLine(_ledState ? "on" : "off");
+
+            // Wait for 1 second and repeat
+            Thread.Sleep(100);
+            _ledState = !_ledState;   // Toggle led state            
+        }
+
+        public void toggleLed(bool b)
+        {
+            var command = new SendCommand((int)Command.SetLed, b);
+            _cmdMessenger.SendCommand(command);
+
+            Console.Write("Turning led ");
+            Console.WriteLine(b ? "on" : "off");
+        }
+
+        public void setMotor(int number, int intensity)
+        {
+            var command = new SendCommand((int)Command.SetMotor, number +"");
+            command.AddArgument(intensity);
+            _cmdMessenger.SendCommand(command);
+        }
+
+        public void setMotor(int number, int intensity, int duration)
+        {
+            var command = new SendCommand((int)Command.SetMotor, number + "");
+            command.AddArgument(intensity);
+            command.AddArgument(duration);
+            _cmdMessenger.SendCommand(command);
+        }
+
+        // Exit function
+        public void Exit()
+        {
+            // We will never exit the application
+        }
+
+        /// Attach command call backs. 
+        private void AttachCommandCallBacks()
+        {
+            // No callbacks are currently needed
+        }
+    }
+}

+ 122 - 0
VTExperiment1/VTExperiment1.csproj

@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{A2A7B7AD-3FEA-4E70-8EEF-29DE7C488C06}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>VTExperiment1</RootNamespace>
+    <AssemblyName>VTExperiment1</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="ActuBoardInterface">
+      <HintPath>..\..\..\..\Documents\actuboard\ActuBoard_API\ActuBoardInterface\ActuBoardInterface\bin\Debug\ActuBoardInterface.dll</HintPath>
+    </Reference>
+    <Reference Include="CommandMessenger">
+      <HintPath>..\..\WpfApp2\WpfApp2\CommandMessenger.dll</HintPath>
+    </Reference>
+    <Reference Include="CommandMessenger.Transport.Serial">
+      <HintPath>..\..\WpfApp2\WpfApp2\CommandMessenger.Transport.Serial.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Compile Include="Calibration.xaml.cs">
+      <DependentUpon>Calibration.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Condition.xaml.cs">
+      <DependentUpon>Condition.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="LogWriter.cs" />
+    <Compile Include="Receive.cs" />
+    <Page Include="Calibration.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Condition.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 80 - 0
VTExperiment1/bin/Debug/1/1_Forearm_Along.txt

@@ -0,0 +1,80 @@
+
+Log Entry : 13.08.2019 13:13:49
+  :DISTINCT 5
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:51
+  :DISTINCT 4
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:53
+  :DISTINCT 3
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:59
+  :DISTINCT 2
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:01
+  :DISTINCT 1
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:02
+  :NONDISTINCT 1
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:02
+  :REVERSAL 1
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:04
+  :DISTINCT 2
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:04
+  :REVERSAL 2
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:06
+  :NONDISTINCT 1
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:06
+  :REVERSAL 3
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:12
+  :NONDISTINCT 2
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:14
+  :NONDISTINCT 3
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:15
+  :DISTINCT 4
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:15
+  :REVERSAL 4
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:21
+  :DISTINCT 3
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:23
+  :NONDISTINCT 2
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:23
+  :REVERSAL 5
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:25
+  :DISTINCT 3
+-------------------------------
+
+Log Entry : 13.08.2019 13:14:25
+  :REVERSAL 6
+-------------------------------

+ 120 - 0
VTExperiment1/bin/Debug/1/Calibration.txt

@@ -0,0 +1,120 @@
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:17
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:09:50
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :21
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :26,5590551181102
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :25
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :28,503937007874
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :26,2992125984252
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :21,259842519685
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :26,8503937007874
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :0
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :37,7952755905512
+-------------------------------
+
+Log Entry : 13.08.2019 13:13:26
+  :44,488188976378
+-------------------------------

BIN
VTExperiment1/bin/Debug/ActuBoardInterface.dll


BIN
VTExperiment1/bin/Debug/ActuBoardInterface.pdb


BIN
VTExperiment1/bin/Debug/CommandMessenger.Transport.Serial.dll


BIN
VTExperiment1/bin/Debug/CommandMessenger.dll


BIN
VTExperiment1/bin/Debug/VTExperiment1.exe


+ 6 - 0
VTExperiment1/bin/Debug/VTExperiment1.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

BIN
VTExperiment1/bin/Debug/VTExperiment1.pdb


+ 70 - 0
VTExperiment1/obj/Debug/App.g.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5995C0C3F7A50B7D56E56CAFA352A3870E621349"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            VTExperiment1.App app = new VTExperiment1.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 70 - 0
VTExperiment1/obj/Debug/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5995C0C3F7A50B7D56E56CAFA352A3870E621349"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            VTExperiment1.App app = new VTExperiment1.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
VTExperiment1/obj/Debug/Calibration.baml


+ 596 - 0
VTExperiment1/obj/Debug/Calibration.g.cs

@@ -0,0 +1,596 @@
+#pragma checksum "..\..\Calibration.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4076E6882CFCDEB2E0F58BC4585B490EEA57FF1E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Calibration
+    /// </summary>
+    public partial class Calibration : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 13 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 14 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 17 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 19 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 27 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 29 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 34 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 39 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 41 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 42 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 43 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 47 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 49 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider10;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 50 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V10;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 51 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C10;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/calibration.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Calibration.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 10 "..\..\Calibration.xaml"
+            ((VTExperiment1.Calibration)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.slider1 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 13 "..\..\Calibration.xaml"
+            this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider1_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.V1 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.C1 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 15 "..\..\Calibration.xaml"
+            this.C1.Checked += new System.Windows.RoutedEventHandler(this.C1_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 15 "..\..\Calibration.xaml"
+            this.C1.Unchecked += new System.Windows.RoutedEventHandler(this.C1_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.slider2 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 17 "..\..\Calibration.xaml"
+            this.slider2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider2_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.V2 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.C2 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 19 "..\..\Calibration.xaml"
+            this.C2.Checked += new System.Windows.RoutedEventHandler(this.C2_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 19 "..\..\Calibration.xaml"
+            this.C2.Unchecked += new System.Windows.RoutedEventHandler(this.C2_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.slider3 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 21 "..\..\Calibration.xaml"
+            this.slider3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider3_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 9:
+            this.V3 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 10:
+            this.C3 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 23 "..\..\Calibration.xaml"
+            this.C3.Checked += new System.Windows.RoutedEventHandler(this.C3_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 23 "..\..\Calibration.xaml"
+            this.C3.Unchecked += new System.Windows.RoutedEventHandler(this.C3_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 11:
+            this.slider4 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 25 "..\..\Calibration.xaml"
+            this.slider4.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider4_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 12:
+            this.V4 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 13:
+            this.C4 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 27 "..\..\Calibration.xaml"
+            this.C4.Checked += new System.Windows.RoutedEventHandler(this.C4_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 27 "..\..\Calibration.xaml"
+            this.C4.Unchecked += new System.Windows.RoutedEventHandler(this.C4_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 14:
+            this.slider5 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 29 "..\..\Calibration.xaml"
+            this.slider5.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider5_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 15:
+            this.V5 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 16:
+            this.C5 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 31 "..\..\Calibration.xaml"
+            this.C5.Checked += new System.Windows.RoutedEventHandler(this.C5_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 31 "..\..\Calibration.xaml"
+            this.C5.Unchecked += new System.Windows.RoutedEventHandler(this.C5_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 17:
+            this.slider6 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 33 "..\..\Calibration.xaml"
+            this.slider6.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider6_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 18:
+            this.V6 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 19:
+            this.C6 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 35 "..\..\Calibration.xaml"
+            this.C6.Checked += new System.Windows.RoutedEventHandler(this.C6_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 35 "..\..\Calibration.xaml"
+            this.C6.Unchecked += new System.Windows.RoutedEventHandler(this.C6_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 20:
+            this.slider7 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 37 "..\..\Calibration.xaml"
+            this.slider7.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider7_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 21:
+            this.V7 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 22:
+            this.C7 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 39 "..\..\Calibration.xaml"
+            this.C7.Checked += new System.Windows.RoutedEventHandler(this.C7_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 39 "..\..\Calibration.xaml"
+            this.C7.Unchecked += new System.Windows.RoutedEventHandler(this.C7_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 23:
+            this.slider8 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 41 "..\..\Calibration.xaml"
+            this.slider8.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider8_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 24:
+            this.V8 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 25:
+            this.C8 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 43 "..\..\Calibration.xaml"
+            this.C8.Checked += new System.Windows.RoutedEventHandler(this.C8_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 43 "..\..\Calibration.xaml"
+            this.C8.Unchecked += new System.Windows.RoutedEventHandler(this.C8_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 26:
+            this.slider9 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 45 "..\..\Calibration.xaml"
+            this.slider9.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider9_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 27:
+            this.V9 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 28:
+            this.C9 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 47 "..\..\Calibration.xaml"
+            this.C9.Checked += new System.Windows.RoutedEventHandler(this.C9_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 47 "..\..\Calibration.xaml"
+            this.C9.Unchecked += new System.Windows.RoutedEventHandler(this.C9_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 29:
+            this.slider10 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 49 "..\..\Calibration.xaml"
+            this.slider10.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider10_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 30:
+            this.V10 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 31:
+            this.C10 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 51 "..\..\Calibration.xaml"
+            this.C10.Checked += new System.Windows.RoutedEventHandler(this.C10_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 51 "..\..\Calibration.xaml"
+            this.C10.Unchecked += new System.Windows.RoutedEventHandler(this.C10_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 596 - 0
VTExperiment1/obj/Debug/Calibration.g.i.cs

@@ -0,0 +1,596 @@
+#pragma checksum "..\..\Calibration.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4076E6882CFCDEB2E0F58BC4585B490EEA57FF1E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Calibration
+    /// </summary>
+    public partial class Calibration : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 13 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 14 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 17 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 19 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 27 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 29 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C5;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 34 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C6;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 39 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C7;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 41 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 42 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 43 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C8;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 47 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C9;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 49 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider10;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 50 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox V10;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 51 "..\..\Calibration.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.CheckBox C10;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/calibration.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Calibration.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 10 "..\..\Calibration.xaml"
+            ((VTExperiment1.Calibration)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.slider1 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 13 "..\..\Calibration.xaml"
+            this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider1_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.V1 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.C1 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 15 "..\..\Calibration.xaml"
+            this.C1.Checked += new System.Windows.RoutedEventHandler(this.C1_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 15 "..\..\Calibration.xaml"
+            this.C1.Unchecked += new System.Windows.RoutedEventHandler(this.C1_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.slider2 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 17 "..\..\Calibration.xaml"
+            this.slider2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider2_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.V2 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.C2 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 19 "..\..\Calibration.xaml"
+            this.C2.Checked += new System.Windows.RoutedEventHandler(this.C2_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 19 "..\..\Calibration.xaml"
+            this.C2.Unchecked += new System.Windows.RoutedEventHandler(this.C2_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.slider3 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 21 "..\..\Calibration.xaml"
+            this.slider3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider3_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 9:
+            this.V3 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 10:
+            this.C3 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 23 "..\..\Calibration.xaml"
+            this.C3.Checked += new System.Windows.RoutedEventHandler(this.C3_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 23 "..\..\Calibration.xaml"
+            this.C3.Unchecked += new System.Windows.RoutedEventHandler(this.C3_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 11:
+            this.slider4 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 25 "..\..\Calibration.xaml"
+            this.slider4.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider4_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 12:
+            this.V4 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 13:
+            this.C4 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 27 "..\..\Calibration.xaml"
+            this.C4.Checked += new System.Windows.RoutedEventHandler(this.C4_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 27 "..\..\Calibration.xaml"
+            this.C4.Unchecked += new System.Windows.RoutedEventHandler(this.C4_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 14:
+            this.slider5 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 29 "..\..\Calibration.xaml"
+            this.slider5.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider5_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 15:
+            this.V5 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 16:
+            this.C5 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 31 "..\..\Calibration.xaml"
+            this.C5.Checked += new System.Windows.RoutedEventHandler(this.C5_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 31 "..\..\Calibration.xaml"
+            this.C5.Unchecked += new System.Windows.RoutedEventHandler(this.C5_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 17:
+            this.slider6 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 33 "..\..\Calibration.xaml"
+            this.slider6.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider6_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 18:
+            this.V6 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 19:
+            this.C6 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 35 "..\..\Calibration.xaml"
+            this.C6.Checked += new System.Windows.RoutedEventHandler(this.C6_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 35 "..\..\Calibration.xaml"
+            this.C6.Unchecked += new System.Windows.RoutedEventHandler(this.C6_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 20:
+            this.slider7 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 37 "..\..\Calibration.xaml"
+            this.slider7.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider7_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 21:
+            this.V7 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 22:
+            this.C7 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 39 "..\..\Calibration.xaml"
+            this.C7.Checked += new System.Windows.RoutedEventHandler(this.C7_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 39 "..\..\Calibration.xaml"
+            this.C7.Unchecked += new System.Windows.RoutedEventHandler(this.C7_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 23:
+            this.slider8 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 41 "..\..\Calibration.xaml"
+            this.slider8.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider8_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 24:
+            this.V8 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 25:
+            this.C8 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 43 "..\..\Calibration.xaml"
+            this.C8.Checked += new System.Windows.RoutedEventHandler(this.C8_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 43 "..\..\Calibration.xaml"
+            this.C8.Unchecked += new System.Windows.RoutedEventHandler(this.C8_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 26:
+            this.slider9 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 45 "..\..\Calibration.xaml"
+            this.slider9.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider9_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 27:
+            this.V9 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 28:
+            this.C9 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 47 "..\..\Calibration.xaml"
+            this.C9.Checked += new System.Windows.RoutedEventHandler(this.C9_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 47 "..\..\Calibration.xaml"
+            this.C9.Unchecked += new System.Windows.RoutedEventHandler(this.C9_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            case 29:
+            this.slider10 = ((System.Windows.Controls.Slider)(target));
+            
+            #line 49 "..\..\Calibration.xaml"
+            this.slider10.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider10_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 30:
+            this.V10 = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 31:
+            this.C10 = ((System.Windows.Controls.CheckBox)(target));
+            
+            #line 51 "..\..\Calibration.xaml"
+            this.C10.Checked += new System.Windows.RoutedEventHandler(this.C10_Checked);
+            
+            #line default
+            #line hidden
+            
+            #line 51 "..\..\Calibration.xaml"
+            this.C10.Unchecked += new System.Windows.RoutedEventHandler(this.C10_Unchecked);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
VTExperiment1/obj/Debug/Condition.baml


+ 146 - 0
VTExperiment1/obj/Debug/Condition.g.cs

@@ -0,0 +1,146 @@
+#pragma checksum "..\..\Condition.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B7ABC39A34207524FE54BCA038F6F2D0CBCA1C6C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Condition
+    /// </summary>
+    public partial class Condition : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 13 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox ParticipantTextField;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 14 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button SaveButton;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox BodyLocationBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 16 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox OrientationBox;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/condition.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Condition.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.ParticipantTextField = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 13 "..\..\Condition.xaml"
+            this.ParticipantTextField.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ParticipantTextField_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.SaveButton = ((System.Windows.Controls.Button)(target));
+            
+            #line 14 "..\..\Condition.xaml"
+            this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.BodyLocationBox = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 15 "..\..\Condition.xaml"
+            this.BodyLocationBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BodyLocationBox_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.OrientationBox = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 16 "..\..\Condition.xaml"
+            this.OrientationBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OrientationBox_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 146 - 0
VTExperiment1/obj/Debug/Condition.g.i.cs

@@ -0,0 +1,146 @@
+#pragma checksum "..\..\Condition.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B7ABC39A34207524FE54BCA038F6F2D0CBCA1C6C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Condition
+    /// </summary>
+    public partial class Condition : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 13 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox ParticipantTextField;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 14 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button SaveButton;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox BodyLocationBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 16 "..\..\Condition.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox OrientationBox;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/condition.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Condition.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.ParticipantTextField = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 13 "..\..\Condition.xaml"
+            this.ParticipantTextField.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ParticipantTextField_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.SaveButton = ((System.Windows.Controls.Button)(target));
+            
+            #line 14 "..\..\Condition.xaml"
+            this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.BodyLocationBox = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 15 "..\..\Condition.xaml"
+            this.BodyLocationBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BodyLocationBox_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.OrientationBox = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 16 "..\..\Condition.xaml"
+            this.OrientationBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OrientationBox_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
VTExperiment1/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
VTExperiment1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
VTExperiment1/obj/Debug/MainWindow.baml


+ 129 - 0
VTExperiment1/obj/Debug/MainWindow.g.cs

@@ -0,0 +1,129 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6BF65BFB9F3F3783120A5A4A6B3AF9DB1831BCD0"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button DISTINCT;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 11 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button NONDISTINCT;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button VIBRATE;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.DISTINCT = ((System.Windows.Controls.Button)(target));
+            
+            #line 10 "..\..\MainWindow.xaml"
+            this.DISTINCT.Click += new System.Windows.RoutedEventHandler(this.DISTINCT_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.NONDISTINCT = ((System.Windows.Controls.Button)(target));
+            
+            #line 11 "..\..\MainWindow.xaml"
+            this.NONDISTINCT.Click += new System.Windows.RoutedEventHandler(this.NONDISTINCT_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.VIBRATE = ((System.Windows.Controls.Button)(target));
+            
+            #line 12 "..\..\MainWindow.xaml"
+            this.VIBRATE.Click += new System.Windows.RoutedEventHandler(this.VIBRATE_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 129 - 0
VTExperiment1/obj/Debug/MainWindow.g.i.cs

@@ -0,0 +1,129 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6BF65BFB9F3F3783120A5A4A6B3AF9DB1831BCD0"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button DISTINCT;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 11 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button NONDISTINCT;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button VIBRATE;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.DISTINCT = ((System.Windows.Controls.Button)(target));
+            
+            #line 10 "..\..\MainWindow.xaml"
+            this.DISTINCT.Click += new System.Windows.RoutedEventHandler(this.DISTINCT_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.NONDISTINCT = ((System.Windows.Controls.Button)(target));
+            
+            #line 11 "..\..\MainWindow.xaml"
+            this.NONDISTINCT.Click += new System.Windows.RoutedEventHandler(this.NONDISTINCT_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.VIBRATE = ((System.Windows.Controls.Button)(target));
+            
+            #line 12 "..\..\MainWindow.xaml"
+            this.VIBRATE.Click += new System.Windows.RoutedEventHandler(this.VIBRATE_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
VTExperiment1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll


+ 0 - 0
VTExperiment1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
VTExperiment1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
VTExperiment1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs


+ 106 - 0
VTExperiment1/obj/Debug/Test.g.i.cs

@@ -0,0 +1,106 @@
+#pragma checksum "..\..\Test.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "084E540DFF5A44AED3A3BD6089B58CAD416BBBED"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Test
+    /// </summary>
+    public partial class Test : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\Test.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ListBox listbox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\Test.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/test.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Test.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.listbox = ((System.Windows.Controls.ListBox)(target));
+            
+            #line 10 "..\..\Test.xaml"
+            this.listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listbox_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.slider = ((System.Windows.Controls.Slider)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
VTExperiment1/obj/Debug/VTExperiment1.Properties.Resources.resources


+ 0 - 0
VTExperiment1/obj/Debug/VTExperiment1.csproj.CopyComplete


+ 1 - 0
VTExperiment1/obj/Debug/VTExperiment1.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+cf6e18065668f649cfeb1ef22c544872b20422c3

+ 22 - 0
VTExperiment1/obj/Debug/VTExperiment1.csproj.FileListAbsolute.txt

@@ -0,0 +1,22 @@
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\bin\Debug\VTExperiment1.exe.config
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\bin\Debug\VTExperiment1.exe
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\bin\Debug\VTExperiment1.pdb
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\bin\Debug\ActuBoardInterface.dll
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\bin\Debug\ActuBoardInterface.pdb
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\Calibration.g.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\MainWindow.g.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\App.g.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1_MarkupCompile.cache
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1_MarkupCompile.lref
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\Calibration.baml
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\MainWindow.baml
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.g.resources
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.Properties.Resources.resources
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.csproj.GenerateResource.cache
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.csproj.CoreCompileInputs.cache
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.csproj.CopyComplete
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.exe
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.pdb
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\VTExperiment1.csprojResolveAssemblyReference.cache
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\Condition.g.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\Condition.baml

BIN
VTExperiment1/obj/Debug/VTExperiment1.csproj.GenerateResource.cache


BIN
VTExperiment1/obj/Debug/VTExperiment1.csprojResolveAssemblyReference.cache


BIN
VTExperiment1/obj/Debug/VTExperiment1.exe


BIN
VTExperiment1/obj/Debug/VTExperiment1.g.resources


BIN
VTExperiment1/obj/Debug/VTExperiment1.pdb


+ 20 - 0
VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.cache

@@ -0,0 +1,20 @@
+VTExperiment1
+
+
+winexe
+C#
+.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\
+VTExperiment1
+none
+false
+DEBUG;TRACE
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\App.xaml
+3-1865557123
+
+9-1603377850
+16765621891
+Calibration.xaml;Condition.xaml;MainWindow.xaml;
+
+False
+

+ 20 - 0
VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+VTExperiment1
+
+
+winexe
+C#
+.cs
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\obj\Debug\
+VTExperiment1
+none
+false
+DEBUG;TRACE
+C:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\App.xaml
+3-1865557123
+
+13-1244762081
+16765621891
+Calibration.xaml;Condition.xaml;MainWindow.xaml;
+
+True
+

+ 4 - 0
VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.i.lref

@@ -0,0 +1,4 @@
+
+
+FC:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\Condition.xaml;;
+

+ 6 - 0
VTExperiment1/obj/Debug/VTExperiment1_MarkupCompile.lref

@@ -0,0 +1,6 @@
+
+
+FC:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\Calibration.xaml;;
+FC:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\Condition.xaml;;
+FC:\Users\hesham.elsayed\source\repos\VTExperiment1\VTExperiment1\MainWindow.xaml;;
+

+ 75 - 0
VTExperiment1/obj/Debug/Window1.g.i.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\Window1.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B89DA223EBE1BE6D88605251AF5BC56AB839CB39"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using VTExperiment1;
+
+
+namespace VTExperiment1 {
+    
+    
+    /// <summary>
+    /// Window1
+    /// </summary>
+    public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/VTExperiment1;component/window1.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\Window1.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+