How Synexsis Accelerates Your A/V Control System Development

Improve your bottom line.  That is one of our main goals with the Synexsis software. 

We’ve worked hard to relieve you of writing the back-end code of A/V system control to complete projects quickly and to send them out the door faster.   Because Synexsis boots your development speed you are able to bill more projects every month.

If you’re looking to drive a four-channel Extron Matrix Switcher, here is the code from our Rapid Start Switcher Tutorial.  Included is just 57 lines of code – simple, clean and most of it is cut and paste.

using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Enkadia.Synexsis.Components.Switchers.Extron;
using Enkadia.Synexsis.ComponentFramework.Extensions;
using Microsoft.Extensions.DependencyInjection;
	namespace QuickStartSwitcher
	    public sealed partial class MainPage : Page
	        int Input; //create variables for the input and output channels
	        int Output;
	        IServiceProvider serviceProvider; //Used to provide Synexsis methods to the application
	        DXPSwitcher switcher; //Initialize an Extron switcher
	        public MainPage()
	            //setup the Collection which will contain the Synexsis components
	            serviceProvider = new ServiceCollection()
	                .AddSynexsis() //add specific Synexsis functions.
	                .AddTransient<DXPSwitcher>() //setup the switcher component
	            switcher = serviceProvider.GetService<DXPSwitcher>();
	        private void BtnInput1_OnClick(object sender, RoutedEventArgs e)
	            Input = 1;
	        private void BtnInput2_OnClick(object sender, RoutedEventArgs e)
	            Input = 2;
	        //For the remaining functions use an expression body as a shortcut and save keystrokes
	        private void BtnInput3_OnClick(object sender, RoutedEventArgs e) => Input = 3;
	        private void BtnInput4_OnClick(object sender, RoutedEventArgs e) => Input = 4;
	        private void BtnOutput1_OnClick(object sender, RoutedEventArgs e) => Output = 1;
	        private void BtnOutput2_OnClick(object sender, RoutedEventArgs e) => Output = 2;
	        private void BtnOutput3_OnClick(object sender, RoutedEventArgs e) => Output = 3;
	        private void BtnOutput4_OnClick(object sender, RoutedEventArgs e) => Output = 4;
	        private void BtnTake_OnClick(object sender, RoutedEventArgs e) => switcher.AVXPoint(Input, Output);

Yes, this is a pretty elementary example as it doesn’t provide feedback (that would be another two lines of code).  However, you see how Synexsis can speed up your workflow and increase your bottom line.

Take a run at Synexsis for yourself by trying it for free:

Or dig in a little deeper to what you can learn on our tutorials page:

Thanks for reading!