LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to compare two files?

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 

0 Kudos
Message 1 of 4
(2,930 Views)

hi batata,

  whatever the code you pasted is displaying the latest VI file.Then what are you going to do?Could you explain in detail please.

 

 

 

 

thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 4
(2,904 Views)

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

Regards
0 Kudos
Message 3 of 4
(2,899 Views)

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

0 Kudos
Message 4 of 4
(2,866 Views)