LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph multiple 1D arrays of different lengths of the same graph without adding zeros to the X values without Y values

Solved!
Go to solution

hello,

 

i am lakshman here ,i have a doubt in plotting a grph i.e time stamp versus aquired tempreture values in CSV file cud anyone plez help in tis regard....:manvery-happy:!!

thanking you

LAKSHMAN C G
0 Kudos
Message 11 of 51
(1,546 Views)

setty wrote:

i am lakshman here ,i have a doubt in plotting a grph i.e time stamp versus aquired tempreture values in CSV file cud anyone plez help in tis regard....:manvery-happy:!!


This semes a new question, so please start a new thread. Thanks!

 

You also need to provide more information. How is the file formatted?

Do you really want [temperature vs time] (your description) or [time vs. temperature] (more typical). Are the x-values spaced equally?

 

You can read a CSV file using "read from spreadsheet file" and using a comma as delimiter. If it does not work, please attach the file.

0 Kudos
Message 12 of 51
(1,538 Views)

hello sir,

 

As of now i have successfully read the CSV file and i have separated the sensor parameters lyk temp,sp cond etc.. ,nw my task is to plot the obtained tempreture value with respect to time stamp value which is being a big hurdle fr me to accomplish tat task ,i here by request u to do the need full....Smiley Happyi have attached both ma MAIN VI n SUB VI ....plez do the helpfulll....\

 

 

 

thanking you

LAKSHMAN C G
Download All
0 Kudos
Message 13 of 51
(1,532 Views)

This does not help much. Can you also attach a data file?

 

Please chage all yuor delimiters to diagram constants containing the correct values. Your VI has everything as empty strings, which is probably not right.

 

You have an entire array of temperature data, but only one timestamp. This means we don't have sufficient data. Is the time stamp the time of the first point? Do you know the spacing between points?

 

What is the purpose of the while loop. All it does is recalcuate the same thing over and over again. Once is probably enough.

0 Kudos
Message 14 of 51
(1,521 Views)

hi, 

    this is lakshman ,can any one tell me how to check whether there is a file or not in the specified path !!

since m trying to display the sensor parameters ,the sensor generates a CSV file n puts it to the folder ,m trying to program such tat my prgm shd check whether there is a CSV generated file or not ,if it finds a file it should process otherwise it shd b quite .....cud any one plez help in tis regard......Smiley Happy

 

i hav attached ma code also.......

 

 

thanking you

LAKSHMAN C G
0 Kudos
Message 15 of 51
(1,519 Views)

You code still does not make any sense. As I said, you need to use diagram constants for the various delimiters or make the correct values the default. Why do you now use a FOR loop with 8 iterations?

 

Your shift register does not seem to serve any useful function.

 

To simply check if the file exists, you would use "check if file or folder exists" from the advanced file IO palette.  

Maybe your file gets updated externally at various times. You could for example see if the "last mod" time stamp has changed. Does the file grow or does the file get overwritten with new data? How often?

 

You still have not attached a typical data file.

0 Kudos
Message 16 of 51
(1,516 Views)

k sir i will attach a CSV according to tat i have assigned ma delimiters in order to separate the required portion of the file ...... 

thanking you

LAKSHMAN C G
0 Kudos
Message 17 of 51
(1,512 Views)
0 Kudos
Message 18 of 51
(1,503 Views)

I TRIED ATTACHING MA CSV FILE BUT ITS NOT GETTING ATTACHED SIR.............Smiley Sad !!

thanking you

LAKSHMAN C G
0 Kudos
Message 19 of 51
(1,490 Views)

 

Then put it inside a zip file first...

0 Kudos
Message 20 of 51
(1,486 Views)