Graph from file. DImension problem

Hello. I have a problem drawing an XY graph from file. I managed to plot one graph, but I need 3 graphs plotted on one XY graph.I have 4 txt files with 1D arrays (just one column) of data. 1st: only X values, the rest 3 are Y values. Could you please answer what is the mistake in my block diagram and how to solve it?
Solved!
Go to Solution.
Attachments:
graph.png ‏14 KB

For new users it's sometimes confusing that Array Subset always returns the same type of array as the input, even though you may be selecting a range that amounts to a row or a column. This has been a source of confusion for new users from day one, so don't feel too bad. 
You should also provide path controls with actual paths set for the Read From Spreadsheet File VIs. As it is, with no path wired to them the Read From Spreadsheet File VI will prompt you. Since there is no data dependency on the individual instances you won't know which one it's asking for first. It may not matter in your specific case, but you should not make something that's ambiguous.

Similar Messages

  • How to Add points on graph from a text File ?

    Hello and Good Morning to all,
    I have a text file with my data and i read them by using the Read From Spreadsheet File VI,i enter the path where my file is saved,read all rows delete the first row because i don't need it and my problem is that in the text folder i have specified date and time which i want to be my X axis in my Graph and Y axis to be the Vout that means i have to use a XY Graph ,below you can see my data:
    Date        time              Vout  
    3-9-2012 7:45:37            2,35
    3-9-2012 7:45:39            2,75
    3-9-2012 7:45:41            3,15
    3-9-2012 7:45:43            3,50
    1) Is the text file format compatible with the input of the graph command?
    I do not find a LabVIEW function which convert the “date” from the text file (example:3/09/2012 07:45:37) into a compatible format for X axis for the graph.
    (Conversion from string format => into a “date and time” format)
    Can someone please provide a code solution for this problem?

    Hi gstathatos,
                             See all the threads given below:-
                             http://forums.ni.com/t5/LabVIEW/Add-points-on-XY-graph-with-time-step-not-constant/td-p/1507066
                             http://forums.ni.com/t5/LabVIEW/Add-points-on-graph-from-a-text-File-Date-and-time-include-in/td-p/1...
                             http://forums.ni.com/t5/LabVIEW/read-double-waveform-text-file-and-and-plot-graph-in-labview/td-p/10...
    Thanks as kudos only

  • Data File-- atleast one member from each dimension is it mandatory??

    Is it mandatory to have atleast one member each dimension in the data file that is used for loading into the Cube?If we leave one member from a dimension is it going to create a problem?So, If I want to load with different data files for different members of measures & is there any way to avoid extraneous member ( from one Dimension, the reason is cuz there are 2 dimensions out of which one may need not be actually included in the text file ) in the data file??Your views about this will be appreciated!!Thanks

    In a load rule file, you can create something called a header - which can be used to specify member(s) that do not appear in the data file.To specify a header, choose Options / Data Load Settings / Header Definition. The caveat is that you can only choose one member from the missing dimension - you cannot specify multiple members from the same dimension. If that is the case, then the members will have to be in the data file.Regards,Jade---------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Time Stamp format from file problem

    Hey there,
    I have a pretty peculiar problem. I'm working on two PCs right now, one is my private laptop running on Windows 8, and the other one the PC at my workplace, running on Windows XP, but on the same version of LabVIEW. I use this method to save the time and date to a tab delimited .txt file. Then later, with another VI, I read the date and time written to file to reconstruct the time stamp. I've noticed that dates written to file from my workplace differ from the dates written from my private PC: in Windows XP, there are "-" separating the day, month and year. In Windows 8, it's "/". There are other differences (see pictures). So naturally, when reading from file using my VI, I can only read on my private PC files (or at least dates) written on my private PC and vice versa, I can't read files written on my private PC on my workplace PC. Can anybody tell me why there's a difference in format, or how to write the date uniformly so I can read it on any PC, or how to read both formats?
    So this is the method I use for writing the time and date (the subVI only inserts a certain number of TAB characters).
    This is what it looks like on Windows 8
    This is what it looks like on Windows XP
    This is the VI (attached) I use to read the time stamps (the first row actually contains the time stamp in HH:MM: SS format for a whole bunch of measurements).
    Have a nice day.
    Solved!
    Go to Solution.
    Attachments:
    Extract Time Stamps.vi ‏22 KB

    I would suggest using the ISO-8601 UTC format.
    The only limitation is that the string value is in reference to GMT.
    The conversion of the string back to a timestamp will present the date/time on your front panel indicator as local time.
    https://lavag.org/topic/15034-timestamp-support-for-format-into-string-scan-variant-from-string-stri...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • -- A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system using window 7  IE 11

    A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system
    USING WINDOW 7  IE 11  HOW CAN I FIX???

    Try downloading the offline installers:
    Adobe Reader
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI

  • Help! Problem with reading objects from file

    I wrote a "Library" program for an assignment, and one of the requirements is that the library store all of its information to file upon exit, and reload this information from file when run.
    Well, the writing to file part is working. I'm using a FileOutputStream object and an ObjectOutputStream object. I can tell from the file size of the .dat file that information is going into it.
    But what I can't do is read from file. For that, I'm using a FileInputStream and an ObjectInputStream. I keep getting this exception:
    java.io.EOFException
         at java.io.DataInputStream.readInt(Unknown Source)
         at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)
         at java.io.ObjectInputStream.readInt(Unknown Source)
         at Library.readDataFromFile(Library.java:350)
         at Library.<init>(Library.java:63)
         at LibraryDriver.main(LibraryDriver.java:6)I looked this exception up and it says it's thrown when a data input stream unexpectedly ends....But I am instantiating the input streams just before I try to read from file:
                            fileInStream = new FileInputStream(libraryFile);
                   objInStream = new ObjectInputStream(fileInStream);
                   Object[] objectArray = new Object[objInStream.readInt()];Both input streams have methods that "return the number of bytes that can be read from this file input stream without blocking". Just for kicks, I tried writing that number to the console.
    For the FileInputStream, I get 404 bytes.
    For the ObjectInputStream, I get 0 bytes.
    So I guess it's a problem with the ObjectInputStream? Anyone have any suggestions as to how I can fix this, please?

    Yep, here's the relevant code from the writeToFile() method:
                          for (int i = 0; i < libraryAuthors.length; i++) {
                        currentAlphaAuthorList = libraryAuthors;
                        for (int j = 0; j < currentAlphaAuthorList.size(); j++) {
                             currentAuthor = (Author) currentAlphaAuthorList.get(j);
                             objOutStream.writeObject(currentAuthor);
                   objOutStream.flush();
                   objOutStream.close();

  • Problems with load DSO from file

    I am working with BI 7.0.
    I am loading data from file to DSO and my problem is that data is not active in my DSO, the data are loaded how New Data and I haven´t the data in query and DSO.
    The settings of my dso are:
    Type: standard
    SIDs Generation upon Activation: X
    Set Quality Status to 'OK' Automatically: X
    Activate Data Automatically: X
    I have created one transformation from datasource to DSO and one DTP that extract from datasource ( No PSA).
    When I execute the DTP there aren´t errors, the status is green and ok but the data is not active.
    If I try activate the data manually the job is launched but the data no active.
    Thanks.

    hai
    Isabel Bautista 
    u r saying the data is not active in dso and also u r loading the data from file directly( no psa).
               i think u know in B.I the data should be in psa then only u can load the data using DTP .so how can u load the data with out data in psa  .i thinks may be because of this u r data is not activating in dso
    if it helps
    assign some points ok

  • Can load image from file using LabVIEW and display on IMAQ graph?

    I dont have IMAQ Vision for LabVIEW on my computer. Is it possible to load image file and display on an IMAQ graph?
    Thanks!

    Hey werwr,
    In response to: "I dont have IMAQ Vision for LabVIEW on my computer. Is it possible to load image file and display on an IMAQ graph?"
    As of right now, in order to read an image from file, you actually do need the IMAQ Vision software. The IMAQ driver without the Vision VI's will allow you to collect images from a framegrabber, and it will allow you to save those images to file. But the function that allows you to read an image from file does require the Vision VI's. Once you have the VI to read images from a file, you will be able to display the image on an IMAQ "Graph" or otherwise known as an Image Display.
    I hope this helps. Please let me know if you have any further questions.
    Thanks,
    DJ
    Applications Engineer
    National Instruments

  • Problem copying text with graphs from web pages

    I can't copy text+graph from webpages. Copying into Pages or Microsoft Word for Mac, the text is copied the graphs are not. (With Firefox, I can't even copy text!)
    I have Parallels, and on the Microsoft side I have no problem copying both text and graphs simultaneously.
    Could you, please, advice

    Thanks.It works-sort of. I can copy into TextEdit without problems. This is probably the solution by itself because I can save it. Copying into Words (from TextEdit) didn't work. Copying into Pages partially works: the graphs are reproduced but the layout comes out funny.
    Thank you

  • Creating Player Problem from file with unknown content

    Hi,
    I need to create Player from video file with unknown content ie. from file "test.dat"
    try{
    MediaLocator ml = new MediaLocator(new URL("file:///D:/test.dat"));
    Player p = Manager.createPlayer(ml);
    catch(NoPlayerException npe){}
    catch(MalformedURLException mUe){}
    catch(IOException ioe){}
    throws NoPlayerException
    Pleeeease Help!!!

    I think it should be : "file:D:/test.dat" But i do believe that it will not work with a .dat file...

  • How to insert data from file into matlab script node

    I have interfaced input data from file to be processed using matlab script node. But the problem is that I could not capture the multiple data into matlab script node and to convert it into matrix. Further to this I need to process the data by plotting graphs from it. Thank you in advance for the advice

    Zarina,
    To clarify your problem, you have a script node contaning your Matlab code. Are you then using the standard LV functions to load in your data from a file and pass it into the script node?
    Regards
    Tristan

  • Can't load thumbnail photo from file 'BBThumbs.dat'

    Hi everybody,
    I'm developing an application on BB to take and view photo. My problem is can't load the thumbnail photos from file 'BBThumbs.dat'. I'm using code as below:
    public byte[] getThumb(String fileName) {
    String DB = fileName.substring(0, fileName.lastIndexOf('/'))
    + "/BBThumbs.dat";
    fileName = fileName.substring(fileName.lastIndexOf('/') + 1, fileName
    .length());
    if (thumbsMap == null) {
    thumbsMap = new Hashtable();
    byte b[] = null;
    FileConnection fc = null;
    InputStream in = null;
    try {
    fc = (FileConnection) Connector.open(DB, Connector.READ);
    if (!fc.exists()) {
    return null;
    byte[] temp=new byte[(int)fc.fileSize()];
    in = fc.openInputStream();
    DataInputStream is=new DataInputStream(in);
    // b = getThumbNail(first, thumbsMap, fileName, in);
    is.readFully(temp);
    b=readThumbs(temp, fileName);
    } catch (Exception e) {
    } finally {
    if (fc != null) {
    try {
    fc.close();
    } catch (Exception e) {
    if (in != null) {
    try {
    in.close();
    } catch (Exception e) {
    return b;
    please give my any idea or suggestions. Thanks 

    Try:
    !Section=Dimensions
    'Name;DimensionClass;DimensionAlias;CustomDimensionID
    SKU;Generic;;
    !Members=SKU
    'Name;DataType
    Brand1;Unspecified
    Brand2;Unspecified
    !Hierarchies=SKU
    'Parent;Child;DataStorage
    #root;Brand1;StoreData
    #root;Brand2;StoreData
    Tho I would add MemberValidForPlan#;Plan#Aggregation, where # is a number of your application which this member is valid for or even has a specific aggregation, as well
    example:
    !Hierarchies=SKU
    'Parent;Child;DataStorage;MemberValidForPlan1;MemberValidForPlan2;MemberValidForPlan3;Plan1Aggregation;Plan2Aggregation;Plan3Aggregation;UDA
    #root;Brand1;StoreData;Y;Y;Y;+;+;+;
    #root;Brand2;StoreData;Y;Y;Y;+;+;+;
    Even more as an idea use pipes, maybe.
    But you will need to say something about Aliases as well if this is a planning application.

  • Read from file and plot data against timestamp

    Hello,
    I know that there are already many posts regarding the question I m about to ask. But, I somehow dont seem to achieve what I want using the suggestions given in the other posts.
    My problem is that, I have a file with the first column as a time stamp containing hour, minute, second and millisecond. The second column in a set of pressure values. I want to plot a graph of these pressure values against the timestamp recorded in this .txt file. Whatever I do, the timestamp values seem to skip by a couple of seconds.
    How do i do this correctly?
    Also, Is it advisable to use the read from file or the read from spreadsheet file vi? Kindly help me out.
    Thanks and regards.

    Hey, I was having a similar issue the other day.  The first problem I had was how to open the file and actually get the timestamp information.  Since I'm using LabView 8.0, I had to go into Read Spreadsheet File and create a new vi to open strings (in an array form).  That's the Read Spreadsheet File (string) vi below.  Then, I had to figure out how to convert the string of a timestamp to something meaningful to me.  The Timestamp2.vi is how I did that below.  I'm also including a little test file.  So, to run Timestamp2.vi, you will have to input the right base path, and have the Read Spreadsheet File (string).vi in the same place as Timestamp2.  Hope that helps.  I think I'm finally getting this stuff, so let me know if it doesn't work.
    Attachments:
    Test.txt ‏1 KB
    Timestamp2.vi ‏28 KB
    Read From Spreadsheet File (String).vi ‏25 KB

  • How to remove member from Alias dimension in EPMA 11.1.1.3

    Hi,
    We are using EPMA for controlling master data for HP and HFM. While uploading members using Flat file import, by mistake, we have added a member called "French" in Alias dimension. Because of that, now all of the HFM applications, which were deployed earlier, are showing error as "The 'Alias' dimension has been modified since the first successful deployment of the application..."
    Now, if we are trying to remove the new member "French" from Alias dimension, we are facing error as "The following error occured: Member 'French' is referenced by another Member."
    We have checked but still could not find any member which is referencing/has value against this French Alias member.
    If you have faced such kind of problem earlier, then can any of you share your experience? That will be very much appreciated.
    Thanks a lot in advance.

    Hi John,
    This is the first time i have created the application and trying to deploy in new version
    As per my understanding, while deployment Planning app gets interacted with 1.Essbase Server by creating outline 2. Shared services and last Planning
    Today morning, I could see the application in EAS inspite of deployment being Aborted, So i have deleted that from Essbase
    Now, I have created a new application, and tried deploying and gets the same error message and i don't see any app in EAS / HSS
    Please suggest.

  • Exported .wmv pixelates only when changing file dimensions

    Hi
    I shot a project in 960x720 HD and edited it in a matching timeline.
    Using flip4mac, whenever I try to export it to .wmv with reduced file dimensions of 380x160 (or any file dimension other than the current), it pixelates.
    I haven't had this problem in the past.
    Any ideas?

    Try Flip4Mac's forum. You'll get answers from Telestream and knowledgable Episode users. You might want t include more details, like exactly that the media is, DVCPRO HD maybe, and exactly what settings you're using to export.

Maybe you are looking for

  • IOS 8.1+ Performance Issue

    Hello, I encountered a serious performance bug in Adobe Air iOS application on devices running iOS 8.1 or later. Approximately in 1-2 minutes fps drops to 7 or lower without interacting with the app. This is very noticeable in the app. The app looks

  • Mouse and keyboard don't respond after a wake up

    hi i have a problem with my mac pro under leopard 10.5.5 when my mac is sleeping and i wake up him sometimes the mouse is freeze and the keeboard too even the caps lock light does not blink and after 1 or 2 minutes it work again ! i dont understand w

  • Mail Sending- with Unicode enabled text in the attachment

    hi, i have a specific requirement for JAPAN country. its as follows: i am retrieving delivery details into my program & i need to send them as in a mail attachment(as CSV file) to particular mail id. for sending mail, i am using the function module "

  • Latest quicktime version 7.1 with Pro/MPEG-2 Playback.

    I just realized that the latest Quicktime version is 7.1 and noticed that the version I have is 7.0.4. My concern is that I also have Quicktime Pro 7.0 and the MPEG-2 Playback and wanted to know if I download the new version 7.1 of Quicktime how that

  • Installing SQL 2012 SP2 - The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Hi, I am trying to install the SQL 2012 SP2 in one of the servers. I am getting the error as : TITLE: SQL Server Setup failure. SQL Server Setup has encountered the following error: The specified module could not be found. (Exception from HRESULT: 0x