DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Fichier au format ieee 754

Bonjour,
 
Est-ce-qu'il est possible de traiter directement un fichier au format IEEE-754 sous Diadem??
Sachant que ce fichier est généré par labview sous une extension qu'on a défini *.rap (comme acquisition rapide).
Je joins un exemple de mon fichier.
 
Merci d'avance.
0 Kudos
Message 1 of 8
(4,755 Views)

Hi Samosi,

My French isn't good enough to answer you with, but I believe I've understood your question.  It sounds like you have a LabVIEW program which is streaming binary (IEEE-754) data to disk to a file with the extension *.rap, and you would like to know if it is possible to read this file into DIAdem directly.  Is that right?  I didn't get the attached *.rap data file, did you really attach it?  That usually works on this forum.

Anyway, DIAdem will very likely be able to read your data file once we create a DataPlugin for it.  Can you attach a VI that reads these *.rap files, or the VI that writes these *.rap files?  It would also be useful to have several *.rap data files, preferably relatively small ones.

If it's a pretty simple file format, I might be able to help,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 8
(4,741 Views)
Hi M. Brad Turpin,
 
Yes, I have a LabVIEW program which is streaming binary (IEEE-754) data to disk to a file with the extension *.rap, and I would like to know if it is possible to read this file into DIAdem directly? 
I attach in the folder *.zip the VI and several *.rap file. The VI ("PXI31.vi") write these *.rap files in the NI PXI 8186. I have too a VI ("concatenar_archivos.vi") that transfer and concatenate these *.rap files in a PC. In the folder "NI.zip", you have several  *.rap file and one *.txt file that the conversion in float of file "5_11-43-05_11-10-2007_NI.Rap". Like this, you can to compare.
 In the *.rap file acquisition, from the "5_11-..rap" you have 48 channels and 120 sample. And in other *.rap file acquisition, I have 32 channels and 500000 sample but I can't send this file because it's big file.
 
Thanks you for help.
0 Kudos
Message 3 of 8
(4,699 Views)

Hi Samosi,

I was able to write a DataPlugin for your *.rap binary data files.  If you know the correct channel names of the channels, we could put that into the DataPlugin as well, but for the time being they simply get called "Ch0, Ch1..." up to the I32 value at the beginning of the *.rap file.  Note that the DataPlugin code is only about 20 lines.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 4 of 8
(4,690 Views)

Hi Brad turpin,

The Dataplugin run corretly. Thanks for this dataplugin. For the channel name, it's not important because the channel isn't fixe. I have again other question. In the diadem, what is the maximum number of column and of row that I can read??The number of culumn and of row are limited or no? Can i put two files data in pursuit (continuation) in the channel table??

Thanks you.                      

 

 

0 Kudos
Message 5 of 8
(4,662 Views)
Hello Samosi,
 
DIAdem can handle up to 65,535 columns of data with 2,147,483,647 (= 2^31) values per column (rows).
 
You can load as many files at the same time as you want, up to 65,535 columns. Just drag two files into the DataPortal at the same time (or more).
Otmar D. Foehner
0 Kudos
Message 6 of 8
(4,649 Views)

Hi Samosi,

It is possible to load data from two files into DIAdem such that you append the data from file2 at the bottom of the data from file1.  So if file1 and file2 both have N channels of length 4000, you end up with N channels in DIAdem of length 8000.  There is an example that first shipped with DIAdem 10.1 called "Merging Channels From Different Measurements", or you can use the application I attached below for the same purpose.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 7 of 8
(4,632 Views)
Hi,
 
OK, thanks you for informations.
0 Kudos
Message 8 of 8
(4,603 Views)