01-19-2010 07:47 PM
hi,
the code in the attached file looks up is specific directory and view the last saved file .. my question is how can i repeat this process every 10s + when repeated the new file should be compared with the last file viewed so if they are equal the code goes back to take another file if they are not equal the code continues
thanks
01-19-2010 10:28 PM
01-19-2010 10:35 PM
hi
its looks lik eu need a state mechine approach for your programming. If you can explain a little bit more i may be able help .
regards
01-20-2010 08:53 AM
thanks guys ,
what i'm trying to do is i'll look in the specific directory and pick the last saved file knowing that in this directory a 5 new files will replace the old 5 every 5s . then the code have to check if the file that is picked up is the same or not in case it is the same the process should be repeated if they're not the process continue and basicaly the files the .txt so i'll take the first file and spilit the txt inside it which is in hexadecimal and represents calculation for delay jitter and packet loss in Voip .. the split should be according to IP header of the RTP and RTCP .. so at the end each of the delay , jitter and packet loss will be represented on a graph with respect to time ..
there is one more problem which is how can i process the next coming file .. the circuit should run contiuosly
thanks alot