01-24-2022 11:24 AM - edited 01-24-2022 11:25 AM
This is from the CompactRIO example provided by NI in LabVIEW 2020, called "LabVIEW FPGA Control on CompactRIO".
I'm basically just reverse engineering the example so I can apply it to my own project, but I can't figure out what the heck they are doing with these shared variables.
They are writing to them in this subVI, but I can't find where they are reading from them. And I don't see any spooky streaming or anything going on where the reading might be "invisible" or hidden. Surely they are reading somewhere....what would be the point of writing to them?
Solved! Go to Solution.
01-24-2022 11:51 AM
Is there a "UI Main VI" in that same project?
01-24-2022 12:19 PM
Ah crap. Ok. I looked at that, but I was expecting to find shared variables that looked the same, but in read access mode. Now I see the the read variable functions
Never seen it done that way before! I wish the courses I've done just started out explaining it do it this way. I've basically been coding like a Neanderthal. But I guess that's my fault for not going further into the courses
01-24-2022 12:40 PM
Yes, you will learn many nuggets along the way that make something easier and you wish you had known it all along. There was a thread with many great, random nuggets in it: https://forums.ni.com/t5/LabVIEW/Micro-Nuggets-Post-em-if-you-got-em/td-p/1276066?profile.language=e...