Hi!!I have some problems with the synchronization of my system, and I
don=B4t know how I can solve this!

My system consists of differents vi=B4s.Some of them are used to read
analogic inputs and digital inputs, using the serial port.
The values that I read, go through differents vi to be proccesed, and
at the end, these values are written in a file, all the values in the
same file.
My problems of synchronization are:

1.   I have one vi per input, and all of them use the same serial
port. How can I synchronize them to avoid serial port conflicts?
(using queues??) And how can I do, to get differents  number of
samples/sg with every vi? I have to introduce them in differents
loops?

2.   The other problem is that, for example, I want to read 8 samples/
s but I only want to write two samples every second. How can I do to
avoid stoping the data flow?

Maybe, my problem is that I want to see the system like
one block, and I am ignoring that, although all the system works like
a block, every part works using a different "speed". I don=B4t know how
tools can I use to combine two ideas, working  like an only system(
data dependence, some vis need the data of others vi to be able to
work) and working getting differents numbers of samples/s.
I have seen that there are synchronization vis. I am going to glance
at them, maybe I find something interesting but I amsure that your
help will be very useful?
Thanks in advanced!!

Graci

Reply via email to