% *************************************************************************
% [Name]
% vi_list_devices
% 
% [Function]
% Returns the number of available devices
% 
% [Usage]
% numDevices = vi_list_devices(VI)
% 
% [Arguments]
% VI
% VideoInput object
% 
% [Return]
% numDevices
% The number of available devices
% 
% [Sample]
% sample_vi.m
