Front panel breaks on file io change

I'm working on a pump controls application in labview. The software uses inputs from various serial ports to make an input. 
The problem I'm having is on start the application loads a calibration document (that translates the user's requested flow speeds into a frequncey to be fed to the pumps Variable frequency drive). Now the program works flawlessly fairly (despite flaws in my code), the problem I'm having is after ~3 months of operation I rewrote the calibration document to the same format (the program has no problem loading the document, nor reading its information). 
Yet several front panel objects (switches) no longer function. Now I've been working in labview since 2009, so the problem confuses me greatly because I'm not using custom front panel objects and the majority of functionality remains intact.
Attached is the VI, and its dependency 
Attachments:
GPI mark 3.vi ‏419 KB
Input cleaner.vi ‏8 KB

I think I may have found the problem.
The re-wrote calibration document doesn't have a zero state (stop). And the loop that scans the calibration document (in memory) doesn't have a clause for a zero (stop) request so I added one. Will make this as a solution if this is correct. 

Similar Messages

  • RE: Print a front panel in a file

    Use a pdf printer driver and use this along with the print on completion
    setting for the VI that you want to print to file.
    This is great for reports.
    > -----Original Message-----
    > From: [email protected]
    > [mailto:[email protected]]On Behalf Of Cesar
    > Sent: 03 December 2001 12:03
    > To: [email protected]
    > Subject: Print a front panel in a file
    >
    >
    > I would like to know if there is any function or other way to print a
    > front panel in a file (a picture file or a print file) in execution
    > mode.
    >
    > thanks
    >

    I'm not aware of a single vi that can do this. The way I've done this is to use combination of vi's described under Help in "report generation vis and function" located under "vi and function reference."

  • Print a front panel in a file

    I would like to know if there is any function or other way to print a front panel in a file (a picture file or a print file) in execution mode.
    thanks

    You can use the Get Panel Image method. Place an Invoke node in your diagram, select VI as Vi Server Class and choose Get Panel Image as the method invoked.
    You can also choose if you want to copy the visible area only or the entire panel.
    Hope this helps.
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Example on how to use the NI "saving a front panel img to file" on a prog.

    New to the labview program - I'm trying to save the front panel of the displayed output to file. I downloaded "Panel_Image_to_File.zip" from the NI site. But I'm having problem using the code to our program so as to save the image as a jpeg.
    A simple example on how to use the code or any other code that will be able to save the front panel to a specified folder will be great.

    All you should need is an invoke node of VI class and the the method Get Panel Image. Wire the Image Data output to the Write JPEG File on the Graphics & Sound>Graphics Formats palette. The Invoke Node is on the application Control palette. When it's on the diagram, right click and select Class>VI Server>VI. Right click on it again and select Methods>Get Panel Image.
    Attachments:
    Save to jpg.jpg ‏10 KB

  • Print Front Panel to PDf file error REVISITED

    "Previous subject matter dealt with Acrobat Distiller for writing PDF files I am seeking a better solution. 
    I have used successfully, in other programs, pdfFactory but I get the following error message when using it with Labview 7.
    "Labviewrint driver error.
    Unable to print.  Make sure you have installed and selected a default printer."
    pdfFactory is selected as the default printer.  I have also selected the LaserJet as default then selected pdfFactory for a specific file write but the same message is written to the screen.
    This is a nice and easy way to write to a pdf format if it can be made to work.  Acrobat Writer and/or Distiller is not only more expensive it is also more cumbersome to use and apparen
    tly has to be accessed through the Report Functions.
    Has anybody already solved this problem on the XP operating system?
    RL"

    Sir ;
    I am working on a project with labview. I made the program on labview 6.1 and i want now to execute it on labview 7.1
    the problem is that i am using a gpib communication protocol, the communication is running with the old version of labview
    but with the new verion ( 7.1)  there is a problem with one instrument witch is a voltmeter keithely 181.
    it doesent want to run properly.
    i heve to mention too that i am using a machine with too gpib card abord and with windows XP professionel
    So please i need help to understand whats going on ,
    thank you ;

  • Print Front Panel to PDf file error

    Previous subject matter dealt with Acrobat Distiller for writing PDF files. I have used successfully, in other programs, pdfFactory but I get the following error message when using it with Labview 7.
    "Labviewrint driver error.
    Unable to print. Make sure you have installed and selected a default printer."
    pdfFactory is selected as the default printer. I have also selected the LaserJet as default then selected pdfFactory for a specific file write but the same message is written to the screen.
    This is a nice and easy way to write to a pdf format if it can be made to work.
    Has anybody already solved this problem on the XP operating system?
    RL

    Hi
    While this may not answer your question, check Jack Hamilton web site at:
    Lab-Useful: LabVIEW& Tips, Tricks and Downloads
    He has a Print to PDF.llb that: "Allows you to programmatically control the destination and filename for PDF printing in LabVIEW. You must use the report functions to print and have Adobe Acrobat writer installed on the machine - PDF writer does NOT need to be the default printer"
    Eventhough it was made for LabVIEW 6.1 and Tested on Windows 2000 Professional, you might be able to figure out what's not working on your system by looking at Jack llb.
    PJM
    Got EasyXML?
    JKI.VIPM.EasyXML.OpenG.LAVA.Builder.blog

  • Bug: Front Panel objects relative position change when placing merge VI onto Block Diagram

    I've posted a bug report on LAVA, here:
    http://forums.lavag.org/Front-Panel-objects-relati​ve-position-change-when-placing-merge-VI-onto-Bloc​...
    If someone at NI can reproduce, can I please get a CAR #?
    Thanks,
    -Jim
    Solved!
    Go to Solution.

    Donovan B wrote:
    Hi Jim,
    After my previous post, I also saw this behavior, so I decided to do another test.  If there are no decorations in the VI set to “Merge VI” (“Place VI Contents” for LabVIEW 8.5 and later) the controls and indicators are still not selected when dropping the VI from the Functions palette.  I checked this behavior back to LabVIEW 7.1 and it is consistent throughout that controls and indicators are not selected.  (Consequently, so is the fact that when decorations are present they don’t maintain the relative position).
    I am not sure if this would be better suited as a CAR or product suggestion since it has been this way that long, but it does not appear to be related to the fact that decorations are present in the Merge VI.  It does seem strange that the decorations are selected though.  Looks like the best way to work around this is to drop the VI from the Controls palette.  Hopefully, it’s not too much of a hassle.
    Hi  Donovan,
    Thanks for checking in.
    >  I checked this behavior back to LabVIEW 7.1 and it
    is consistent throughout that controls and indicators are not
    selected.  (Consequently, so is the fact that when decorations are
    present they don’t maintain the relative position).
    This just means that not many people use this feature.  However, now that VIPM Professional makes it so easy to edit the palettes, I'm sure that others will start complaining that this doesn't work as they expect.
    > I am not sure if this would be better suited as a CAR or product suggestion
    since it has been this way that long, but it does not appear to be
    related to the fact that decorations are present in the Merge VI.
     Just look up the functional specifications for this feature and see if all objects are supposed to be selected.
    But seriously, is there a reason that only the FP decorations are selected?  Surely this would be documented somewhere, if there was a good reason for this current (IMO, buggy) behavior.
    > It
    does seem strange that the decorations are selected though.  Looks like
    the best way to work around this is to drop the VI from the Controls
    palette.  Hopefully, it’s not too much of a hassle.
    That's not a reasonably work-around, IMO.  It doesn't make sense to drop Block Diagram components onto the Front Panel.  For example, this bug affects the JKI State Machine.  It doesn't make sense to drop a State Machine onto the Front Panel.
    So, I'd file it as a CAR/bug, and then wait to see how LV R&D feels about it.  If they can find some valid reason for why Controls and Indicators shouldn't be selected, then that's fine (and hopefully someone will explain it to me).
    Thanks,
    -Jim

  • CDE Front Panel change between sessions

    I'm trying to change the front panel workspace buttons so they change between sessions. However, when I log out and back in again they are reset back to "One", "Two", "Three" and "Four".
    After I changed the label on one of the buttons, I brought up the Style manager and selected "Set As Home". I went to the $HOME/.dt/sessions/home directory and found the dt.resources file did contain the new label for the button. However, when I log out and back in again the buttons are not set to the new value. What am I doing wrong, please?

    Hi Filip,
    About the 6 second delay. Did you changed anything in the "function generator.vi"?
    And when you change the amplitude of your signal, is it first displayed on the front panel,
    or does your output change first.
    I am asking you this because i have trouble opening the example. All our pc's have Labview 8.5 installed
    and 6.1 is just abit to long ago to be compeletly compatible. So i need to make an image of a pc then uninstall
    Labview 8.5 and install an older version. I can open the vi with 8.5 but many subvi's are missing and i can't run
    it so i can't see if i have a problem.
    So let me know if you changed anything? From what i have seen there isn't anything wrong with the vi.
    I think the problem is the following. When we select continuous generation we make the hardware fill a buffer with samples.
    so the buffer can be read every time at the same moment and the signal appears continuous. But let's say we change the signal,
    then it will only disapear after all the pervious buffer items are read out. So i think if you make the buffer smaller the delay should be smaller.
    Perhaps you can take a look at that too.
    Kind Regards,
    Joris Donders
    National Instruments
    Applications Engineering
    www.ni.com/support

  • How to set front panel size to be same as one led?

    Hello All,
    LV2010
    In documentation reads that minimum front panel size is one pixel. I need to create front panel which have same size as one led (see attachment). I'm not able to make front enough small just by dragging window borders. I also tried to change front panel size from File->Vi properties ->Window size but that didn't helped. How I can set front panel to smaller size?
    Attachments:
    Small_front_panel.vi ‏6 KB

    I think I got it
    In the window apperance option I removed everything except "Allow user to resize window" And the Run options. Then I ran the VI (continuosly since there is no loop) and resized it. After I stopped it, I then removed  "Allow user to resize window" from the window apperance options.
    P.S! If you try to resize my Vi now, it will pop back out for some reason. 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Attachments:
    Small_front_panel (1).vi ‏6 KB

  • Saving the Control Values on a Front Panel

    I am creating a VI in which I have approximately 10 front panel controls that can be changed by a user. Instead of entering the same values over an over again, I would like to provide the user the option to save a set of control values that can then be loaded the next time around via a drop-down box. Before I began I just wanted to see if anyone had done anything similar. I was stumped as to how to approach it. Any suggestions?
    Matt

    Matt,
    You can also use a datalog file. LabVIEW can write and read clusters to a file, and as long as the cluster don't change you should be fine.
    Basically your code would grab the value of each control, bundle it into a cluster and save that cluster to a file. For reading, you read your cluster from the file and get each individual value to drop it in the right control.
    I'm sure there are some shipping examples on this too.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.

  • Can not open front panel sub VI when running an application VI.

    When I create an application of my program a problem occurs. When I select options (press a button or so) from the main front panel that should result in a popup menu (sub VI cal) LabVIEW indicates that something is happening but the front panel does not open. The mouse indicator changes to the time glass so LabVIEW is doing something but the window of the sub VI does not open.
    The problem has the same characteristics on several places. There are some sub VI front panels that opens but I ca not find the reason for why these open and not other.

    Hi
    there are three ways trhough which you can force a subVI to show its front panel
    1. open the perticular SUB VI
    click File->VI properties select window appearence catagory.
    click customize button and select "Show Front Panel when called" and "close afterwads if originally closed" check boxes
    save the VI
    whenever you use this Sub VI every time it will pop up front panel
    2. dont perform the changes suggested in option 1. place the instance of subVI in your main application and if you want that instance to popup a front panel then right click on subVI and Select "SubVI Node Setup" again select "Show Front Panel when called" and "close afterwads if originally closed" check boxes
    with this option only certain instances of SUB VI will cause pop up to occur
    3. this is the most flexible option. use invoke node to show front panel. in invoke node select show front panel method to popup the VI and use close front panel method to close the pop up window.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • SCXI Switches not showing up in NI-Switch Soft Front Panel

    Hi,
    I have an SCXI 1001 chassis containing about a dozen SCXI 1160 switch modules. The first switch module is connected to a PXI-4060 DMM card in a seperate PXI chassis. MAX 4.0 was able to auto-detect the switches, and they show up under the "Devices and Interfaces" folder. However, when I run the NI-Switch Soft Front Panel application, the SCXI switches do not show up as selectable switches. Are there additional properties that need to be configured in order for the Soft Front Panel to detect the SCXI switches? Is there an online manual/guide for doing this?
    Thanks in advance for any help.
    VRMan

    If you have the option of using a DAQmx supported device as the controller for the SCXI chassis, I would recommend changing your SCXI configuration so that your SCXI devices show up in the Soft Front Panel.
    If the PXI-4060 (which is not supported under DAQmx) is the only SCXI chassis controller you have, a workaround is to use the Traditional(Old) Soft Front Panel. The Old Soft Front Panel has not been updated with switch modules since NI-SWITCH 2.4 and is not currently supported. But given that you have SCXI-1160s in your chassis, it should work for your use case.
    We install the Old Soft Front Panel at Program Files\IVI\Drivers\niSwitch\OldSoftFrontPanel

  • How can I display only the Data Logging pull down menu on my LV front panel?

    Is it possible to hide all unused pull down menu on my front panel vi like File, Edit, View etc.. and only
    display the pull down menu for the Data logging?!
    best regards
                          Norick

    Hey,
    You can build your own runtime menu (Edit>runtime menu) and then e.g. only display the application items you want to.
    Christian

  • How to display the status of a SubVI on the front panel?

    Hi,
    I am writing a program to control an instrument through a serial communication port. The control and communication functions are integrated in a SubVI and they work fine.
    In the front panel of the main VI, I want to add some indicators to display the status of those controls in real time, such as using some LEDs to show whether the program is running in some loops of the SubVI, or use some indicators to show some variables in the SubVI.
    I tried using global variables, but I can't make them work in real time (or maybe I didn't do it right). The values of the global variables are actually changing on the fly, but the indicators on the front panel wouldn't reflect those changes until the program return
    ed from the SubVI.
    Is there a way to do this in Labview 6.0.2?
    Your earlist help is very much appreciated.
    Best regards,
    Hua

    Hua,
    I have attached an example in which a front panel boolean indicator is toggled in the subvi. Also, a front panel stop button is used to stop the loop execution in the subvi. References are passed to the subvi instead of the actual control values.
    Without seeing your code I'm not sure what was going on with the globals, but you had to have a data dependency somewhere which was keeping the code from running until after the execution of the subvi. The code must be totally independent of the subvi in order to run. Also, in order for the update to work it would have to be operating in a loop.
    Attachments:
    Main.vi ‏13 KB
    subvi.vi ‏20 KB

Maybe you are looking for

  • Data Services 4.0 Designer. Job Execution but empty log file no matter what

    Hi all, am running DS 4.0. When i execute my batch_job via designer, log window pops up but is blank. i.e. cannot see any trace messages. doesn't matter if i select "Print all trace messages" in execution properties. Jobserver is running on a seperat

  • N82 map loader error...PLZ HELP!!!

      I' have a problem with my map loader and I hope someone can help me. When I try to open map loader on my PC it gives me an error saying: '' unhandled exception has occured in a component in yr application. If u click continue the application will i

  • SMART test error code BIOHD-7

    Locking up upon booting. Did the F9 test at start up and got the message BIOHD-7. Have searched this forum for a solution with no luck.

  • New tab is opening blank how restore it?

    1. i installed some app on my windows 8.1 2. it changed my home page new page and default search engine settings. 3. i blocked it from plugins window 4. then i removed the url from about:config window 5. now my new tab is blank 6. i want mt previous

  • MDX - Convert Columns to Rows

    Hi all, I have a strange question, or maybe not, using the AdventureWorks as example, imagine I have the following query: Select {[Measures].[Internet Sales Amount],[Measures].[Internet Average Sales Amount]} on 0 from [Adventure Works] which returns