07-21-2011 03:51 AM
i jus took an array, and then took the array size function so that it shows me the no of elements present in it. so it ll be the initial array size value. if the elements of same array changes to other value, then i want to compare the initial array size value and the changed array size value. how to compare them............... plz help me out. looking for possible solution. thanks 🙂 🙂
Solved! Go to Solution.
07-21-2011 04:06 AM
Hi stara,
store your array size value in a shiftregister and compare the stored value with the new array size. If the values are not equal, then you can react on it. Maybe you can also show your vi, to clarify what you try to do.
Mike
07-21-2011 04:16 AM
hmmm i have added my vi here , actually i was trying to detect the pendrive whenever it is connected, so i hav used a function list folder, if we keep the path empty , v ll be getting no of drives is in our sys, so when we connect a pendrive the folder names array size ll increase and then we can compare both values, but here i took the initial drives value as constant 5 and then i have compared, bt i wanna check it without taking sum constant value
07-21-2011 04:32 AM
Hi stara,
the attached image shows ony solution.
Hope it helps.
Mike
07-21-2011 04:43 AM
hey thanx mike 🙂 bt can u send me the actual labview vi. m nt able to see the image 😞
07-21-2011 09:12 AM