10-24-2008 07:00 PM
I am currently using a B&K 2144/7651 Portable Signal Analyzer. I'd like to start a project to display the binary data files created by the analyzer in Labview. I have the technical documentation that specifies the formatting of the binary files and they have example code written for Pascal but I have no idea how to translate that to Labview. If anyone has experience with these data files or could give me a hint on how to parse the Labile files I would appreciate it.
I can post the technical doumentation but I have to scan it first.
Thanks
Eric
Solved! Go to Solution.
10-27-2008 11:31 AM
There is no simple way to do this. You will have to create a state machine and take in the file as a binary file then you will have to parse through it using the string Hexadecimal (Hex) Display. This could be a long and tedious process depending on how involved the technical documentation is.
I am attaching a program that I wrote (LabVIEW 8.0) to parse through a MIDI file. It has a fairly simple format. This code is not complete and I did not attach the custom subVIs so it will not be runnable but you can use it as an example of what you can do. I used the String Subset and Type Cast subVIs a lot. I chose to output it in an array format and then later I extracted out of the array other data that I needed.
I hope this helps you get started!!
10-27-2008 02:05 PM
Hi Arvin, Vince,
Is there a relationship between the MIDI file-format and the format used by B&K? If adapting the MIDI code becomes a struggle, then...
If you scan/post the Pascal source for the file reader/writer, I'll have a go at translating a reader into LabVIEW.
Pascal was used to teach the CS cirriculum where I started college (by the time I graduated they were using Java! - )
BTW, I looked for the Pascal code on B&Ks web-site, but had no luck identifying any info for either of the part#s in your post!
Cheers.
10-28-2008 11:05 AM
TBD - Thanks for looking at the Tech Doc. You are right there is not alot of informaiton for this device on the B&K Website. I have included a couple of Data files as well.
I'm not sure how much work it will take to replicate the pascal example in labview but a hint in the right direction will be helpful.
Thank agian,
Eric
10-28-2008 02:01 PM
Hi TBD,
There is no relationship between the two file formats. I was posting that as an example of one method that could be used for parsing through a binary file. It may be simpler translating from Pascal to LabVIEW if you are familiar with Pascal.
Good luck,
10-29-2008 06:21 AM
Hi arvin,
Just wanted to share the work to-date - it's not quite done but I gotta get some sleep.
Will probably finish tomorrow/today(later)
Cheers!
10-29-2008 02:32 PM - edited 10-29-2008 02:33 PM
TBD
Wow - Thank you
That's kind of what i figured it would take - Really Big Clusters - but I wasn't quite sure were to begin.
I was trying to give you more Kudos but I think I messed up. Never mind I figured it out.
Thanks again
Eric
10-30-2008 12:51 AM
Hi Arvin,
Thanks much for the Kudos!
Here's a first "possbly useful" LLB. The main thing is the data arrays are being populated!
I hope you'll forgive me for not unpacking the entire "Setup" section - - I wasn't sure you needed it all(?) As is, enough Setup is unpacked to interpret the Data correctly plus a bunch more.
Please give it a test-drive and let me know if you need any unrepresented Setup values (or all of them.)
Cheers!
05-16-2014 12:08 PM - edited 05-16-2014 12:14 PM
Hi, colleagues.
The system software of my B&K 2144 analyzer is corrupted (retention test could not be completed ERR9304, please, see attached photo), apparantly because the device was not used for longer time ond not powered on:
http://i98.photobucket.com/albums/l277/dzymytch/BK2144_zps438317e7.jpg
However, i can't find a floppy disk with the requred system software to solve problem with my device. I would as or any body have the floppy disk with the system software ?
Best regards,
Dmitriy.
05-19-2014 10:15 AM
Hello Dzymytch,
You'd probably be better off contacting Bruel & Kjaer if your issue involves software for the device itself.