Jump to content

Saving Raw Data in Binary Form


Recommended Posts

I am a new user of LABView. My project deals with condition monitoring for which i use a IOTech DAq card. The raw data the comes out from the card is a 2D array of data. I need to store the data so that i can do Post Acquisition later on. I would like to save the data in Binary format so that it occupies lesser space. I am planning to store the data for atleast an 8 hour run.

I have attached my program alongwith this topic and i hope anyone who is well versed in LabView can surely help me put. Just tp let u know that there are a few sub VI's in the file attached which wud not open unless u have an IOTech CARD. So please suggest me a solution but in a little detail so that i can understand...as i am fresher to Labview.

Hope u guys can help me out ..cheers

Download File:post-5243-1149665140.vi

Link to comment
I am a new user of LABView. My project deals with condition monitoring for which i use a IOTech DAq card. The raw data the comes out from the card is a 2D array of data. I need to store the data so that i can do Post Acquisition later on. I would like to save the data in Binary format so that it occupies lesser space. I am planning to store the data for atleast an 8 hour run.

I have attached my program alongwith this topic and i hope anyone who is well versed in LabView can surely help me put. Just tp let u know that there are a few sub VI's in the file attached which wud not open unless u have an IOTech CARD. So please suggest me a solution but in a little detail so that i can understand...as i am fresher to Labview.

Hope u guys can help me out ..cheers

Can you explain your problem in more detail?

Your program has code in it to save to a binary file.

Do you need help with the Binary file or the Data acquisition.

It's not clear what you are asking for.

Link to comment
Can you explain your problem in more detail?

Your program has code in it to save to a binary file.

Do you need help with the Binary file or the Data acquisition.

It's not clear what you are asking for.

I am using IOTech Wavebook 516/E ( 16-channel DAQ) for the hardware and use LABView 8.0 as the software. My objective is to use my program for condition monitoring. I use accelerometers for that and my program runs quite ok as it is. As i am a new user to LABView, I need to clarify some stuff.

1. I would be needing to run my acquisition for about 8 hours or more at a stretch and save all the data for post processing. The problem that i am facing here is that data that comes out of my card is in 2D Array format. So the best method would be to save the data in binary format to save space i suppose.

---- I used the Write to binary file vi. I tried to use the help of Knowledge Base from ni.com with the LabView help examples. But I am only able to save the data for a single iteration in binary format and then again the it rewrites the whole data in the next iteration. I want that the data appends on instead of rewriting.

---- I used the Write to Measurement File vi. But when i save the data in binary format (.tdm) I am not able to recover it. Any suggestion..??

2. When I run my program i can get the data immediately but when i keep the acquisition on for more than 20 mins and then check on the data there is gap of atleast 5-6secs. I need to know where the bug lies.

I hope you could help me out with my querries.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.