02-25-2009 08:41 PM
How do i increment an array ? If i wan to start reading from the 2nd data.
02-25-2009 09:01 PM
02-26-2009 04:00 AM
I can't store my data into the array. It keep overwrite at the same location. Below is the attached vi.
02-26-2009 04:03 AM
Hi ander99,
small tip: shiftregisters are your friends, the wire is the variable.
What do you try to do? Can you explain please? You should upload your example with values in your arrays. Insert your values and make them default.
Mike
02-26-2009 06:07 AM
Sorry i forget about the value. I did with shift registers. Maybe i do not know the correct way. Thank for your help mike.
02-26-2009 06:45 AM
Hi ander99,
can you please explain which array you mean? I changed a bit in your vi and added a build array component, maybe it was the correct place for it.
Hope it helps.
Mike
02-26-2009 07:23 AM
Hi Mike,
Sorry is the Loss (401) i want as output. Because it keep overwrite at the 1st index. Hmm..sorry i can't open that file. I'm using Labview 7.1. Thank for your time.
02-26-2009 08:05 AM - edited 02-26-2009 08:05 AM
Adnan's post in reply 5 gave the answer. How come you didn't implement that?
Here is a screenshot of Mike's code as LV 7.1 is too far to say back to without extra effort and a PC with LV 8.0 installed on it. The code is duplicated just to show the other case of the case structure without broken wires.
Advantages: no local variables, no stacked sequences