I need advice on creating SubVIs

Hi all,
My code is getting bulky and I have created SubVIs to handle certain tasks. Here is what the code does: take in multiple data file paths from the user, and generate
data summary tables, and lots of plots (table and plot formats controlled by property nodes) and place objects (tables and formats) on different tabs of a control tab on the FP.
Here is what I need help with:
1. Is it a good idea to feed file paths to inputs of a SubVI? The code reads 2D numeric data from data files using Read from Spreadsheet File.vi.
2. Should I make the input of my SubVI the actual 2D data input instead of file path?
3. Does it make sense to have graphs, charts, etc. in a SubVI? This is how I have them right now (also feeding references to these plots into the SubVI), but someone suggested that I shouldn't do that.
For my plots, the legend, X-axis label, and Y-axis lable are read automatically from the file name and updated through property nodes, which is why my SubVI takes in file paths.
Does it make sense to generate a cluster of properties and feed that into my SubVI?
Any other thoughts?

murchak wrote:
Hi all,
My code is getting bulky and I have created SubVIs to handle certain tasks. Here is what the code does: take in multiple data file paths from the user, and generate
data summary tables, and lots of plots (table and plot formats controlled by property nodes) and place objects (tables and formats) on different tabs of a control tab on the FP.
Here is what I need help with:
1. Is it a good idea to feed file paths to inputs of a SubVI? The code reads 2D numeric data from data files using Read from Spreadsheet File.vi.
Sure, i do that all the time.
2. Should I make the input of my SubVI the actual 2D data input instead of file path?
Why not, make a 2nd sub-vi which uses the data inputs inside the #1 subvi.
3. Does it make sense to have graphs, charts, etc. in a SubVI? This is how I have them right now (also feeding references to these plots into the SubVI), but someone suggested that I shouldn't do that.
This is 2 different issues. Having graphs inside a sub-vi is ok for debugging purposes, if never shown they should have no effect later on. Feeding references is a way to update graphs in another VI (presumably main), but i'd recommend returning the data array to main and simply feed the graph there instead.
For my plots, the legend, X-axis label, and Y-axis lable are read automatically from the file name and updated through property nodes, which is why my SubVI takes in file paths.
Does it make sense to generate a cluster of properties and feed that into my SubVI?
3 string inputs are fine. You'll also need the graph ref. I'd make a state or event in the main of it instead.
Any other thoughts?
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • Need advice on creating buttons in email please

    I am looking to send an email to a group of friends with an invitation attached that I have created in Pages.
    The invite is written in MadGab form so ideally I would like to place a button underneath that says "Uncle" that can have the invitation animate to the standard 'for dummies' version. 
    If that is asking too much, the button could just email me back asking for translation.  (It would be cool if I could have an autoreply to those messages with some sassy note like 'the idiot assistance office is currently closed but we will respond to your request when we feel like it')
    Can anyone give me some advice?  I am sadly one of those people that knows enough to be danger to herself and others but not enough to know how to do this without hours more browsing for help. 
    (Sorry if this is the wrong forum, btw...!)
    For fun, here is the invite:

    I am looking to send an email to a group of friends with an invitation attached that I have created in Pages.
    The invite is written in MadGab form so ideally I would like to place a button underneath that says "Uncle" that can have the invitation animate to the standard 'for dummies' version. 
    If that is asking too much, the button could just email me back asking for translation.  (It would be cool if I could have an autoreply to those messages with some sassy note like 'the idiot assistance office is currently closed but we will respond to your request when we feel like it')
    Can anyone give me some advice?  I am sadly one of those people that knows enough to be danger to herself and others but not enough to know how to do this without hours more browsing for help. 
    (Sorry if this is the wrong forum, btw...!)
    For fun, here is the invite:

  • Need advice on creating 2nd account for child

    Hi,
    I have an iTunes account on my single user Mac that I've been using for years. My son just got an iPod and I want to set up an account for him to be able to download music, movies, apps etc for his use. Is this possible with only a single user account system or do I need to set up a login account for him too? I want to be able to set limits for him too like dollar limits per month, movie rating limits (PG) etc. I see where I can set rating limits for my account but I don't see how those will change when he uses the system.
    Any advice will be appreciated.

    I would suggest you set him up his own user account in Mac OS X. That will be a lot less fuss, and you can use the Parental Controls in Mac OS X and iTunes in his account to control what he can access without having to limit your own use.
    To give him a dollar limit in the iTunes Store, set him up his own iTunes Store account and either buy him prepaid iTunes cards or gift certificates or set him up an allowance. For more information on these options, see:
    http://www.apple.com/itunes/tutorials/#store-giftcertificates
    Regards.

  • Need advice on creating a form

    I would appreciate any imput or advice on generating a sign up form for a non profit.  We would like to have members be able to fill in their names on the attached and then have that form emailed.
    http://http://www.monmouthboatclubracing.org/Race_Committee/2009_Race_Committee_Sign_up.pd f
    I have no problem recreating this as a form in Dreamweaver CS3.  The problem is that I have no experience creating the php scripts.  I have David Power's Essential Guide - I followed the tutorials but I admit what this form entails may be a little too complicated for me.  I run a few websites using Dreamweaver, am familiar with html, but I'm not a professional.
    I was wondering if anyone knew  of a free online form generater that could handle this (I've used simple feedback forms) but haven't seen anything that could create something more entailed like what I want to do.  Or is there an easier way for me to do it myself?
    Any imput is apprecitaed.  Thanks.

    This PHP Formmailer script from DB Masters http://dbmasters.net/index.php?id=4  conceals your email address from prying eye email harvesters and it has several  spam controls built into its script including  hidden field (honeypot), "sorta  captcha,"  and time limits on submissions to keep robots from exploiting your  forms.  Free to use if you credit the author; $20 if you don't.
    Q&A  Forum - http://dbmasters.net/forum.php?id=3&fid=9
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • I need advice on creating streaming video applications in FMIS

    Hello all,
    I have gone through Tom Green's helpful tutorials on streaming from the vod folder (FMS Developer) and using his application to stream from the applications folder (FMIS).
    What I need to know now, is what to do to create a player for use on my video page. Just when I think I have this figured out a little more, I end up stymied.
    For example, I just downloaded and read through the 22-page intro to the RealEyes REOPS player. This isn't the first time I have researched this player, but every time I start reading up on it, it feels as though it's making sense, then the treatment drifts straight into software engineer-speak and I'm left thinking this will be impossible to grasp.
    I researched Strobe. Yet another exceedingly-difficult bit of information to understand when you're a beginner. Ultimately leaving me staring at the screen wondering what I just read.
    I have a full, licensed copy of FMIS running on my web server and I want to stream video from it. I really don't care if the player is flashy or not...I want the viewer to enjoy the video, that's what is important. I don't need closed captioning, I just want a full-screen capable player. Something basic that will play SH and h.264 clips. If one player can't be made to do both, I'll need one for each.
    I'm self-taught PHP and database design, self-taught web designer, I have tackled big projects before and I am undaunted by this one...I JUST need some idea where to go.
    For instance, when forst prompted to read Tom Green's tutorials, they made no sense to me. It took helpful posts from all of you on this forum to get me to the 'aha!' moments that allowed me to appreciate Tom's tutorials. I need that 'aha!' with regards to buildign applications. The one Tom uses in his Part 3, Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5 tutorial is cool, but it's not a player. I know enough to change the RTMP path and video filename to make this thing stream my files from my server, but there's another gap in what I want to do and what I need to know to head in that direction.
    Any and all input will be absolutely appreciated.
    Sincerely,
    wordman

    A few useful links:
    http://www.fmsguru.com/showtutorial.cfm?tutorialID=3
    http://www.fmsguru.com/showtutorial.cfm?tutorialID=14
    http://www.fmsguru.com/showtutorial.cfm?tutorialID=20
    And I'll have a new tutorial out soon on transitioning between bitrates of the same video to give the end user a better experience.

  • I Need Advice on Creating a Photo Collage

    My current project requires me to collage a lot of photographs.  This particular client likes to revise every detail.  So illustrator seems like the way to lay things out in my mind. The size of the footprint can change at any given moment so I need to be able to easily move things around.  The images will need lots of filters, drop shadows etc.  I am trying to plan what the best way to tackle this & keep my file size managable.  Any tips or advice is greatly appreciated!

    I use at once some programs, as the best decision always in a combination of opportunities. https://www.adobe.com/ru/products/photoshop.html Photoshop CC http://www.getpaint.net/index.html Get it now (free download): Paint.NET v3.5.10 3.5 MB, English, Chinese (Simplified), French, German, Italian, Japanese, Korean, Portuguese (Brazil), Russian, and Spanish http://www.gimp.org/downloads/ Downloads GIMP for Windows

  • Need Advice on Creating Multi-Language Menus

    Hello Friends,
    I am working on a documentary project that will contain three languages: English, Spanish, German, and Portuguese. There are two spoken-language audio tracks (English and Spanish) and four subtitle tracks (one for each of the above languages).
    The producer wants four sets of menus as well - something I see as potentially daunting. The disc’s initial menu would ask you to choose a language, and then once that choice is made all subsequent menus would appear in that same language.
    That task is easy enough so far, but with four different sets of menus, what happens when the viewer plays the movie, then presses the "menu" button. How does the DVD know which language menu to return to?
    I assume that something might possibly be done with scripting, but I'm new to this aspect of DVD authoring, so any design advice you could give would be much appreciated. Thanks very much!
    - Jordan
    PowerBook G4   Mac OS X (10.4.3)   2GB "Crucial" Memory

    It is a scripting issue.
    When you select the language on the first menu, make each button go to a script which sets a unique value ionto a GPRM and then sets the audio for the user. When returning to a menu, make the menu button go to a script which reads the value in the GPRM (or uses the audio setting in the player - SPRM1) to go back to the correct set of menus.
    In setting the language from the main menu, use a script like this (assuming the buttons are ordered English, Spanish, German, Portuguese):
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Set System Stream Au(1(English)
    Jump English menu If (GPRM0 = 1)
    Set System Stream Au(1(Spanish)
    Jump Spanish menu If (GPRM0 = 2)
    Set System Stream Au(1(German)
    Jump German Menu If (GPRM0 = 3)
    Set System Stream Au(1(Portuguese)
    Jump Portuguese menu If (GPRM0 = 4)
    This reads the button value the user selected and sets a value accordingly and at the same time sets the correct audio stream. Now, when setting the return to a menu you can use the same value and set up a script like this:
    Jump English menu If (GPRM0 = 1)
    Jump Spanish menu If (GPRM0 = 2)
    Jump German Menu If (GPRM0 = 3)
    Jump Portuguese menu If (GPRM0 = 4)
    You can extend these scripts to get back to the last button on any particular menu as well. These two scripts will be enough to set the audio and get you back to the right menu. If you are using subs as well then it is going to be a case of adding in the relevant lines to activate the correct subtitle... good luck!

  • Need advice on creating ospf abr router

    Hi, I'm studying for the CCNA, and am trying to learn and experiment with OSPF in packet tracer. I am having trouble with setting up a ABR to advertise a summary route for area 0 to another router in area 1. Lets say I have:
    R1:
    router ospf 1
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.2.0 0.0.0.255 area 0
    network 192.168.3.0 0.0.0.255 area 0
    area 0 range 192.168.0.0 255.255.252.0 <-- my summary route
    ip route 0.0.0.0 0.0.0.0 10.1.1.1
    default-information originate
    R2:
    router ospf 1
    network 10.1.1.0 0.0.0.255
    network 10.1.2.0 0.0.0.255
    network 10.1.3.0 0.0.0.255
    Assuming R1 in area0 is my main network, and I want to advertise my summary route to the area 1 router, what would I have to do?
    I hope that makes sense. Thanks!

    Well I think I've got it now. I think I was over complicating it, by not realizing that a router could easy advertise routes to multiple areas, eg:
    router ospf 1
    net 192.168.1.1 area 0
    net 192.168.2.1 area 0
    net 10.10.10.10 area 1
    net 10.10.20.10 area 1
    etc, and then using the 'area 0 range 192.168.0.0 255.255.252.0
    Also, as I understand it: If you put a default route on an ABR with default-information originate, the route is advertised to both AS's. But if the route is on either of these AS's, you can't do this because a routing loop will occur. Is this correct?
    thanks again

  • Need advice for deploy adf web fusion application created in Jdev11gTp4

    hello,
    need advice for deploy adf web fusion application created in Jdev11gTp4
    and it will be nice if you have helper sites
    thanks
    greenApple

    Is there something specific in TP4 that you want to use TP4 - as John suggests, it might be an idea to use the full production release (11g). As for resources for information you can check out
    [Jdev Home|http://otn.oracle.com/products/jdev] this page contains links to the developers guides and various how tos etc etc. The follownig page is also useful and is focused more to those who are less familiar with Java
    [JDev for Forms|http://otn.oracle.com/formsdesignerj2ee]
    Hope this helps and maybe if you can be more specific we can better guide you.
    Regards
    Grant

  • TV monitor display project, need advice.

    So I will be starting a project soon for my job. It will require some content for a store lobby TV display screen. Basically I will be making some content, whether it be scrolling images, animations, or maybe a video clip playing automatically. I will have maybe all of these things to be played throughout the day in the lobby of my work for customers to be viewing. This is the first time I have taken on a project such as this and I'm not sure where to start. I need advice on what type of information I need in order to begin this such as what size to start my project as, format, etc. Thanks!

    Hi,
    You have two options:
    1. Create the Edge Animation on the Computer, and play the animation and use some screen capture software that will give you a video. This video you can play on your lobby TV  in loop.
    2. If the lobby TV is a smart tv (i.e. it has browser to navigate the webpage), then you can host the Edge animation content files on some server, and navigate to the server url, which will play the animation on the browser in the TV.
    hth,
    Vivekuma

  • Scanning Pictures for HD Project I Need Advice

    I am about to *Scan Pictures for HD Project* I Need Advice. The scanner is a HP Scanjet G4050 my questions are:
    1: At what resolution do I scan these pictures _+(300 or highest dpi available)+_
    2: What color choice is necessary *(RGB vs CMYK)*
    3: Can you please suggest points for creating a backdrop for the pictures (various sizes) in the Timeline
    Thanks in advance

    Scan the picture like you normally would. If the vertical resolution is 1080, you are fine. Don't worry about the 1280 width as black will be in that area not taken up with the photo. That part won't matter if it isn't 1280 if it is a vertical picture. If you don't have at least 1080 high, you might want to re-scan at a higher resolution. If you have it say, 2000 pixels high really no big deal except you don't need it that high and all that extra size slows down your system. If you want it at a lower resolution after you scan go into Photoshop->Image->Image size. Be sure and check "Constrain Proportions" before you change the dimensions in the top box for the height (where you are best using the units as pixels) That way the picture will stay in proportion. Don't use this second method to 'add' more pixels as the quality suffers when you go up this way. Rescan if you want MORE pixels.
    All the above is talking about vertical pictures. If you have a really wide photo that is not very tall, use the same principle but keep the width constant. For example let's say you have a 2x6 inch photo. Make sure the width is at least 1280 pixels. Don't worry that the height will be less than 1080 because black will take up that space.
    If you are going to do any zoom in and/or panning across a picture, you'll need to make sure it has more than the minimum pixels. For me a little goes a long way, so I zoom in slowly maybe 10-15%.
    Sharon

  • Need advice: v5 versus v5.5

    Newbie with less than a month's experience using a free trial of v5.5 for the specific purpose of creating the interior layout and wraparound cover for a trade paperback needs advice on the following;
    It didn't take long to realize that my objectives barely scratch the surface of ID's capabilities. My guess is that everything I've done so far or will need to do in the future for other books, novels in black and white, simple chapter by chapter layouts with no images or columns, can be accomplished perfectly well with v5. To spend the extra money for features I'll never use seems unnecessary, and I'd appreciate feedback on whether I'm correct in my assumption.
    Thanks in advance for your advice.

    I know there are legitimatecopies of CS5 availble, but they aren't that easy to find (Amazon is one source, though, I think), and they will get harder every day.
    For simple printed publications you are correct and the version doesn't matter much, but the world is heading more towards electronic distribution channels, and novels are ideal formats for e-book readers. CS5.5 is head and shoulders above CS5 in its capabilities for that market.
    Presumably CS6 and beyond will be even more user-friendly for electronic publication (nobody can tell you what will or will not be in future versions, but the handwriting is on the wall), so if you think you will have money for an upgrade in another year or so after the succesful print run of your book (and if the current trend on upgrade pricing is an indicator, it will be expensive), it might make sense to buy CS5 now, but my instinct is that you'd be better off with CS5.5 and the ability to get your book onto iPad or Kindle now (with some more study) without jumping through quite as many hoops.
    And just for reference, I only do print, myself, but I'm old.

  • Create subVI from single wire

    This must have been dealt with somewhere, but I can't find it and before I submit it as a suggestion or report it as a bug, here it is:
    If I select a piece of wire and go to Edit>> Create subVI... nothing happens. I would expect a Vi created with an input and output having the type of the wire.
    Comments welcome.

    The question is valid but at the moment it is not possible to create a subvi frm a wire.
    Maybe you should suggest it in the ideas exchange.
    T sometimes place a one frame flat sequence, hook up all the wires I need, then convert it into a subvi.
    LabVIEW Champion . Do more with less code and in less time .

  • Advice about creating a website(s) with a .Mac Account - Newbie

    Hello,
    I need some advice about creating a website with a .Mac Account.
    The Situation
    For my media course we need to create a short film, then brand it, and distribute it along with press releases and press packs. No other group have thought about setting up a website - where it has all the company details, info about the Cast, Crew, Film, and maybe a link to the finished product.
    The Problem.
    I'm the only one who has an Apple Laptop. We don't want to use the computer at the university as A LOT of students use them and every month or so they're given a clean install.
    I've designed my own 'virtual series' website to showcase my screen writing work, but I haven't uploaded it. I was waiting until I finish university in the summer before I activated my 1 year .Mac Account. I have a .Mac Account, which has still got to be activated.
    How do i go about creating my 'video production' site, if I've already got my own created and sitting in iWeb?
    How could I just 'launch/upload' my 'video production' site without putting my own up as well?
    Should we buy a separate .Mac Account?
    Oh, and what would the address be, so that we can put them on business cards.
    THANKS for any and all help.

    Lots of questions... you've come to the right place!
    Here are some links that might be helpful to you:
    http://web.mac.com/varkgirl/iWeb/iWebFAQ
    http://web.mac.com/mark8heaton/iWeb/DomainSeparation/SiteSeparation.html

  • Complex Requirement please need advice

    Hi I have a table as below:
    SITE_ID_NBR     DIRECTION     START_DATE     START_DAY     END_DATE     END_DAY     TRAFFIC_SAMPLE_ID     BIN_DATA_ID     END_INTV_TIME     BIN_1_DATA     RN     CNT     WEEKEND_FLAG
    97809011     1     110308     Monday     111008     Monday     143302     114638     1400     4     1     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114639     1500     4     2     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114640     1600     2     3     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114641     1700     1     4     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114642     1800     6     5     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114643     1900     2     6     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114644     2000     1     7     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114645     2100     1     8     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114646     2200     1     9     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114647     2300     0     10     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114648     2400     0     11     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114649     100     0     12     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114650     200     0     13     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114651     300     0     14     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114652     400     0     15     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114653     500     0     16     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114654     600     0     17     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114655     700     0     18     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114656     800     1     19     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114657     900     4     20     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114658     1000     0     21     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114659     1100     3     22     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114660     1200     6     23     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114661     1300     5     24     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114662     1400     3     25     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114663     1500     5     26     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114664     1600     3     27     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114665     1700     1     28     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114666     1800     4     29     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114667     1900     1     30     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114668     2000     2     31     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114669     2100     1     32     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114670     2200     0     33     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114671     2300     1     34     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114672     2400     2     35     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114673     100     1     36     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114674     200     2     37     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114675     300     0     38     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114676     400     0     39     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114677     500     0     40     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114678     600     0     41     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114679     700     0     42     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114680     800     1     43     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114681     900     4     44     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114682     1000     0     45     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114683     1100     0     46     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114684     1200     4     47     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114685     1300     5     48     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114686     1400     4     49     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114687     1500     8     50     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114688     1600     3     51     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114689     1700     4     52     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114690     1800     4     53     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114691     1900     0     54     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114692     2000     0     55     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114693     2100     1     56     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114694     2200     1     57     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114695     2300     0     58     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114696     2400     0     59     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114697     100     3     60     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114698     200     0     61     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114699     300     1     62     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114700     400     1     63     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114701     500     1     64     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114702     600     0     65     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114703     700     0     66     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114704     800     2     67     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114705     900     2     68     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114706     1000     0     69     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114707     1100     0     70     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114708     1200     0     71     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114709     1300     1     72     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114710     1400     0     73     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114711     1500     0     74     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114712     1600     0     75     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114713     1700     1     76     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114714     1800     1     77     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114715     1900     3     78     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114716     2000     2     79     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114717     2100     0     80     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114718     2200     0     81     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114719     2300     1     82     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114720     2400     2     83     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114721     100     5     84     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114722     200     5     85     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114723     300     3     86     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114724     400     0     87     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114725     500     1     88     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114726     600     1     89     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114727     700     0     90     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114728     800     2     91     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114729     900     0     92     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114730     1000     0     93     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114731     1100     3     94     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114732     1200     1     95     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114733     1300     1     96     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114734     1400     0     97     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114735     1500     0     98     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114736     1600     2     99     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114737     1700     0     100     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114738     1800     2     101     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114739     1900     1     102     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114740     2000     3     103     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114741     2100     0     104     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114742     2200     1     105     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114743     2300     0     106     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114744     2400     0     107     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114745     100     0     108     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114746     200     2     109     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114747     300     0     110     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114748     400     0     111     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114749     500     1     112     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114750     600     2     113     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114751     700     0     114     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114752     800     0     115     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114753     900     0     116     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114754     1000     0     117     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114755     1100     0     118     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114756     1200     1     119     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114757     1300     1     120     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114758     1400     0     121     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114759     1500     0     122     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114760     1600     1     123     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114761     1700     1     124     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114762     1800     0     125     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114763     1900     0     126     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114764     2000     0     127     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114765     2100     0     128     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114766     2200     0     129     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114767     2300     0     130     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114768     2400     0     131     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114769     100     0     132     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114770     200     0     133     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114771     300     1     134     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114772     400     1     135     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114773     500     0     136     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114774     600     0     137     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114775     700     0     138     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114776     800     0     139     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114777     900     0     140     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114778     1000     0     141     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114779     1100     2     142     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114780     1200     0     143     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114781     1300     0     144     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114782     1400     1     145     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114783     1500     1     146     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114784     1600     1     147     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114785     1700     0     148     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114786     1800     0     149     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114787     1900     1     150     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114788     2000     2     151     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114789     2100     1     152     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114790     2200     0     153     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114791     2300     0     154     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114792     2400     0     155     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114793     100     0     156     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114794     200     0     157     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114795     300     0     158     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114796     400     0     159     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114797     500     0     160     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114798     600     0     161     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114799     700     0     162     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114800     800     1     163     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114801     900     1     164     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114802     1000     2     165     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114803     1100     2     166     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114804     1200     2     167     169     Y
    97809011     1     110308     Monday     111008     Monday     143302     114805     1300     3     168     169     YI have start and end date's. There is a reocrd for each hour of the day. In the above example the START DATE is a Monday and hence the first 24 records belong to Monday and the Next 24 belong to Tuesday............and the last 24 belong to the following MONDAY. I need help in creating a column where i can assign each record a day , for example in case of the above table the records from 25-48 should have TUESDAY and 49-72 as Wednesday............. Can any one please help me or advice me on this?
    Thanks

    In the above example the START DATE is a Monday and hence the first 24 records belong to Monday and the Next 24 belong to Tuesday............and the last 24 >belong to the following MONDAY. I need help in creating a column where i can assign each record a day , for example in case of the above table the records from > >25-48 should have TUESDAY and 49-72 as Wednesday............. Are you sure ?
    column END_INTV_TIME seems to contain hours (HH24 * 100) so the first eleven rows belong to Monday Nov, 10 th 2008
    column RN is almost certainly a row number
    column CNT value 169 is close to 24 (hours per day) * 7 (days i.e. (Nov, 10 th 2008) - (Nov, 3 rd 2008))
    but I might well be wrong
    Regards
    Etbin
    Edited by: Etbin on 25.1.2011 21:00
    NOT TESTED !
    select rn,
           start_date + sum(new_day) over (order by rn) the_day
      from (select to_number(rn) rn
                   to_date(start_date,'mmddrr') start_date,
                   case end_intv_time when '100' then 1 else 0 end new_day
              from your_table
           )

Maybe you are looking for

  • How do I change my settings

    I am trying to change the settings on my 8220 from automatically answering when I flip it open. I have used the steps given but there is no general options tab for me to click on. I am so confused and frustrated.

  • I want to install Oracle 8i and forms 6i on xp

    I want to install Oracle 8i and forms 6i on xp. Kindly give me a complete step by step file, so that i can know before installation...... Thanks

  • Error in CFC - message to Flex

    I am sending messages to a flex program via a CFC reading messages off of a socket (gateway is called asocket - the flex gateway is ows35_example4 via LCDM). The messages are getting to the flex program but errors are showing up in cfserver.log, even

  • Multiple Cache server  Connection To content server

    Dear all i have installed content server 6.40 on win 2003 server, now we have 2 remote location & i want to connect those location to my local content server through Cache anybody have any Idea regarding how to do this?

  • Read appendix in position

    Hello! In the PPOME you can create an appendix for the position objtyp=S. Where is this appendix saved? How can I access the document? I want to write a report where I read the appendix from position out. Can anybody please help me?