Реферат: Создание проекта с использованием программы GeniDAQ и контроллеров серии АДАМ-4000
Sub SCR2()
T1=GetTag("Task1","AI2")
F1=GetTag("virtask","F1")
Ffleg=GetTag("Disp1","NCTL5")
Tfleg=GetTag("Disp1","NCTL6")
Trib=GetTag("virtask","TRIB")
Fkb=GetTag("Task1","PID2")
Fg=0.553*F1
Qpr=F1-Fg+Fkb/4
dQpr=Qpr-Qpr0
Qpr0=Qpr
Sum=Sum+dQpr
L=L+0.08*Sum
P105=0.985+0.183*Fg
Tkb=0.31*Trib+0.28*T1*0.43*F1
P29=0.156*Tkb
if l>=3 then k=1 else k=0
Outputf 0, L
Outputf 1, Fg
Outputf 2, -Fkb
Outputf 3, Tkb
Outputf 5, P105
End Sub
Sub SCR3()
Fpar=GetTag("Disp1","NCTL3")
Tpar=GetTag("Disp1","NCTL4")
Tkb=GetTag("virtask","TKB")
Xp=GetTag("Task1","PID4")
Fpar1=Fpar+Xp