06-28-2019 11:32 AM
How to make a connection of enum with property node of the waveform chart on the block diagram so that we can choose among three choices: strip, scope, and sweep.
And, also between enum and property node of the waveform chart so that it would allow the user to display or not display the plot points on waveform?
Thank you
Solved! Go to Solution.
06-28-2019 12:04 PM
Please provide more detail of your problem:
Easiest would be if you could attach a simple example VI.
06-28-2019 12:38 PM
Actually, I have trouble finding the right property as well as connecting them. I want to create a program where enum would control the property node of waveform chart to allow the user to choose among one of the types: scope, sweep and stip as well as allow the user to choose to display the plot points or not display them.
06-28-2019 12:44 PM
The correct property is "update mode", not "plotpointstyle".
06-28-2019 01:02 PM
06-28-2019 01:02 PM - edited 06-28-2019 01:08 PM
@dipaish wrote:
Actually, I have trouble finding the right property as well as connecting them. I want to create a program where enum would control the property node of waveform chart to allow the user to choose among one of the types: scope, sweep and stip as well as allow the user to choose to display the plot points or not display them.
I strongly recommend that you first take a few more tutorials before continuing. Code is just a mess!
Still, here's a quick example. Seems to work just fine.
And please(!!!) don't use easter egg color fills on structures on the diagram. Any background color except white makes certain wires hard to see. Focus on code, not on cosmetics.
(Still, you should only write to the property node if the control changes, and not with every iteration of the loop. Not shown. You might also want to re-write t0 when switching to certain update modes).
06-28-2019 03:30 PM
Thank you so much for your help.
06-28-2019 04:24 PM
I spent almost whole day watching tutorials trying to figure which codes would be best for my program. I really appreciate the sample by you which gave me a lot of ideas. I figured out the alternate ways for my program but was lengthy, yours is too short( Do more in less time as you say).
Thank you so much @altenbach