Code covered by the BSD License  

Highlights from
Powersupply EA PSI 900 VCP _USB Control Exsample

Powersupply EA PSI 900 VCP _USB Control Exsample

by

 

Control EA PSI 9000 Powersupply with Instrument Toolbox

G=SDundDN(G)
function G=SDundDN(G)
%% StartDelimiter und DeviceNode

% StartDelimiter
G.SD_bin = uint8( bin2dec(...
    [ dec2bin(G.Sendungstype,2)...
      dec2bin(G.Cast,1)...
      dec2bin(G.Richtung,1)... 
      dec2bin(G.Laenge,4)...
    ] ));
% DeviceNode
G.DN_bin =uint8(G.Geraetenummer);

Contact us