close all
clear all

ljasm = NET.addAssembly('LJUDDotNet'); %Make the UD .NET assembly visible in MATLAB
[ljudObj, ljhandle] = SetUp_LJ();


Outputs.DO0 = 1;
Outputs.DO2 = 1;
Outputs.DAC0 = 0;
Outputs.DAC1 = 0;
[analog0, analog1] = SetGetLJ(ljudObj,ljhandle,Outputs);


disp(['analog0 = ' num2str(analog0)]);
disp(['analog1 = ' num2str(analog1)]);

