Using controls to change range of multiple graphs

Hello...
I have two questions:
I have a VI with ten graphs created from a ASCII file loaded by read spreadsheet function. The first graphs shows the points 1 until 200 of X axis, the second graph the points 201 until 400 of X axis, the third graphs the points 401 until 600 of X axis........ until the end of points....
All these graphs present the same range in the Y axis
First question: is there a way to change the size of the invertals of X axis (that is 200 points in the example above), using a control? Because are many graphs, and changing the ranges one by one will be not fast...
Second question: is there a way to change the range of Y axis in all the graphs in one operation, using a control?
Thanks
Daniel

daniel.penteado wrote:
I was not able to open the files... my Labview is older than yours....
What is your version?
daniel.penteado wrote:
I use 10 graphs because I need to perform a visual inspect of the segments of the whole series. Next, I can remove some segments that present artefacts and these segments will not affect the average of the whole series.
Still, I doubt you need 10 different graphs. You could use a single graph, show the scroll bar, and let the user define the rangeboundary to be removed using cursors for example. You could also use a single graph and a suitable control to pick which range to show at any given point in time.
Anyway, here's one possible code to set the x-range. Notice that the edge elements overlap. If you don't want that, you can change the math slighly (e.g. add a -1 for the max value).
Message Edited by altenbach on 04-20-2008 10:40 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Xranges.png ‏20 KB

Similar Messages

  • Single Trip number range for multiple personal areas

    Hi,
    Can any expert suggest me whether can we use single trip number range for multiple personal areas.
    Thanks
    Srinivas

    Dear Srinivas,
    This can be done. Please follow the below logic.
    Create a new implementation (enhancement) in BADI  =TRIP_WEB_NUMBER
    Method = USER_EXIT_NUMBER_INTERNAL
    with the below codes.
    DATA:        LV_ZZTRIPTYPE TYPE PTRV_HEAD-ZZTRIPTYPE,
                         LV_CCLAND TYPE BUKRS,
                         LV_LAND TYPE T001-LAND1.
    Fetch the company code from the data inputed.
          SELECT SINGLE LAND1
           FROM     T001
           INTO     LV_CCLAND
           WHERE    BUKRS = ORGANIZATIONAL_ASSIGNMENT-BUKRS.
    IMPORT TRIP_HEADER-ZZTRIPTYPE  TO  LV_ZZTRIPTYPE FROM MEMORY ID 'ABC'.
      CASE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2).
             CONCATENATE ORGANIZATIONAL_ASSIGNMENT-BUKRS+0(2) '01' INTO NUMBER_SUBOBJECT .
      ENDCASE.
    NUMBER_RANGE = 'Pass the number range'.
    This is an example on how this will work. Please modify accordingly for your company.
    Edited by: Rajagopalan Kannan on Jun 6, 2011 3:08 PM
    Edited by: Rajagopalan Kannan on Jun 6, 2011 3:11 PM

  • Is there a way to link the x-axis of multiple graphs in a report? Using DIAdem 12.0

    Is there a way to link the x-axis of multiple graphs in a report?  Using DIAdem 12.0

    What  I am after is this...  If I have multiple 2D axis systems in a report with each y axis showing different channels of a particular data file and with each x axis being the time stamp of that data file, rather than changing the x axis values of each 2D axis system to zoom in on a time slice, I'd like to change only one and have all the others match.  So I suppose yes, I want each of the multiple 2D axis systems to have the same x axis, but I want unique 2D axis systems, not one system with multiple y axis or "n systems".  I'm hesitant to post a sample report as this is a public forum.  Thank you.

  • Having trouble sizing multiple graphs using a For Loop in Excel.

    I am creating multiple graphs in Excel using LabVIEW but I can only set the size for the first graph.  The others are ignored.  I am using the Excel Insert Graph Vi.  I can change the position of al 4 graphs and i can change the size of the first graph created but not the others.  Simply create and save a blank Excel workbook and use it when it prompts for the file.  Here is my my code.  Will someone please let me know what is going on.  Thanks.
    Attachments:
    Excel Graph Test.vi ‏88 KB

    If anyone is still following this thread, I have discovered a solution to the problem of resizing multiple graphs in Excel with the Report Generation Toolkit.  The problem seems to occur because subsequent graphs that are added to the report are configured to "Lock Aspect Ratio", which means you cannot assign a width and height to the graph that would violate its initial width/height proportions.  I was able to get around this behavior by defining the object's position and dimensions after creating the object, as opposed to defining them at the same time the object was created.  This problem will be fixed in a future release of the Report Generation Toolkit.  For now, you can fix the problem yourself by modifying vi.lib\addons\_office\excel.llb\Excel Insert Graph.vi.  Here is a screenshot of the affected area of code as it is currently implemented:
    And here is a screenshot of what the code looks like after my modifications that fix the problem:
    By assigning the dimensions after turning off the "Lock Aspect Ratio" feature, we see that all the subsequent graphs are sized correctly.
    Please let me know if you have any questions on this fix.
    -D
    Message Edited by Darren on 07-06-2006 04:48 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Add_Chart_AFTER.jpg ‏91 KB
    Add_Chart_BEFORE.jpg ‏53 KB

  • When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS

    When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS.
    I tried hard reset on my iPhone. I tried restarting laptop and iPhone. I tried a different laptop. I tried removing driver and reinstalling from Device Manager but did not find a driver other than "Apple Mobile Device USB Driver" under "Universal Serial Bus controllers" which I heard shouldn't be uninstalled.
    Anything I haven't tried?
    HELP!

    A bit confused by your statement
    bcboarder wrote:
    . I do not understand why the music is clearly on the Ipod but wont reconize it anywhere.
    Are you seeing your music listed in the iPod screen, or in Win explorer as in your earlier post?
    I can see all the songs in my Edrive>al's Ipod> Ipod Control> Music folder.
    A corrupted iPod database, will report zero music used, and have your music size reported as others, so you wont see the music in the iPod screen. Sorry, I thought there was some hope for you with iPodAccess, in recovery of the corrupted iPod database with your ratings.
    You can try to borrow and  use the Mac Disk Utility ->First Aid ->Repair.
    Of course, if your iPod Hardisk is in a bad state, from the Disk Diagnostic report, then all my suggestion are futile.

  • Why can't i use the old remote control to change slides in the latest version

    why can't i use the old remote control to change slides in the latest version of keynote

    It would help to know what remote control your talking about, there are hundreds out there.

  • Could someone tell me how to control a small dc motor by using labeled and a NI 6008 daq. The motor is adjustable by using a pot that ranges between 0-V if that is of any additional benefit

     Could someone tell me how to control a small dc motor by using labeled and a NI 6008 daq.  The motor is adjustable by using a pot  that ranges between 0-V if that is of any additional benefit.

    Read the second thread you have a link to. While both of these will produce PWM signals, the first one is a couple of orders of magnitude too slow to do anything useful in control the speed of a motor, what you would see would be the motor run at the full speed, then stop for a period, then run at full speed, rather than at the "average of on and off"  as the Pulse Widths will be very long relative to the motor's response. The second one has a better chance, IF all you want to do is run the motor. If there is any other calculations ...   Look at both and try and get an understanding of what they are doing. For PWM speed control of a motor you really need a pretty fast pulse width, and probably some filtering to smooth out the resulting "harsh" waveform, giving you the "average" voltage resulting from the PWM.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Creating multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005

    How to create multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005?
    I need to use Crystal XI and create a dashboard which shows some sales data and stuff, multiple graphs on a single screen.
    My tech team says they can display one graph per page but not 4 graphs on the same page as it uses a common view from SQL Server 2005.
    How to manage this? Can we call in multiple views / graphs in the same page? Say 4 graphs on the same page?
    We use ASP or .NET for calling crystal reports into the App.
    Regards,
    Akshay.
    INDIA

    Have you tried creating multiple sections, putting each graph in a separate section and then underlaying the sections so they appear next to each other?

  • PDA build error when using a 'value change' event on two controls

    I get a build error when I use a 'value change' event on controls of a different type or even a different numeric representation. I'm using LV 7.1 PDA with no other modules installed. Attached is a picture of the entire code and the error message.
    Try to take over the world!
    Attachments:
    PDA Error.jpg ‏48 KB

    Hi,
    I verified the error that you are seeing. It appears to be a bug hence I have reported it to our developers. Hopefully this bug would be fixed in the next relaese of the PDA module.
    Thank you for pointing this to us. It is through feedback that we can make LabVIEW PDA module even better.
    Regards,
    Ankita A.
    National Instruments

  • Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

    How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7
    The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
    Can anyone please help me on how to plot the graph without adding zero for empty cells?
    Thanks&Regards,
    Bharathi T
    TE
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7

    Hi Bharathi,
    The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
    Regards
    Vijetha Nuthakki,
    Applications Engineer
    NI Systems India
    Attachments:
    Excel_graph_multiplot.vi ‏21 KB

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • I keep getting the box that asks "Do you use the Yahoo! Toolbar on multiple Computers. It asks Save to my Yahoo! ID, or No thanks, just save to this computer. How do I get rid of this one way or the other?

    When I log on to Firefox, I get this block that pops up saying, "Do you use the Yahoo! Toolbar on multiple computers? It has 2 buttons asking "Save to my Yahoo! ID or No thanks, just save to this computer" It drops down from the Yahoo toolbar, next to the Y! on the left side of the tool bar. I have tried the Save button and no response, I tried the No thanks button no response. I tried the underlined "Learn more" and it too no response. I tried the close X but that does not get rid of this box. I tried right clicking and no response. It stays there through out while working on the mail, I cannot access the that toolbar so I cannot use the buttons on this tool bar. Please help or I will have to try another browser to see if it go away.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • How to check if a user has clicked on a digital control and changed its value?

    Greetings !!!
    I am looking for a simple way (without using Windows messages)of knowing if an user has clicked on a digital control and changed its value.
    I have tried the key focus property; but I have to click twice to make it work.
    If somebody knows a better solution; please let me know.
    Thank you in advance for your help

    If you just want to know if the value has changed you can put it in a while loop and use shift registers to see if the value has changed.
    Brian
    Attachments:
    Changed.vi ‏22 KB

  • Can I use the same Apple ID for multiple devices

    Can I use the same Apple ID for multiple devices?

    Yes. Up to five devices can be authorized on a single computer using the same Apple ID. You can also use the same Apple ID on multiple devices is they are all going to use the same iTunes Library by the same user. But it's ill-advised if multiple users are involved who wish to keep their devices separate from the devices belonging to other users.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • Is it possible to change the scale of graph in webi ?

    Hi All,
    How to change the scale of graph in the web intelligence report.
    Thanks in advance,
    Ravi

    1. Set intervals on Y-axis values of the Webi report Charts from the Webi Chart Properties
    2. Set the Interval of 500 with Y-axis value range 0 2000,such that the value should look like,0,500,1000,1500,2000   
    Reproducing the Issue
    1. Create a Webi report from e-fashion with objects Year and Sales Revenue.
    2. Run the Webi report>Turn to Column Chart.
    3. Go to Chart properties>Y Axis>Scale
    4.Here there are 2 options.
    5. Min value, Max value however the major unit option is not available like one we have in Crystal Reports and Deski
    Environment Details:
    1. BOXIR2, BOXI3.0
    Cause
    This is a limitation in Webi report.
    Resolution
    Enhancement_Request ADAPT01202508 for this issue has been raised however there is no specific timeline as of now defined about which major release this feature will be included in.
    Regards,
    Sarbhjeet Kaur

Maybe you are looking for

  • 2013 AE.ac loud fan noise normal?

    My new 2013 802.11ac Airport Extreme base station is constantly making a lot of noise due to the fan running, this is with an ambient temperature of 26C. The old 2012 802.11n has been happily working all summer with temperatures as high as 30C, never

  • Double Cheque Printing happening in F110

    Hi SAP Gurus, I have configured a APP and I am running a payment program for trial by using transaction F110. The same is running through and creating a cheque print job in the spool. But when I am printing a single cheque the system is taking double

  • Attachment  Document data from LEAD

    Hi Experts, I'm creating LEAD with attachment douments in it. Now I want to access the attachment document related data from that LEAD . How Do I need proceed ? Do we have some standard Function Module to do that ?

  • Doubt about dispose() method of JDialog

    Hi guys, Consider the following code:           MyDialog dialog = new MyDialog(parent);           dialog.setVisible(true);                 // may the dialog was disposed before the following line gets executed           dialog.getVariableValue();    

  • MS Project Resource question

    Hello, In MS Project i'd like to add resources to tasks, but this results in some problems For example i have 1 person (Daan) scheduled on a task for 5%. But i the resourcesheet MS project has scheduled him 40 hours a week for the first task. Why doe