LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data logging in LabVIEW

savedata (2).png

datalog.png

 

dataentry.png

 

Salutations,

 

I'm experiencing an error in my data logging in my .txt file/notepad.

 

As you can see from the output, I have many unneccessary data entry, such as, the 0s after my actual entry.

 

I've pasted some screenshots to help aid in clearing my doubt.

 

I don't think I should upload my VI, as i'm doing a school project,

 

and I'll appreciate any help/tips/advice to aid me in completing my task.

 

So, basically, my question is, how do I clear the unneccessary 0s after I've recorded the actual data, which is after 360.

 

Thanks!

0 Kudos
Message 1 of 5
(2,299 Views)

The question should be where are those zeroes coming from?

 

Are they in the 2-D array of data that  you are passing in?  What is generating that data in the 2-D array?

 

Once you know where the extra zeroes are coming from, you can stop them from being created, or delete them from the data array then.

0 Kudos
Message 2 of 5
(2,297 Views)

We don't know where it's coming from either.

 

Previously, when we run it, it was fine.

 

This only occurs from yesterday onwards.

0 Kudos
Message 3 of 5
(2,295 Views)

Hello, the unneccessary 0s problem has been solved.

 

Now, we have another problem, which is the duplicate of the value 10.

 

Supposedly, the first value should be 0, and then, 10.

 

Is it still lies with the 2D array that's passing through ?

0 Kudos
Message 4 of 5
(2,259 Views)

I'm sure it is.  Since the part of the code that generates the 2-D array isn't shown, I could only speculate.

0 Kudos
Message 5 of 5
(2,243 Views)