Building an Application that reads html filename

I want to build an application that displays html files on the screen and when the user presses a button that gives a cue to the PCI-DIO-96 to give an o/p to external connected modular distribution panel that uses shift registers and from the panel (that's fed from a DC P.S.) to some bulbs. each html filename will be corresponding to a specific bulb.

Hello Taher,
I apologize for the long delay in responding to your support request. We've had a restructuring and I unfortunately misplaced our thread in the shuffle.
There are a lot of great resources for each portion of the program you are wanting to develop. It sounds like you have several components:
1)displaying an HTML file
2)conditional logic
3)digital output to DIO-96
You could display the HTML file in an embedded ActiveX control with a web browser (like Internet Explorer), if you are using Windows. There are several examples in LabVIEW that can help you do this, and you might take a look at the example at the following link:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9AD111EE034080020E74861&p_nod
e=DZ52051
To accomplish the conditional logic that you need, you will probably want to use a loop and/or a case structure to determine which output port to pass to. To learn more about these structures, navigate to Help >> LabVIEW Bookshelf, and look at the Getting Started with LabVIEW manual. You can also find some great examples that use these structures by going to Help >> Find Examples and navigating to Fundamentals >> Loops and Structures.
The last requirement of your program, writing to the digital lines of your DIO card, offers a lot of possibilities. The best place to look when getting started with this type of program is again, to the example code. If you go to Help >> Find Examples, and navigate to Hardware Input and Output >> Traditional DAQ >> Digital Input and Output, there are quite a number of pre-written, working applications that you can start from.
I hope this helps! Please let me know if you would like help on any specific aspect of your application.
Good luck!
Liz F
National Instruments

Similar Messages

  • How do I build an application that will run without being installed?

    I have seen some of the prior posts on trying to do this, but most of them were older, so I'll ask:
    Using 7.1, how do I build an application that will run without having to install the runtime engine? I have a client that wants to run serial port monitoring VIs to watch some custom hardware we built for him. His IT dept. won't let him install anything. If I could make this VI run off of a USB thumb drive without needing anything installed on the system it would be ideal. Space is not a problem, so I could include any runtime files needed. Can anyone tell me how to do this?
    Thanks

    Under what operating system was it running under back in the 90's when it was working?
    I think that starting with NT platforms (applies to 2000 and XP, but not 9x) the hardware abstraction layer (HAL) prevented direct I/O to serial ports. Serial port related code that ran fine on 3.x and 9x would not run under NT platforms without modification.
    Just some food for thought, do not know if it applies to your situation.
    Good Luck
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • How can I build an application that calls functions in a dll if the associated hardware is not present?

    I am trying to build an application that use the "Call Library Function" node to call functions in a dll.
    The dll was provided by a third-party and includes functions to drive an I2C communication board.
    The problem I have is that the dll does not not properly because the hardware is not present.
    Therefore when I load the VI a broken arrow is displayed and when I am not able to build the application.
    I will not be running the application on the PC where I build the application, therefore I want to be able to build the application on a remote PC that has not all the hardware installed. Once the application will be build it will be installed on the target PC that has all the hardware.
    How can I make the application builder to build the application event if the dll is not properly loaded? (the dll will be properly loaded on the target PC)
    I want to do this on LabView 5.1.1, any ideas?

    Some .dlls don't try to attach to the driver when loaded.
    I've worked with both and unfortuately, I've not figured out a way around this problem.
    You could possibly use the Conditional Disable structure around the dll calls so they would not be loaded unless you're in the runtime engine. But i've not tried this so I don't know for sure if it's possible.
    Anyone??
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How to design and implement an application that reads a string from the ...

    How to design and implement an application that reads a string from the user and prints it one character per line???

    This is so trivial that it barely deserves the words "design" or "application".
    You can use java.util.Scanner to get user input from the command line.
    You can use String.getChars to convert a String into an array of characters.
    You can use a loop to get all the characters individually.
    You can use System.out.println to print data on its own line.
    Good luck on your homework.

  • Building an application that does not use any local program files or libraries

    I need to build an application that will not use any local libraries or LabView program files(even if LabView is installed on the PC). I also am curious if anyone knows if there is a way to debug such an application(in it's compiled state).
    Any help on these topics would be greatly appreciated.
    -Nate
    Solved!
    Go to Solution.

    Hello,
    I am unclear on what you are trying to accomplish here. As the previous poster mentioned, if you enable debugging when building your application, you can remotely connect and probe the block diagram of the running executable. Executables use the run-time engine but could also access drivers or other run-times if using a specialized toolkit/module. This all depends on your application.
    -Zach
    Certified LabVIEW Developer

  • How can I build an application that deploys my shared variable library?

    I have a VI that I want to build into an application and put on a non-development machine. I am using a shared variable which obviously is contained in a library. In the VI itself I can deploy the library by specifying a path. Is there a way to build the application so that the library is deployed automatically when the .exe launches? I want to get away from having the end user to have to know where the library is and set the path correctly.

    Hi Troy,
    Sorry, but I think I missundersood you.
    I think you have to deploy the library programmaticaly by using the Application Control functions (OpenAppRef, InvokeNode)
    I didn't test this but the following picture shows how to start:
    Kind Regards, Christian
    Message Edited by Christian_M on 01-05-2006 09:11 AM
    Message Edited by Christian_M on 01-05-2006 09:11 AM

  • Building an application that uses Daq-mx cards

    hi,
    I'm using Labviex 7.1 to develop an apllication that uses a couple
    of  Daq-mx cards as well as a few RF instruments.  The 
    2 cards are  for the moment in the computer  I use to develop
    my application. My problem is that when the application will be over, i
    have to remove Labview from the computer to let the License free.
    That's why i used the application builder to make a .exe with my app.
    The .exe file works without problems on the computer with labview. I
    then installed Labview runtime 7.1.1 on an other computer to try my app
    on a computer where labview is not installed but this time it doesn't
    work as a lot (more than a dozen) of DLL seem to be missing, almost all
    the library that deal with the Daq-mx.
    Do I have to install the cards on the computer on wich i want to test
    the application ? Or maybe only the drivers of the cards ? Maybe some
    of you have already faced this problem and can help me ^^
    Thank you in advance and see you soon in the forum
    P.S. It's gonna be quite hard to show youthe program as the computer I use to develop is not connected to the network
    Message Edited by Xavier Pajona on 07-29-2005 08:08 AM

    This may not help the issue you are having, but starting with NI-DAQ 7.4 you can simulate many of National Instruments' DAQ, tell Measurement and Automation Explorer ("MAX") that they are installed. This has solved some of my "develop on one machine, deploy on another" problems, which as a consultant seems to happen a lot.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • LabVIEW 8.6 propositions on how to build application that acts like reader form specified field dependent on which values been selected

    Hello everyone!
    I am newbie to LabVIEW with some previous experience programming in different languages.
    My goal is to build the application that upon my selection needs to give specific values from previously filled and prepared file.
    For example, I have different types of operations (milling, drilling, turning..) and different grades (type) of steels (Uddeholm steel grades: NIMAX, IMPAX...and about 40 of them). For every operation there are different input data (Coated insert, uncoated). Based of those information application should give out cutting speed and feed rate data that are stored in some file. I understand I can do it in Excel spreadsheet or LV spreadsheet, I would prefer LV because of portability to systems without Office installed on them. I also understand that all those issues concerning input data for output results I can easily solve with case scenario.
    Main issue is decision between different types of files that I can easily address like 2D matrix to get required data, which and how to do it.
    I would like to know what I should acknowledge first before doing any further work?
    And does someone have some simply prepared VI on which I can work my way on?
    If you are willing to help me with guides I would be happy to answer any of your questions.
    Vedran Galeta

    Thank you very much for your reply.
    This application that I am working on is completely static due to communication. It simply needs to provide entry in table depending on selected inputs in front panel, and of course display it front panel. I know what I need to do, as well as the structure. Only thing that I don't know yet how to do it in LabVIEW.
    When I mentioned "LV spreadsheet" I meant on read from file option, you got that right.. The thing is that now I have large amounts (not large in acquisition data point of view, 5 spread sheets, with 45 rows and 15 columns) of data saved in Excell, and my goal would be to get that data in LabVIEW application, for the ease of access. And still leave that xls file as is, due to all connections that he have with smaller xls files. So in compact version of the story I am going to use save as comma separated (or tab, that depends of course) values from Excell with or without extra editing of created file in order to load that file into prepared program structure in LabVIEW. After I manage to do that, of course I will work my way for all other extras that I am gonna put eventually in program structure. So this would be like a backbone, I know it sounds simple. As a matter of fact I would probably be finnished allready in VB but highest demand is to do this in LabVIEW, and I am fully down with that.
    Regards,
    Vedran

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • Sample Flash applications that can be embedded on DMD

    Does anyone have any sample flash applications that read their configuration data from an external file and that can be embeded in a DMD presentation?
    And MOST IMPORTANTLY with the .fla file?
    The ciscoet.com portal has plenty of samples but they are all stand alone applications no DMD embedding.
    It seems we are all struggling with getting some dynamic content on the Displays things like:
         RSS Reader that does more than just the headline
         Weather Widget
         Image rotator
         Dynamic Table grid reading data from Web Service or XML file
    I've got flash components working on the DMPs if I play them directly but the idea is to use them in the DMD.
    Thanks for any help

    We run a number of flash applications that pull external XML data.
    A limitation in flash does not allow you to play flash apps unless you set up a cross-domain policy XML in your web server root that looks something like this:
    <?xml version="1.0"?>
    http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    This is allowing all domains access to your flash with the use of the wildcard, but you might want to modify it to be more strict.
    Also, if you have a 4310 DMP, you cannot embed flash using HTML. The DMD module that you are using must call the .swf directly. Also, the 4310 supports action script 2 only, not action script 3, so if your flash app is running AS3, it will not work.
    If you have the 4400, you can do anything, including embedding flash files in HTML, and you can also use AS3.
    For other types of Dyanmic HTML content, a 4310 will have a hard time. For any dynamic content that needs to be displayed on a screen, we run background routines that writes data out to image format. The 4310 is perfectly capable of displaying a jpeg.
    Those are the general restrictions we've run into. If you have any specific questions, put them here and I'll let you know if we've run into it before and how we handled it.
    Cheers!
    -Michael

  • How can I build mobile application , connect with database and can show its working by simulator

    Dear, I want to build mobile application.
    Actually, my application has 2 parts. one is webbased application.
    Second part is mobile bases.
    instructor will take interview of the students. he will enters marks by mobile and then by using BT, it will be sent to webbased part and saved in mysql database.

    Actually, the mobile part of your question is irrelevant to the central issue of building an application that will allow:
    1.  Collecting information from a student
    2.  Entering that information into a database
    To do this, you would build a form page that allows you to input the desired information. When that form is submitted, validate the information and enter it into a database.
    Once you have this working, format the form page so that it displays well on mobile devices.
    To use this you would browse to the form page on your mobile device browser, input the information, and submit it.
    Is that what you want?

  • When Building an Application, which .icd file gets used on the deployment machine?

    Hello all,
    I am building an application that needs to support multiple configurations for multiple cameras. I currently have a development machine with everything you would expect to be installed, and a deployment machine that does not have LabVIEW installed, but does have LabVIEW run-time, appropriate drivers and MAX.
    My question is: When I build an application, I would like to be able to give a particular end user their own .icd file which the built application will recognize on their own machine. Then the .icd parameters can be tailored to their application. Is this possible?
    I had hoped that this would just be the case, however when I compiled an application and tried to run it on the deployment machine it was obvious that the built application retained the .icd settings on the development machine and ignored the .icd settings on the deployment machine. Perhaps it has something to do with how I am compiling? Any additional info would be awesome.
    Thanks everyone for your time!

    Cole,
    The easiest thing to do would be to manually replace the default .icd files with your configured .icd files at the directories specified in the following knowledge base.
    Where Do I Place My Camera File Once I Download It?
    LabVIEW won't copy the .icd configuration automatically because it is a configuration file for the IMAQ driver which is platform independent.  Another option would be to create VI that runs at installation or application run time that programmatically configures the .icd file.  You can add the .icd file to your project and copy the attributes to the camera file that exists on the deployed machine or replace it entirely.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • Application not reading data from opc server?

    Hello, 
    I have developed an application that reads and writes information from and to an OPC server (Phoenix Contact), and for this have used the DSC Module and labview 2014. When I run it from LabView, it works perfectly. I want to deploy it to another computer and for that I have created an Installer that includes the source files, the labview runtime, the DSC runtime, ni distributed manager 2014, and the variable engine.  
    When I install my application to the other computer, it doesn't "see" the data from opc, although the data reaches the computer (I've checked). Can you please help me with some suggestions regarding this problem? Am I missing something?
    Thank you.

    You don't have NI OPC Servers on either computer?  That's generally the software required to talk directly to an OPC Server.  On the computer where things are working, try going to your start menu and searching for NI License Manager.  See if there is a listing for NI OPC Servers.  I'd expect it to be activated to a single driver.
    On the deployment PC, make the same check.  I'd expect it to be missing.
    The distributed manager is just a way to view the shared variables you have on the system and interact with them.  DSC works with NI OPC Servers to display your tags.  The RTE is needed on the deployment PC.  But, I'd also expect you to need a way to convert the tag into the shared variable you're seeing in both the DSC RTE and distributed manager.
    Using the Phoenix utility shows the computer is connected to the same network.  But, it doesn't show the tags are reaching LabVIEW.  You're generally better off starting with the Quick OPC Client as this will use similar methods that LabVIEW will.

  • After installing an application that was created using the Application Builder

    After installing an application that I created using the Application Builder I get this error if I try to run " ANY " LabVIEW App's that I have built. "Executable Version 7.1.1 doesn't match Resource File 7.1. Check your configuration."
    The way that I tried to fix this is to reload LabVIEW 7.1 and DAQmx 8.0. I am using two NI-6528 switch cards.
    After I reload LabVIEW and DAQmx I can run my applications but as soon as I install one on this development machine the error begins again.
    The executable that I built works fine on the development machine and any other machine that I try it on but it appears that the Run-Time engine 7.1 becomes corrupt after I run setup.exe for the newly created application.
    I have built numerous Installers, setup.exe's in the past without this error. Just this latest one caused this problem to start.
    I can NOT upgrade to 7.1.1. I am doing work for many different sections of this factory and I can not force them to upgrade. I've asked. Others supply code for the same machines using LabVIEW 7.1.
    I am stuck creating executables and manualing moving the correct files to the target machines.
    What can be done?

    No. The KB article was talking about a machine with 7.1.1 installed. I have LabVIEW 7.1 installed.
    The machine that I am having trouble with is my development machine. LabVIEW 7.1, DAQmx 8.0.
    If I build the executable all is fine. I can still run old executables including the one I just built.
    If I create the installer all is fine. I can still run old executables including the one I just built.
    When I install the app on my development machine the corruption occurs. I can " NOT " run old executables including the one I just built. The subject error pops up.
    I have not moved any executables to the other machines yet. I don't want to corrupt others.

  • Hi, We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1. When we try to download a file(.pvw file) in that application safari throws "Download failed" error. Please suggest what needs to be done.

    Hi,
    We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
    When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
    Is this default behaviour which cannot be changed or can it be configured to ask user preference?
    When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
    Please suggest what needs to be done.
    Regards,
    Pramod

    Safari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
    Regards.

Maybe you are looking for

  • Payload reponse for a web code

    Hi I am working on an application where is am doing the recording and playback in web and not web/http . Now i need to get the last browser response ( payload) response .......for the same similar to the response we get for the http code. As for the

  • Macbook Pro changing wallpaper automatically when I log out and in?

    Hi Whenever I go on my laptop and change the wallpaper, when I turn it off and then turn it on again, it has changed to another wallpaper. It changes to the same wallpaper all the time, and I made sure that I hadn't checked "change every 30 min" or s

  • SharePoint DataView Webpart

    Hello Techies, I have  a list which has one column as Status(Dropdown-Choice) with following options: Assigned, Rejected,Answered. I need to get the count of all item based of Status-options. for eg Count of all Assigned Items, Rejected Items and Ans

  • How can the triangular deal be set?

    Hi, I have a problem with the triangular deal (flag: VBRK-XEGDR, Report: RV60C603) Since 2006, the flag is no longer set when issuing a billing document. As a result, the triangular deal is not appearing on the EC Sales list. What could be the reason

  • Disappearing timeline and canvas??

    I have a project that each time I open it only the browser and viewer show. The timeline and canvas are greyed out in the Window drop down menu and when I try "arrange standard", they still don't show up. If I open a brand new project all four screen