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
(4,912 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
(4,888 Views)

thanks for that

I will try that out

0 Kudos
Message 3 of 3
(4,881 Views)