所属产品线:
Vijeo Designer解决方法:
触摸屏存储30个报警文件到CF卡的脚本如下:
int a=N_LogFileName.getIntValue();
int temp;
if (a>0 & a<31)
{
temp=a+1;
N_LogFileName.write(temp);
}
else
{
temp=0;
N_LogFileName.write(temp);
}
是否有帮助?
{}
触摸屏存储30个报警文件到CF卡的脚本如下:
int a=N_LogFileName.getIntValue();
int temp;
if (a>0 & a<31)
{
temp=a+1;
N_LogFileName.write(temp);
}
else
{
temp=0;
N_LogFileName.write(temp);
}
是否有帮助?