12-07-2008 08:09 PM
Hello
What attached VI is doing getting the byte from the serial and converting to Hex and then storing to the file. it should look like:
53
00
01
FF
00
FF
00
FF
00
What i am trting to do is to make a FIFO and compare it with the other having the required termination condition... getting problem in implementation not getting a right path to do it..
trying to make a condition to look for End of data pattern in coming data like "FF00FF00FF00" when every I receive this continues data loop should terminate. Sending you vi also with details marked in it...
waiting for your reply..
Solved! Go to Solution.
12-08-2008 04:48 AM
12-08-2008 07:51 AM
12-12-2008 04:42 AM
12-12-2008 08:10 AM
12-13-2008 03:48 AM
Thanks for your help till now, but want to clear few things so you can guide me to finish this problem
But I want to write the values in text file but for that I have to convert the string to hex because other wise non printable char will be not written and should be write as
53
00
01
02
03
04
05
now I need help to convert the data which is existing FIFO to Hex and written in file only when pattern is not match like ( the blue values should be added in file)
FIFO start:
53
5300
530001
53000102
5300010203
530001020304
000102030405 53 ( file should start writing from here)
0102030405FF 00
02030405FF00 01
030405FF00FF 02
0405FF00FF00 03
05FF00FF00FF 04
FF00FF00FF00 05
GerdW I hope now I have tried to clear the picture.
12-13-2008 03:16 PM