キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/5
2,903件の閲覧回数

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 件の賞賛
メッセージ2/5
2,901件の閲覧回数

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 件の賞賛
メッセージ3/5
2,899件の閲覧回数

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 件の賞賛
メッセージ4/5
2,863件の閲覧回数

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 件の賞賛
メッセージ5/5
2,847件の閲覧回数