LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows 2010 Compatibility with LabView RT 2011

I have apparently run into a software capability issue between LabWindows 2010 and LabView 2011 RT.  I recently installed LabWindows SP1 included with NI Developer Suite 2011 DS2.  I also installed LabView 2011 and LabView RT 2011.  Via MAX, I was given the option to upgrade a LabWindows 2010 RT embedded app.  In particular, I upgraded all relevant drivers, including the LabView runtime from version 10.0 to 11.0.  I want to use the LabView RT 11.0 driver because it fixes an issue regarding embedded systems using ATOM processors.  However, once the LabView RT 11.0 driver was installed, LabWindows did recognize the embedded target as having a valid version of software.  I was unable to install the run-time executable (“Install Program to Real-Time Execution Target”) or run the debugger.   However, I was able to install my software via the “Manage Files on Real-Time Execution target…” option under the Run menu option. 

 

Has anyone else has seen this issue?

0 Kudos
Message 1 of 23
(4,626 Views)

Hello -

 

This is caused by the fact that CVI 2010 Real-Time declares a strict dependency on LabVIEW RT 2010.  To use LabVIEW RT 2011, you'll need to modify the CVI RT 2010 .cdf file as follows:

 

  • Find the file cvilvrt.cdf, it should be located at (on a 64-bit machine): C:\Program Files (x86)\National Instruments\RT Images\CVI\10.0
  • Edit the file in a text editor - find the following xml node:
    <DEPENDENCY TYPE="STRICT">
      <SOFTPKG NAME="{899452D2-C085-430B-B76D-7FDB33BB324A}" VERSION="10.0">
         <TITLE>LabVIEW Real-Time</TITLE>
      </SOFTPKG>
    </DEPENDENCY>
  • Modify the node to remove the 'TYPE' attribute:
    <DEPENDENCY>
      <SOFTPKG NAME="{899452D2-C085-430B-B76D-7FDB33BB324A}" VERSION="10.0">
        <TITLE>LabVIEW Real-Time</TITLE>
      </SOFTPKG>
    </DEPENDENCY>

We have recently decided to remove this strict dependency.  It will not exist in the next revision of the CVI RT module.

 

Let me know if this does not resolve things for you -

 

NickB

National Instruments

0 Kudos
Message 2 of 23
(4,618 Views)

Nick,

 

I tried your suggestion.  It did not work.  I got the same result indicating an invalid version of CVI-RT was present. Also, I found another issue for your consideration.  From MAX, if you try to update an embedded system with CVI-RT 10.0 and LabView RT 10.0 to CVI-RT-10.0 and LabView RT-11.0, MAX allows you to select this configuration but has a installation error stating that certain drivers (LOGOS?) are not present and are needed.

 

Regards,

 

Tom

0 Kudos
Message 3 of 23
(4,603 Views)

Hello Tom -

 

Interesting, I just tried this, and didn't see the errors you are reporting.  After you modified the cdf file, did you restart MAX? 

 

I tried the following two things after modifying the cdf file, both without error:

 

1. Uninstall all software from the target.  Install version 10.0 of CVI RTE and 11.0 of LV RTE to the target - this is how my install tree looked:
install_software.png

 

2. Uninstall all software from the target.  Install version 10.0 of CVI RTE and version 10.0 of LV RTE.  Then Re-install LV RTE 11.0 and it's dependencies.

 

Did you do something other than this?  Can you give me steps I can follow to see the errors you're seeing?

 

Thanks,

 

NickB

National Instruments

0 Kudos
Message 4 of 23
(4,594 Views)

NIck,

 

I have tried the target configurations you listed with no success.  I still get the same errors.

 

Tom

0 Kudos
Message 5 of 23
(4,567 Views)

Hey Tom -

 

I know this will be inconvenient, but do you think you could post the exact steps you follow, with screenshots, so that I can try to reproduce what you're seeing?  I'd really like to be able to figure this out with you, but I'm going to need a little more information in order to determine what our next steps should be.

 

NickB

National Instruments

0 Kudos
Message 6 of 23
(4,565 Views)

Nick,

 

The following summarizes my issues:

 

- The software installed on the host PC:

 

Installed NI Software.jpg

 

- The modified cvilvrt.cdf file:

 

Modified cvilvrt.cdf.jpg

 

- The installed software on the CVI-RT-10.0 - LV-RT-10.0 target (this configuration work with CVI 2010)

 

CVI-RT-10-0-LV-RT-10-0.jpg

 

- I get the following error message from MAX when I try to upgrade the CVI-RT-10.0 - LV-RT-10.0 target to LV-RT-11.0:

 

LV-RT-11-0 Upgrade Error.jpg

 

- The installed software on the CVI-RT-10.0 - LV-RT-11.0 target (this configuration was build with the MAX USB RT Utility):

 

CVI-RT-10-0-LV-RT-11-0.jpg

 

- I get the following CVI error when I try to either install or debug software when connected to the CVI-RT-10.0 - LV-RT-11 target:

 

CVI Install Error.jpg

 

Let me know if this is the information you needed.

 

Regards,

 

Tom

 

0 Kudos
Message 7 of 23
(4,551 Views)

Hey Tom -

 

I've just tried following exactly the steps you mentioned, and in the end, I was able to connect to the target.  I have a couple questions:

 

  1. I was able to reproduce the unresolved dependencies error you saw.  However, I was able to update my software by selecting everything for re-installation, not just the LV RT components. 
    • Were you able to do the same? 
    • It's unclear to me what you mean by 'this configuration was built with the MAX USB RT Utility'.  Could you please explain this? 
    • If you just select all the components for re-install, are you then able to connect to the target?
  2. In your screenshots of MAX, I see two different targets.  In each screenshot, only one target is visible, which leads me to believe they are on different networks.  Have you ever been able to connect to the ATOM-4826269F target?  I wonder if what you're seeing could be explained by firewall settings or other network differences?

 

NickB

National Instruments

0 Kudos
Message 8 of 23
(4,544 Views)

Nick,

 

 I reinstalled all the software components on the target "CVI-RT-10.0 - LV-RT-11.0".  I still get the following CVI error:

 

Unable to connect.jpg

 

The statement  'this configuration was built with the MAX USB RT Utility' means I used the Desktop PC Utility USB Drive (created by MAX) to format and build the target before I installed the software components via MAX.  Sorry for the confusion.

 

WIth regards to the two targets question, I am running my software on two differnet targets so I can have a working developmnet system (with debugging - the LV-RT-10.0) and the desired target with LV-RT-11.0.  I am able to install my software to the LV-RT-11.0 target via the RTFileCopy.exe utility.

 

Tom

 

 

0 Kudos
Message 9 of 23
(4,542 Views)

Nick,

 

Is there anything else you wouyld like me to try?  I would like to get this issue resolved so I can use CVI 2010 with LV-RT-11.0 installed on my real-time target.

 

Tom

 

0 Kudos
Message 10 of 23
(4,517 Views)