% Landing Lights clear; delete(daqfind); % clear everything out DIO = digitalio('nidaq', 'Dev3'); % always use these parameters as they are DOlines = addline(DIO, 0:2, 'out'); % create 3 output lines for i = 1:25 for k = [0 1 2 4] putvalue(DOlines,k); % send in decimal, %which is convtd to binary (array). pause(.1) end end putvalue(DOlines, [0 0 0]); % another way to make a 'binary' array. delete(daqfind);