10-18-2007 05:17 PM
10-18-2007 10:27 PM
10-23-2007 06:20 PM
10-23-2007 06:45 PM
10-23-2007 07:05 PM
the array1 contain the data that i receive the serial port.
-than i want create a array that save this values, (at the first this array are empty, and compary that the index0 that array 1 stay there of course that not stay) than a save this values in other array that i call array memory, but if this data appear again i remove this data from my array memory!
I have tow arrays, one is in my memory and the other i receive from serial port data ...in this case is a string constant.
What i want to to is this: when the data is received, i want to search in the array: if the data are not there yet, i want to
save in the memory and incremente a variable; but, if it is already in the memory, i want to remove the data and decremente a varaible.
But, in the beginning, when i receive my first data, the array is empty. it would be filled as time goes by..
I have to search all data that stay in constante string.
10-24-2007 05:43 AM
10-24-2007 06:10 AM
10-24-2007 10:35 AM
Thanks all help ,
but this don´t result because whem teh value is detecet again they showld remove the value from aray .
this is from control of people in a room ... initialy dont have people in room, whem a value is detected i put this value in array ... whem detecetd again remove from array..
my problem is whem i remove i have to order array because miss one element...
10-24-2007 11:05 AM - edited 10-24-2007 11:05 AM
Message Edited by lmtis on 10-24-2007 11:06 AM
10-24-2007 11:08 AM
my code is this,
i try make this with the function node but i don´t know if this funciton..
my read string is this type:
t
Tag 300833B2DDD9014035050063, from antena 0
Tag 300833B2DDD9014035050043, from antena 0
Tag 000000000000000000000002, from antena 0
thanks