Why the graph in Labview does not plot when there is a different set of data collected

Hi everyone,
I need help from you guys as I faced a problem with my Labview program. Actually, what I am trying to do with the labview program is that I will be collecting data of different days and use them to plot graphs according to the date that i have set in my program. However, my graph fails to plot whenever there is a change in date, it remains at the first graph that is being plot at the start of the program. I have tried to look through the whole process and found out that actually the execution of my graph in the program is not completed which might cause this program. Therefore, I hope that you guys can help by taking looking through my program which has been attached and tell me the solutions if any! I really appreciate your help! It is a winrar file, extract them and open the AMK_solar monitoring system(stack).vi
Regards,
Kok Wan
Attachments:
Ftp version SMS.zip ‏1722 KB

Hi Kok,
"no formatting needed"
Why do you feed "2358" to FormatDateTimeString? The result will be "2358" - so no formatting function needed...
"other timestamp functions"
Found deep in your subVIs. You can work on timestamps as numbers, no conversion to/from string needed...
This contains 3 unneccessary locals and a race condition resulting from overuse of locals...
"The problem is I cant still get my graph plotting"
Which graph? There are a lot of it...
Don't you read new data (correctly)? Is the data arriving in the correct wires?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Why the x$bh view does not exist?

    Why the x$bh view does not exist?
    SQL> select*from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> conn system/oracle
    Connected.
    SQL> desc X$BH;
    ERROR:
    ORA-04043: object X$BH does not exist

    SQL> desc x$bh
    Name                            Null?    Type
    ADDR                                  RAW(4)
    INDX                                  NUMBER
    INST_ID                             NUMBER
    HLADDR                              RAW(4)
    BLSIZ                                  NUMBER
    NXT_HASH                             RAW(4)
    PRV_HASH                             RAW(4)
    NXT_REPL                             RAW(4)
    PRV_REPL                             RAW(4)
    FLAG                                  NUMBER
    RFLAG                                  NUMBER
    SFLAG                                  NUMBER
    LRU_FLAG                             NUMBER
    TS#                                  NUMBER
    FILE#                                  NUMBER
    DBARFIL                             NUMBER
    DBABLK                              NUMBER
    CLASS                                  NUMBER
    STATE                                  NUMBER
    MODE_HELD                             NUMBER
    CHANGES                             NUMBER
    CSTATE                              NUMBER
    LE_ADDR                             RAW(4)
    DIRTY_QUEUE                             NUMBER
    SET_DS                              RAW(4)
    OBJ                                  NUMBER
    BA                                  RAW(4)
    CR_SCN_BAS                             NUMBER
    CR_SCN_WRP                             NUMBER
    CR_XID_USN                             NUMBER
    CR_XID_SLT                             NUMBER
    CR_XID_SQN                             NUMBER
    CR_UBA_FIL                             NUMBER
    CR_UBA_BLK                             NUMBER
    CR_UBA_SEQ                             NUMBER
    CR_UBA_REC                             NUMBER
    CR_SFL                              NUMBER
    CR_CLS_BAS                             NUMBER
    CR_CLS_WRP                             NUMBER
    LRBA_SEQ                             NUMBER
    LRBA_BNO                             NUMBER
    HSCN_BAS                             NUMBER
    HSCN_WRP                             NUMBER
    HSUB_SCN                             NUMBER
    US_NXT                              RAW(4)
    US_PRV                              RAW(4)
    WA_NXT                              RAW(4)
    WA_PRV                              RAW(4)
    TCH                                  NUMBER
    TIM                                  NUMBERwrong USER

  • Why the PO action history is not updating when i perform the vacation rules

    Hi,
    Can any one explain why the action history is not updating when performed the vacation rules using the below example
    Example: A >B>C>D are in the approval hierarchy here I have defined the vacation rules by login to the user C here I selected the item type as “All” and delegated to D.
    Now the buyer “A” has sent the document for approval. The user “B” can successfully reserve funds and approved the document. Now the document is automatically delegated to D. Here D can open the document from open notifications and approved the document. Now when I checked the Action history here I cannot find the performed name D who has actually approved the document.
    Note:we are using the 11.5.10.2 version.
    The Action History in the following manner
    Seq Action Performed By
    ================================
    4 Approve C
    3 Forward B
    2 Reserved B
    1 Forward A
    0 Submit A
    From the above action history why the user D name is not showing. Can any one let me know ASAP?
    Regards,
    Keivn.
    Edited by: user10960960 on May 5, 2009 3:36 AM

    When you set up the vacation rule, if you simply delegate the ownership to D, then C retains the ownership and the approval occurs with C's limits. And hence D is treated as the approver.
    If you transfer the ownership, then C is out of the picture. The notification goes to D and when he/she approves, D's limits kick in and he will be seen as approver.
    Hope this helps,
    Sandeep Gandhi

  • The T61 internal mic does not work when docked

    The internal mic does not work when docked. However works fine when undocked.
    Does anyone know how to fix this?

    I go this issue very recently. What I did to solve the problem was probably mentioned before somwehre over the web.
    First of all, I degraded Skype from the latest version to skype 6.1.0.129. Then I went in Skype - Tools - Option - Advanced Settings - Automatic Updates and click "Turn off automatic updates" and Save. I closed (Quit Skype) Skype then.  
    I clicked on Start (in toolbar) and in search area typed Device Meneger. Then in Sound Video and game controlers, highlite and right click on mouse on IDT High Definition Audio Codec and press Unistall. This will unistall IDT drivers from the system. You must restart your computer.
    Once you come back after reboot, you must go again to the Sound Video and game controlers and remove the rest part of your driver. After reboot go Sound Video and game controlers and click "Scan for hardware changes" then system find your IDT Sound Card again. Please install the latest driver (6.10.6367.0) and reboot. After reboot you should have mic working while on Skype. 

  • Notification on skpe in iphone 6 does not display when there is incoming messages

    The user has a iphone6 and installed the latest Skype. However, when there is incoming messages, the badge(red counter) does not display in the icon.I have tried everything i could, background refresh, uninstall and reinstall,, check the settings and reboot the iphone a few times etc...but the notification badge simply will not show.Can anyone advise a remedy to this?Very much appreciated.

    I used Iphone 5 till yesterday with IOS 7.2 and older version of Skype and no issues at all . I could see group chats and every single chat possible on my phone as on my laptop Now i have an Iphone 6 and the newest software and the skype application I CAN ONLY SEE PEOPLE but not group chats on my phone . I dont get notification about the group but i can easy see on my laptop that there are chats missedOnly if the person msg me away from that group I can get the msg on my phone  WHy is this happening . How can i go back to old version of Skype and should i go back to it??Do I need to downgrade the softwareIm using Skype for business on a daily basis and group chats are crucial for my work  PLEASE HELP !! 

  • Any ideas why the second HOST call does not work???

    Hi Folks.
    I have written the following code which works fine in all but one respect.
    The code creates a zip file on a server (Accessed over a network) hence the full windows network path name.
    The call to host on the server works in terms of running the zipinvoices.bat file and the zip file is generated on the server in the correct location.
    The prigram unit also generates the correctly formatted mailinvoices.bat file. However, the second call to HOST does not run/execute the mailinvoices.bat file. If I go to the server and run the mailinvoices.bat file directly, it runs perfectly and emails the file to me, no problemo.
    Why does the second call to HOST from the client machine not run?
    Any clues anyone???
    Cheers
    Simon Gadd
    PROCEDURE send_email_invoices_pu_p (p_organisation IN VARCHAR2) IS
    v_processing_cycle          CHAR(4);     
         v_alert_but                              NUMBER;
         v_error_num                              NUMBER;
         v_sent_status                     NUMBER(1);
    v_stage                                        NUMBER(1);
    v_year                                        VARCHAR2(4);
    v_month                                        VARCHAR2(9);
    v_folder_name                         VARCHAR2(25); -- Name of the file which holds the 'Printed' invoices in the receivables folder. v_organisation                    VARCHAR2(50);
    v_password                              VARCHAR2(25);
    v_organisation                    VARCHAR2(25);
         v_host_command                    VARCHAR2(100);
    v_from_name                              VARCHAR2(100);
    v_to_name                                   VARCHAR2(100);
    v_subject                                   VARCHAR2(100);
    v_error_txt                              VARCHAR2(200);
    v_file                                        VARCHAR2(200);
    v_message                                   VARCHAR2(500);
         v_line_buffer                         VARCHAR2(5000);
    v_working                                   BOOLEAN := TRUE;
    v_zipinvoices_bat               TEXT_IO.FILE_TYPE;
         v_mailinvoices_bat          TEXT_IO.FILE_TYPE;
         CURSOR c_sent_status IS
              SELECT sent
              FROM INVOICE_EMAIL
              WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
         CURSOR c_select_folder IS
              SELECT folder
              FROM INVOICE_EMAIL
              WHERE UPPER(ORGANISATION) = UPPER(v_organisation);     
    CURSOR c_select_email_elements IS
    SELECT      send_to,
                        send_from
    FROM INVOICE_EMAIL
              WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
    BEGIN
    v_organisation := p_organisation;
    -- Check to see if the invoices have already been e-mailed for this Procssing Cycle. If they have,
    -- then warn the user of this and get them to confirm that they wish to proceed and e-mail them again.
    -- The batch e-mail process will re-zip the invoices (ignoring a pre existing .zip file) and overwrite
    -- the existing zip file if it exists or generate it if it does not exist.
         OPEN c_sent_status;
              FETCH c_sent_status INTO v_sent_status;
         CLOSE c_sent_status;     
         IF v_sent_status = 1 THEN
              v_alert_but := SHOW_ALERT('SEND_AGAIN_ALRT');
                   IF v_alert_but = ALERT_BUTTON2 THEN RAISE FORM_TRIGGER_FAILURE;
                        ELSE NULL;
                   END IF;
         END IF;
    :CONTROL.WORKING := 'Started Zipping invoices for '||INITCAP(v_organisation)||'.'||CHR(10)||'Please wait..';
    SYNCHRONIZE;
    -- The following code opens the zipinvoices.bat file which resides in the root folder \\Ebony\c$\FCSS\DB_SCRIPTS\ and modifies it ready to
    -- zip up the invoices in the relevant organisation's invoice folder for the current processing cycle.
    v_processing_cycle := GET_CURRENT_TRAFFIC_PERIOD;
    v_month := RTRIM(INITCAP(TO_CHAR(TO_DATE(v_processing_cycle, 'MMYY'), 'MONTH')));
    v_year := (TO_CHAR(TO_DATE(v_processing_cycle, 'MMYY'), 'YYYY'));
         OPEN c_select_folder;
         FETCH c_select_folder INTO v_folder_name;
         CLOSE c_select_folder;
    KILL_OLD_ZIP_PU_P('del \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices.zip');
    SELECT zip_password
    INTO v_password
    FROM INVOICE_EMAIL
    WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
    v_zipinvoices_bat := TEXT_IO.FOPEN('\\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat', 'w');
    v_line_buffer := 'cd..';
    TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
    v_line_buffer := 'cd..';
    TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
    v_line_buffer := 'wzzip -s'||v_password||' -x*.zip -ybc \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\*.*';
    TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
    v_line_buffer := 'exit';
    TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
    TEXT_IO.FCLOSE (v_zipinvoices_bat);
    -- The following code executes the freshly edited \\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat file to produce the zipped invoices file
    -- ready to be e-mailed out to the address specified in the INVOICE_EMAIL table for the relevant organisation.
    v_host_command := '\\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat';
    v_stage := 1;
    HOST (v_host_command, NO_SCREEN);
    IF NOT Form_Success THEN
         IF v_stage = 1 THEN
         :CONTROL.WORKING := 'Error -- The .zip file for '||INITCAP(v_organisation)||' was not produced.';
              SYNCHRONIZE;     
         ELSIF v_STAGE = 2 THEN
         :CONTROL.WORKING := 'Error -- The zipped invoices file for '||INITCAP(v_organisation)||' was not emailed.';
              SYNCHRONIZE;               
              END IF;     
    ELSE NULL;
    END IF;
    :CONTROL.WORKING := 'All invoices for '||INITCAP(v_organisation)||' successfully zipped.'||CHR(10)||'Attempting to send via e-mail.'||CHR(10)||'Please wait..';
    SYNCHRONIZE;
    -- The following code e-mails the freshly created .zip file for the relevant organisation and e-mails it to the
    -- recipient specified in the relevant row in the INVOICE_EMAIL programme along with from address, subject and
    -- message if specified.
    OPEN c_select_email_elements;
    FETCH c_select_email_elements INTO
    v_to_name,
    v_from_name;
    CLOSE c_select_email_elements;
    v_stage := 2;
    v_mailinvoices_bat := TEXT_IO.FOPEN('\\Ebony\c$\FCSS\DB_SCRIPTS\mailinvoices.bat', 'w');
    v_line_buffer := 'cd..';
    TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
    v_line_buffer := 'cd..';
    TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
    v_line_buffer := 'clemail -quiet -smtpserver mailhost.0800dial.com -smtpport 25 -to '||v_to_name||' -from '||v_from_name||' -subject "'||v_month||' '||v_year||' Roaming Traffic Invoices from United Clearing Ltd" -bodyfile \\Ebony\c$\FCSS\DB_SCRIPTS\invoice_body.txt -attach \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices.zip';
    TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
    v_line_buffer := 'exit';
    TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
    TEXT_IO.FCLOSE (v_mailinvoices_bat);
    v_host_command := '\\Ebony\c$\FCSS\DB_SCRIPTS\mailinvoices.bat';
    HOST (v_host_command, NO_SCREEN);
    IF NOT Form_Success THEN
         IF v_stage = 1 THEN
         :CONTROL.WORKING := 'Error -- The .zip file for '||INITCAP(v_organisation)||' was not produced.';
              SYNCHRONIZE;     
         ELSIF v_STAGE = 2 THEN
         :CONTROL.WORKING := 'Error -- The zipped invoices file for '||INITCAP(v_organisation)||' was not emailed.';
              SYNCHRONIZE;               
              END IF;     
    ELSE NULL;
    END IF;
    UPDATE INVOICE_EMAIL
         SET sent = 1
              WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
    COMMIT;
    GO_BLOCK ('INVOICE_EMAIL');
    EXECUTE_QUERY;               
    :CONTROL.WORKING := 'Please press a button on the left to e-mail invoices to the organisations listed.';
    SYNCHRONIZE;
    EXCEPTION
         WHEN OTHERS THEN
              v_error_num := SQLCODE;
              v_error_txt := SUBSTR(SQLERRM, 1, 200);
              MESSAGE('The error was: '||v_error_txt||' and the code was: '||v_error_num);
              RAISE FORM_TRIGGER_FAILURE;
    END;

    As a suggestion I'd put the Text_io segments into their own begin - exception - end sub-blocks within the main code. This way if Text_io does raise an exception you can catch it earlier as it may be able to recover - That is if it is a text_io exception.
    Other than that you;ll have to step through in Debug.

  • Any intelligen​t people from HP on this forum ? Why the Disney app eprint does not work ?

    There is a problem with the Disney App on the Photosmart eprint application . After the selection of an image there is only a preview button and no way to print. If you use this button nothing appear except a black screen !!!
    First of all stop to make stupid answer like unsbscribe eprint service uninstall the disney application or verify that your a registered  or check that your printer is powered ....IT DOES NOT WORK even all this check is on !!!
     And you can also check that all of the users with this bug have try this and no way.... That is the problem with this application ? Do you have any user that can print something from this app. Find a solution or unvalidate this application.
    Oh I forgot to teel you that it work perfectly for the dreamwork application.
    Regards, Defmak.

    The disney app is currently experiencing problems. It is an issue on Disney's end which is why you can print from other applications. Unfortunately I'm not sure when Disney will have the issue taken care of but what I would suggest is to try later.
    Hope this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Why the account login list does not show up on menu bar?

    I see bunch of other icons including Bluetooth in Tiger on my Intel Mac mini, but somehow the list of accounts disseapared. I have that on my PowerMac Tiger and did exist from the the day I upgraded to Panther, but why it does not show up in Tiger?
    Any idea how to bring accounts so I could login to another and have that turning 3D screen and changing to another account?
    Thanks,
    Maciek

    Open the Accounts pane of System Preferences and turn
    on Fast User Switching if it isn't already on.
    (11071)
    It worked fine. Thanks a lot!
    One more note to the tip: it required to unlock the padlock as administrator and then select Login Options below list of users. Otherwise the option does not show anywhere.
    Maciek

  • Why the devices in KSA does not have facetime ???

    I Bought an ipad air and iphone6  but they both does not have facetime,, i live in KSA,, could it be blocked here ?

    Correct. An iOS device originating from Saudi Arabia or the United Arab Emirates will never have FaceTime.
    (122508)

  • My computer died rather rapidly so i had no chance to do a backup or anything. now i want to put itunes on my new computer but it will not sync with my ipod. i got my purchased music but not the playlists and it does not sync when i plug it in.

    my computer hard drive died rather suddenly so i had no chance to do a back up or any thing. i put itunes on my new computer and got my purchased music but my ipod will not sync and i cannot get my playlists onto the computer. is there any way to get my playlists on my new computer and also get my ipod to sync. it is a waste of time to purchase new music and i do not want to purchase a new ipod since i have so much memory left on this one.

    Thank you all for your replies. Here is what i ended up doing. I cannot afford any 3rd party software so i went to itunes and manually entered all my playlists. As I had indicated my purchased music was on my new computer just not the playlists  and I could not sync my ipod. After I rebuilt all my playlists I tried to restore my ipod to factory defaults/new. All of the steps called for in apple support and elsewhere were not available to me. I connected my ipod, went to my computer, right clicked my ipod, and formatted. That wiped my ipod so when I connected to itunes it then gave me a restore option. I did the restore and all is good in the empire again. I can now buy new music and sync my ipod so I am a happy camper.
    Thanks to all.

  • "The file you selected does not exist" when the file definitely exists?

    Hi all,
    Using Contribute CS3 against Contribute Publishing Server--
    I have the site uploaded and set up within Contribute and
    CPS. But I am experiencing consistent "The selected file
    does not exist" errors whenever I try to open most
    documents within the site. I click the "Choose"
    button, navigate to a file -- I can see its contents in the
    "Preview" box within the Choose dialog -- and
    when I click "OK", I get that file does not exist
    error.
    This is happening with most but not all files in my site
    tree. Trying to find a common denominator, it certainly does seem
    that files which trigger this error are all templated files.
    Non-templated files open fine.
    Contribute is configured to talk to the server (IIS) via
    WebDAV.. Am trying to get the sysadmins to enable FTP to see if
    this behavior also shows up then, but have not been able to get
    this done yet.
    Thanks all :-)
    Reuben

    Would I have been better off posting this in the General
    Discussion section? Could the moderators move it if so,
    please?

  • The publishing settings page does not open when I click on the domain name and the iWeb application will not stay on the dock.

    Hello,
    I have been trying to help a friend who is having problems publishing her website. (She has done so previously using Mobile me)
    There seem to be a couple of things wrong with the application,
    1     if I drag the application icon onto the dock, it won't stay there
    2     I wanted to change where her site is published to (she has bought a domain name and has a hosting service now) but when I click on the domain name I do not get the "site publishing settings page" so we can't enter the new details.  All that comes up is the main page of her website.
    I would suggest uninstalling and re-installing Iweb, to see if that clears the problem, but as Iweb came pre-installed with her Imac, I am not sure that we can do this.
    Any ideas please?
    she's using and imac 24 in (approx 4 years old) and running osx 10.5.8

    NO - not correct.  Even if you are still using iWeb 08, you can still publish to another host and not MobileMe.  You do this by selecting the option 'Publish to a local folder" and this will publish the site to your desktop and you can then use an ftp programme such as Cyberduck to upload your site to your host.
    MobileMe will not be here after the end of June, so you will have to find alternative hosting.  They are not taking any new subscriptions.
    On new Macs, iLife 11 is pre-installed, but only iPhoto, iMovie and GarageBand are included, not iWeb and iDVD. The Apple Online store is not selling the boxed version of iLife 11 any longer, so if you want to upgrade to iLife, then you'll have to look online at Amazon.com or Amazon.co.uk for a boxed set of either iLife 09 or iLife 11.  Both contains iWeb 09, which is what you would want.

  • The Refine Edge tool does not work when I want to make a dramatic effect

    hi I am using photoshop for ipad, but i think that i used wrong Refine EDGE Tool. Can you Help me?

    Hello there!
    In the tutorial for How to Add a Dramatic Blur, the tutorial outlines that you have to make a selection with the Scribble Selection tool. Can you perhaps post a screenshot of the selection you made, then what happens when you try to "refine the selection"?
    janelle

  • Report Engine does not increase when there is a large no of reports queue

    Hello Everybody,
    Specifications:
    Product : Oracle Application Server Forms and Reports Services 10.1.2.0.2
    OS : Windows 2003 R2 Server
    Dual Core CPU 2600MHz
    6 GB RAM
    We are doing the sizing for our reports server. We have specified the following in our rep_server.conf
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="2" maxEngine="6" minEngine="2" engLife="50" maxIdle="30" callbackTimeOut="90000" engineResponseTimeOut="3" jvmoptions="-Xms64m -Xmx128m">
    Even when there are 5000 or more reports in the queue still the number of engines in the reports server remains at 2 though I have given that it can use upto a maximum of 6 engines. Can anybody please explain why this happens? Am I missing something here?
    Thank you for your reply in advance.

    Hello,
    Anybody has any idea why the report engine is behaving like this?
    Thanks in advance

  • Why the restart firefox bubble does not show after installing an addon and the remember password bubble is closed (not now x)?

    When I go to a post login page, firefox offers to remember password.
    If this bubble is ignored (by pressing the x or by choosing the Not now option) and i download an add-on on that page that requires browser restart, the bubble of "restart now" which should get triggered after the installation of the add-on is not shown.
    Note: If i press on Remember password or never remember password on this site, the restart bubble shows.

    Possibly you could explain carefully what happens, listing the steps you take.
    As a test/example Would you be able for instance to recreate the problem with this forum as a login site with a password. And with for example this add-on
    * https://addons.mozilla.org/en-US/firefox/addon/places-maintenance/

Maybe you are looking for