Reading Configuration files using Labview RT in a Compact RIO

Hello

I am very new to Labview RT/Compact RIO development platform and happen to have a question. I will develop an application in Labview RT / FPGA that will make several simulations. However some these simulations can produce different results depending on the configuration settings. Our systems generally run in a Windows application, were there is a configuration (usually in XML format) file that the application reads and analyzes the given parameters. I was wondering if there is something similar, that I can do it, in which I have a configuration file that can be read before my Labview RT/FPGA application initialization, to change the simulation.

Thank you

Mario

Hi Mario,.

That's right, there are screws for the files .ini on real-time targets.

Tags: NI Hardware

Similar Questions

  • Need to treat a .dat file using LabVIEW

    Hello

    I need to process a file using LabVIEW 8.6.1, dat I enclose the .dat for your help file. This file must be read and then view a chart using LabVIEW.

    If you can please help me with the format data in I need to change the code to be able to read this file.

    Thank you.


  • How can I display the time of the data stored in a file using labview?

    How can I display the time of the data stored in a file using labview?

    Hi Matt,

    I think that we will need a little more information as to how you capture the data, what data you capture, etc.

    If you capture a waveform, is to extract the time data waveform which includes the t0 and dt values, so you can understand the time stamp of a specific data point as in the image below.

  • Convert VB2005 read routine file for Labview

    Hello everyone,

    I am very NEW to Labview (using Labview 2010) and I am trying to convert a Net in Visual Basic 2005 dot program to format of Labview.

    My question to the group is, I would like to convert the VB code below in Labview.  This is one of the many readings of text file which makes my VB program.

    ' * Read data from frequency of files and convert them to Double *.
    List = 0
    oRead = IO. File.OpenText("C:\TPS_Data\PA_Freq_List.txt")
    All in oRead.Peek <> -1
    LineIn = oRead.ReadLine)
    TFL (List) = LineIn
    TestFreq (List) = Convert.ToDouble (TFL (List))
    List = + 1
    End while
    oRead.Close)

    These files are calibration/offset and rate data for my RF ATE test equipment.  Once the operator selects an amplifier to test, the program loads into memory these specific files in amplifier.  These variables they are whole, double or whatever store them in a table under (ex: TestFreq (0), TestFreq (1), etc.).  Each frequency has its own offset and calibration data which are sent to the test apparatus by each tested frequency.  This line of code is possible, or do I have to find another way to do this?  If so, how to store and retrieve these data at any time during the test.

    I appreciate all of the information provided by this group.  Thank you in advance.

    Kind regards

    Scott

    Greetings smercurio_fc,

    Thank you for your recent reply.

    Between your most recent response and another post that I fell today by searching on google, I was able to accomplish what I wanted to do.  The basic function was to read the text file, which is a list of test frequencies and move a generator of RF signals at each frequency in the list.

    Thanks again for your time.

    Kind regards

    Scott

  • Cannot read AVI file using video app

    Hi team, support

    I can't read the AVI file using video app (version 9.2.A.0.6) error message: "cannot play video".

    Whereas, in the file AVI can play with VLC app (third-party application).

    I bought Xperia Z1 because I thought that it can play AVI video files (see:http://www.sonymobile.com/global-en/products/phones/xperia-z1/specifications/ ), please please do not ask me to use another third-party application.

    Info: model: c6902, Lollipop: 5.0.2 Build number: 14.5.A.0.270

    Thank you.

    As I've mentioned before, AVI is a container format when it comes to videos. The information you find in the paper is also also the decoder MPEG-4 format. I just tried an AVI file with MPEG-4 codec here, and it works very well. But if you try to play an AVI file with another codec such as: JPEG, RGB or Cinepak, they probably won't work because they aren't supported codecs.

    You can always download a program on your computer that can check the information of your AVI file container. MediaInfo is an example of this program.

  • Read the files using BlackBerry device Simulator...

    In the device Simulator if you take a photo using the camera option it shows that it is saved as a .jpg file.

    I can read such a file using the FileConnection method? This file is real?

    Or should I use a real BlackBerry device to simulate it?

    Because what I'm looking for is to read the image stored in the device and attach it to an email and send it.

    But it seems as if this file is not accessible, even if I give the path of it.

    For example:

    FileConnection fconn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/picture/IMG00017.jpg");

    Can anyone give a solution for this?

    Third-party applications are not able to read the example of media (pictures, sounds, etc.) which is preinstalled on a BlackBerry handheld.  You should be able to read files created by the user or other applications.

  • Open the file using Labview 8.5 traditional NI VI

    Hello

    I want to open this VI I have attached below using the version of labview 8.5

    But when run the VI, the error message pop out as below:

    I suspect this VI to traditional aid OR component.

    How can I run this VI using my latest version of Labview?

    Thanks in advance

    Yes, you're right. This is the traditional DAQ VI.

    Install traditional DAQ 7.4.4 (WXP or W2000) and check that you activate LabVIEW support when configuring the installation program.

    PS: The LabVIEW 8.5 and traditional DAQ are not supported under W7. See here (OS<-->LV) and here (DAQ<-->LV).

  • Applet: cannot read the file using getResource()

    Greetings,

    I'm working on an Applet that is about to read a pdf document.
    When you leave the statement
    java.net.URL PDFUrl=CSSMBulletins.class.getResource("files/oldTransition.pdf");
    PDFUrl is null...

    This happens only when I test using a browser (even if local or remote) client. When I debug using NetBeans that question never happened...
    The * created .jar file (I use in the folder of my Web server where the Index.html file - copy of the launch.html - is) includes * / icons * and * / folders files *.
    With the objects * / icons * I never met problems to get the URL, but with those of * / file * I always a null pointer returned by the method.
    To be more precise: the thrown exception's class nullpointerexception (file oldTransition.pdf exists and is in * / file folder)

    My question is:
    How can I solve this problem?

    On both computers (the and remote), I added the java.io.FilePermission "/ src/cssmbulletins /-", "read, write"; statement in the file, java.policy of the virtual machine.

    Published by: Hurukan on October 17, 2012 18:18

    Published by: Hurukan on October 17, 2012 18:19

    Published by: Hurukan on October 17, 2012 18:20

    Published by: Hurukan on October 17, 2012 18:39

    Published by: Hurukan on October 17, 2012 18:41

    If I am not mistaken the Applet runs client side, by the client computer

    Fix.

    but the jar file (which contains resources for Icons/Files) is located on the server.

    But it is downloaded to the client.

    When I test the Applet with NetBeans, there is no problem (if I give the correct path to the method of course).
    But during the test of any browser (excluding NetBeans) I got a null for the PDFUrl pointer.

    Here, the fundamental question which you have not yet addressed, is whether the PDF file within the JAR file or elsewhere. getResource() will only load it from the JAR file if (a) this is where the class came, and (b) the PDF file is in the JAR file. In Netbeans, it's different because it uses build/classes instead of the JAR file in the CLASSPATH, so it can load directly from the disk.

    The browser won't let no process to read or write files?

    The Plugin Java won't let you do that unless you sign the applet or the windows .policy file allows.

    This is the reason why I added some security strategies in jvm clients as I did for the server for testing with the browser in local (loopback).

    Don't, don't. Deployment issues. Arguments with customers. Too hard. Sign the applet.

    If there is nothing in the java.policy file, I can not connect to the database, can not print and of course can't read/write (when I did my tests with NetBeans, I security exception when you try to connect to the database, for example).

    Sign the applet.

    I don't have a thorough knowledge of the Java Applet and I can have underestimated the complexity of the "just read/write a file" on the remote computer.

    If the PDF file is not in the JAR file? So, is expected to be in the client file system? In this case, you cannot use getResource() at all, you must use the FileInputStream, FileReader, etc..

    I suppose that the Applet is decompressed in the local file system (even in memory).

    The JAR files is / are unpacked in memory. If the PDF file is not in the JAR file it is not unpacked.

    Do you think I have a good vision of how the Applet technology works? Or there is something important, that I missed?

    a no b Yes.

  • I want to convert file .xls in .txt file using Labview

    Hello Sir,

    I want to convert the file .xls in .txt file because when I try to open and read the .xls data it reads the unwanted data.

    Thank you and best regards,

    MadhanKumar.P

    or something like this:

  • How to convert a txt to a graphic file using labview 2011

    Hi all

    Please help me on how to convert the .txt file to graph in labview. the txt file is the input file. I've attached the txt file. ITI consist of 7 data according to the date and time. Thank you.


  • How to set the step property when I create the movie file using labview

    I have download a sample program which is a LabVIEW VI, which creates a new sequence file, add a Global file that is a container with two properties and adds a step that calls a module of LabVIEW code (with the new Global file as output from the code module) on the page of NOR.

    Attachment has four screws:

    CreateSequenceFile.vi
    AddFileGlobal.vi
    AddStep.vi
    Module.VI

    I modified AddStep.vi to set a step as the characters "hello" property in Step.Result.ReportText.

    But it does not work. If anyone can know and fix, please download the revised AddStep.vi.

    Thanks for the help.

    Change the appearance the string to Result.ReportText.

    Given that you found the step as an object of property you not need to specify a look up string like Step.Result.ReportText.

    Thank you

  • the time display of the data stored in a file using Labview

    I saved data in an Excel file but I donnot know how to display the time recorded for each data. I would be grateful if you can help me.

    Thank you very much

    Sincerely,

    Nehemia Elvis

    Hi Matt,

    where do you have problems? You have already saved time and you only write in the file?

    Mike

  • Error reading the configuration file

    I install the Adobe Access 4.0 trial license server and when I run the g - r on the Tomcat installation dir \licenseserver Validator.bat I get a message "error reading configuration file. Here's the log dump:

    [] 2012-12-20 22:46:32, 176 INFO [[Partition (flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] class loader of partition creation «flashaccessserver"with «[file:/c:/Tomcat6/licenseserver/flashaccessserver/libs/, file:/c:/Tomcat6/licenseserver/flashaccessserver/libs/flashaccess-license-server-ext-samp le.jar]» libraries

    [2012-12-20 22:46:32, ERROR 582 [. com.adobe.flashaccess.server.license.tools.Validator [Partition (flashaccessserver)]] could not validate the deployment tenant "flashaccessserver/sampletenant".

    com.adobe.flashaccess.server.common.configuration.ConfigurationException: error reading the configuration file

    at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:139)

    to com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl. < init > (TenantConfigurationImpl.java:110)

    at com.adobe.flashaccess.server.license.configuration.commonsadapter.CommonsConfigurationBas edFactory.getTenantConfiguration(CommonsConfigurationBasedFactory.java:90)

    at com.adobe.flashaccess.server.license.tools.Validator.validateTenantDeployment (Validator.j ava: 255)

    to com.adobe.flashaccess.server.license.tools.Validator.validatePartitionDeployment (Validato r.java:283)

    at com.adobe.flashaccess.server.license.tools.Validator.validateGlobalDeployment (Validator.j ava: 301)

    at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:173)

    at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:117)

    Caused by: org.apache.commons.configuration.ConfigurationException: could not load the configuration

    at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:863)

    at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:821)

    at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:134)

    ... 7 more

    Caused by: org.xml.sax.SAXParseException; lineNumber: 121; columnNumber: 16; HVAC-complex - type. 2.4.b: the content of the element "KeyServer" is not over. A the "{"http://licenseserver.flashaccess.adobe.com/tenant": file"}' should. "

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (exercise wn Source)

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportErro (Unknown Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexT (unknown Source) type

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType (KNU nown Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent (exercise wn Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement (KNU nown Source)

    to com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$ FragmentContentDri ver.next (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (unknown Source)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument (exercise wn Source)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (unknown Source)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (unknown Source)

    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (unknown Source)

    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse (unknown Source)

    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse (unknown Source)

    at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:855)

    ... 9 more

    I use a relative path to my .pfx file to the transportServerCredential and the licenseServerCredential in the flashaccess - tenant.xml and my password was encoded using the Scrambler.bat.

    Also, when I check using the configuration http://< LicenseServer >: 8080/flashaccessserver/flashaccess/license/v2 I get the message "license server is configured properly."

    Any ideas why the Validator.bat cannot read the configuration file?

    Neil and may,

    I also used the evaluation of access version 4.0, and I got stuck in the same place you did.  I had two main symptoms.

    (1) the validator was not with the same error that you are experiencing.

    (2) later, while trying to acquire a license for playing packaged content, encrypted, the license acquisition failed, and the cause of the original error has also pointed out the Key Server parameter in flashaccess - tenant.xml.

    According to the documentation, the certificate server key (and in fact the key server itself) are supposed to will be necessary only when a policy calls for remote key service to clients of iOS.  But, I took a chance and added the .pem file in the sampletenants directory and made him the flashaccess - tenant.xml as follows:

    Configuration | Tenant | Certificates | KeyServer. File | path =

    The result was a successful validation of the configuration and the successful license acquisition and reading - and the key server is not even in the course of execution.  Apparently with 4.0 certificate is part of the minimum for the scanner configuration, even if the documentation says something quite different.

    Good luck, hope this helps.

    Scott

  • pre-defined types of missing data when using a configuration file

    Hi all

    I recently installed Labview signal express 2011, including the audio wizard and vibrations. I got a file preset to implement the material I have but when I open the configuration file (a Labview project file) I get a message:

    Version of installed components are not compatible with the version of LabView express signal 2012. Please install the latest version of the following:

    "SV express datatypes.

    I do not have Labview signal express 2012 so I do not understand why this error pops up. I also have difficulties in locating the mentioned software

    Please notify

    Hi Yogev_sharvit,

    There is not a way to save the files to a previous version of the Sound and Vibration Assistant. I encourage you to contact SAGE, who was the source of the files, and whether they have a 2011 version available. Otherwise, it may be necessary to configure the steps in the wizard. I've included a screenshot of the file opened below. Unfortunately, this does not bring as much light on the different steps that we would.

  • irig106 data Plugin to read the file extension .ch10

    Hi forum,

    I'm reading the IRIG106 (.) Ch10) using use IRIG106 use http://www.ni.com/example/31585/en/

    Can someone help me how to read a file using this use in LabVIEW or tiara.

    I tried to use this use to read IRIG106 (file .ch10 Extn) in LabVIEW but LV is getting crashed without reason!

    Thanks in advance.

    Hi all

    Changes to the use of IRIG_106 to read these new data files have been posted on the www.ni.com/dataplugins site today.

    http://www.NI.com/example/31585/en/

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

Maybe you are looking for