How Do I Convert LV7.1 Datalog Files to LV8 Format?
I have several LabVIEW 7.1 datalog files that generate Error 71 (File data type conflict) when I try to open them in LabVIEW 8 using the new Open/Create/Replace Datalog vi with my original typedef constants wired to the record type terminal. Likewise, my original LV7.1 code recompiled in LV8 often generates error 116 (unflatten or byte stream read operation failed due to corrupt, unexpected, or truncated data) or error 4 (end of file encountered) when randomly accessing records in the LV7 datalog files, presumably due to changes made to the datalog file structure in LV8. I recall one time when a dialog box popped up asking if I would like to convert the file to LV8 format. Since this was a file currently in use on the server by LV7.1 clients, I had to reply no. With copies of the datalog files now on my hard drive ready for conversion, I haven't seen the conversion dialog box pop up again.
How do I convert the LV7.1 datalog files to LV8 format?
Thanks,
Larry
Good afternoon Larry,
Thanks for posting!
The Datalog file support in LabVIEW has changed, but the underlying
principles of the technology remains the same.
Converting to the new format should just involve converting a few VIs to the new Datalog-specific versions. As you can see, the new Datalog VIs appear in
their own sub palette in 8 which will help keep things simple.
Before we address the concerns with the errors, let’s first
make sure that the code has been properly converted.
To convert your VI to the new format:
1) Replace
the Open File VI from LabVIEW 7 with an “Open/Create/Replace Datalog” VI in LabVIEW
8. Keep your type constant or control
wired to the “Datalog Type” input.
2) Replace
any “Write File” VIs in LabVIEW 7 with “Write
Datalog” and triple check that your data matches the datatype wired into the
open exactly.
3) Replace
any “Seek” VIs with “Set Datalog Position”. The input to this VI is the number of records
to advance (check the mode set by the “from” parameter).
4) Replace
any Reading VIs with the corresponding “Read Datalog” VI.
I suspect that if you are receiving errors saying that the
end of file has been encountered it is a result of a bad input to the “set Datalog
position” VI. I attached a basic example
of writing a Datalog file in LabVIEW 8, and reading the results. The rest of the functions in the new Datalog palette
should be pretty straightforward.
Does this help? I
would be more than happy to answer any other questions on this if you need any
additional clarification, or if this response does not address your question.
Travis M
LabVIEW R&D
National Instruments
Attachments:
Datalog8.zip 30 KB
Similar Messages
-
I worked in Adobe FireWorks to make the animated .gif. What program do I use to convert the file from .gif to any video format: .mp4, .m4v, .avi, .wmv, etc. I want to convert it into video format, so that QuickTime Player plays the video, I can insert it into iMovie '11 and edit, and also insert it into Final Cut Pro X and edit video.
Thanks for getting back with me so promptly. It has taken me this time to connect with the proper people to find out the information you requested.
The camera used to film the class was a Panasonic AG-HMC40P, owned by a local cable TV station; they use Kodak video encoding software, and a SD card was used to store the video. The file extension is .mts, and the mime file is MPEG 2 transport. He said I probably need an AVCHD converter, and the Mac app store lists 8 of those options, 4 free and 4 for up to $9.99. He said I'll also need a converter for later plans of posting on YouTube or on the website, and while some of those in the app store might work for the later needs, he knows one app called "Compressor" that would work for the uploading later. He also suggested I could try renaming the .mts file to .MP2T, but he wasn't sure that would work.
They don't work with Macs at the studio, but I had thought I could have some lessons there in editing, and apply what I learned to my iMac and iMovie.
First, though, I have to be able to see it and review it!
Thanks again! -
How do I convert an AI file to .dst format?
I made an illustration for a client and they told me that the printer can't use the AI file. They need a .dst file.
Good morning,
I did a quick Google search and found this [Convert ai to dst - Find any file converter]. This page offers two solutions that conver .AI files to .DST. Hopefully this helps. -
How can I convert an audio file (speech) into a text?
Hello everybody!
Can someone explain how I can convert a garageband file (voice speech) into a text? My Mac is a Mac OS X 10.5.8 version, so I don't have programs such as mountain Lion. I thought to use googlevoice. Is this option available? If yes, how can I use it?
Thanks.Hello, I only find google voice available for Abdroid!?
http://www.ehow.com/info_10033225_google-voice-system-requirements-android.html
Some possibilitities, not sure if they have 10.5.8 compatble versions anymore...
http://atmac.org/speech-to-text-dictation-software-for-os-x
Some reviews of later Dragon Speak...
http://www.finetunedmac.com/forums/ubbthreads.php?ubb=showflat&Number=22962 -
How can I convert a class file to Exe file
hai
How can I convert a class file to Exe filePlease search the forums before asking questions - this has been answered hundreds (really!) of times.
-
How do I convert a VLC file to iMovie.
I've managed to download the mini dvd from the video camera onto a USB and have save onto my Desktop.
But have no idea how to convert to iMovie so I can edit and attach video to an email and Facebook.Edit WMV
http://www.microsoft.com/windowsxp/using/moviemaker/getstarted/default.mspx
and http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx
Also... I have NOT used those products, I only forward due to other mentions
Convert http://premierepro.wikia.com/wiki/FAQ:How_do_I_convert_my_files%3F
Edit Vob http://premierepro.wikia.com/wiki/FAQ:How_do_I_import_VOB_files_/_edit_a_DVD%3F
$99 http://www.corel.com/servlet/Satellite/us/en/Product/1175714228541#tabview=tab0
$99 http://www.womble.com/products/mvw.html
$80 http://www.nchsoftware.com/prism/index.html
$75 http://www.videoredo.com/en/index.htm
$75 http://www.magix.com/us/movie-edit-pro/
$70 http://www.nchsoftware.com/prism/index.html Converter
$40 http://www.daniusoft.com/dvd-ripper.html#135
$40 http://www.deskshare.com/dmc.aspx Digital Media Converter
$00 http://www.squared5.com/ MPEG Streamclip Converter
$00 http://www.erightsoft.com/SUPER.html Multi-Converter
$00 http://www.virtualdub.org/ Mpeg to AVI Converter -
HT3775 how can i convert a mod file (on vlc) to mp4 to work on quicktime
how can i convert a mod file (on vlc) to mp4 to work on quicktime
when i connected my video camera and imported the videos, they're default is to play on vlc
they are mod files
i want to edit the videos on imovie and for that the videos need to be mp4 and open in quicktime player
what do i doiPhone supports
Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
If your video is supported, drag it to iTunes and sync it to your iPhone. -
How can I convert an xls file to a txt file
I would like to know How I can convert an xls file to a txt file.
Look for this on google.com:
"Java Excel API"
With that, it would be easy to convert an excel file to flat text. -
How can I convert an odg. file to a pdf. file?
Hello, how can I convert an odg. file to a pdf. file?
When choosing Drawing as template in OpenOffice, it saves projekt as odg. which apparently gives difficulties compared to pdf.Try this: http://www.convertfiles.com/convert/document/ODG-to-PDF.html
Let me know if it helps,
Kevin -
How can I convert an AiFF File to a Wav file?
How can I convert an AiFF File to a Wav file?
Any free software out there? or can iTunes or Quicktime perform this task?
-Dor can iTunes or Quicktime perform this task?
Yes to both.
In Quicktime Export -> Export Sound to Wave
In iTunes, check your preferences for General>Import and then right click on the file to convert to WAV
Also STP can do that.
Double click the file to open it in the File Editor and Save as, then select Wave as the filetype. -
How can I convert an .m1v file for my MacBook to be able to play it?
Hi!
How can I convert an .m1v file for my MacBook to be able to play it?
I tried numerous apps from the app store, but they failed
Thanks!Hello:
Rather than try to buy a box, I suggest you take the computer to a FedEx or UPS store. They will wrap and safely package the device for a reasonable cost (I have shipped two iMacs this way).
Barry -
How do i convert an AAC file into an Mp3 file on my New 2015 iMac? The option to "convert to mp3" isn't available in controls. Thank you.
Click here and follow the instructions.
(121248) -
How can I convert an ART file to pdf?
How can I convert an ART file to pdf?
I do not even know what an ART file is.
See this article what file types are supported by Adobe PDF Pack: http://forums.adobe.com/docs/DOC-1496 -
How can I convert an M4A file to an MP3 version?
How can I convert an M4A file to an MP3 version?
Thanks for your reply but that's not my problem.
I know that I can burn an M4A file to a CD and then import it back as an MP3, but that's an annoying process and wastes blank CDs. I thought iTunes had a menu choice to convert a selected file to MP3 format. I guess that's not true with M4A versions.
I will simply buy my music from Amazon from now on and I won't have to deal with this file format and protection nonsense. I can download music from Amazon in MP3 format as the rest of my music is in. -
How do I convert an ASP file into a PDF?
How do I convert an ASP file into a PDF?
None of the free Adobe Reader products (Adobe Reader Touch, Adobe Reader for iOS/Android, Adobe Reader XI for desktop) provide the support for converting ASP to PDF.
Acrobat XI Pro and Standard (which are not free) can convert an ASP page into PDF.
Please note that Acrobat XI Pro, Standard, and Reader XI are not compatible with the Windows RT operating system.
Maybe you are looking for
-
IPad shows "No Data" for Videos when I have movies stored.
Short version: I've had lots of issues with downloading movies to my iPad from iTunes. When it works, the "videos" section under Settings > General > Usage shows "No data" as if it's not reading the storage. I'll have 6 movies but it shows nothing
-
Currently I have an Enterprise Project which has 6 custom timelines and I want to know how to select a specific timeline to be displayed on the Project specific SharePoint site. I'll provide some background for you so you understand my issues... I ha
-
How to retrieve guest user account backup
I have an iMac and a time capsule. A large number of pictures were loaded into I Photo in the guest account of my iMac. I cannot now find these pictures as I understand that guest accounts are wiped clean each time the guest account is lodged out f
-
was a mistake that I tried to download it my baby that I can do for my account that the new works oh when can I remove it from my account
-
When I Sync our iPhones (4) in iTunes I routinely get the following message: "iTunes was unable to load provider data from Sync Services. Reconnect or try again later" It's a pop-up message. I mouse click "OK," and the Sync procedes to completion u