07-02-2021 04:18 AM - edited 07-02-2021 04:23 AM
Labview version is 2017
The default data type of Waveform Graphs control is DBL
I cant find a way to change it
Solved! Go to Solution.
07-02-2021 04:22 AM
07-02-2021 04:26 AM
But it wont help the memory man'agement🤔
07-02-2021 07:34 AM
@Bat-Freak wrote:
But it wont help the memory man'agement🤔
Why not? The graph is polymorphic and will therefore choose the implementation based upon the connected input. If you connect the SGL you will see that it does not create a coercion dot - it changes to SGL instead.
07-02-2021 09:42 AM
Hi Freak,
@Bat-Freak wrote:
But it wont help the memory man'agement🤔
Which "memory management" are you talking about?
What is the goal behind your question about using SGL with graphs?
(You might run into other "memory management" troubles as many math functions only support DBL and no SGL, resulting in coercion dots in other places in your code…)
07-02-2021 11:49 AM
A waveform graph accepts a very rich collection of different input and will adapt whenever a suitable type is wired to it (See below).
(When you say "control", I assume you actually mean "indicator". A graph as control makes little sense!)
Before you wire anything to it, it contains no data, and consumes no data memory!
A waveform graph accepts many datatypes without coercion. Here's a (incomplete) list.