Commit 78d57a59620cfa952f93163af28250924bb78efa

Authored by Arnaud Blanchard
1 parent aa78cf97

Update README.md

Showing 1 changed file with 24 additions and 11 deletions
... ... @@ -3,7 +3,19 @@ Set of programs to manipulate data in blc_channels. They do not have any lib dep
Acquire input values
====================
From keyboard
from files
----------
`i_fread <filename.tsv>`
Read a line of data from the file in tsv (i.e. '0.3 0.55 0.56 ' is a vector of 3 values) and creates a channel (a vector) containing these data.
If there are many lines, it updates the data as fast as possible with each time.
It is very fast you can be either be synchronized or using -p to requiert a minimal time between each update.
You can also use a first column describing the time in µs to read the line.
Finaly you can limit the number of line read by using -n.
from keyboard
-------------
`i_keyboard` changes values with the keyboard arrows or specific keys:
... ... @@ -30,20 +42,21 @@ Creates a channel '/toto' of 4 float values between 0 and 1 and display the pour
We see the initial values are set to 49% (i.e. 0.5) and we can chenge them with the arrow.
You could change the initial value by changing the neutral value (-N).
You can change the min and max with -m and -M. The default step of one keypressed in 0.004 (~1/256) or 1 with UIN8 type. It can be chenged with -S.
You can change the min and max with -m and -M. The default step of one keypressed in 0.004 (~1/256) or 1 with UIN8 type.
It can be changed with -S.
Sometime you do not want intermediate values but only toggle to max and min then use -T.
Sometime you do not want intermediate values but only toggle to max and min. Then use -T.
From files
----------
from oscillator
---------------
`i_fread <filename.tsv>`
`i_oscillator -o/toto`
Read a line of data from the file in tsv (i.e. '0.3 0.55 0.56 ' is a vector of 3 values) and creates a channel (a vector) containing these data.
If there are many lines, it updates the data as fast as possible with each time.
It is very fast you can be either be synchronized or using -p to requiert a minimal time between each update.
You can also use a first column describing the time in µs to read the line.
Finaly you can limit the number of line read by using -n.
Generates sinusoidale oscillations and put it in the channel /toto.
You can specify the frequency with -f and the refresh rate with -r.
The refresh rate defines how often you will update the value of the oscillator but will not change the frequency.
You can use a buffer to keep the historic of the oscillation.
Generate outputs
... ...