04-27-2016 08:29 AM
I think this problem has been seen before. Can anyone point me to a listing in a known bug list?
I have attached some code which demonstrates the problem. When updating a waveform chart in a cluster using a property node inside a sub-vi it doesnt update.
Thanks!
04-27-2016 08:51 AM
Bonjour niNickC,
C'est très simple et ce n'est pas un bug.
Tu as câblé la référence de ton cluster à ton property node change value et tu lui envoie une waveform. Alors qu'il attend un Cluster contenant une waveform.
Il aurait fallu connecter directement la référence de ton graph au property node.
Cela dit, passer par une référence n'est pas une bonne solution pour transmettre des données entre VIs. Tu pourrais par exemple utiliser une variable.
Il y a une page écrite par Luc Desruelle qui en parle bien.
Bon Courage.
04-27-2016 08:55 AM
Hi niNickC,
Sorry, forgot my english 🙂
It's very simple and it's not a bug.
You reference a cluster to your property node and you send him a waveform as value.
You should reference a waveform graph instead.
Beside, a ref isn't a good way to send data between VI you should use variable like FGV.
Regards.
04-27-2016 09:04 AM
I appreciate this is not a 'good' way to solve this problem but is the behaviour seen in the attached VI expected?
04-27-2016 09:09 AM
04-27-2016 09:40 AM
I don't understand what you are suggesting. There is no coercion in the example VI. There are no waveform types anywhere. The cluster simply contains one double numeric:
and this is what is bundled in the sub-VI:
04-27-2016 09:59 AM
Nick,
I do see your issue, and I agree that it is puzzling why it does not work. If you do it directly in the same manner with the indicator, it works just like you expect. It will also work by reference if you reference the waveform chart directly instead of the cluster.
You can post it here if you want:
http://forums.ni.com/t5/BreakPoint/Monthly-Bugs-April-2016/td-p/3275572
I think only NI has a master list, and they only publish what they fix (unless you find a CAR referenced in a thread here.
Matthew
04-27-2016 10:10 AM
My bad, thought you use a build waveform function.
It coul be a bug as if you replace chart by num display it update correctly.
It worked if you get object reference of you cluster and send value into the first ref (chart).
Regards.
04-28-2016 06:00 AM
Hi niNickC,
Strange fact it worked if you do the following.
You should create a CAR.
10-31-2016 11:01 AM
Hello all
I also have this issue, made slightly more complex as I have an array of clusters. I have attached a screenshot of the code. My cycle count, missed cycles, state etc. updates successfully for all stations (cluster refnums) in the array. The data is being passed to the waveform chart (I have probed this) but the graph is not plotting. Does anyone know if a CAR was raised or if there is another workaround different to the one Sabri has posted earlier in this thread?
Thanks
Ray