How to add a record button on the front panel to save waveform data

Hi, I'm new kind of LabVIEW and I worked on a code for an agilent oscilloscope communicate via GPIB and so far it works well on the collection of these two analog channels one by one, "Not UNLIMITED" but it does the trick (vpp, Vrms, frequency, etc.).  I've added the feature to add data to a .csv file waveform (problem: opens a dialog box until the user gathers all the data.) Solution: I want the user to save the. File CSV whenever he wants to use later on the front panel). I've added another feature to get a snapshot of the curve waveform (problem: opens a dialog box.) Solution: I want the user to save the JPEG file, whenever he wants to take a snapshot ("take snapshot" button on the front panel)).  I work with the agilent hp54645d driver. I have attached my code, if someone can tell me please how do I do this (maybe cabling and structures are solutions do not know). Thank you in advance.

I would recommend adding a case structure just around the two record VI and a button to check the condition of the structure of each case. If you want a button to control both save functions you can put the two record functions in the same structure of business controlled by a single button. You are right in saying that the loop will cause your code runs until the stop button is pressed or until the stop condition is met. If you are wanting the while loop to stop once the recorded information you can use the button that you use to control structures case to also stop the while loop. I hope this information helps.

Tags: NI Hardware

Similar Questions

  • A button on the front panel reset

    I use a record button on the front panel, in the mode "change when you press on. I have run the VI, then press the record button. After having intercepted the VI, the button lights. How do the button return automatically to the OFF state during execution of the VI next time?

    Set the property to "False" node, it will reset.

  • Is there a way to put a button on the front panel only when clicked gives a pop-up dialog box with more information on it?

    Hello world

    The simulations that I create are very simple themselves but are intended to use in the classroom to help students learn more about the proven theory.  I hope to be able to place a 'help' or 'other info' button on the front panel that rises wants more info on theory, they can click on it and a pop up appears with background information on it.  It should also have a second button to close it and return to the main façade.  Can anyone lead me in the right direction?

    Thank you!

    Use a structure of the event on the main vi when the button is clicked, launches a "help" void / vi. On the inside of the Sub vi (with the set properties to load the front when it is called, of course), use another structure of the event to wait until then click on the button of the Subvi, you can return to the main VI. Do you need assistance on using the structures of the event?

    Charles

  • Scan of the computer does not work in silent mode of the button on the front panel.

    The machine is the Photosmart all-in-1 6280 on a network of small size and using the HP Solution Center. Basically everthing works fine, but when I use the button on the front panel to scan a document, it seems necessary to walk to the computer to answer a question about whether I want to scan another document until I could walk to the printer/scanner and press the button to scan the following document. Surely, there must be a way to do the scan run in quiet mode so that I don't have to keep clicking OK on the computer every time? I have already disabled the overview of digitization and the prompt for advanced options.

    Oops, forget all that; now I found the setting 'interrogate analyses' which stood on another branch of the installation menus. That solved my problem

  • pause button on the front panel

    Hello.

    I try to run synchronous, continuous analog conversion of 2 cards of PXI-6259, and capture the State of the several digital at the same time.  I managed to get everything is configured and working properly, however I have a problem if the user presses the button "pause" on the front panel.

    From what I can tell, acquisitions of data will continue to run in the background (I'm using a task DAQmx and stop was never called).  For my analog inputs, this is not a problem.  However, the digital inputs always generate a ' 200010 - on-board memory overflow error. Due to the limitations of system and/or the bandwidth of the bus, the driver could not read data the device enough fast to follow the flow of the unit. »

    Is it possible to register for an event of user interface that is generated when the user presses the button "pause", so that I can stop the acquisitoin of data before the error occurs?

    Thanks in advance,

    -Rich

    NormPgh wrote:

    I thought to add my own button "pause" / control, but my users have become accustomed to hitting the pause on the front panel button, and it will be difficult to get them to change.  I guess that the error would remind them :-)

    Well, that's easy to fix - change the appearance of window properties if the toolbar is not visible, while the code runs, and there will be a pause button for your users to click.

    Many of our applications have a function somewhat like this.  My colleague implementation in a very simple way: he put the graphical indicator within a box structure.  Connect a Boolean control "pause" to the structure of the case, and that's it.  Data acquisition runs constantly but will only update the chart when the pause button is false.  This approach might work for you?

  • How to make non-visible control on the Front Panel appear at Design time?

    I have a few controls on the front whose visibility is changed (on or off) at run time. The problem is that if I stop the Run time, the visibility of the control remains in the running in design mode state. So I am not able to see or find the control to make changes in design mode.

    How can I make all the visible front-panel controls, or find and make it visible to a control on the front whose visibility has False?

    Thank you.

    It is documented in the help of LabVIEW.

    Hidden front panel display


    Perform the following steps to display a hidden front control or indicator. You can also hide the indicators and controls on the front panel.

    1. Find the terminal block schema for the object. "If you have multiple devices with the same type of data, right click on the terminals and select visible elements" Label in the context menu. Find the object with the label that corresponds to the object hidden façade.

    2. Right-click in the Terminal, and then select Show Control context menu if the object is a control or indicator to show if the object is an indicator.

    You can also use the Visible property to display the controls and indicators by program.

    You can also view all hidden front panel controls and indicators.

    Path: Fundamentals-> build the façade-> how-to--> configure the objects-> display on front panel of the façade hidden object.

  • Create new vi by clicking a button on the front panel

    Hello. I'm quite new with Labview.

    I have to use an if statement to activate a button (I don't know if it is possible or not in LabVIEW) then when the button is enabled for the user must click on the button (allows the button say NEXT) to close that vi and open an another vi to a specific address. I have need to record anything the previous VI that I just need to close and open a new one.

    Does anyone know how to activate a button to get the right answer to an if statement first and also how to close and open the new vi by clicking this button.

    Thank you very much.

    I think that the seal will help you much further.  I have documented if necessary.  If you have any other questions, feel free to ask.

    Open Main.vi and run

  • Button of the front panel & remote control questions Qosmio F30-140

    Hello to all users of the Forum and to whom, who prefer Toshiba to a daily activity of s.

    I am owner of laptop Qosmio F30-140 for 7 months. I can say that I m happy with my laptop. But about 2 weeks back, I had some problems, which I can't resolve up to our days.

    I use Windows Defender to protect my PC from alert elements, applications of which I erased by this program once. There after I ve discovered that s keyboard buttons in the library and the remote responds does not and does not control panel. I had tests to recover by Qosmio player recovery CD, but unfortunately all attempts have failed.

    Please help me solve this problem, because I am deprived of my remote control, in which I so need.

    As for you and best regards.
    Dr.VugarVali

    Hello

    Looks like you have just messed the whole OS.
    Use and relocation of the recovery CD Qosmio Player will not allow Toshiba cotroll buttons and remote control.

    In you case reinstalling the driver would be desirable; Start with Manager common Module, controls, remote control.

    If it does not help the use of CD recovery Toshiba does wonders! ;)

    But note; Don t forget to back up your data because the recovery CD formats the HARD drive!

  • Best way to share/update buttons on the front panel

    Hi y ' All!

    I am a beginner in LabVIEW (2 years experience: 1.5 academic year and a team of the FRC and professionnellement.5 of mentoring as a new graduate in a startup).

    We develop an application using LabVIEW which is intended to be user-friendly touch screen and we have so many front-facing button with which we are dealing. In order to make the code more readable in force and easily scalabe, I will like to know if there is an effective way to process orders from the front.

    To illustrate, let's say I have this UI:

    The real way we propagte these controls is to create a cluster of the reference of all controls (it's where I wish we had LabVIEW 2012-_-) once unbundle that we need in the appropriate section of the code (means it's a large number of sons everywhere...)

    So are there better ways to achieve the same goal?

    Thank you!

    I'm talking about a Controller of GUI in this thread. This can give you an idea.

    Ben

  • How to add and remove programs via the control panel when access pops up an error of windows\system32\rundll.exe

    need to know how to fix the windows\system32\rundll32.exe to be able to go to add remove programs and other options in the Panel

    From the other thread:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-performance/how-to-access-Add-and-remove-programs-through/852bd751-106C-481F-B471-9f32ddc40eab

    old question, new question so what I do or how to set or return rundll.exe in my computer?

    old question question/new - matter always request how to fix or recover from the windows/system32/rnudll.exe in computer science. I see no other answer to this anywhere

    Hi DadVQ,

    ·         Did you do changes on the computer before the show?

    This problem occurs because of a missing or corrupted Rundll32.exe file. This problem can also be caused by a virus.

    Follow the suggestions below for a possible solution:

    Method 1: Follow the steps mentioned in the article below and check if the problem still persists.

    Cannot find the Rundll32.exe file when you open Control Panel

    http://support.Microsoft.com/kb/812340

     

    Method 2: If the problem persists, I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: While hard disk analysis if bad sectors are found when scanning try to repair this area, all available on which data can be lost.

    Let us know if that helps.

  • N6350 Scanner will not scan button on the front panel

    I have configured the HP scanning software and added a shortcut. It will scan from the HP Scanner Software, but no analysis NOT of the scanner. The name of the user's the shortcut there. When I hit the button, is said "Please wait" and the Green LED flashes. But it does not scan.

    Solved. Do you have an another clean install and it worked...

  • disabled by programming a button on the front panel



  • Hide / disable the front panel

    Long story, long:

    I created a little utility like a VI.  The utility accepts command-line arguments, reads a file, outputs (using .NET) on the console, and then must close.  The front panel is empty, and the program is expected to completed in a fraction of a second.  In fact, I bet that "demand" fresh General takes longer than the actual program.  I would have coded in another language, but I can read only the cluster in a binary file with LabVIEW.

    Environment:

    Windows XP, LabVIEW 8.2.1, .NET Framework 3.5

    Short story:

    How to prevent a LabVIEW program displaying the front panel and appear in the taskbar?

    There is also an option to simply close the front panel, try with 100% transparent option also

  • Effectively save the front panel settings

    Hello.  Just a quick question: is there a way to effectively interrogate all the settings on the front panel and save them in a file to be loaded later?  I know that this is possible by making the keys for each, but my front panel has a huge 38 parameters that need to be saved.  Using the methods I found online and elsewhere in this forum, save a large number of parameters is possible, but would be very tedious.  I was wondering if there was a more efficient way, as a command to mark all present controls and group them into an easy to manipulate the cluster.

    LV 9 versions

  • When I select edit then preference, the window is too large to be able to see the record button at the bottom to save my changes in the preferences.  How do I make the window smaller so I can't save my changes?

    When I select edit then preference, the window is too large to be able to see the record button at the bottom to save my changes in the preferences.  How do I make the window smaller so I can't save my changes?

    Your system meets the requirements of System. Dreamweaver?

    The problem can also be caused by the settings of your system as in

Maybe you are looking for

  • My home button is really hot and stop working

    I don't know what is happening with my iphone 6. When I woke up, my iphone already hot as * and my id as warm touch and stop working. Can someone give me an advice what to do?

  • Please how to find the last location? !

    my iphone stolen and he sent me last location and this place deleted after 24 hours and always offline I need this place once again please How can I find it? !

  • all my apps are missing?

    All my apps/extensions are gone! I got ADblocker plus, a bunch of charge help, "don't follow me", a bunch of other things and they are all gone. That's happened? The only extension I have is Realdownloader 1.3.3. I have not changed anything or downlo

  • problem of gen iPad 2

    I have an old gen2 ipad and when here lately, when I'm with pinterest or facebook, apps will close suddenly and the screen goes black for a few seconds and then the home screen appears... there at - it something to prevent this? I have the version mo

  • Satellite L300 (PSLB8E) - standby or hibernation causes reboot

    HelloI've killed my system from vista to Windows xp.All drivers worked well, even the ahci controller.But when I try to go into sleep mode or hibernation mode windows is goiing to stanby or hibernation but the laptop restarts directly and is writing