% *************************************************************************
% [Name]
% vi_setup_device
% 
% [Function]
% Initialize to capture images from devices
% 
% [Usage]
% vi_setup_device(VI, device_id, width, height, fps)
% 
% [Arguments]
% VI
% VideoInput object
% 
% device_id
% Device ID
% (device_id starts from 0)
% 
% width
% Image width
% 
% height
% Image height
% 
% fps
% The frame rate
% 
% [Return]
% 
% 
% [Sample]
% sample_vi.m
