Ejemplo n.º 1
0
        private OscChannel selectedChannel; //< Channel to get messages

        public void SelectChannel(OscChannel.Name channelName)
        {
            oscilloscope.trigger.ledSelected.State = false;
            if (selectedChannel != null)
            {
                selectedChannel.ledSelected.State = false;
            }
            selectedChannel = oscilloscope.GetChannel(channelName);
            selectedChannel.ledSelected.State = true;
            updateHelp = true;
        }
Ejemplo n.º 2
0
 /// <summary>Get channel by name</summary>
 public OscChannel GetChannel(OscChannel.Name channelName)
 {
     return(oscChannels[(int)channelName % oscChannels.Length]);
 }
Ejemplo n.º 3
0
 /// <summary>Set channel for this trigger</summary>
 public void SetChannel(OscChannel.Name channelName)
 {
     channel = oscilloscope.GetChannel(channelName);
     OnPlugHandle();
 }