% *************************************************************************
% [Name]
% vi_is_frame_new
% 
% [Function]
% Waits until the device is ready for capturing the next frame 
% 
% [Usage]
% vi_is_frame_new(VI, device_id)
% 
% [Arguments]
% VI
% VideoInput object
% 
% device_id
% Device ID
% (device_id starts from 0)
% 
% [Return]
% 
% 
% [Sample]
% sample_vi.m
