04-02-2013 01:44 PM
Error message:
"you have connected two terminals of different types. the type of the source is double [64 bit real (~15 bit precision)]. The type of the sink is 1-D array of double[64 bit real(~15 bit precision)]."
How do we link an Arduino Read block to a Waveform Graph without receiving the above error message?
04-02-2013 01:54 PM
Well, since the type of the two terminals are different, you'll have to make them work with the same type.
Your source is a double value and the sink is 1-D array of double.
So I guess (with my little experience in LabVIEW) that you will have to build an 1-D array to plot data into the Waveform Graph.
That's what I'd try to do in a hurry.
04-02-2013 02:03 PM - edited 04-02-2013 02:06 PM
However, note that and this conversion isn't going to plot anything on the waveform graph. I've forgot to specify (my mistake).
I suppose you're reading one value from the Arduino Read block. So if you want to plot this value in function of time, the best option is to use the Waveform Chart.
So you won't need any conversions or arrays, but just wire the two terminals as you've done before.
(Hope I'm right now)
04-02-2013 05:59 PM
A 1 point plot isn't very exiting. 🙂
As Joao says, you'll need to get (or build) an array of values.
/Y