How to enter constants into Labview that will affect the graph?

How do you enter constants into Labview in which x and y would be dependent on them? Ex. Say I am creating a graph of voltage vs time and I want to have constants such as trigger level (such as wanting my graph to start recording data when it reaches 20 volts and stop recording after 20 volts). I would also want to have a time interval as a constant. I have no clue how to do this in labview so I am looking for some kind of help. Thanks
Solved!
Go to Solution.

You would just make the values write to an array of x vs y.
The values would only write if some boolean was true (such as voltage > 20)
Then cluster the x and y and send the cluster to a graph.
Message Edited by Cory K on 12-11-2008 11:04 AM
Cory K
Attachments:
condition.PNG ‏8 KB

Similar Messages

  • Does anyone know of a VI or how to go about writing one that will prevent the computers time/date from being disabled while an application is running.

    Does anyone know of a VI or how to go about writing one that will prevent the computers clock/time from being disabled while an application is running. The time and date can normally be reset while an application is running by clicking on the time/date in the lower right-hand corner of the computer screen. I have an application that runs over several days and it is critical that the time and date of the computer not be changed. Is there an easy way to lock this out from the user? Note that I am what I consider an advanced beginner in LV.
    Thank you,
    Chuck
    Solved!
    Go to Solution.

    That is not something you can do from LabVIEW, as it is an operating system operation, and it will depend on the operating system that you're using. On Windows you can use a group policy to control this. Please Google on "prevent time and date change in windows".
    Also, please try to refrain from stuffing your entire message in the subject block. Keep the subject short, but descriptive enough so it can be understood what you are basically asking. Thanks.

  • My Theme disappears from the DVD after I burn it on to a disc. I know it's there but my DVD player doesn't "see" it. How do I burn an iDVD that will play the theme?

    My Theme disappears from the DVD after I burn it on to a disc. I know it's there but my DVD player doesn't "see" it. How do I burn an iDVD that will play the theme?

    It sure is. It also plays on my PC using VLC Player. So, I know that it was burned onto the DVD.

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • How do you add a button that will email the PDF its on?

    I need to create a form but they want it to have a button that will open up an email to send that PDF as an attachment or something along those lines.  Is that possible?

    Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.

  • I recorded a 33 minute long video and I am wondering if that will affect the usage of battery and if it will drain the battery?

    I is making me worried and I don't want to delete the video.

    Also the device I am using is a ipad mini wifi 16GB

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • If I enter birthdays into my diary will they automatically be carried over to next year

    If I enter birthdays into my diary will they automatically be carried over to next year or will I have to enter them all again.

    Hmm.... When in year view, the birthdays only show up through 2014 like I said. But if I go into any other view, they do show up as expected. So much for year at glance help.
    Maybe my calendar knows that at my age I'm not likely to be celebrating anybody's birthday beyond 2014! Yikes! Sure hope that's not the case.

  • What is the correct command sequence code in Labview that will take an instrument out of Remote and put it in Local mode?

    I am writing a routine in Labview 5.1 that will capture the screen data on a Network Analyzer after configuring the display. The routine to capture the data is working fine but when I try to send the equipment into local to allow me to manually make another change to the data I want to capture, the analyzer will go into a listen mode. The command I am sending to the analyzer using the 488 misc function is "loc". I've notice that is seems to put the anayzer into listen mode which will not respond to the commands to capture the screen data again.

    Check the manual for the instrument. Some instruments do not have a specific command to go into local (or remote) mode. Tektronix oscilloscopes use the GTL command to Go To Local. HP and Agilent instruments do not have a command for this.
    It's been a while since I used LV5.1, but in LV6, there is a VI under Instrument I/O->488->488.2 that allows you to set instruments into local mode. Hopefully, the same VIs exist in LV5.1.
    Rob

  • How do i make a form that will tell me the difference between 2 figures?

    how do i make a form that will tell me the difference between 2 figures? ie: the jan. value of account is 32,010 and feb value is 34,013 and march value is 31,089 i would like it to tell me the difference automatically... whichever it is bigger or less... i am sure that this is possible... but i am a complete newby to all of this and could use some help...
    jan = 34,013
    feb = 34,013
    march = 31,089
    etc...
    etc...

    panahead wrote:
    i guess what i am trying to make is a form that will automatically calculate the difference in my investment account each month... and sometimes it goes up and sometimes it goes down... but having the difference calculated for me (without the possibility of me making a mathematical mistake) and then also giving me the percentage would be what i am looking for....
    Numbers will do the calculations, but it doesn't read minds.
    The formulas shown in my previous post assume a table arranged like the example below:
    The results in the bottom three rows (Apr, May and Jun) are correct for the simple formulas given and for the data entered in the Amount column as the empty cells are evaluated as containing zero. In practice, you would want a formula that suppressed the calculation until something was entered in that row of the Amount column. That's easy enough to add, should you think doing so will be useful.
    But it won't make Numbers read your mind.
    Regards,
    Barry

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • Is there a way to take an existing PDF and make it into a form that will aggregate the responses?

    Is there a way to take an existing PDF and make it into a form that will aggregate the responses? 

    Sabian has pointed you to an older Acrobat X tutorial.
    It depicts the use of acrobat.com "workspaces".
    "Workspaces" are going away soon.
    See:
    https://forums.adobe.com/docs/DOC-4203 
    So, what is shown in the Adobe TV session is, basically, obsolete.
    For forms you may want to give acrobat.com's (now "Adobe Document Solutions) FormsCentral subscription service a look-see.
    https://new.acrobat.com/en_us/products/formscentral.html 
    Be well...

  • 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.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe you are looking for

  • Multiple ipods on under same account

    Is it possible to use multiple ipod systems under the same account? I have a nano that is currently synced with my itunes and I recently found my old mini that still works. I have thought I could download my kids' songs on the mini that way if someth

  • Windows Moile Device Centre 6.1 64bit Does not install proply after laptop put on Domain and then removed

    hi Guys. We have a laptop where Windows Mobile Device Centre 6.1 was happily working ok on a windows 8 Laptop and was running ok when the usb mobile device was connected. The Laptop was moved into a domain when the software would no longer work. The

  • Archiving Billing documents

    HI Colleagues, Needs your help on the below issue. Some of the old Billing documents were not archieved, supposed to be archieved as they are in 1998 and 1999. When I checked the spool for analysis and found the below information. Example: Doc. 00900

  • Another SCOM Maintenance Mode query/advice...

    Hi, Just looking some advice on setting SCOM Maintenance Mode (using SCOM/SCO 2012R2)... I want to be able to set a server entirely into MaintMode, ie similar to choosing "Selected object AND ALL their contained objects" from SCOM console. I had aske

  • Upgrade path from Content Services to Content DB

    Is there an official/unofficial upgrade guide on how to migrate from OCS Content Services to Content DB? And what about the licensing for the existing Content Services users?