Import LinuxCNC source tree
This commit is contained in:
20
tests/ilowpass/low-gain/test.hal
Normal file
20
tests/ilowpass/low-gain/test.hal
Normal file
@@ -0,0 +1,20 @@
|
||||
loadrt threads
|
||||
loadrt ilowpass
|
||||
addf ilowpass.0 thread1
|
||||
|
||||
setp ilowpass.0.scale 1
|
||||
setp ilowpass.0.gain 0.1
|
||||
|
||||
start
|
||||
|
||||
setp ilowpass.0.in 4
|
||||
loadusr -w sleep 1
|
||||
getp ilowpass.0.out
|
||||
|
||||
setp ilowpass.0.in 0
|
||||
loadusr -w sleep 1
|
||||
getp ilowpass.0.out
|
||||
|
||||
setp ilowpass.0.in -5
|
||||
loadusr -w sleep 1
|
||||
getp ilowpass.0.out
|
||||
Reference in New Issue
Block a user