ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i read a rz-file?

hi i have some measurement data as rz-file, how can i read these with labview?

thx
0 Kudos
Message 1 of 23
(5,796 Views)
Depends. What's an rz file? Is this an rzip compressed archive file? If that's the case you would need to use rzip. I don't think the zip file functions built into LabVIEW handle rzip. As far as I know rzip is only available for Linux, though I could be mistaken since I don't keep up with the latest and greatest archive formats and programs. Are you trying to open this in Windows?
0 Kudos
Message 2 of 23
(5,775 Views)
yes i also think it is an rzip file, but the name is realy: filname.rz
no i can't open it in windows, when i open it with the editor i only see a lot of funny symbols.
but under linux i can't it also open
0 Kudos
Message 3 of 23
(5,771 Views)
Given that the name is "filename.rz" then it's most likely an rzip file. Under Linux you would need to get rzip to uncompress it. Under Windows I don't know which archive programs support rzip-file format, since it doesn't seem to be a widely used format. Perhaps FilZip or 7-Zip can open it under Windows. They're both free.
0 Kudos
Message 4 of 23
(5,765 Views)
ok there was a mistake from me, the rz-file is no zip file, it is only a name, this file is an digtital flie from a measurement, also no asci-file 😞
this explain the nice symbols in the file 😉
but can sombody tell me, how i can open this file,??so that i can show me a graph/diagram from this measurement-data. With the normal "read-txt or read-binary-vi" i can't open it, or i see only symbols but no meaningful measurement data.

THX
0 Kudos
Message 5 of 23
(5,721 Views)
Do you know what created the file? Was it another LabVIEW program? Do you have access to this code? How did you find out it's not an rzip file? Did someone tell you? Does this someone know how the file was created?

You can also try posting the file and someone can try to interpret it if you don't know the source, though obviously that will be more difficult without knowing some basic things about its expected contents.

Message Edited by smercurio_fc on 09-17-2007 10:56 AM

0 Kudos
Message 6 of 23
(5,720 Views)
Yes someone has tell it me, so i and he don't know what file it is. I only know, that it is a measturement-data from an FPGA, and this record digital signals from example a cam. this signals are array's, so one pixel has one charge (number).
and this data i want to open,. or to convert it in asci.

THX
0 Kudos
Message 7 of 23
(5,711 Views)
If that's the case, then in all likelihood you can just use the "Read Binary File" function with an appropriate datatype wired to it, like a numeric array. You can convert it to an ASCII file after you've read the data in.

As I indicated, if you post the file then I or someone else could try to take a look at. It would also be beneficial to provide some indication of expected values.

Message Edited by smercurio_fc on 09-17-2007 12:24 PM

0 Kudos
Message 8 of 23
(5,708 Views)
what do you meen with "appropriate datatype wired to it" can you give me an example for it, what is the symbole for it?
0 Kudos
Message 9 of 23
(5,700 Views)
Binary files are just a long string of unstructured binary data. There are no delimiters or any other guides.
 
If you know it is an array of I32(4 bytes/element), you could read it as such, but if it is actually DBL (8bytes/number) you'll get garbage. Just wire a diagram constant of the right type (value is not important) to the type input.
 
If you showed us the data file,  we could try a few often used types in little and big endian and see if we get something that looks reasonable on a graph for example. 🙂
 
If the data structure is more complex (e.g. an array of clusters containing various datatypes), all bets are off. 😄

Message Edited by altenbach on 09-17-2007 10:56 AM

0 Kudos
Message 10 of 23
(5,697 Views)