problem with the data record

Hi, I'm new to LabView so I know that the thing I'm doing is relatively easy, however, I'm stuck.

I made a small program that gets 5 steps (for now replaced with random numbers) and as well as the date and time data in the text file. I intend to run the program for long periods of time, so I want to increment the file name/path every hour, but after the addition of this part of the program does not create any file, although the program runs without error.

Block diagram is attached, could someone point out to me what is wrong and what I should do to reach my goal?

Thanks in advance!

Hi marcis,.

Acually, the logic of the program was completely wrong.

1. your comments the file path will never help you. Because after leaving of while loop, the structure of matter will run once and LV will stops running.

2. open and close the datalog only once file. Try to make all your manipulations between opening and closing your file datalog. Otherwise, it will be difficult to manage when you develop your code.

3 case construction outside the loop is meaning less. If you want to run the program permanently, place all functions inside the while loop you want to run. While the loop will run continuously until you get satisfied.

4. incorrect data streams. All programmers need well with the data stream.

Just go into the basics of labview here and try to realize your logic again

Tags: NI Software

Similar Questions

  • Problems with the date and time - have to reset the date & time on reboot

    original title: problems with the date and time

    Whenever I turn on my computer (Windows XP 2002) I click on F2.  Then I re - set the date and time it occurred in January 2006 1 h every time I have turn off the computer.  Can someone tell me what I need to do?

    You need to replace the battery in time clock (RTC) real of your computer.  It can also be called the CMOS or BIOS battery.

    Many computers, this battery is an inexpensive CR2032 button available in almost every pharmacy corner.  There are, however, some computers (especially laptops) that require a different (and probably more expensive) battery.

    Whatever the expense, almost all of these batteries are easy to replace.

    To get help, post back with the brand and model of your computer.

  • Problems with the data connection

    Hello
    I bought a Z3 Compact Xperia on December 10, 2014. I live in Italy and I use Vodafone as my everyday.
    I got a SIM card replacement nano with LtE capabilities just to get the phone in the new fast network. The problem I encounter is that, since on January 13, 2015, I had some problems with the data in mode 3 G connection.
    So far, I used my phone normally, then I tried to send a text message with WhatsApp and phone stuck with the clock icon in the lower corner of the bubble of the message. I thought it was a temporary network problem but I'm not sure about this.
    I live in a small town where the coverage is really good, either in 3G and LTE. I tend to use the 3G because it uses less battery and it does not affect my 4G data plan.
    Th issue, it's that if I do a speedtest when I feel that network glitch I have a ping, but with very good download speeds up to 2000ms.
    The problem is that I believe that this is not a network problem because my mother has a phone HtC One S and runs vodafone without problem even when I'm having the glitch.
    I tried to reset the phone to factory settings, but it did not help.
    In LTE / 4G I do not experience this issue. In fact, I think if there is problem need a phone related software because the antenna works very well.
    If it doesn't I'll try to contact ad Vodsfone then I'll send my phone for the helpdesk if Vodafone tell me that the question is not on their network.

    Thanks in advance for your help.
    Simone

    It's pretty strange, double check the APN settings and contact EE in this regard.

  • Problem with the DATA types, in a UNION

    Hello
    I m trying to disply a custom message when no data found using the structure below. Unfortunately I ve you have a problem with the data types I im trying to union
    I tried different types of data in the 2nd SELECTION tool but the rest of the problem. Help, please.

    SELECT HOSP_NAME 'HOSPITAL' DOC_SUR 'NAME', 'NAME' DOC_NAME, d.DOC_ID ID, diagnosis
    H., DOCTOR d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1

    UNION ALL

    SELECT TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), 0
    OF THE DOUBLE
    If NOT EXISTS (HOSP_NAME 'HOSPITAL' 'NAME' 'NAME' DOC_NAME DOC_SUR, d.DOC_ID ID, diagnosis
    OF ΝΟΣΟΚΟΜΕΙΟ h, ΙΑΤΡΟΣ d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1);


    ORA-01790: expression must have same type of data, matching expression
    01790 00000 - "expression must have the same type of data, matching expression.

    DOC_SUR 'NAME' DOC_NAME 'NAME', ID d.DOC_ID, HOSP_NAME "HOSPITAL", diagnosis

    What is the data type for these columns

    To_char('test'), to_char ('test'), to_char ('test'), to_char ('test'), 0

    What you're doing here 'test' is already a character. Why do you use TO_CHAR?

  • problems with the date picker

    I found some problems with the date picker to make my first presentation of object BPM.

    I created a group with a datetimestamp it contains. When I click on it in run mode, it will bring a new tab in the browser. This behavior is different from that of a date picker outside a group where there just a small javascript popup.

    Anyway around this problem?

    Also, would be nice if could be set by default to the current date. is there a way to who?

    For the component "time" it seems impossible to define the default value - at least on the tab object structure.

    Thank you

    Try to set the property "DHTML" to control date Yes. This option is under the Properties tab-> the calendar section. This will force it to use the popup javascript on screen instead of opening a new browser window/tab.

    To set a default value for a date/time, you can simply set the value in the constructor of the BPM object in which the property is located.

  • Problems with the date in the procedure on Oracle 11 g

    Hi gurus,

    I have some problems with the date under Oracle 11 g format.

    Let me explain the situation:

    When I start such a request
    Select to_number (to_char (to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'))
    of sys.dual

    I had as a result 2009 under the number.

    When I do the same thing in a procedure of a package like this

    my_year: = to_number (to_char (to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'));

    the my_year variable contains the value 9 instead of 2009.

    Can someone explain to me what goes wrong?

    I just tested with the evolution of the variable nls_date_format of environment for the session and the database is complete without success.

    Kind regards
    Björn

    Yes, it has everything to do with your environment settings.

    SQL> set serveroutput on;
    SQL>
    SQL> declare
      2    my_date date;
      3    my_zeitstempel varchar2(32767);
      4    my_tageswechsel float;
      5  begin
      6    my_zeitstempel := '01.03.1998 07:00';
      7    my_tageswechsel := .25;
      8    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
      9    dbms_output.put_line( my_date);
     10  end;
     11  /
    01-MAR-98
    
    PL/SQL procedure successfully completed.
    
    SQL> alter session set nls_date_format = 'dd.mm.yyyy hh24:mi:ss'
      2  /
    
    Session altered.
    
    SQL> declare
      2    my_date date;
      3    my_zeitstempel varchar2(32767);
      4    my_tageswechsel float;
      5  begin
      6    my_zeitstempel := '01.03.1998 07:00';
      7    my_tageswechsel := .25;
      8    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
      9    dbms_output.put_line( my_date);
     10  end;
     11  /
    01.03.1998 07:00:00
    
    PL/SQL procedure successfully completed.
    
  • 5 d Classic - problems with the Date of creation on the files

    I use Bridge CS5 v 4.1.0.54 and am having a problem with my 5 d classic, where some of my photos are dated correctly, and then some are dated as 11 hours later. They were all kick the same camera and same lens (no), a few seconds apart. Date information only appear to be incorrect in Bridge and are therefore sorted incorrectly, making it difficult for the workflow. However, I still have the pictures on my camera, so I took the CF card and examine its contents in Windows. In this case, all dates seem to match and be consistent. I posted in other forums, and most have suggested that there is probably a problem with Bridge, ACR, or Photoshop.

    I have provided links below for an example of images with different info Date created by bridge and then the correct information of the Date of creation in Windows when you view them on the map see

    I saw cela in at least two different scenarios recently. Haven't looked through all of my recent photos still to say whether or not it's got more than that.

    Any help would be appreciated.

    Thank you

    Jamie

    -Adobe http://www.jamiegphotography.com/portals/0/images/datecompare.jpg

    -Windows http://www.jamiegphotography.com/portals/0/images/PhotosWindows.jpg

    Have seen the problem before.  Two things to try.

    1. empty the cache in the folder with the bad weather (Tools/cache/purge cache folder xxxx).

    2. read this link http://forums.adobe.com/thread/854763.  The guy is from Austrialia and concluded that, after a certain time bridge labled it the next day.  Where are you from?

  • Problems with the data store when installting ESXi USB

    I had problems getting free ESXi reliable running.  I am able to install a flash drive fine and initially everything works and I am able to create virtual machines.  Upon the first connection to vSphere, told me that there is no data store, so I create one on my controller LSI 400 GB RAID1 8308elp without problem.  However, once I reboot the server ESXi I lose the data store.  When I check my warehouses under Configuration it is listed.  At this point, if I try to create the data store, yet once I get "Error during the configuration of the host".  I read about using fdisk from the console when people have had this problem but there is no access console in the free version.  Is that what I can do to work around this problem?

    Right in the HCL... SAS/SATA-RAID of the lists for older versions, SCSI for the current version... Search within i/o devices for "LSI 8308elp '...

    VMware VCP4

    Review the allocation of points for "useful" or "right" answers.

  • Problems with the data merge

    I created a file in excel with 966 lines all in column A. I have saved as a txt file and created an Indesign document with 966 pages.

    In the InDesign file, I put in place a text box with the font and size, I wanted then he centered in the document. When I do the merging of data in the master page shows only the text of row 2 in every single text box on each page.

    I tried searching and tried the other boxes and do not master pages. Why can't I get my text to display in the order in all pages?

    If I send someone with screenshots or call someone for a step by step which would be very useful.

    Thank you

    Peter

    Line 2 is selected, because the first row should be used as a header that describes the content.

    With regard to the merger itself, you have no need create a 966-page document. Create a document 1 page with your domain in place, and then perform the merge. InD will create automatically 966 pages, or as many as it takes to use all the data. If you want all in the same document, I wouldn't put the merge field in the master page, but on the page of the document instead.

  • Problem with the date and update form (show 1970-01-01)

    Hi, I have an update form (php/mysql) with several date entry field. When my date is 000-00-00 I show 1970-01-01. Why?

    This is the code:

    label for = "data_chiusura" > < strong > data chiusura < facilities > < / label >

    < input type = "text" name = "Data_chiusura" value = "<?" PHP echo $string = $row_Recordset1 ["data_chiusura"];

    If ($string = ' 0000-00-00') {}

    $string = ";

    } else {}

    $string = date ("d-m-Y", strtotime ($string));

    } ; ? ">" id = "Data_chiusura" >

    Thank you

    k

    Try this-

    "id ="Data_chiusura">"

  • Terrible problem with the dates and time UTC

    I have a countdown, but he seems to not work in other time zones. I think that the problem is related to my conversion to time UTC. If the end date is in UTC, so I have to convert the date now time UTC, too, but I couldn't find a way to do it. Here is my code - count is off because the end date is in UTC, but today's date is in local time. I could really use some quick help (before my end date can't!).

    Well, I have a solution, and it was much easier that it seemed to be.

    All the asp file has to say is:
    <%response.write FormatDateTime(now(),0)%>

    Then the as3 code is:

  • Problem with the date when you load the XML file into Oracle Database 10g

    Hi all

    I have the interface as shown in the screenshot below. In this document, among other things, I am mapping to an element XML file representing a date to an Oracle table column defined as DATE. The source and target columns are highlighted in the screenshot.

    ! http://img223.imageshack.us/img223/1565/odiscr275.jpg!

    When I run the interface, I get the following error message:

    java.lang.IllegalArgumentException to java.sql.Date.valueOf(Date.java:103)

    I guess that this is the conversion of the date!

    I already tried to replace SRC_TRADES. DEAL_DATE with TO_DATE (SRC_TRADES. DEAL_DATE, ' DD/MM/YYYY') on the implementation tab. This feature was not recognized when I executed the interface, so it did not work! The value of date in the XML file is in the format DD/MM/YYYY .

    I guess that Date SQL Oracle functions do not work in the implementation tab. Could someone let me know:

    1. what the Date Conversion function I could use instead?
    2. where can I find a reference to the methods/functions that I use in the implementation tab (if such a reference exists)?

    See you soon.

    James

    Hello.

    Try changing the area of execution at the staging area. Once you change it, write in the map box just SRC_TRADERS. DEAL_DATE. When you use TO_DATE, the source field typu should be varchar2, no date (as it is in store for your data source)

  • Problem with the data in the TileList component

    Hello

    I can't understand why my TileList does not display the data.

    TileList:

    <mx:TileList id="bookList" 
                 itemRenderer="UIcomp.itemRenderers.bookInTilelist" 
                 dataProvider="{booksArrColl}">
    </mx:TileList>
    

    My dataProvider:

    <mx:ArrayCollection id="booksArrColl" 
                        source="{getAllBooks.lastResult.books.book}" 
                        filterFunction="filterFunc" />
    

    When getAllBooks.lastResult.books.book is directly using TileList data provider, everything is ok. But I need this ArrayCollection collection due to filtering.

    How can I solve it...?

    Thank you very much

    Justyna

    Try using an XMLListCollection not an ArrayCollection collection.

    If this post answers your question or assistance, please mark it as such.

  • Problem with the Date Max filter in the mapping

    Hello

    I tried to put a filter on my mapping as mentioned below: -.

    TABLE_SOURCE. DATE > (SELECT NVL (MAX (DATE),'' 01-JAN-1900) OF TARGET_TABLE)

    I get the below mentioned, error in ODI 12 c performance: -.

    Aggregate expression is in the filter, but no aggregate expression in the select list of the query for target: TARGET_TABLE

    All I'm doing is making sure we receive only new records from the source. When I remove the NVL of the query, it works!

    Please help me solve the problem.

    Thank you and best regards,

    PV

    Hello

    Write your Condition of filter in this way:

    SRC_DATE > NVL ((select max (TRG_DATE) in TARGET_TABLE), January 1, 1900 "")



  • Problem with the Data Source

    Hello

    JDeveloper 11.1.1.6

    I am facing some problems associated with data controls. Here's my number; I'm trying to pass a parameter to a taskflow appearing as a region on the my home page. Once I click on an image in my taskflow, I want to pass the id of the image to my main page using contextual events (it worth?). However, I need to create a my bean datacontrol to expose a method in the link which is triggered once I click it. But I can't create my datacontrol because I get this error:

    Error: Multiple versions of com/DataControls.dcx appear in your managed project classpath. Check dependencies associated with project: .../model/classes/ and .../Portal/classes/

    Any other approach would be nice to hear.

    Concerning

    Several versions of com/DataControls.dcx appear in your managed project classpath. Check dependencies associated with project: .../model/classes/ and .../Portal/classes/

    You are actually looking for the project for the DataControls.dcx in the paths specified? Ideally, there should not be a DataControls.dcx in your template project.

Maybe you are looking for