LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Interface for RT target application

I'm new to LV and appoligize for probably a very easy question.

 

I have an LV project created by other student, which I have to improve and extend. The architecture is following:

 

  • Windows PC/LabVIEW 14.0.1 Professional Development System
  • Compact RIO cRIO 9035 (connected to the PC with USB Ethernet)

  • FPGA

At the moment I can run the Host-VI on cRIO that communicated with the FPGA-VI, by opening Labview Development System on my PC and simpy clicking the Right-arrow-button in LabView. This Host VI has all necessary UI elements to control the program and display the data.

 

My goal now is to provide the possibility to connect any different Windows laptop without LV installed to cRio, and be able to work with the application.

 

If I understand it correct, I need to build stand-alone RT target application, that must run on cRio on start-up.

 

What I don't get yet is what should I have then on the Windows PC side? Right now there is no VI at all. Should I create a new VI on the computer, move there all the UI elements (copy them from Host VI, or move?), and then create a windows installer from it? Is it a correct approach?

 

I appreciate any help and references to relevant information.

0 Kudos
Message 1 of 5
(4,033 Views)

What you need to do, is to create an executable for the user interface, that will be run in the host computer AND the RIO. While the RIO can operate even by itself (no user input), you will need the application running in the host computer if you want to interact. So what you need in the client (laptop) side is:

 

-The .exe built from LabView

-LabView Runtime Engine, which any computer needs to run a .exe built in LabView (it's free to download from NI, just google it)

-Appropiate connectors

 

Check on those, and see if you can run it.

0 Kudos
Message 2 of 5
(4,026 Views)

There are several ways to solve your problem.

In any case, you need to create exe-file for PC. And you need to install a LabVIEW Run-lime.

First varinant: application on your computer can run FPGA code and interact with it directly.

The second variant: you need to create sturtup application under the RT.
Both applications can interact via shared variables.

I think this is simpliest ways for beginner.

0 Kudos
Message 3 of 5
(4,017 Views)

At the moment the easiest way I found is to use Remote Front Panel and access it though web-browser on windows PC. The values on the panel are refreshed very slow, though. Looking for the way to fix this.

0 Kudos
Message 4 of 5
(3,907 Views)

Hi

 

Regarding the refresh rate of the remote front panel:

In the web publishing tool: Did you select embedded or Monitor? For the Monitor you can select the update rate as seen below.

I'm afraid if your are using the embedded mode you won't be able to speed it up much more.

 

Capture.PNG

 

A faster approach would definitly be what the others proposed before, by building a LabVIEW exe and letting it run on the desired computer directly.

You will need the NI Application Builder. You can check in the NI Licence Manager if you have the toolkit activated.

Then follow the instructions here:

Developing and Distributing an Application - LabVIEW 2013 Help - National Instruments
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/develop_distribute_applications/

 

Best regards,

Corinne Doppmann

Applications Engineer

National Instruments

 

Corinne Doppmann
Application Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,875 Views)