ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
显示结果 
搜索替代 
您的意思是: 

I have a binary data file which is saved as microsoft update file and I need to extract the data information and show it in labview along with the waveform graph. Can someone tell me how can I approach it?

I have attached the file as you suggested.

 

Thank you.

0 项奖励
11 条消息(共 27 条)
1,734 次查看

What can you tell us about the oscilloscope this came from?

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 项奖励
12 条消息(共 27 条)
1,725 次查看

The scope is Tektronix and thats all i know. I dont have enough information about it since it was provided to me.

0 项奖励
13 条消息(共 27 条)
1,723 次查看

I am sure there is a model number or such, right?

0 项奖励
14 条消息(共 27 条)
1,720 次查看

Yes Sir, I agree that there should be information about scope but unfortunately I dont have it. Since, this data is really old and it was provided to me, I dont have that info.

0 项奖励
15 条消息(共 27 条)
1,712 次查看

I don't see any obvious pattern in the file using SGL, DBL, integer, big/little endian, etc. There seems to be a small header.

What does the file contain?

  • How many points?
  • How many channels?
  • What kind of data?
0 项奖励
16 条消息(共 27 条)
1,708 次查看

Yes, it has the information about sampling rate, timestamp, index lists, 6 or 7 channels, array of data for different channels etc.

0 项奖励
17 条消息(共 27 条)
1,700 次查看

@studentgirl wrote:

I have a binary data file which is saved as microsoft update file and I need to extract the data information and show it in labview along with the waveform graph.  The resulted waveform in labview is in time domain with the acquired data. Can someone tell me how can I approach it?


If someone wants you to get on with this project and get the data and then do something usefull, then push back on them and figure out what type of scope it was and if there is a reader or converter available for it.

 

If it is a "learn how complicated file structures can be" assignment then...

 

It looks like it starts with a byte count in the first four bytes and then a string of that length follows (String = MSU) and is again follwed by byte count in the next four bytes and then another string (=hlg). Assuming there is more header info to follow evntually you will get to the bulk of the data where you will have to figure out how it is structured, how many channels of what type of data (SGL or I32 maybe).

 

That is my best guess without having to think too hard.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 项奖励
18 条消息(共 27 条)
1,687 次查看

Thank you Ben . But I am supposed to create an app in labview to read this file. I know the info I am giving is not enough but that's all I have right now.

0 项奖励
19 条消息(共 27 条)
1,683 次查看

But you can't even begin to think about how to write an app in LabVIEW until you find out or figure out all the information that you don't have right now.

0 项奖励
20 条消息(共 27 条)
1,680 次查看