📄 global.pas
字号:
unit Global;
interface
uses Driver;
type
lpDevList = ^PT_DEVLIST;
const MaxEntries = 255;
var
lDeviceHandle : Longint;
lErrCde : Longint;
szErrMsg : string;
pszErrMsg : Pchar = @szErrMsg;
DevCfg : DEVCONFIG_AI; // structure for DEVCONFIG_AI table
ptAIConfig : PT_AIConfig; // structure for AIConfig table
ptAIVoltageIn : PT_AIVoltageIn; // structure for AIVoltageIn table
ptAIVoltageInExp : PT_AIVoltageInExp; // structure for AIVoltageInExp table
ptDevGetFeatures : PT_DeviceGetFeatures; // structure for DeviceGetFeatures
dfDevFeatures : DEVFEATURES;
ptAIGetConfig : PT_AIGetConfig; // structure for AIGetConfig table
gwChannel : Smallint = 0; // input channel
usExpChan : Smallint = 0; // expansion channel
usBoardID : Smallint = 0; // Board ID
usMaxChannel : Smallint = 0; // max channel
gwGain : Smallint = 0;
gnNumOfSubdevices : Smallint = 0;
implementation
begin
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -