Elegant solution for 'simple' problem?

Hi, I'm writing a program which logs data to a text file. I want to change the file name each month. I need a subvi which will compare the month of the current iteration with the month of the last. I use get date/time in seconds, pass to seconds to date/time, then unbundle by month. If I use a subvi with a 1 iteration while loop with shift reg, it obviously doesnt do what I want. Anyone have a way I can flag a boolean from a subvi using a similar (but working) method?
Thanks, Paul.S

The solution you describe should work (as long as you don't shutdown the software). Post your code in 6.0 format and I'll look at it.Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • TA24002 My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know which erase option would be the best solution for this problem.

    My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?

    You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
    Re 1) you need to answer Kappy's questions.
    Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
    Do you not have a backup of the photo files?

  • I have problems in the initiation of the Encore process when opening presents the following error message : "Encore CS6 Cannot Run in Non-Royalty Serialized".... What is the best solution for this problem ?

    Help Me.
    What is the best solution for this problem ?

    Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    -and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
    -plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html

  • I bought my iphone 5 in Houston Texas May 15 2013 IMEI Nr. 013428009645399.The problem is that in the Greece the country which I live the 4G is not working.If you have any solution for this problem pls. let me know.My email is philcoueth@yahoo.gr Thank yo

    I bought my iphone 5 in Houston on May 15 2013.
    IMEI 013428009645399.The problem I have is that in the country
    which I live GREECE the 4G is
    not working.Please if you have any solution for this
    problem let me know.My email is [email protected]
    Thanking you in advance
    Philip Couridis

    iPhones purchased in the US are NOT guaranteed to work with 4G bands outside of North America.
    For what crazy reason did you purchase an iPhone in the US if you live in Greece?  If your phone needs servicing, it will have to be brought back to the US.  You cannot get that phone serviced in Greece.

  • My display has quit working.  Does anyone have a solution for this problem?

    I have had my Verizon Jetpack MiFi 5510L for a couple of months now.  It has worked fine until a few days ago the display on it started looking strange and now has finally gone blank.  Does anyone have a solution for the problem?

    You can do both, whatever is more convenient to you.  As long as VZW gets its hands on the old device you will be good to go.  Replacements under the warranrty require the user to turn in the old device to VZW.  If your old device is not returned then you will be charged a fee for an entirely new device.  Purchasing a tracking number for a shipment of this kind would be a good idea if you choose to send it in.  Otherwise dropping it off at a store is the safest route you can take. 
    I would suggest contacting VZW phone support on this one and running through your options.  The VZW phone rep can coordinate a delivery to your local VZW store if they do not already have one in stock.  You can also turn in the old device in person to rule out any non-returned device fees.

  • Anyone has a solution for the problem: typing keywords and suddenly it does not work anymore. Mostly I have to restart my iphone 4Gs

    Does anyone has a solution for this problem?
    Since I updated to iOS 6 sometimes my keywords did not work.
    I always have to restart my iPhone to have it work.
    It's ridiculous to always restart my phone.
    If you also have this problem you can repost + give some tips.
    Thanks and greetings,
    Max Louis

    Hi Alo816,
    I'm sorry to hear you are having such extensive issues with Messages on your iPhone. If you continue having issues sending or receiving Messages, you may find the troubleshooting steps outlined in the following article helpful:
    iOS: Troubleshooting Messages - Apple Support
    If you continue to have issues with Messages after that troubleshooting, especially if it is still having or crashing, you may want to make sure you have a current backup of your data in iTunes, then try restoring your iPhone to factory settings and testing it in that default condition to see if the issues persist before restoring your data. You may find this article useful:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Regards,
    - Brenden

  • For last one month I am facing problem in watching online videos on my iPod touch. It is opening or can say loading the online videos. Earlier it used to be work absolutely fine. Any solution for my problem.

    For last one month I am facing problem in watching online videos on my iPod touch. It is opening or can say loading the online videos. Earlier it used to be work absolutely fine. Any solution for my problem.

    For last one month I am facing problem in watching online videos on my iPod touch. It is not opening or can say loading the online videos. Earlier it used to be work absolutely fine. Any solution for my problem.

  • Can anyone solve (or) give me a solution for this problem.....?

    Hi Everyone!
    Can anyone solve (or) give me a solution for this problem.....?
    We have used two folders Source & Finalwork. We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Is this possible to check whether both folder images Embedded color profile same or not.
    -yajiv

    Could you elaborate what you mean by this
    We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Possibly again with a screenshot to illustrate the task?
    // 2012, use it at your own risk;
    #target photoshop
    var theFolder = Folder.selectDialog ("select source folder");
    if (theFolder) {
    var theFiles = theFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var theOtherFolder = Folder.selectDialog ("select target folder");
    if (theOtherFolder) {
    var theOtherFiles = theOtherFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var missingFiles = new Array;
    var unmatchedProfiles = new Array;
    // work through files;
    for (var m = 0; m < theFiles.length; m++) {
              var check = false;
              var theFile = theFiles[m];
    // find name of the same name;
              for (var n = 0; n < theOtherFiles.length; n++) {
                        var theOtherFile = theOtherFiles[n];
    // if one is found;
                        if (theFile.name == theOtherFile.name) {
                                  check = true;
                                  var oneFile = app.open(File(theFile));
                                  var otherFile = app.open(File(theOtherFile));
    // check profiles;
                                  if (oneFile.colorProfileName == otherFile.colorProfileName) {
    // collect umages with unmatched profiles;
                                  else {unmatchedProfiles.push(theFile)};
    // collect missing files;
              if (check == false) {alert ("hahaha");missingFiles.push(theFile)}
    // alert of problems;
    if (unmatchedProfiles.length > 0) {
    alert ("the corresponding files for these do have a different color space:\n"+unmatchedProfiles.join("\n\n"));
    if (missingFiles.length > 0) {
    alert ("these files miss corresponding ones:\n"+missingFiles.join("\n\n"));
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
            return true

  • I have my Adobe ID and the Adobe Digital Editions. But when I download an EPUB-ebook, I don´t see the ebook or "My Digital Editions-Bibliothek".What is the solution for this problem?

    @I have my Adobe ID and the Adobe Digital Editions. But when I download an EPUB-ebook, I don´t see the ebook or "My Digital Editions-Bibliothek".What is the solution for this problem?

    how can we solve the problem?
    I have my adob.e ID, downloaded Adobe Digital Editions.
    Whren I download EPUB-ebooks and want to use
    Digital Editions, nothing happens and appears!??
    Please give me a short feedback and help

  • When I try to install PSE11, I keep getting error 1935, does anyone have a solution for this problem

    When I try to install PSE11, I keep getting error 1935, does anyone have a solution for
    this problem?

    This thread from the Premiere Elements forum may help:
    http://forums.adobe.com/thread/1286807?tstart=0

  • Hi! Did anyone happen that AppStore simply disappear? Anyone have a solution for this problem? Thanks!

    Hi!
    Did anyone happen that AppStore simply disappear?
    Have anyone a solution for this problem?
    thanks! bbj

    Hi.
    Do you mean that App Store has disappeared from the Dock? If so it'll still be in Applications. Select it in Applications, when it opens in the Dock move it one or more places, it will then stay there to access next time you want it.
    If you don't mean the above, see if you have accidentally moved the application to the Trash.
    Good luck,
    Adrian

  • HT4484 i used to have an app store and lost it and i created a new one and i can not update the iphoto app because it was updated with the old account, is there a solution for this problem?

    i used to have an app store and lost it and i created a new one and i can not update the iphoto app on my macbook pro because it was updated with the old account, is there a solution for this problem?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

  • I have sent a message to a friend. Afterwards, I created a new message. And the message I have sent a while ago appears even if I haven't type anything. Can you find a solution for my problem please? :(

    I have sent a message to a friend. Afterwards, I created a new message again. And the message I have sent a while ago appears again even if I haven't type anything. Can you find a solution for my problem please?

    You're welcome! Glad you got things sorted out.

  • Kelsey Anderson I may have a solution for your problem

    Kelsey I may have a solution for your problem.

    McAfee Site Advisor 3.4.0 just came out of the addons blocklist, and you have SiteAdvisor and even though that is the current version; nevertheless, you should uninstall it and reinstall it as noted in https://community.mcafee.com/message/203466 for a fresh version with only current files.
    Also refer to http://kb.mozillazine.org/Problematic_extensions relating to McAfee Site Advisor 3.4.0 for more specific instructions.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Is OS a viable solution for this problem?

    Hello all,
    We are currently looking for a cleaner solution to a simple problem and I am investigating Oracle Streams. I was wondering if I could get some insight. Here's the pertinent information regarding the "problem."
    We have an OLTP site that receives a high rate of transactions. Currently, much of its job is to simply log the raw transactions and push them to another DB that has a lower intake rate requirement. We are currently doing this:
    Upon receiving a transaction, via a custom Pro*C program, we call a PL/SQL function that: 1) inserts the transaction into the raw log, and 2) enqueues a message containing a unique ID for the transaction onto an AQ message queue.
    The message de-queue is located at the remote DB and it does the following: 1) dequeue (in bulk) the UIDs off the queue, for each UID pulled it: a) pulls the transaction from the OLTP site, b) transcodes the data, c) stores the data in a local table.
    The reason for step a above is two-fold; Oracle AQ does not support XMLTYPE data to be placed on it and the XML documents are large enough that we were worried that we'd sacrifice queue performance to push them onto it.
    So, the current solution performs less than ideally, and to me with the availability of Streams seems ugly in comparison to what I was thinking. I thought we could do this:
    Set up a stream to mine the raw transactions table, maybe via a downstream process to avoid the propagation. Then take the current transform code and place it into a custom apply process at the remote database.
    The above solution seems more elegant, however I'm wondering if it would be even less performant than the AQ design. I'm also worried that because AQ is built around streams that we'll run into the same issues with the XMLTYPE table columns and that the entire solution is just currently not possible.
    Before I invest tons of time playing with this, could anyone shed some insight or at least verify that the solution I'm thinking of is viable or at least not completely foolish.
    THANKS!

    The goal is 250 transactions/second. Right now we're getting about half that. The XML documents that are stored into raw are varying in size however the only piece of information we put on the queue is a number representing the unique id of the XML transaction. The queue is propogated to another DB and picked up by the dequeue process there which pulls the XML document over via DB link select using the dequeued unique ID. It then transcodes via XSLT and inserts the data into the appropriate ODS table(s).
    We have 10 queues each with their own queue table and the Pro*C application round-robins the queue names and passes the appropriate queue name into the PL/SQL procedure who inserts the XML document into raw and places the UID onto the queue.
    Given we are only putting a single number on the queue, what do you think the best way to tune would be? Is there any other way to tweek this set up, or should we just re-org and attempt OS solution or some other method?

Maybe you are looking for