?? start.m
字號:
% This script defines the default parameters.
% Load the following parameters:
% Harware
handles.BoardID=1; % NI board ID number
handles.PAmp1=1; % Port COM for the Amplifier #1: 0=disable, 1=COM1, ..., 6=COM6
handles.PAmp2=2; % Port COM for the Amplifier #2: 0=disable, 1=COM1, ..., 6=COM6
handles.PStage=3; % Port COM for the Stepping Motor controling the stage: 0=disable, 1=COM1, ..., 6=COM6
% Window location (in pixels from the left lower corner of the screen)
handles.LocScaGUI=[20, 830]; % Main window (width=820, height=580)
handles.LocAmpGUI=[1150, 692]; % Amplifier setup window (width=400, height=468)
handles.LocConGUI=[850, 744]; % Configuration window (width=285, height=416)
handles.LocStaGUI=[850, 530]; % Stage control window (width=250, height=170)
handles.LocDatGUI=[20, 80]; % Data windows: grab, line or sequence (width=420, height=340 or width=740, height=580)
% Amplifier#1
handles.Sensit1=20; % Gain or Sensitivity control: 0 - 27
handles.Offset1=0; % Current Offset: -1000 - 1000
handles.Bias1=0; % Voltage Bias: -5000 - 5000
handles.CutOffFreq1=300; % Filter Cutoff Frequency (KHz): 100, 300, 1000
handles.LNAmp1=1; % Filter Gain mode: 0=low noise, 1=high width band
handles.Invert1=1; % Invert the signal sense: 0=non-invert, 1=invert
% Amplifier#2
handles.Sensit2=20;
handles.Offset2=0;
handles.Bias2=0;
handles.CutOffFreq2=300;
handles.LNAmp2=1;
handles.Invert2=1;
% Control and Display parameters
handles.NumbPixels=320; % Number of Pixels: 640, 320
handles.NumbLines=240; % Number of Lines: 480, 240, 100, 50, 20
handles.NumbStrip=10; % Number of Strip per Image: 10, 5, 1
handles.NumbSequ=2; % Number of Images scanned: >=2
handles.BinF=1; % Bin Factor: 4, 2, 1
handles.UseF=1/1.328125; % Use Factor or porcentage of used data (approximately 75%) - DO NOT CHANGE!!
handles.RaisT=1.7e-3; % Raising Part of the Ramp (sec): 3.4e-3, 1.7e-3
handles.FallT=0.3e-3; % Falling Part of the Ramp (sec): 0.6e-3, 0.3e-3
handles.InpFs=round( (handles.NumbPixels*handles.BinF)/(handles.UseF*handles.RaisT) ); % Input Sample Frequency (Hz)
handles.OutpFs=100e3; % Output Sample Frequency (Hz)
handles.MaxValue=100; % Zoom In porcentage (%): 800, 400, 200, 100
handles.OffSet=[160.5,120.5]; % Offset (pixels)
handles.Alpha=0; % Rotation Angle (degrees), positive angles means counterclockwise rotation. DISABLE PARAMETER
handles.Kalman=1; % Kalman filter: '1' is OFF, any number larger than 1 is ON
handles.KalmanMem=2; % Number of images averaged by the Kalman filter: >=2
handles.MirrorDelay=0.31e-3; % Delay of the mirrors (sec) - DO NOT CHANGE!!
handles.LS=0; % Line Scan: '0' is OFF, '1' is ON
handles.Step=1; % Step size of the stage (micro meter): .1 <= Step <= 1000
handles.Stage=0; % Movement of the Stage: '0' is OFF, '1' is ON
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -