01-29-2025 10:36 AM
Hi
First a disclaimer. Don't try this unless you have a backup of your system !
And another disclaimer. Don't try this unless you are a seasoned myRIO user !
This description is probably of no use for the student audience of the myRIO. There is no installer so the modifications cannot be undone. So consider this tinkering a proof of concept demonstration.
I have been wondering why there are no support for the mentioned LabVIEW versions. There is little changed in the myRIO toolkits since the first full release with LabVIEW 2014. LabVIEW 2019 was a transition release with the new Base Image concept for CompactRIO.
So, I decided to make a brute force attempt and see what happened. Simply copy everything obviously myRIO related from a working myRIO environment to the unsupported environment. This meant copying files from a LabVIEW 2019 SP1 environment to a LabVIEW 2020 SP1 environment. And likewise for 2021 SP1 to 2022 Q3.
LabVIEW 2022 Q3 asked which environment I would like to use, offering a myRIO environment when started. I had no issues opening and running the usual demo project templates for RT and FPGA, and can even install and select the special high throughput personality.
LabVIEW 2019 SP1 crashed immediately when opened, with a nasty cpp file error ( as often experienced in the nineties ). If was a myrio.ini file in the modes folder that caused it. Copying the same file over from the 2021 SP1 installation fixed the crash. And 2019 SP1 then runs as nicely as 2022 Q3.
So which files needs to be copied over. I use a dual pane file manager called Total Commander which makes the copying manageable. It involves copying up to about 4000 files. The copy procedure takes about a hour.
I searched for folders including myRIO in the name. I copied all such folders and their sub-folders from the 'LabVIEW 2021' folder to the 'LabVIEW 2022' folder, so they ended up in the same named locations.
I searched for additional files including myRIO in the name and copied them over. Most were already copied by the folder copying, of course.
Same copy procedure for LabVIEW 2019 SP1 to LabVIEW 2020 SP1.
Copying as described also copies some splash files over, which will cause LabVIEW 2022 Q3 to claim that it has 2021 myRIO support. It can be corrected as this information is simply read from bmp and png files in the modes folder.
Remember to install CompactRIO drivers that supports the actual LabVIEW versions.
Regards
03-27-2025 04:37 PM
As it turns out, the myRO Software Toolkit 2021 was released on the same day as LabVIEW 2022 Q3. Having installed at least 4 (maybe >5) versions of the Toolkit since the myRIO was released, I always installed Toolkits on already-existing LabVIEW versions of the same name. After a half-dozen attempts that ended in failure, I called NI and managed to get connected to the developers of the Toolkit.
They said to install the Toolkit on a PC without LabVIEW. It sounded crazy to me, but I tried it. It installed LabVIEW 2021 plus some newer components that probably were part of LabVIEW 2022, but I was able to install LabVIEW 2021 after I installed the Toolkit, and now had a working LabVIEW 2021 system that supported the myRIO Toolkit.
They are still selling the Toolkit, though maybe not for much longer. I haven't heard any rumors of later versions of the Toolkit, so it may be that we will be "tied" to LabVIEW 2021 for programming the myIRO. The down side, of course, is that LabVIEW 2021 only has a year or two until it "turns into a frog" ....
Bob Schor
P.S. -- for some reason, I failed to post this when I originally wrote it over a month ago (I might have fallen asleep with my computer on my lap). The Good News is that they have extended the period they are making and selling myRIOs (through I believe 2027), The Bad News is they have not released information about further myRIO Toolkits, though I've asked my contacts at NI about this.
Anyway, the Good News is that with "modern LabVIEW" (meaning LabVIEW 2019 and later, for all intents and purposes), the following is relatively "safe" (from the standpoint of protecting your PC and its software), provided you have the proper licenses. If you are serious about working with the myRIO and are happy running LabVIEW 2019 or LabVIEW 2021 (these are the only recent versions that I know will work), you can do the following:
Bob Schor
03-28-2025 11:17 AM - edited 03-28-2025 11:24 AM
Hi
Bob responded with interesting observations.
Yes, myRIO has gotten a little longer life. But apparently only the 1950 version without WIFI :
NI will continue to support myRIO until July 2028. For embedded education and projects, NI recommends Single-Board RIO and CompactRIO Hardware.
For FPGA and digital systems courses, consider Digilent FPGA on digilent.com.
If myRIO specifications are required, the myRIO-1950 Student Embedded Design version will be available until December 2027.
Bob states that the myRIO Toolkit is 'sold'. Well, it is actually free, but not of any use in itself without the RT software ( and FPGA software ) which is certainly not free.
Bob also told about his frustrations installing the recent myRIO related software. On several occasions.
I have no current issues installing software for myRIO for 2019 and newer. I was confused at one point as I didn't take notice of the new base image concept where a minimal base image is supposed to be installed on the myRIO, which currently supports 2019, 2020, 2021 and 2022. With regards to myRIO the concept is unfinished work, as there is no myRIO Toolkit for neither 2020 nor 2022 Q3. So even if you can install CompactRIO firmware support for 2020 and 2022, you can't use it in LabVIEW without the missing myRIO Toolkit.
I described my hackery to get support for myRIO in all four version of LabVIEW ( 2019 through 2022 Q3 ). Currently there is no never CompactRIO software than this supporting myRIO. My hackery by the way works splendedly.
I guess NI ran out of time to support LabVIEW 2022 Q3 with a proper myRIO Toolkit when releasing LabVIEW 2022 Q3. Instead they resorted to 'secretly' install LabVIEW 2021 software, if you selected myRIO Toolkit in the 2022 Q3 installer.
It works, but is a dubious practice. Especially as Ni never mentioned that trickery anywhere.
Also repeating myself, I advice against installing multiple versions of LabVIEW on the same partition if you need to install any dirver, toolkit or module. You will regret it when it doesn't work and you need to repair something.
Regards
03-29-2025 10:13 AM
Ouch! I didn't realize they were only selling/supporting the 1950! The 1900 model is the one we use -- having wireless makes a very nice difference, especially when you "build it in" as the "smarts" to another piece of equipment.
Bob Schor