How can I get extract the data between two cursors on an XY graph

How can I get extract the data between two cursors on an XY graph

Well, you say xy graph, so this might be a more complicated problem.
For a waveform graph it's trivial. Simply get the two cursor indices (property: cursor index) and apply them to array subset of the data. Is that all you need?
Here's how the above code would look like. using cursor.index instead of cursor.x elimnates the need to include scaling information.
For an xy graph, there could be multiple segments (e.g. imagine a spiral that passes the desired x range multiple times from both sides). This would neeed significantly more code for a general solution.
Message Edited by altenbach on 11-24-2009 07:53 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
cursorsubset.png ‏17 KB

Similar Messages

  • How can i get number of days between two dates represented by two dates?

    how can i get number of days between two dates represented by two date objects. One is java.sql.Date, the other is java.util.Date?

    tej_222 wrote:
    But how do I do that conversion. from java.sql.date and java.util.date to calender?
    -thanks for the quick response.You may find the following utility code samples useful:
    [http://balusc.blogspot.com/2007/09/calendarutil.html]
    [http://balusc.blogspot.com/2007/09/dateutil.html]
    ganeshmb wrote:
    (date1.getTime() - date2.getTime())/(1000*60*60*24) should do.
    getTime returns millsecond value of date object and the difference divided by no of milliseconds in a day should fetch you the difference in terms of days.This doesn't respect the DST. Use java.util.Calendar.

  • SQL - Can u print all the dates between two given dates (Without PL/SQL)

    Hi Friends,
    I want to know if u can print all the dates between two given dates without using pl/sql.
    date1,date2 are given
    write a sql statement to display all the dates lying between those two dates.
    An earlier will be appreciated.
    Thanks in Advance
    Sriram
    null

    Sriram,
    Try this....
    select to_date('01-JAN-00')+to_number(rownum)
    from all_tables
    where rownum < to_date('10-JAN-00')-to_date('01-JAN-00')
    TO_DATE('
    02-JAN-00
    03-JAN-00
    04-JAN-00
    05-JAN-00
    06-JAN-00
    07-JAN-00
    08-JAN-00
    09-JAN-00

  • How can I get back the data I had before my itunes restored my new phone?

    Plot:
    I broke my iphone 5s.
    I bought a new iphone 5s.
    I started using the phone right away, without restoring it.
    I just connected the phone to my computer and I allowed my itunes to restore it, unknowingly clearing all the current data on it.
    SO~
    Question:
    I have all my OLD old data, but how can I get back all the contacts and photos I put on my new phone before I restored it. I mean it has to be somewhere, right?

    Read this: http://support.apple.com/kb/HT3702
    The money will not leave your account, it is just held temporarily for credit authorization. It will be released soon.

  • LabVIEW/SignalExpress: How can I automate measuring the time between two pulses?

    Hi everyone, bit of a newbie here so please bear with me.  
    I'm a student at a university conducting a muon decay experiment with an oscilloscope connected to some photomultipliers.  To summarize, if a muon enters the detector it will create a very small width pulse (a few ns).  Within a period of 10µs it may decay, creating a second pulse.  The oscilloscope triggers on the main pulse 5-15 times per second, and a decay event happens roughly 1-2 times per minute.  I am trying to collect 10 hours of data (roughly 1500-2000 decay events) and measure the time it takes for each decay.
    I've been able to set recording conditions in SignalExpress that starts recording on the first pulse and stops recording on the last.  The Tektronix TDS 1012 oscilloscope however feeds 2500 points of data from this snapshot into a text file (for use in excel or other software).  Even if I perfectly collected the data, I would have 100,000+ data points and it would be too much to handle.  I don't know how (or if it's possible) to reduce the sample size.
    To conclude, using Labview or SignalExpress, I would like to be able to have the software
    1.  Differentiate between the single pulse detections and double pulse decay events
    2.  Record only when two pulses appear on the oscilloscope
    3.  Measure the time between these two pulses and ONLY that to minimize the amount of data recorded.
    Any help would be GREATLY appreciated, thanks!

    Hi wdavis8,
    I am not that familiar with Tektronix, but there should be a place in the dialog that you go through when you create the action step to acquire date to specify a sampling rate. That would allow you to reduce the number of data points you are seeing, but may reduce the quality of the data.
    If it’s just a matter of that much data being hard to dig through when you have that many points, you could do some analysis on the data after the fact, and then create a new file with only the data you want to look at. For example, you could identify the peaks in the data, and based on the distance between them or the difference in magnitude, selectively write data to a new file.  
    Here is some information about peak detection in LabVIEW:
    http://www.ni.com/white-paper/3770/en/
    You could also do some downsampling on the data to get fewer data points:
    https://decibel.ni.com/content/docs/DOC-23952
    https://decibel.ni.com/content/docs/DOC-28976
    Those are just a few quick ideas. 
    Kelsey J
    Applications Engineer

  • How can i get my Dashboard sync between two macs?

    I have mabbok pro and imac how can i make this possible??????

    POP accounts can be set up to leave mail on the server. Thus this mail could be accessed from several different computers.
    I used Eudora a while ago, and set up 2 accounts, one left email on the server, and one did not. I would normally check mail from the one that left it on the server (accounts like this on several macs). When I was ready to download the mail, then I would check it from the other account that existed on only one of the macs.
    So in Mail, you could set up for POP and leave mail on the server. Then when ready to download (and not be able to see mail from various macs) you could switch to another user account, where Mail would be set up to not leave mail on the server.
    However, iMap makes this whole process easier.
    Normally, iMap mail can stay on the server forever. But I do like to get my mail and store it on my Mac after an arbitrary period of time. So I have set up a smart rule in Mail.
    It is GET MAIL:
    if Date received is less than 10 days old
    perform the following actions: stop evaluating rules
    So every day the mail is received, and of course it is less than 10 days old, so the rules stop evaluating.
    When I am ready to download the messages I select all in the mailbox, and use command-option-L to apply the rules. Any messages less than 10 days old stay on the server, Older messages then follow the other rules which are listted after GET MAIL. Usually these just filter mail into specific dumb mailboxes on my Mac. And/Or they could color the mail, or whatever else I choose to do with the mail.

  • How  can I get number of days between 2 dates ?

    How can I get number of days between 2 dates ?
    Give me answer as soon as possible.....

    Mukesh_Prajapat wrote:
    How can I get number of days between 2 dates ?
    Give me answer as soon as possible.....Is google broken again?
    [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]

  • I forgot the backup encryption password in iTunes how can I get my backup data back?

    I forgot the backup encryption password in iTunes how can I get my backup data back?

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (109920)

  • TS1394 how can i get upgrade the ios x v 10.5.8? I purchased an iphone 5 but cannot connect with my macbook 5. I cannot update itune 11 as my ios is not up to date

    how can i get upgrade the ios x v 10.5.8? I purchased an iphone 5 but cannot connect with my macbook 5. I cannot update itune 11 as my ios is not up to date

    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    OS 10.6 Snow Leopard is once again available from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    To use iCloud you have to upgrade all the way to Mountain Lion:
    http://support.apple.com/kb/HT4759
    You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard.

  • When creating a book how can I get all the photos from an album to show up in the order they were in the album?

    When creating a book in iphoto, how can I get all the photos from the album I want to use to show up in the order that they are in the album?  When I tried to use the option to add my own photos instead of having the program "flow" them, they showed up all mixed up.

    iPhoto puts them in the book in chronological order.  So to get your photos from an album into an iPhoto book in the same order you will need to use the Photos ➙ Batch Change ➙ Date menu option and set them all to the same date with a 1 minute time difference between each. 
    OT

  • HT5527 I did not move my Mobileme account to iCloud. How can I get off the iCloud mailing list?

    I did not move my Mobileme account to iCloud. How can I get off the iCloud mailing list?

    If you migrated your MobileMe account before 1 August you should have signed into System Preferences>iCloud with it, and you would be able to see your calendars, bookmarks and emails on the iCloud website. Is this the case? Did you sign into iCloud with your @me.com address?
    If you did not migrate your MobileMe account you can no longer do so.
    If you did migrate, did you do so from a full MobileMe account or from a Family Pack sub-account? the latter did not get the complimentary storage (because their iDisks were only 5GB anyway).
    If you had a full MobileMe account, check on your Mac - System Preferences>iCloud - and see whether that shows the upgrade. If it doesn't, you probably need to contact Support: if you currently happen to have AppleCare, either because you recently bought Apple hardware or have paid to extend the inititial period, you can contact them here:
    http://www.apple.com/support/icloud/contact/
    You will need the serial number of the covered hardware.
    If you are not covered by AppleCare, then - in common with other free email services - there is no free support (MobileMe Support is no longer available) and you may be asked to pay a fee: in this case you should ask them to deal with it without cost (and hope they agree).
    Note that you haven't paid anything for your MobileMe storage since your first renewal date after 6 June 2011, and iCloud costs nothing unless you specifically choose to upgrade the storage. Note also the iCloud storage is not general file storage in the manner of the iDisk but is restricted to iOS device Backup, Mail, Photo Journal and Documents.

  • How can i get back my data after i restored my iphone and accidentally created a new iphone ac.

    how can i get back my data after i restored my iphone and accidentally created a new iphone ac.
    it did a back up when i started my restored iphone and i cant retrieve my previous backup while i didnt back up on icloud....
    the new ac is actually the same apple id as the one i used. I lost all my contact, photos and data of whatsapp...
    what can i do...help!

    I don't know if this is a similar problem but I wrote 2 notes yesterday on my iphone. I opened my mail to print them and they appeared as notes but wouldn't load. Then I looked at them on my iphone and I could see the notes but they quickly updated to blank with a time of the last edit the same time I tried opening them on my computer.
    Yesterday I updated to 4.3.4  I don't know if somehow that affected them. Are they stored somewhere else. Can I get them back?

  • I used to have a web page in mobile me and now is closed.  How can I get my webpage data back?

    I used to have a web page in mobile me and now is closed.  How can I get my webpage data back?

    Your web pages on MobileMe have been deleted. If you were using iWeb you wouldn't have been able to open them anyway.
    As long as you have the iWeb 'Domain' file in your user Library, or whatever the program you are using stores the information in, on your Mac you can publish to another hosting service - there are plenty to choose from. More information here:
    http://rfwilmut.net/missing2

  • Apple ID.  My newly updated iPad 2 wants an email for the apple ID.  My apple ID is not an email address.  How can I get past the set-up screen?

    My newly updated iPad 2 wants an email for the apple ID.  My apple ID is not an email address.  How can I get past the set-up screen?
    I can't change my Apple ID.  It would mess all my stuff up.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How can I exchange my whole data between my mac book pro and my iMac?

    How can I exchange my whole data between my mac book pro and my iMac?

    i use both, the macbook at work and the imac at home, but ineed to have the same data on both macs, how can i sync them?

Maybe you are looking for

  • Dual Line Chart : Dynamic Secondary Axis

    Hello All, I am currently working on Dual Line Axis to Compare  ANY Two KF's based on user Selection in the provided Dropdown boxes. Also, the data has to be switched between Month and Quarter based on the Radio button Group. Here is the Screen shot

  • [SOLVED] Gnome 3.2 Document, Contacts and file preview Problems

    Hi, I just enabled the testing the community testing repos today. I updated and I got a huge list of updates and pacman downloaded them. However while checking for file conflicts it said locale.sh was found in /etc/profile.d/ folder and hence it did

  • ASAP Data Migration / Data Conversion / Data Transfer Templates

    Hi, I'm looking for the ASAP Data Migration / Data Conversion / Data Transfer Templates that used to be available in ASAP. Some time I ago, and I believe it was on this site and can no longer find it, I found a zip file which contained the above .xls

  • AMule known.met.new No such file or directory

    Today I've seen that Kad doesn't have nodes and this message: 2012-02-06 20:33:07: Connected to Kad (ok) 2012-02-06 20:33:35: Error: Impossible to get permissions for file '/home/user/.aMule/known.met.new' (error 2: No such file or directory) Efectiv

  • RG23A II updation

    I received 100 pcs of excisable material.  20 were rejected and have to be sent back to the vendor. I did Return delivery (mvt 122) and created & posted excsie invoice using J1IS. Return Entry in the RG23A I has been posted but no return entry in RG2