I'm bordering on psychosis now.
Grr..
I'm trying to pass an array to a waveform graph by reference. The array is an array of I16 data.
I have verified that the data in question is correct, and when viewed view probe (RIGHT before going into the property node, mind you) it is something like:
2048
2053
2066
...
However, when you look at the front panel it's totally different. Turning on Autoscale Y and looking at the data showed that instead it was displaying:
-1024 2048 0 0 (two other numbers) (two other numbers) 0 0 (etc.)
I imagine that it is some sort of typecasting problem, but I cannot figure it out.
I note that the word "value" on
the property node is Orange, indicating that it is writing a DBL. I had the Refnum Control include data type, but even so, it appears Orange.
The Waveform Graph itself was of type DBL. I never changed it, but in the main program, I did wire an I16 value to it, which SEEMED to change the Graph to type I16. Is there a more rigorous way of changing a Waveform Graph's data type. (This could be the problem)
I'll attach the front panel with the sub-vi in question. Please help or I may explode.
-Dobbs