📄 agt_getvisatimeout.m
字号:
function [status, status_description, timeout_setting] = agt_getVisaTimeout(connection)
% PSG/ESG Download Assistant, Version 1.6
% Copyright (C) 2005 Agilent Technologies, Inc.
%
% function [status, status_description] = agt_getVisaTimeout(connection)
% The function gets the timeout setting of instrument connection.
%
% Output:
% status integer status of agt_getVisaTimeout. 0:succeeded, -1:failed
% status_description string if status is < 0, status_description contains an error message.
% timeout_setting integer if status is 0, timeout_setting is valid.
% Input:
% connection a structure generated by the agt_newconnection function.
%
[status, response] = agt_sgIOmx( int32(6), connection );
if (status <0)
status_description = response;
timeout_setting = 0;
else
status_description = 'succeeded';
timeout_setting = response;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -