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

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/466EA9705F9​8E07786257687005E081B?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

Similar Messages

  • Ports used by Compact Fieldpoint 2120?

    I have a Compact Fieldpoint 2120 behind a Linksys WRT54G router.  What ports do I need to forward for MAX and Labview to see the router?
    I have 20-21, 80, and 44525 forwarded to the Fieldpoint for both TCP and UDP.  The ports listed HERE don't look applicable.

    Hi Gizmaa,
    Thank you for contacting National Instruments.  From the information you have provided here, it looks like you are unable to see your router and Fieldpoint in MAX.  If this is the case, you should not be seeing your router in MAX, but I can suggest some things to look into to hopefully see your cFP-2120. 
    From the article that you linked, the port that is listed within the Lookout/Logos Communication document is what is used for communication between the cFP device and the host PC.  If you are enabling access to ports for NI hardware and software this might be something to consider.  Aanother suggestion when not being able to locate your device in MAX, is to ensure that your anti-virus software or firewall configuration is not blocking the connection.  I would ensure that this is not the case by temporarily disabling these programs and attempting to locate your hardware.  If this is the case, you can then add the National Instruments software you are using as exceptions to both the anti-virus software and firewall.
    I hope this helps!  Let me know if there is anything else I can help with or clarify.  Have a great day!
    Jason W.
    National Instruments
    Applications Engineer

  • Can I use the Run VI method on a Compact FieldPoint?

    <double post>
    Message Edited by Synap on 03-30-2006 01:49 PM

    I found my answer!
    Turns out that the cFP CAN run the Run VI method, it's just that it's file serching abilities are not as robust as the full desktop version.  Make sure you upload the vi (still looking for an automatic way to do this) and make the file path point to it explicitly (i.e. "C:\NI-RT\LABVIEW DATA\File.vi" if you happened to upload it there).

  • IPhone and iPad can no longer connect to iTunes Libary via Remote

    Up until a couple of hours ago, I had no problems controlling iTunes on my MacBook Pro via my iPhone or iPad. Now, on both devices, I get an error saying it can't connect to my Library.
    All devices are connected to the same network. I get the error whether my firewall is on or off. I have tried re-adding the Library. When I do so the relevant device shows up in iTunes and the pairing process SEEMS to work. It tells me that my iPhone can now control my library, but it still can't connect.
    I've tried rebooting the router.
    All devices show the same ip address for the router and all are on the same subnet.
    I've just upgraded iTunes to 10.2.1 and everything on the iPhone and iPad has the latest upgrades.
    Also when I go to the iPod app on my iPhone and go to More -> Shared -> and then my library, I get an error saying "Cannot Connect to Media Libary"
    I've seen this advice, "You must also have the iTunes preference "Look for iPod touch, iPhone and iPad Remotes" enabled. " I cannot find this preference anywhere. It's not something I've ever looked for before so possibly the name of it has changed in a recent iTunes release. Can anyone tell me if I'm looking for the right thing and where I might find it?
    Any other ideas?
    Anyone else with a similar problem that has cropped up recently?

    Hi Everyone, I found a solution to this problem with no "Look for iPod..." option.
    Check "Allow iTunes Audio Control from Speakers"
    Then, RESTART iTunes.
    Heres a picture of what to check off:
    http://www.ilounge.com/assets/images/articles_jdh/itunes-102-2f.png
    Should Work.

  • Compact Fieldpoint TCP/IP remote port

    i am working on cFP 2120 / cFP 2020 and for TCP/IP connection i have to use remote port number. so can all you guide me that what remote port nu. or service name i have to use.
    waiting for your reply
    Prashant Soni
    LabVIEW Engineer

    The port number can be whatever you want it to be, as long as the server and the client have the same one specified. Generally, you have a server publishing data to a port and some client reading data on that port. I believe there is a TCP communication example in the Example Finder, just search for TCP and look for TCP Communication.lvproj. It's actually set up with a real-time target as well.
    Good luck!
    Misha

  • Outlet Power Scaling with Compact Fieldpoint

    Does anyone have any suggestions on scaling outlet power?  I have a fan which takes 115 VAC and .68 A but the PWM module can't handle that wattage.   I've considered using an electronic potentiometer but have yet to find one which suppports my requirements.  It's for a fan which we need to scale between 0 and full speed.
    We have: 
    Compact Fieldpoint 2120
    cFP-AI-112 Aanalog input
    cFP-PWM-520  Pulse width modulation output
    cFP-TC-120  Thermocouple module 

    You may want to look for a small variable frequency drive.  Speed is varied by different frequency outputs.  You could control one by outputing an analog signal to it, or even using serial communication.

  • Write JPEG file error on Compact FieldPoint

    Hello!
    I'm using Compact FieldPoint 2120 and LabVIEW 8.2. I'm trying to capture an image of a front panel and to save it into Compact FieldPoint using the "Write JPEG file". Unfortunately, it gives the error 1.
    I indicated c:\<jpeg_file_name.jpg> for the path.
    I switched the target to "My computer" and the code works correctly.
    Is that a problem of the path or VI Write JPEG file cannot be impemented on Real-Time target, such as Compact FieldPoint?
    Thank you!

    Well, that's true that Real-Time does not support Write JPEG file (this is the first problem). I'm using now Write BMP file insteed. The second problem, verified also in my practice, is that the Front Panel does not exist too on Compact FieldPoint.
    My aim is to develop web-interface to deal with the Compact FieldPoint from any computer. That is true that it has its own built-in Web-Server, but it doesn't have a script-executive environement. My idea was to create a custom "web" server running in parallel with the principal Web-Server to execute VI scripts.
    For that purpose I used TCP Listen -> TCP Read -> TCP Write runing on the port 82. I can send from any browser the request http://<IP address>/<script.vi>?<params> and my custom server parses the request and executes the <script.vi>. Then to avoid the problems with HTTP protocol I write the redirecting request to the port 82 like <meta http-equiv="Refresh" content="0; URL=<result_page.html">. So, It works.
    The result_page.html must represent the acquired data from the Compact FieldPoint channels. So, I execute a requested script to show the specified data into Graph waveform and then to take a snapshot and to save to the Compact FieldPoint. Then the result_page.html contains the link to the saved snapshot picture.
    Once executing the requested VI script, the Invoke Node gives the error 1003 stating that "the VI is broken etc...". I think that is because of the script attempts to take a snapshot of a panel which doesn't exist...
    Maybe somebody has an idea how to view the acquired data in browser ?
    Message Edited by Mons on 07-10-2008 06:06 AM

  • Labview Remote Panel and Client Aspect Ratio

    Dear all professionals,
    I had create an application with remote panel (webserver) enabled. I found that there is relationship between aspect ratio of client device display and the remote panel screen size. Here i attached two images of remote panel in browser which both remote panel are opened using different aspect ratio of client device. 
    The left 1 is the device with 1.5 aspect ratio while the right 1 is the device with 1.78 aspect ratio. 
    As you can seen from the images, both remote panel are shown in different size. May i ask do i miss something in the remote panel configuration? 

    Hi Michel,
    Thank you for your reply. I also notice that the zoom % of browser is one of the issue that caused this behaviour. In the same aspect ratio with server computer( where the application running), changing zoom to 100% will help to fit remote panel that I already set when I developing the remote panel vi. But if for different aspect ratio, no matter how u change the zoom % , it won't fit the frame. I just wondering whether got another solution for this issue or not :-(

  • Remote Panel and DSC interfering?

    Hi, I wonder if DSC or OPC is interfering to view my remote panel in a executable, since I installed them and now I cannot see my web page. I mean the instructions says close Labview to gain acces with the executable, does DSC or the shared variabel Server or something is interfering?
    What happened:
    I have a program which monitors temperature for rooms with fruit, We acquire the temps through modbus RTU, and We see that info through internet.
    First I did it with the modbus libraries, and It worked, We had the web page working through remote panels and the web publishing tool.
    But now I saw the DSC toolkit for Labview, and excited about that I migrated the whole functionality to the IO servers, and until the very end, when everything else works ok, the web page or remote server doesn't works, works with the VI but not with the EXE.
    The first time I followed this, and I did this time again with not succes
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    Currently state:
    My Web server is started and works in development, I made a webpage named TRY.html, and it works in Labview with the VI.
    I know that the plugin doesn't works on chrome, but just to let you see that the problem is not IEXPLORER, whetn the web page is static it works on chrome too.
    With IEXPLORER (right) it works in chrome (left)  it doesn't
    Working on IExplorer
    So I followed the steps from the instructions, added the web page to my project, added to the build, and built
    Then I modified my NIconfigserver file, and CLOSED labview entirely, the tutorial says so, I closed at least as much as I used to do before.
    My ni config
    # Web server configuration file.
    # Generated by LabVIEW 14.0
    # 13/06/2015 11:44:16 p. m.
    # Global Directives
    NI.AddLVRouteVars
    ErrorLog "$LVSERVER_ROOT/logs/error.log", level=2, anew
    TypesConfig "$LVSERVER_ROOT/mime.types"
    LimitWorkers 10
    LoadModulePath "$LVSERVER_ROOT/..;$LVSERVER_ROOT/modules;$LVSERVER_ROOT/LVModules"
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    Listen 8000
    # Directives that apply to the default server
    NI.ServerName LabVIEW
    DocumentRoot "C:/SMC/data"
    InactivityTimeout 60
    SetConnector netConnector
    AddHandler LVAuth
    AddHandler LVSnapshot snap
    AddHandler LVRFP
    AddHandler LVSnapshot
    AddHandler fileHandler ""
    AddOutputFilter chunkFilter
    DirectoryIndex index.html
    My ini
    [SMC]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.paranoid=True
    server.tcp.serviceName="My Computer/VI Server"
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    saveFloaterLocations=True
    find.viListFlags=0
    LastErrorListSize=0,0,0,0
    paletteStyle="NamedIcons"
    And so, I open my EXE, then reload the webpages, and I can see that the web server is started, because it shows the html, but I cannot link to my EXE. It says that can't find my VI
    Requested VI is not loaded into memory on the server computer
    If I close the EXE the server stops
    Remote Panel connection refused by specific server, Make sure Labview Web server is enabled
    And that's my history
    It's always hard for me to get the web page working, but this time I've spent hours without success
    I did the test in my development pc and in the target PC and is the same, on these PC's the webpage was working before using DSC.
    So any help will be appreciated
    My best regards

    The DSC Runtime Engine will be sufficient for the deploying the project to a new computer. The Run Time Engine is equivalent to the DSC Module, but you can't do any programming with it. You will need to purchase a separate license for the Runtime license for each deployment computer also. 
    What is the DSC Run-Time System and When Should I Use It?
    http://digital.ni.com/public.nsf/allkb/E56DB8726DB68F288625770E00594351
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • LV2010 and cFP-2120 and remote panel

    I have a project in LV2010 for cFP-2220.  When I convert the project for a cFP-2120, the remote panel doesn't work.  When the browser goes to the IP address it defaults to 192.168.1.2/#Home.

    The remote panels and browser control work fine for the 2220. I inserted the 2120 into the project in place of the 2220 and modified the fieldpoint paths in the vis. I upgraded the software on the 2120 using LV 2010. The original program was written for the 2120 in earlier versions of LV. It was updated to LV 2010 and adapted for the 2220 along with program feature updates related to pumps and other necessary system component changes. Maintenance and support of our customers units involves replacing pumps and other components and/or replacing their 2120's. We are trying not having to replace their 2120's.
    When we deploy the program as a startup it runs controls and collects data, but the remote panel access with Internet Explorer isn't working. We have tried creating a new index.htm.

  • How do I transfer my checked songs from one computer to another - tried exporting library playlist etc but no luck! Please help! I have 26,000 songs - 17,000 are selected and I can't run down the list on my new computer and re-check 17,000 songs! Thanks!

    How do I transfer my checked songs from one computer to another - tried exporting library playlist etc but no luck! Please help! I have 26,000 songs - 17,000 are selected and I can't run down the list on my new computer and re-check 17,000 songs! Thanks!

    Make a smart playlist of your whole library but only checked songs - #4 on  http://support.apple.com/kb/ht1801
    Highlight all files in that playlist, then drag to the other drive.  This isn't preserving any playlists or whatever, just copying files from one drive to another.
    You might want to delete the smart playlist this once you are done because it will probably gobble up resources with that many files.

  • Delaying a function so ADF will get all the selected rows and run only 1 time ?

    Hello,
    I'm using JDeveloper 12.1.2.0.0.
    I have a group of functions that are executed after i click on one or more rows, which is called:
    public void onDimProjectSelect(SelectionEvent selectionEvent)
    Whenever i shift-click some rows (lets say, for the purpose of this example, that i shift-click the 1st row to the 5th row, so i shift select and i get selected the rows: 1,2,3,4 and 5).
    I did notice that what happens is that the function onDimProjectSelect will execute with the 1st row, and after it runs all the functions, it will run again the function onDimProjectSelect with the 1, 2, 3, 4 and 5 rows as it should in the first place.
    Why is this happening? I've tried to add a delay but i did not work.
    This is really a pain because its spending time executing a function without all of the rows that is suppose to have, so it will run again.
    I think the problem here is how ADF does the selections for the function but i don't know how to change it.
    Any ideia of why is this happening? What can i do to correct this?
    Regards,
    Frederico.

    Hey Frank,
    I mean that my function onDimProjectSelect has other functions inside that need to be executed so when i say that is runs all the functions i mean the functions that are suppose to execute when onDimProjectSelect is executed.
    Maybe the problem is my implementation approach but it was required to use the selection. But the funny part is that i select with the shift-click and he knows that, since it will run the function with all the rows that are selected but firstly he will execute the function with just the first selected row.

  • Just purchased the latest ipod nano. Running itunes 11.1.3(8). Why will the music not load? Under devices the 'syn' choice can't be selected and instead only have 'transfer purchases from ipod' What to do?

    Just purchased the latest ipod nano. Running itunes 11.1.3(8). Why will the music not load? Under devices the 'sync' choice can't be selected and instead only have 'transfer purchases from ipod' What to do?

    Just purchased the latest ipod nano. Running itunes 11.1.3(8). Why will the music not load? Under devices the 'sync' choice can't be selected and instead only have 'transfer purchases from ipod' What to do?

  • Selecting the result of a case and running that case again.

    Good day all,
    Any clue on what to do on this will be appreciated.
    I have two states in a state machine that gives 2 different outputs. Based on their output< I want to select the lowest and ask the machine to run the selected state again before ending.
    Please what logic Can I use. If I select the results from the two states I don't know how to link the result to the states and run the preferred states again and If I select the states and not their outputs I don't know how to compare the outputs.
    Attached is the vi I am working on and the part given headache is the "Choose Lowest Amplitude state and Repeat either 3 or 4"
    Attachments:
    State-2.ctl ‏6 KB
    State-2.ctl ‏6 KB
    trans2modifier.vi ‏211 KB

    Please don't start a new thread asking the same questions.  Stick to the original thread.

  • I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can g

    I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can get them to display, but lose them when I log off. Can anyone help?  I have tried all the usual and supplied help facilities to no avail.  Thanks

    Post the question in Microsoft's own Office for Mac forum.

Maybe you are looking for