Publication of data on a webserver cRio

Hello

We run a cRio 9022 and I have a file Labview real-time sensor data reading. The file runs when the Rio turns on, but for me to see the data in real time, I reset the vi. So I thought just to post the file to a Web server, so I can just login and look at the data via a web browser at any time, without resetting the host file. However, I had trouble publishing the file on the network. I went through all the publication be tutorials and tutorials of remote panels, but I web get "Access denied" or "Client Server does not support...". "or just a mistake of connection not made not of web.

Any ideas would be really helpful. I'm fairly new to Labview so please excuse my naivness.

Thank you!

These links have helped when I did recently.

Configuration of a real-time target remote façade panels

Tutorial: Create and access a Web Service from LabVIEW

LabVIEW Web Services FAQ

The system that is running the browser used to access the cRIO will need to have installed at least a compatible (for what is on the cRIO RT system) the LabVIEW runtime version

In my case, I enter this in the address bar of FireFox (which works better for me than IE) http://192.168.84.199: 8000Fast_Regen_Shutter.html and it just connects and works.

Tags: NI Software

Similar Questions

  • Acquisition of data using C++ and cRIO-9066

    Hello!

    I want to write a C++ application that would make the acquisition of data from modules installed in the cRIO-9066 chassis and this application should work without LabView. How can I do? This chassis connect to my PC using NI-DAQmx? Is this possible?

    Hi aanodin,

    When you use a device that uses our architecture of RIO, it is usually best to use LabVIEW to develop your application. In this way, you can also program the FPGA with LabVIEW FPGA module and makes programming much easier real-time processor. In fact, your model of cRIO is officially supported by our LabVIEW programming language, as seen on page 4 of the Manual: (http://www.ni.com/pdf/manuals/376186a.pdf).

    Due to the FPGA interface, you cannot use DAQmx with cRIO. I hope this helps.

  • ATG 10.0.3 error importing initial publication of data using CIM

    Hello
    I'll put up my environment using ATG 10.0.3 and WebLogic 10.3.5.0. While I'm configures the environment using CIM, at the stage when I import initial data for publication, the process stops after a while.
    I will very happy if someone could identify exactly the problem. Thank you!

    Error console CIM:
    -IMPORT OF DATA PUBLICATION-
    Enter [h] ELP, ain menu [m], [q] ITU to exit

    Import (1 of 16) /Publishing/base/install/epub-role-data.xml to /atg/
    userprofiling/InternalProfileRepository... Success

    /Publishing/base/install/EPUB-file-repository-data.XML import (2 of 16) to /.
    ATG/epub/file/PublishingFileRepository...
    -------DATA IMPORT FAILED-------------------------------------------------------

    Enter [h] ELP, ain menu [m], [q] ITU to exit
    Make sure that you have configured the connection details and have created the diagram.
    exec returned: 1


    Error CIM.log:
    Wed Oct 13 17:51:11 CEST 2011 info 1318521071310 atg.cim.task.ant.utility.AntLogger [exec] running kernel
    Wed Oct 13 17:51:11 info CEST 2011 1318521071311 atg.cim.task.ant.utility.AntLogger [exec]
    Info game Oct 13 17:51:11 CEST 2011 1318521071669 [exec] atg.cim.task.ant.utility.AntLogger * info Thu Oct 13 17:51:11 CEST 2011 1318521071667/atg/dynamo/service/Scheduler Planner closing.
    Wed Oct 13 17:51:11 info CEST 2011 1318521071670 [exec] atg.cim.task.ant.utility.AntLogger * info Wed Oct 13 17:51:11 CEST 2011 1318521071667/atg/dynamo/service/Scheduler Planner stopped.
    Wed Oct 13 17:51:13 info CEST 2011 1318521073670 atg.cim.task.ant.utility.AntLogger [exec] Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/FinderException
    Wed Oct 13 17:51:13 info CEST 2011 1318521073670 [exec] atg.cim.task.ant.utility.AntLogger at java.lang.Class.forName0 (Native Method)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073671 atg.cim.task.ant.utility.AntLogger [exec] to java.lang.Class.forName(Class.java:186)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073671 atg.cim.task.ant.utility.AntLogger [exec] to atg.epub.project.CreateProject.performPreCheckinValidations(CreateProject.java:287)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073671 atg.cim.task.ant.utility.AntLogger [exec] to atg.adapter.gsa.xml.TemplateParser.runParser(TemplateParser.java:5792)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073671 atg.cim.task.ant.utility.AntLogger [exec] to atg.adapter.gsa.xml.TemplateParser.main(TemplateParser.java:5241)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073672 atg.cim.task.ant.utility.AntLogger [exec] caused by: java.lang.ClassNotFoundException: javax.ejb.FinderException
    Wed Oct 13 17:51:13 info CEST 2011 1318521073672 atg.cim.task.ant.utility.AntLogger [exec] to java.net.URLClassLoader$ 1.run(URLClassLoader.java:217)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073672 atg.cim.task.ant.utility.AntLogger [exec] at java.security.AccessController.doPrivileged (Native Method)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073672 atg.cim.task.ant.utility.AntLogger [exec] to java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073673 atg.cim.task.ant.utility.AntLogger [exec] to java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073673 atg.cim.task.ant.utility.AntLogger [exec] to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:294)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073673 atg.cim.task.ant.utility.AntLogger [exec] to java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    Wed Oct 13 17:51:13 info CEST 2011 1318521073673 atg.cim.task.ant.utility.AntLogger [exec]... 5 more
    Wed Oct 13 17:51:13 info CEST 2011 1318521073674 atg.cim.task.ant.utility.AntLogger [exec] * debug Wed Oct 13 17:51:13 CEST 2011 1318521073669/atg/epub/version/VersionManagerService UN-initialize the VersionManagerService
    Wed Oct 13 17:52:11 info CEST 2011 1318521131058 atg.cim.task.ant.utility.AntLogger
    Wed Oct 13 17:52:11 info CEST 2011 1318521131058 atg.cim.task.ant.utility.AntLogger BUILD FAILED
    Wed Oct 13 17:52:11 info CEST 2011 1318521131058 atg.cim.task.ant.utility.AntLogger /mnt/opt/ATG/ATG10.0.3/CIM/plugins/Base/ant/cim-ant.xml:15: exec returned: 1
    Wed Oct 13 17:52:11 info CEST 2011 1318521131058 atg.cim.task.ant.utility.AntLogger
    Info game Oct 13 17:52:11 CEST 2011 1318521131058 atg.cim.task.ant.utility.AntLogger time Total: 1 minute 8 seconds
    Wed Oct 13 17:52:11 error it IS 2011 1318521131059 atg.cim.worker.dynamo.StartSqlRepositoryExecutorTask---/mnt/opt/ATG/ATG10.0.3/CIM/plugins/Base/ant/cim-ant.xml:15: exec returned: 1
    Wed Oct 13 17:52:11 error it IS 2011 1318521131059 atg.cim.worker.dynamo.StartSqlRepositoryExecutorTask to org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
    Wed Oct 13 17:52:11 error it IS 2011 1318521131059 atg.cim.worker.dynamo.StartSqlRepositoryExecutorTask to org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
    Wed Oct 13 17:52:11 error it IS 2011 1318521131059 atg.cim.worker.dynamo.StartSqlRepositoryExecutorTask to org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
    Wed Oct 13 17:52:11 error it IS 2011 1318521131059 atg.cim.worker.dynamo.StartSqlRepositoryExecutorTask to org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

    He searches the jar containing the missing class javax/ejb/FinderException.
    Please add one of the http://www.jarfinder.com/index.php/java/info/javax.ejb.FinderException Bowl in the class path, then run.

    And if you see all dependent jars missing please add them also.

    Peace
    Shaik

  • Publication of data on server

    Hi all!

    I wonder what is the best way to publish arbitrary on the server in the same format as the Forms data in the web browser? I use this thing now, and it seems more useful to load data from the server, but not downloads.

    var myData:URLRequest = new URLRequest ("your.php");
    myData.method = URLRequestMethod.POST;
    var variables: URLVariables = new URLVariables();
    variables.score = result;
    variables. Name = name;
    variable = myData.data;
    var loader: URLLoader = new URLLoader();
    loader.dataFormat = pouvez;
    Loader.Load (mydata);

    That's how I pass the php variables

  • Action of publication of data of Webhelp

    Hello

    I generated webhelp using Robohelp for Word.

    Now, when I see the page source of the generated files it shows more code

    < /script >
    "" < form method = "POST" action = " http://www.helpcommunity.com/ehelpapi.asp?cmd=WebSave" name = "ehelpform" target = "_top" style = "display: 'none';' >"
    < input type = "hidden" name = "data" value = "2A0D020600000041637469766511020000000012020000000013020B00000041747269756D2048656C 7015020F00000061747269756D5F68656C702E68746D17039F0100003C3F786D6C2076657273696F6E3D22312E 30223F3E0D0A3C21444F43545950452053595354454D20226568656C706F70742E647464223E0D0A3C46494C45 2D4F5054494F4E532046494C452D56455253494F4E3D2232222047454E455241544F523D22526F626F48656C70 20666F7220576F7264205833203131.

    I want to delete this code or if not you want to change the URL

    Hi SANMOD

    In RoboHelp HTML, the code you cite would be produced if we had active WebSearch.

    Try to click file > project settings > WebSearch tab and disabling the WebSearch select check box.

    See you soon... Rick

  • cRIO Web services

    Hello

    I'm developing a remote monitoring application using a cRIO-9012 and various modules of e/s. I wanted to use the web services on the cRIO feature but I'm having a hard time in some areas. The first is how to get the web service running on the cRIO. I found some general tutorials but nothing specific to the cRIO systems. My second question is how to URL map a 'Put' in a web service. I made the host local tutorial running a web service on my development using the "Get" of the machine but I would like to experiment with writing a digital output to a local daq card by using the web service. Here are two tutorials, I've been watching.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7747

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7350

    Any help would be appreciated,

    Mark

    Mark,

    The cRIO 9012 runs web services very well - that's the test platform main cRIO team used during the development of web services.  To enable web services on this issue, you must make sure that you:

    (1) install the functionality of web services using the measure Automation Explorer.  This example gets the right software and data installed on the cRIO files.

    (2) create a LabVIEW project and add the cRIO as a new equipment/target.

    (3) make a right clic on the icon of the cRIO in the project, click Properties, and select the Web server configuration page.

    4) allow the web server with the box and further down on the page, check the box web services.  Close the property pages.

    (5) deploy to the target configuration, by right click on the target in the project and selecting deploy.  This downloads the new configuration to the target and allows the web server.

    (6) you should be able to test the web server itself by pointing a browser to the target (by specifying the port you have selected if you have enabled one port other than 80) and seeing the default HTML page returned.

    At this point, you should create your web service through the tutorials, build, then the Deploy option to deploy.

    Note that with 8.5, GET and POST operations work fine, but PUT and DELETE have both were broken :-(- these were fixed in 8.6.1.

    I hope this help to get you going with the web services of LabVIEW.

    See you soon!

    -Michael Watson

  • Post the error code of data vi-34117

    I upgraded a VI in Labview 7.1 to 8.6, which includes the post data VI on a new computer

    I run the VI, no errors, because I want to read this point of the host using data, I went to the MAX to add that the fact data published, MAX does not have data points

    So I tried to test publish it VI in a simple test VI which includes only publish it VI but I get code error-34117.

    I use fieldpoint CFP-2220 and Labview 8.6

    Any suggestions why publication vi data does not work even if it is not returns errors why I get error-34117?.

    is there a difference on decision vi and data works publish in labview 8.6 vs labview 7.1

    Thank you.

    Thanks for the reply, I followed the instructions but it doesn't work.

    now I had solved it.

    It was a version of the software incompatibility or software has been altered. what I did was uninstall all the software about to field and reinstalling them, which fixed the problem.

  • Acquisition of data from an external device that uses RS - 485

    I am currently using a device cDAQ 9174.  I'm trying to connect the cDAQ to an external source that communicates via a cable series RS-485.  I spoke with several representatives of Lawbview and they told me that there is no direct way to talk on the chassis with the serial cable.  I need to buy a USB-485 cable series and communicate in parallel in LabView.  If I go directly through the cDAQ chassis, so why do I still need?  And I'm lost as in how I communicate with an external source in Labview.

    My second question.

    I have a cRIO 9074.  And, through a lot of research, I noticed that it seems much easier to use this device for this situation.  My only problem is that I am new to LabVIEW and I think that working with the cRIO can be a little difficult for me at this stage.  My question is, it would be easier to make the acquisition with the above configuration, or use the cRIO and spend a little extra time.

    The application that I am trying to make is the following:

    I have a RS-485 of the external source.  Then, I want to broadcast the series of 2048 byte stream that is continuous in NEITHER and do review the serial data and assign a virtual indicator on a chart or display a message to tell me what will happen in the serial data stream.

    cRIO is certainly more complicated to go only a USB-485 cable.  cRIO is designed more for embedded applications, series No.  You must also cDAQ in the equation.  All you need is the following:

    NEITHER USB - 485

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/12845

    Someone suggested a cDAQ to you for this application?  cDAQ is a platform for flexible data acquisition for reading of the analog signals and digital bullies.  If your data flow conforms to the RS-485 standard, you don't want cDAQ for this.

    I have attached a sample program to help you get started.  There are examples that are included when you install the NI-VISA driver that supports communication with LabVIEW series with LabVIEW.  If you have installed NI-VISA it should appear on you NOR Finder example located in the main menu to help > examples find if you search for "serial".

  • CRIO using to publish to cDAQ DAQ?

    All,

    I worked on the integration of cRIO DAQ (9073) (2) existing environmental testing rooms and next to improve resolution of acquisition data and controllability. My plan of material NOT included installation a cRIO-9073 in an enclosure behind each room with cable for TC/4-20mA/RTD DAQ cross led in the room of the TEU. Two of these cRIOs will host code RT publish their data on a LAN. In the control room for the rooms, there are two PC which is BOTH be querying the network for all data from these TWO cRIOs. In this way, operators can choose either PC for both rooms at any time.

    Now for my problem. It was requested that buy us cDAQ-9171 (USB) or a cDAQ-9181 (Ethernet) and to install one in each room. These single module Renault each contain a 16 TC (NI 9214) card. The reason for this is to save money (we will save a bunch of TC wire and connectors when installing this single DAQ modue very close of the TEU). However, what I need to know, is whether or not these products can publish temperature data on the network without direct connection to a PC. My research leads me to believe that they can not do it alone, but the specifications of the cDAQ-9171 (USB) declare that the operating system/target can be either Windows or real-time. Does this mean that I can connect the cDAQ for the cRIO and include the RT code on the cRIO to publish the data of the cDAQ to the network at a constant rate?

    Ideally, we wanted to buy the cDAQ-9181 (ethernet) and simply connect it to the LAN as a standalone device, but I don't think he is capable of running RT code to publish its own data on the network at a constant speed without connecting to a PC. is this true or am I misunderstanding ability?

    I need to decide if you want to try to install a single module cDAQ to reduce the lengths of cable and connectors or am I better of just any half offensive for the cRIO.

    Thank you!!!

    Hi ckc8302.

    Your assumption is correct - none of the single - or multi - slot USB, ethernet or wireless CompactDAQ chassis is able to execute code in a mode stand alone as you are used to with your cRIO with LabVIEW RT and/or LabVIEW FPGA.  You can use a stand-alone cDAQ for this purpose (such as the cDAQ-9139) who almost certainly beats the savings target you are trying to answer in the present case.

    You are also right in saying that cDAQ USB (9171, 9174, 9178) are supported with LabVIEW RT in general targets, but the downside is that they are supported only with x 86 / x 64 targets as the cDAQ-9138/9139, cRIO-9081/9082 and PXI systems.  Value cRIO controllers use a different processor and architecture of the o/s to implement a LabVIEW RT support, and these objectives are unfortunately not taken in charge by NOR-DAQmx and CompactDAQ.

    You might consider would be to buy a cheap computer and run a version of Windows on it or make a RT Office for use with LabVIEW RT.  You can then use it to host your proposed solution of cDAQ USB, and you can run LabVIEW code on this desktop computer to publish data on the network for your existing systems of cRIO consumption.  The only other option I could think of at the moment would be to continue your TC probes out to your cRIO of wiring systems, as you mentioned.

    I hope this helps.

  • cRIO FTP transfer file size limit

    Hello

    I generated a data file on my cRIO which is about 2.1 GB in size. I can't transfer this file to the cRIO via FTP. I tried windows FTP Explorer, the built in MAX file transfer utility, coreFTP and WinSCP. I am able to transfer other files on the cRIO which are smaller in size.

    Is there a file size of FTP transfer limit? It is around 2 GB? Is that all I can do to get this file out of the camera?

    Thank you!

    OK, I was informed that there is a CAR on this #252919 issue. VxWorks cRIO targets cannot FTP of files greater than 2 GB. The workarounds are to transfer on a USB key or upgrade to LV2013 and use WebDAV.

    https://decibel.NI.com/content/docs/doc-6103

    http://digital.natinst.com/public.nsf/webPreview/4EBE45E8A816B19386257B6C0071D025?OpenDocument

    Thanks to bouazza Whitaker from technical Applications.

  • Post/receive data from ASP.

    Hello

    I'm trying the URLRequest post 4 scores (totalscore2, totalscore3, totalscore1, totalscore4) to an ASP page on a server where the ASP will run a formula to process and return the 2 grades (score1, score2).

    The ASP script to process it that is sent from that SWF Flash looks like

    var totalscore1 = parseFloat (Request ("totalscore1"));

    The ASP script to create a return looks like:

    Response.Write ("score1 =" + score1 + '& score2 =' + score2);

    Response.End ();

    % >

    I'm new to this type of application/publication of data, especially how to set variables that can (?) be sent or return in the form of numbers, not of text strings.

    variable totalscore are numbers like 30 or 75. How to set: var variables: URLVariables = new URLVariables();

    (don't know what the above ASP script needs: should I send, string of numbers or text?)

    Final return score variables are likely to be numbers such as 2.95 or 1.25. How to receive these numbers back to the ASP page and put them in 2 variables numbers for use in AS3 scripts.

    Any help appreciated.

    You can only and send strings to Flash... but in Flash, you can use:

    int (score1);

    or

    parseInt (score1);


    to convert the string to an integer or

    Number (score1);

    to convert to Double, float

  • Problems with the display of XML data

    I'm a bit new to Flash and have problems out XML data in Flash. Basically, when I saw publication, all data load XML file and displays very well. But when I actually publish the file and view in a browser, no data is displayed.

    Data from XML is happening in the areas of dynamic text (title, description, image).

    I use an absolute URL to retrieve the XML data, and I tried a lot of text integrated solutions, and nothing has worked. Here, any help would be greatly appreciated.

    I have attached the script action, but also a piece of the XML file I get the data.

    After going through each difficulty as possible, I could find, I managed to miss the information contained in the link below. This fixed my issue.

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

  • RT FIFO only element Variable is always buffering...

    First off the coast, I'm new to LabView and cRIO... Core 1, Core 2 and RT 1 filled online. No other experience.

    I have a cRIO 9074 with some local IO also speak several Modbus TCP slave.

    I was able to glean from my training for RT systems (NI unique priorities loops) shared vars that RT FIFO enabled. So in this case, the variable in question is...

    I32

    RT FIFO (single element)

    Publication of the network (even if no Panel OR or other system - only uses for access through the Manager of distributed systems)

    I see buffering in the cRIO and I don't know why it happens. And this is not desirable.

    I was looking at the data of my ups on my HMI (two slaves ModbusTCP - neither produced NOR) and I unplugged the ethernet cable from the inverter - still the data on the screen was up to date always as if the inverter is connected. If the screen is buffering of data, or is the cRIO. To know which, I changed the configuration of the inverter slightly to get a pulse train in bit 0 value I32. Toggle so it 0/1. I then placed a door AND which would also add the train of pulses in a little more important so the tilting head count would then be 0/16385. I could then manipulate the gate AND the ups to send 0/1 or 0/16385 in the cRIO at will.

    I placed a probe on a variable that matches the entry of the UPS modbus in a vi that analyzes the modbus table in my variables.
    I put a probe on the same variable (read access mode) who sends these data on-screen in a vi that packs vars in a table to send the wire of the HMI.

    When I changed the magnitude of the scale values, I noticed the entrance of the inverter replaced immediately, while the output of the HMI remained on the old values (always switch) - and finally (the number of seconds later) replaced with new values. More the application runs... more the delay before the variable HMI takes on the current values of the inverter.

    This variable is FIFO RT single item, published network. And if I understood correctly, FIFO variables NOT only element buffer values. So if they are being extracted from a queue is more slow as they are added (or not taken at all in this cae)... the current value should replace just the value queued.

    FYI: The behavior is the same with local o - I probed a thermocoule entry from one module 9213 which is also sent to the GUI and it is buffered as well.

    Also, I tried to uncheck the RT FIFO on the variable in question and saw no improvement.

    Any help to understand this behaviour and a way to eliminate it would be greatly appreciated...

    No, in the beginning I have not.

    I tried some experimenting with it enabled and the size defined for an element.

    In the end, it seems to be a result of failing me to UN-deploy and redeploy the libraries containing the variables in question. (problem disappeared once I "wiped" the cRIO using MAX and re-installing the software load)

    I was informed that the number of variables shared in my project, I would switch to a CVT according to method of distribution of the variables between the loops / process. So I will try which.

  • Network shared Variable breaks rtexe

    I have a cRIO-9063 which I want to use for the control (PWM digital output for pumps signals) and measurement (temperature and voltage) of a system. In the ideal configuration the cRIO would be able to take measures and rebroadcast to a PC for monitoring and logging. The PC must be also able to change the digital output PWM on the cRIO lines. The cRIO should be able to continue to operate when the PC is not available. To do this, I use Scan interface for data acquisition and shared variables (single editor, no RT FIFO) hosted on the cRIO for network communication.

    I have developed the code for the target cRIO as well as my host PC meets my criteria. However, this code only works in development mode. When I try to build and deploy a rtexe on the cRIO, it does not work. I reinforced to the back and made a simple LED flashing user vi, ensure what I create and deploy properly. Slowly adding things to this flashing vi, I discovered it's shared network variables that break the vi once it is integrated into a rtexe.

    After flipping through other-related posts, I'll include the following:

    -There is no object on the remote VI front panel. Simply add a variable node shared is enough to break the vi (when it is deployed).

    -J' tried including my shared variable library in support of the construction directory, but what I saw there is not copied during construction or deployment. I manually copied the library to the /home/lvuser/natinst/bin/data / directory on the cRIO, then used an invoke node to deploy the cRIO variables when the software starts first. Even when you include a delay of 10 seconds after the invoke node, it did not work, just a mistake of 1043 at "the method or property is not supported in this version of LabVIEW."

    -NSV is referenced as absolute

    Some details of my configuration:

    LabVIEW 2015

    cRIO 15.0

    NOR-RIO 15.0

    Communication via ethernet, static IP

    Any help would be GREATLY appreciated. I suspect that I forget a few minor step or detail, otherwise am poorly understand exactly how and when shared network variables are deployed.

    I found shared to not be worthwhile over the years network variables.

    The RT EXE is not able to use the library to deploy to deploy the shared Variables.  See Help topic: http://zone.ni.com/reference/en-XX/help/371361M-01/lvprop/app_libdeploy_library/

    In general, SV are deployed once the project and they persist through reboots of the RT system.  In general, you should have a startup routine that checks the shared variables and expected for there to be without error on a node of the OAS and then move on to the rest of the program, defining the commissioning of values and check that they spread in the engine of the Variable is a typical method.

    See here for more information on the deployment of a variable in an application of the RT.  http://digital.NI.com/public.nsf/allkb/990508969805A7C086257619007189E7

    The section deployment of Variables shared in a real-time (RT) target running Headlessly is downstairs.  Because you are connected to an HMI PC, you should be able to use the library to deploy feature of the PC code targeting the cRIO.

    Usually, it's a faster, more scalable solution to replace your shared network Variables with a stream of network dedicated to the HMI and another for HMI - RT EXE commands.  You can send complex structures such as a cluster or even define the message as a cluster of enum and variant type to be able to use the Enum to convert the variant correctly according to the Enum value.

  • How can I control external devices using a stand-alone touchscreen with a LabVIEW app

    For my senior project my group design and created a vehicle for extended range hybrid with 90 Li + battery which is charged by a 15 kW generator and/or who is also charged by a 5 kW fuel cell. Currently, our system is able to measure the tension on batteries and display them on a laptop via LabVIEW. To process these data, we use a cRIO FPGA. What we would like to do now, is having a touch screen for the pilot to choose which loads of source of battery power so that monitor a pressure reading from the fuel tank.

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    Sorry for the question as much. Any help with the answer. Thank you!

    This looks like a very interesting project.  If you are interested, National Instruments organizes an contest of Design student where you can win cash or a trip to Austin for NIWeek.

    steve215 wrote:

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    NEITHER sells computers touch screen that can be used to control LabVIEW applications.  You can find more information here: HMIS and industrial touch panels and here: LabVIEW Real-time and Touch Panel Deployment and replication resources. Our computers 6-inch touchscreen , run Windows CE, programming on them is a little different from the programming on a full Windows operating system.  You can find useful getting started with LabVIEW Touch Panel Module .

    You can use third-party with the LabVIEW Touch Panel Module devices, although it takes a deployment license for it.  More information can be found in the getting started guide.

    If you were able to send the information of cRIO on a network (which according to your description, seems unlikely), you can use a smartphone to control your application.  More information on our community of Smartphone group.

    steve215 wrote:

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    If you use the 6-inch touchscreen panels, they need 18 to 32 VDC (the fuse becomes an open circuit if the input level exceeds 33 VDC).  The transfer of data from the switching relay can be monitored and changed with the touch screen.

    steve215 wrote:

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    If you have traveled the road of the touch panel, you need to purchase the LabVIEW Touch Panel Module and a touchscreen.  Touchscreens OR have a touch panel deployment license.  Guides step by step to create the stand-alone application are in the getting started with LabVIEW Touch Panel Module .

    Kind regards

    Elizabeth K.

    National Instruments | Sales engineer | www.NI.com/support

Maybe you are looking for