📄 adv_start.m
字号:
function ADV_Start()%ADV_START Launches the Advanced Data Visualization program.global g_ADVVendorglobal g_ADVAddress% Check to see if the I/O configuration file existsif exist( 'AgilentADVConfig.mat', 'file' ) == 0 g_ADVVendor = 'agilent'; g_ADVAddress = 'TCPIP0::localhost::inst0::INSTR'; IOConfig;else vars = load( 'AgilentADVConfig.mat', 'vendor', 'visaAddress' ); g_ADVVendor = vars.vendor; g_ADVAddress = vars.visaAddress;end% Display the ADV figureretry = 1;while retry try ADVFigure; retry = 0; catch resp = questdlg( 'Could not connect to the spectrum analyzer. Would you like to edit the I/O configuration?', ... 'I/O Error', 'Yes', 'No', 'Yes' ); if strcmp( resp, 'Yes' ) IOConfig; else retry = 0; end endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -