From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

selecting and running vi's on a compact FieldPoint 2120 via remote panel

Hi,

  I'm trying to provide two html files to run two different vi's on a compact fieldpoint. I can run either of them by setting them as 'run as startup' in the Build Specification which creates the startup.rtexe program on the controller but the only way I can run two different vi's on the fieldpoint is by renaming the files in the startup directory before calling the html file (and that doesn't work that well). Is there a better process to allow different programs to be run on the compact fieldpoint via the remote panel/html calls?

 

thanks

0 Kudos
Message 1 of 3
(5,818 Views)

Hey AgB2,

 

I think the best way to get multiple HTMLs linked to their respective VIs would be to set your VIs as the Startup VIs when you build the EXE to deploy to your Compact Fieldpoint. A KnowledgeBase article describing the steps to do this can be found here:

 

http://digital.ni.com/public.nsf/allkb/466EA9705F98E07786257687005E081B?OpenDocument

 

Next, all you'll need to do to get your two HTML files to run two different VIs will be these steps:

 

1.Build the HTML for each VI you want to control

2. Enable the WebServer for your cFP

3. FTP your HTML files to the www folder on your cFP

 

Once you restart the cFP, your EXE will run at startup with both VIs and you can access them by navigating to http://<ip address>/<vi name>.html. Just to double check, I did this on my computer and had no problem loading both HTMLs or taking control of both VIs at the same time.

 

Logan H

National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(5,794 Views)

thanks for that

I will try that out

0 Kudos
Message 3 of 3
(5,787 Views)