LabView - Afficher l'heure et la date en abscisse d'un graphe xy

Bonjour,
Je souhaiterais afficher l'heure et la date du système abscisse d'un graphe xy. Ce graphe affiche 6 courbes différentes en temps réel. J'ai essayé l'option "Temps abolu" et "Temps relatif" dans Format d'affichage mais c'est pas cela que je souhaite. J'ai aussi essayé ce que l'on a proposé à une autre personne sur le forum à l'adresse suivante :
http://forums.ni.com/t5/Discussions-de-produit-de-NI/afficher-sur-un-graphe-XY-des-donn%C3%A9es-dont... mais en vain.
Ce sujet s'apparente à un autre sujet que j'ai déjà posté pour le même programme
http://forums.ni.com/t5/Discussions-de-produit-de-NI/LabView-Enregistrer-dans-un-fichier-les-donn%C3...
Je reposte quand même le VI.
J'espère que vous aurez une solution à me proposer.
Cordialement, Frédérick.
Pièces jointes :
Projet station météo.vi ‏2225 KB

Bonjour,
comme la dernière fois, c'est exactement ce que je souhaitais, et qui plus est, cela fonctionne parfaitement. Par contre, à la sortie de mon registre à décalage, j'ajoute les différentes valeurs à un tableau que j'enregistre par la suite sur un fichier texte, comment je pourrais faire pour que ce soit la date et l'heure qui s'enregistre dans mon fichier et non pas le nombre de secondes qui s'est écoulé depuis le 1 Janvier 1904?
Je te joins un imprime écran de mon VI pour que tu y vois plus clair.
Encore un grand merci pour l'aide et la rapidité.
Cordialement, Frédérick.
Pièces jointes :
VI.PNG ‏106 KB

Similar Messages

  • Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?

    Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?

    List and table controls -> listbox..is that what you are thinking of?
    The listbox presents the user with a list of options, and you can set it to only accept one selection at a time...Adding new data to the list can not be done directly by the user but if you make e.g. a text control and a button you can programatically insert new objects described in the text box when the button is pressed...(see example).
    If you need more than one column you have the multicolumn listbox. If you want the users to write new entries directly yu can use a table and read selected cells using it's selection start property to read what cell has been selected.
    MTO
    Attachments:
    Listbox_example.vi ‏34 KB

  • Pb labview 2009 Number and string store data in file

    Hi,
    I m using labview 2009 in order to save data from instruments of mesure. My program generate Charts of string data that i would like to store in a file of table data. But when i read the file i don't see the digit after the digital point. So i forgot a part of the information which are very important for me.
    Futurmore before the instalation of labview 2OO9 the program was ok with labview 8.5;
    What can i do to solve this problem?
    Have any modification with labview 2009?
    Thanks in advance for your answer.
    Attachments:
    Image12.png ‏24 KB

    HI,
    In attachment file you will find the data before the saving operation in data file.
    We see in the file after the result. We have forgot all data after the decimal point, so we forgot a part of infortion that are very important in my application.
    Thanks in advance for your help
    Marc
    Attachments:
    AFTER.txt ‏1 KB
    before.txt ‏1 KB

  • Problem of security using ADO from Labview to connect to Access 2000 Data Base

    I have a problem using ADO from Labview to connect to Access 2000 Data Base.
    First I open a ADO_DB_Engine and create a Workspace as an ODBCDirect. After I execute the open_data_base using the workspace. Here you can specify the parameter connect with /type of connection / user / password.
    The problem is the following:
    Although you configure a password for the Administrator user in Access, you can read/writte to data base from Labview using ADO without any security and without putting the user and password in the parameter connect. I need to access with security to data base using users and permissions but it seems that the parameter connect does not operate.
    I attach
    you a example of the vis and database. Remember create a ODBC connect with BD3.mdb
    Thanks a lot
    Peter Mst
    Attachments:
    SECURITY.zip ‏70 KB
    BD3.mdb ‏112 KB

    Hi Kahn,
    If you use ADODB_connection -> Connection.Open and set in connection string :
    "Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDBystem Database=c:\.....\Protegida5.mdw; Password=pepe;user ID=jose; Data Source:c:\......\BD5.mdb";
    and after connection.execute ->
    INSERT INTO tabla1 VALUES (5,'XXX'
    you will be able to access to the database with security using the provider=Microsoft.Jet.OLEDB.4.0. With this provider you have to use the path and the name of the database file c:\.....\mdb file. From this way the problem is solved. (SEE SAMPLE_ADO_W2_JET.VI).
    BD5.mdb have the following administrator user: user:jose / passwordepe (Protegida5.mdw)
    The problem is when you want to
    use ODBC and DSN. The name of this ODBC Provider is MSDASQL;. If you use this type of connection you can not enter to the database I attach you.
    This database has a new administrator owner. I deleted the default administrator. If you support the default administrator you can connect to database by ODBC / DSN but the security disappear because you can always enter to database with any password, user o PC.
    FINALLY I HAVE 3 QUESTIONS FOR Application Engineers of National Instruments or someone who knows these subjects before deciding the best way to connect locally o remotely with security to Access from Labview:
    1.- Is it possible to enter to Database BD5.mdb from ODBC and DSN with this owner?
    2.- I want to connect remotely to Access database too. Is it possible to use Microsoft.Jet.OLEDB.4.0 using the path (.mdb file) without DSN?
    3. Which is the optimal Provider for Microsoft Access?
    I thank you beforehand for your technical support.
    Peter Mst.
    Attachments:
    BD5.mdb ‏116 KB
    Protegida5.mdw ‏112 KB
    sample_ADO_W2_JET.vi ‏45 KB

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • How to print very long data series (wrap multiple XY graphs)

    I'm working a data logger project where each file usually contains 5 - 10 minutes of data but sometimes may go up to 3 hours +. The customer needs the ability to print out all of the acquired data in XY charts.
    If the amount of data recorded exceeds 15 minutes, printing all of the data on a single chart is not an option (granularity) so they want to print as many 15 minute chunks as necessary to cover the entire range. Ideally, they want to print out two 15 minute graphs stacked on top of each other on a landscape page. I can split the data into chunks (that's the easy part) but I need a way to create an arbitrary number of XY graphs and format/size them for mult-page print out (2 per page).
    I'm looking for some ideas on how to solve this problem - any ideas are welcome as long as they involve LabVIEW and maybe Excel because it needs to be something i can integrate into the application. I can't use offline post-processing like Diadem in this situation.
    Philip
    CLD

    Philip,
    I would probably create one VI with two graphs formatted for printing. Then loop through the data, write segments to the graphs, print, repeat until all data is printed.  This method allows one very simple VI to present the data for printing and allows the user control over what is printed via the calling VI. For example if they decided that 10-minute graphs were better for certain data sets than 15-minute graphs, all the calling VI needs to do is change the amount of data written to the graphs.
    Write the data to a file to protect the data in the event of power failures or other unplanned events. Read it back to print if there may be too much data to keep in memory.
    Lynn

  • Saved VI file size changes when data is visible on a graph but not the default value

    If a VI is saved when data is visible on a graph, the file size is larger; even though the default is set to be a blank graph.  I have tested this in LabVIEW 8.6 and 2009.  If you load the larger file, the graph is blank as expected.  If this behavior is by design, it appears odd to me.
    To duplicate the issue:
    Create a blank VI.
    Add a Sine Waveform VI and set the number of samples to 1,000,000.
    Add a Waveform Graph VI that spans the entire monitor and connect it to the output of the Sine Waveform VI.
    Save the VI and note the file size.
    Run the VI.
    Save the VI and compare the size to the original size.
    The VI file size is larger.
    In the Waveform Graph, select “Reinitialize to default value.
    The VI file size returns to It’s original size.

    Your obeservation is correct, and expected behavior.
    This behavior is useful when you have inputs that you would like to set as defaults for the user.
    Obviously, if there is a value to be saved, it will require some memory to store the value.
    If the input is left empty by default, that memory is made available again.
    It may not be easy to think of a good use for this for a graph, but think about for numeric or string controls.
    What if the user isnt sure how they should input a certain parameter or value?
    You could store a default value so they could see how they should input their value.
    Message Edited by Cory K on 09-15-2009 11:12 AM
    Cory K

  • How to present vibration data in G vs Hz Graph?

    Hi all,
    I'm using NI9233 to acquire the vibration data in X,Y & Z direction. I need to present these data in G vs Hz Graph. From the graph I need to pick up the value of the highest peak value in G and Hz. Btw, I also need to save the graph waveform every time I run my VI for different direction (X,Y,Z). Anyone can help me solving this problem?
    Thank you.

    Hi Ivan99,
    You can create an acceleration task in Measurement and Automation Explorer (MAX) for your NI 9233 and scale it appropriately
    to get your data in Gs.  To create the task, open up MAX and right click Data Neighborhood then select Create New » NI DAQmx Task » Acquire Signal» Analog Input » Acceleration.   Assuming you are using LabVIEW, you can use an Array Max & Min VI to extract the maximum value in a given data set.  When you say you want to save the waveform every time you run your VI, would you like to save your data or the graph itself.
     If you have never used DAQmx or LabVIEW to acquire data, I would recommend the Complete DAQ Tutorial as a starting point.  I hope this helps. 
    Best Regards
    Hani R.
    Applications Engineer
    National Instruments

  • Print XY Graph with 600000 data without taking Snapshot of graph

    Hi 
       I want to print a XY Graph with more than 600000 data with word format but the graph shouldn't be the snapshot can any body suggest please 

    A couple points:
    First, just because the data you send to a graph has 600,000 datapoints in it, that doesn't mean that you will see 600,000 values in your graph. Unless you are using a monitor the size of a house, the graph won't have nearly enough resolution to show all the data. The data will get decimated down to the resolution that is available on the graph. If you don't do it, the graph will.
    Second, what do you mean that it shouldn't be a "snapshot"?
    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

  • In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    yes.
    To hide rows (or columns), select the rows (or columns), then right click in the row (or column) tab to expose the contextual menu.  Select the menu item "Hide ..."

  • Date on X axis in graph

    In which type of graph I could get date on X axis in graph other than line and bar. My graph has date in x axis and aggregate in y axis and a bubble in z axis which graph will support it.

    this is to john
    when drag and drop gantt>resource utilzation
    i try use some date to display gantt but throws error.
    so my question.? can we use date in gantt>resource utilzation.
    if i remove date. it looks fine.

  • Data Point Symbol in Line Graph  - can you change the size?

    I would like to change the Data Point Symbols in line graphs - if not the actual symbol it would be wonderful to be able to change the size of the symbols provided.
    At present, if there is a lot of data in the graph, the symbols are too big and crowd one another.
    I know that one can reduce the line size but that doesn't change the symbol size.
    Help please.

    If I understand your question, this from the Pages online help may give the answer:
    To mark line, area, and scatter charts with data point symbols:
    Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
    Click Inspector in the toolbar, and then click the Chart Inspector button.
    Click Series (except for scatter charts).
    Choose a symbol from the Data Point Symbol pop-up menu.
    Choose one of the following options from the Symbol Fill pop-up menu:
    To fill the symbol with the same color as its outline, choose Use Stroke Color.
    To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
    To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
    To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
    To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button.

  • How to display the same data simultaneously on both a graph and a table.

    I am a beginner.
    I would like to display a reference line(?) on dvt:graph
    whenever a row is selected on the related af:table.
    I would like to show the same data,
    simultaneously on both a graph and a table.
    Is it possible?
    I hope for a good hint. ^-^...

    Hi,
    yes. It depends on how the reference line is getting its data. If e.g you can use EL to bind it to ADF bindings then attribute bindings for attributes of the iterator that also renders the table are enough to get the current selection.
    If this is not possible you can follow http://thepeninsulasedge.com/frank_nimphius/2007/07/02/adf-faces-rc-programmatically-executing-a-button-method-using-javascript/ and create a selection listener for the table to programmatically manipulate the graph
    Frank

  • "Copy data" fails to copy entire graph image

    Formerly "Copy Data" when right clicked would copy a graph together with the data for pasting as an image file into other applications.
    I have an application that used to work fine like this but now if you "Copy Data" you only get the graph background, grid, axis, etc. No plot lines.
    A graph which does copy correctly in a sub VI if running stand alone (not in the main VI), will not copy correctly when running from the main VI.
    Export Simplified image works and preserves the data plot, but fails to preserve the same graphical look to the plot, so is not desired for this use.
    Running 8.2.1. Many different development versions of this application had working "Copy Data" for months, so its a new occurance. Problem occurs in multiple office apps: Word, PPT, Paint, and on multple computers. Occurs on both development version and executables built in 8.2.1

    I am having similar problem. Using "copy data" gives only a blank background. See attachment; export simplified image options works but copy data option does not. I am usiing LV 2009 SP1. Any help will be highly appreciated.
    Attachments:
    copy data.JPG ‏34 KB
    export simplified image.JPG ‏70 KB

  • Afficher les heures dans un graphe

    Bonjour,
    je suis un débutant dans labview, et j'ai un probleme.
    mon vi ouvre un fichier csv et il lit plusieurs données comme l'heure, la température..
    je dois afficher dans un graphe la temperature, l'irradiation par rapport a l'heure, mais le problème que j'ai c'est que l'heure ne s'affiche pas de la meme facon que le fichier csv.
    comment dois je faire pour résoudre le problème?
    merci d'avance
    NB: le vi et le fichier csv est pièce jointes
    Pièces jointes :
    Projet_Labview3.vi ‏213 KB
    2011-03-13.csv ‏27 KB

    Bonjour,
    Tu peux utiliser cet exemple qui convertit une date en format string au format Time Stamp : http://decibel.ni.com/content/docs/DOC-4501
    Cordialement,
    Benjamin

Maybe you are looking for

  • Export data to Excel

    Hello All,             I am trying to export data to Excel from a report output. Its a simple report. I have tried the below FM CALL FUNCTION 'RH_START_EXCEL_WITH_DATA' EXPORTING   DATA_FILENAME             =   DATA_PATH_FLAG            = 'W'   DATA_

  • Efficient way to use TAB item

    Most ofter, we are using TAB item cat for our order, one so map to one po, it is the simplest scenario, but sometime, we have inventory, we would like to use the in ventory first, then issue po to purchase item. I should said, I want to item check th

  • HT4623 I am having problem connecting my iphone to the computer can you help?

    I have tried to up date my iphone but now it does not recognize the devise. i am stuck in the middle of the update and cannot use the phone. can you help me restart it?

  • JDev app wizard unable to see public synonyms

    When running through reverse engineering to create middle-tier entities/views/assoc/links, the wizard was unable to give me the option of choosing from among public synonyms. I checked under SYSTEM, SYS users but the synonyms I wanted did not appear.

  • Report on Opportunity Close date forecast Quarters

    Hi, we have created a custom report with fields from the Forecast section in Reporting including the Opportunity close date, and under the 'Close Date' we have put the Fiscal Quarter. However it is coming out wrong in some cases, so i added the 'Date