HEC Electronic
AS is a serial acquisition software allowing to display up to 8 curves simultaneously. It uses COM ports to receive data. It is possible to save the received data. Two backup modes are possible. The first being a manual backup. The other allows a backup according to the achievement of a number of acquisitions made.
When data is received, a time tag is associated with it. When saving data, the time tag is kept with the data.
How it work
Data must be received in a specific sequence. Take for example the case where the transmitter is a microcontroller (µC). The µC first sends a character between a and h inclusively, then it sends the data in float format.
Example of use in Arduino language:
x: Any variable
Serial. println("a");
Serial.println(x,8);
The letter a is associated with the data that follows it. The software will form a curve using all the data associated with a.
Example of code with an Arduino environment
float t=0;
float f=0;
int vit=100;
void setup() {
Serial.begin(9600);
}
void loop() {
t=t+0.1;
f=sin(t);
Serial.println("a");
Serial.println(f,8);
delay(vit);
f=cos(t+1);
Serial.println("b");
Serial.println(f,8);
delay(vit);
}
created with
Static Website Generator .