Code covered by the BSD License  

Highlights from
Single shot NI-USB6008 DAQ

Single shot NI-USB6008 DAQ

by

 

Single shot NI-USB6008 Data Acquisition

find_ni_usb_6008
function boardId = find_ni_usb_6008

boardId = [];

try
    info = daqhwinfo('nidaq');
catch 
    disp('Unable to find any NI-DAQ devices (is the device driver installed?)');
    return;    
end


index = strmatch('USB-6008', info.BoardNames);
if isempty(index)
    disp('Unable to find NI USB-6008 (is it turned on and connected to the PC?)');
    return;
end

boardId = info.InstalledBoardIds{index(1)};

Contact us