Click here to Skip to main content
15,905,233 members

Comments by Zaraki21 (Top 4 by date)

Zaraki21 10-Jan-16 3:37am View    
A is launched first and after B is launched. When B is running, a progress bar in A application has to be updated.
Zaraki21 17-Jun-11 11:29am View    
I will try to explain what I would like to do :

A software runs on the embedded device. On the device, there are alarms and warning which are toggle sometimes. My software module that I have to create have to
store and make a list of alarms through a file.

For example, after booting, I have those following alarms and those are "recorded" like that :
file.txt
|--------------------------------
|2501 1 alarm1
|2560 1 alarm2
|2561 1 alarm3
|2578 1 alarm4
|2568 1 alarm5

After few minutes for example, the alarm4 is down so basically the file should be like that :
|--------------------------------
|2501 1 alarm1
|2560 1 alarm2
|2561 1 alarm3
|2578 1 alarm4
|2568 1 alarm5
|2578 0 alarm4

But I would like to update the file according to the fact that "because the alarm4 was up before and it is down, so I delete the record in the file".
|--------------------------------
|2501 1 alarm1
|2560 1 alarm2
|2561 1 alarm3
|2568 1 alarm5
This process should allow me to have a "picture" of the system.

Also, the file is updated in real time.
Zaraki21 17-Jun-11 3:37am View    
Acctually, the number of alarms are defined and fixed by the device ; I mean there is a list of possible alarms that can be up or down. The fact is we don't know the number of alarms that can be up during a day for example : it could be a lot or only one.
Zaraki21 17-Jun-11 3:30am View    
Actually, we don't know when an alarm change state. An alarm can be up for long time or short one. The process of making down an alarm is in charge of the device, I don't control that.