LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crazy graphics?

Solved!
Go to solution

Hi,

 

I acquired some data from an 1 channel at 10KHz in an "Unscaled 2D I16" format. Although I'm receiving most of data right, same of it comes in a wrong-pattern... As shown in the attached file, there's a sequence of

 

0, 0, 1000(multiplied by scale), 0

 

at each 1004 sampled data... so, for example:

sample - value

0 - 0

1 - 0

2 - 1000

3 - 0

...

1004 - 0

1005 - 0

1006 - 1000

1007 -

...

2008 - 0

2009 - 0

2010 - 1000

2011 - 0

.. and goes on...

 

I've changed the rate for 100k and also tried each freq. with other buffer sizes (1k and 100) and it still comes with these crazy values... I'm reading the files with the Read Binary File.vi example (with size of 2bytes )

Does anyone have any idea of what may be the problem?

0 Kudos
Message 1 of 3
(2,623 Views)
Solution
Accepted by topic author Danigno

You say you read the data from a file. When saving the file, do you have the "prepend array or string size" boolean set to true (which is the default)? Try setting this to false.

 

Hope this helps

Message 2 of 3
(2,615 Views)
Ha! Thanks man! Solved..
0 Kudos
Message 3 of 3
(2,611 Views)