Hello Everyone,
I currently have 3 parallel processes. 1) handles the user interface. 2) Make calls to the device, and writes it's data to a file. 3) Acquires the sense voltage. 1 & 2 are correlated in some way(same devices), and I would like to synchronize it's task so that it does not do read and writes concurrently. I used a Semophore to seperate the task. However, the problem is that I am not writing to the file at precisely one second, it is off by +15ms every 5 seconds or so. I am considering using a Rendevous instead of a Semaphore, is this the right approach? Thanks in advance.
Vince