LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing waveform data to property node

I have a seperate VI that contains all of my plots. I am acessing the plots through a reference to plot the results of a test. When I trying using a property node to pass the data the property node will not accept the data. If I wire it directly to the waveform indicator Labview doesn't seem to have any problem with it. 

 

Is this a bug or am I misunderstanding something?

 

Capture.PNG

 

It writes perfectly fine if the reference is local but when I read the reference from a class it doesn't accept the data.

0 Kudos
Message 1 of 3
(2,379 Views)

For anyone who encounters the same problem I found the solution.

 

The waveform indicatior is a polymorphic VI but the reference isn't. I had to wire the data type I wanted to the indicator and then create the reference. The reference now accepts the array of clusters as the input data type for the 'value' property.

0 Kudos
Message 2 of 3
(2,354 Views)
Yes, this is correct. Another solution is to not use a strictly typed reference. In that situation the datatype of the Value property will be a variant so there will be no broken wires, but if you don't get the datatype right you can get runtime errors.

Mike....

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,335 Views)