09-04-2014 08:40 AM
Have you used LabVIEW's debugging tools? Wires retain values, probes, break points etc. Looking at the values on the wires, and where they change helps understand why a value changes unexpectedly. The program doesn't do anything you didn't (inadvertently) tell it to do.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-04-2014 09:30 AM
I'm struggling to follow what's supposed to happen, but one thing stands out to me. Is this tunnel coming out of the Event structure causing a problem?
What steps do I need to follow to reproduce your condition?
09-04-2014 09:55 AM
I dont know if i am missing somthing but you are using autoindexing for loop so every element in array is going to change their value and this is what happaning.
you need to get index at which value is changed and update values at that index only not the whole array.
09-04-2014 11:55 AM
Try replacing the "New value " with propert node
09-04-2014 12:47 PM
@Guruthilak wrote:
Try replacing the "New value " with propert node
That won't do anything. In fact, that is horrible advice. Using property nodes to get/set values is HORRIBLE. The property node makes it SOOOOOOOOOOOOOOOOOO much slower than a local variable would and you still have the issues of race conditions with both the local variable and property node.
The NewValue gives the latest value of the control. That is exactly what the OP needs to use.
09-04-2014 01:17 PM
@Guruthilak wrote:
Try replacing the "New value " with propert node
Regards
Guru (CLA)
...are you really a CLA?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-04-2014 01:37 PM
@Hooovahh wrote:
@Guruthilak wrote:
Try replacing the "New value " with propert node
Regards
Guru (CLA)...are you really a CLA?
I'm guessing there's a 'D' missing at the end there...
09-04-2014 01:39 PM
09-04-2014 11:27 PM
@Hooovahh wrote:
@Guruthilak wrote:
Try replacing the "New value " with propert node
Regards
Guru (CLA)...are you really a CLA?
I'm guessing there's a 'D' missing at the end there...
Hmmm i think i started to like you guys.. So you guys want me to scan and upload the CLA certificate? I can do that.... Grow uo guys...
The code which i opened up was broken as there was typedefs missing. With nested while loops and a broken code, thats what came to my mind to suggest.
I guess you guys should open the code and give a lecture on how to architect and write a neat code considering all design aspect to the one who posted the question. I can not do that as its not my cup of tea...
So you guys better take the complete requiremtn and do the job for him....all the best
09-05-2014 01:19 AM
Nobody is here to do job for anyone. This is the place where we share and learn.
As a CLA, people expect more from you. May be it was a bit harsh but still it was your mistake.( I am not a CLA but thanks to this forum i know the conseqences of using property nodes )
Participate in the forum, Try to answer more and accept your mistakes, may be we have lot to learn from you.
P.S. - Guys here are really good friends and they can make fun of you and you also will get your chance