When programmatically setting point and line styles for graph plots and cursors, the integer values for those style settings can be hard to use. I have created enums for these, and provide them here in case anyone might find them useful.
Here's an example of how they look in code:
Thank you. Can you "Save for Previous Version" and specify LabVIEW 2019? I also use 2021, but if 2019 works, even more users would benefit ...
Bob Schor
@Bob_Schor wrote:
Thank you. Can you "Save for Previous Version" and specify LabVIEW 2019? I also use 2021, but if 2019 works, even more users would benefit ...
Bob Schor
I would appreciate
Thank you for sharing, littlesphaeroid.
Why not save to the earliest possible version? It's just a simple enum, should be ok for all.
I have taken the liberty to convert littlesphaeroid's
.ctl to Labview 2020
now we need the same for Plot.PointStyle and Plot.Interp 😉
Sorry, it's been awhile since I posted, and I forgot to backsave for a previous version. Turns out that you actually need to use a ring instead of an enum to get this to work properly, so I am attaching the rings.
It's long bothered me that this doesn't exist, as not having easy to read selectors makes automating graph presentation tedious.
Enjoy!
What would be really cool is if you could create a picture ring whose representation on the BD is also a picture ring!