11-10-2022 05:09 PM - edited 11-10-2022 05:20 PM
I have some old code that was written in some unknown older version of LabVIEW. I need to update the code and have been trying to get all the necessary drivers installed to make the modifications.
I tried several times to open this code in LabVIEW 2021 SP1 several times but it kept freezing. I was able to open it in 2020 so I decided to go that route. However I am having trouble getting the drivers installed correctly.
I installed things in approximately this order:
LabVIEW 2020 (not SP1) >Drivers (DAQmx, VISA, 488, etc)>Real-Time Module>PXI & Compact RIO drivers>Industrial Communications for EtherCAT
When I try to open the RT Main vi in the project which is under a cRIO 9074 target I get a few issues:
1. It can't find a variety of VI's like semaphore and config VI's that are all in LLB's. I figure these were part of some old version of LabVIEW and I will need to manually relink/rewrite this code to use the newer functions. So this is probably ok but I mention it in case it helps with the other issues.
2. After ignoring a variety of files it can't find when I open Main it loads with this warning in the "Load amd Save Warning List" dialog: "NI LabVIEW Real-Time Module support for LabVIEW 2020 is missing and is references by the following VI's:
*** (and it gives the path to a VI in the project that is used for TCP reading)"
This is driving me nuts. I've tried repairing Real-Time. I've tried uninstalling it and re-installing it. Nothing gets rid of this. What is going on?
3. The palettes for the block diagram when on an RT vi are completely empty!! Likely tied somehow to #2 above?
4. My "EtherCAT Master" under the 9074 cRIO has a warning triangle symbol next to it and when I right click and select "Explain Warning" merely states: "LabVIEW currently cannot load the selected item. The required module, driver, or plug-in either is not installed or has an expired license. Ask the creator of the item or its project what software it requires. Contact NI for help identifying the software."
I have ensured everything is activated and licensed correctly. I would greatly appreciate some help. This is driving me pretty crazy and I'm anxious to get these changes made. Thanks
11-10-2022 05:51 PM
If you have code that is causing a problem "when it shouldn't have any problems", then showing us the error messages that you get won't help us to help you. Attach the code that causes the errors! Maybe one of us can figure out where the error arises, and maybe even how to get rid of the error.
Glad I decided to look at your Error Messages before I sent the above! Looks like something has gone awry with EtherCAT Master. I'm not sure what the yellow triangle warning is in your Project View -- do you have this software installed on your RT Target? Can you open it and look at its Block Diagram? Can you attach it to a Reply so we can see it?
Bob Schor