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.

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.
Attachments:
NI.zip ‏1038 KB

Similar Messages

  • How to read register storaged in IEEE 754

    Hi!
    I need to build an application to read registers from my gauge. Application is almost finished but values i get on from holding register are different than values on my gauge (ex. i have voltage 230V on gauge, and values about 20k in application). Gauge stores values in IEEE 754 32-bit format and I have no idea how to read it to get correct value. I saw it's possible with using "Type cast", but i don't know how to configure it, I am totally newbie in LabVIEW. I will be much grateful if someone could show me a VI with reading from IEEE 754 option, or just tell me how to do it in detail (what to click, what to write, etc ) 
    Sorry for my english, I hope I didn't make many mistakes  
    Greets
    Solved!
    Go to Solution.

    Notice your red dots, they indicate a data type mismatch. Remove the byte array to string, because it truncates your U16 array elements to U8. Typecast and unflatten accepts U16 arrays directly. (corrected, see answer below)
    Also change your "holding registers" to a diagram constant (righ-click terminal...change to constant). Only the type matters, the data is irrelevant here. (Shouldn't it be a scalar SGL instead?)
    Sorry, I don't have the toolkit so I am missing your subVI.
    LabVIEW Champion . Do more with less code and in less time .

  • Conversion of a float to IEEE 754 hexa (and vice versa)

    Hello everyone,
    I need to convert a float into an hexadecimal value to transmit it on a communication bus (I also have to decode the hexa into a float). I need this hexadecimal to respect the IEEE 754 technical standart. I'm trying to do it with the basic functions of Labview but I'm facing some problems. You'll find attached my VI.
    If someone has already done such a function or know an easier way to do it, I'll be very grateful.
    Attachments:
    IEEE 754 conv.png ‏38 KB

    If your communication bus in only using singles, then avoid doubles in your code.
    How are you converting to a Single from the Doubles?  In my quick experiment, I got the right answer.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    double to single hex.png ‏8 KB

  • Conversion of serial output (IEEE 754) to single

    Hi,
    I'm trying to read out the actual values of a MKS PR4000B pressure sensor. I managed to get a connection and read/write data to the device (using serial read/write), but I'm having trouble to convert the read output to a single.
    The manual tells me the floating number is conform to IEEE 754, the response I get are 8 bytes: @head, actual value.byte3, actual value.byte2, 0x00, @head, actual value.byte1, actual value.byte0, 0x00
    I would like to do a cast type to convert it (like in: http://forums.ni.com/ni/board/message?board.id=170​&thread.id=195115&view=by_date_ascending&page=1), but never seem to get the right results.
    HO\@ps@ should translate to something like 01.903
    any ideas?

    Here is a VI that converts your string into a Single .
    Message Edited by VADave on 03-05-2009 11:50 AM
    Visualize the Solution
    CLA
    LabVIEW, LabVIEW FPGA
    Attachments:
    Convert.JPG ‏35 KB
    Convert Serial.vi ‏11 KB

  • IEEE-754-Standard floating point confusion

    Hi there,
    I am really confused. The datatype double should be in C++ and Java the same standard acc. to IEEE-754.
    But when I try to investigate the several bytearrays created from a double value e.g. 1.1d, it is different in C and Java.
    below are the results:
    Value 1.1 in C++
    intCsigned
         bit0     bit1     bit2     bit3     bit4     bit5     bit6     bit7
    byte0     1     1     0     0     1     1     0     1     -51
    byte1     1     1     0     0     1     1     1     0     -52
    byte2     1     0     0     0     1     1     0     0     -116
    byte3     0     0     1     1     1     1     1     1     63
    byte4     1     1     0     0     1     1     0     0     -52
    byte5     1     1     0     0     1     1     0     0     -52
    byte6     1     1     0     0     1     1     0     0     -52
    byte7     1     1     0     0     1     1     0     0     -52
    Value 1.1 in Java
    intJava(signed)
    byte0     0     0     1     1     1     1     1     1     63
    byte1     1     1     1     1     0     0     0     1     -15
    byte2     1     0     0     1     1     0     0     1     -103
    byte3     1     0     0     1     1     0     0     1     -103
    byte4     1     0     0     1     1     0     0     1     -103
    byte5     1     0     0     1     1     0     0     1     -103
    byte6     1     0     0     1     1     0     0     1     -103
    byte7     1     0     0     1     1     0     1     0     -102
    Can please somebody bring light into that?????
    Does somebody know the exact specification of a double datatype in c++ and java?
    with the best regards,
    stonee

    OK,
    It seems my C-program created a bad array. I finally
    found out, that the Java and C Array of each double is
    exactly turned.
    C[0] == J[7]
    C[1] == J[6]
    C[2] == J[5]
    its probably big endian vs little endian issues plus on top of that nibble swapping.
    I happen to be working on this very problem at this instant. I'll see what I can dig up.

  • Obtenir un fichier au format pdf

    Bonjour,
    J'utilise un module FPGA et étant débutant, j'ai trouvé sur votre site un fichier qui m'intéresse, j'aimerais obtenir celui ci sous format pdf mais je n'y arrive pas.
    Celui ci se trouve à l'adresse suivante : http://zone.ni.com/devzone/cda/tut/p/id/3555#toc1
    fpga_training_slides.zip
    Pourriez vous me dire si cela est possible de l'obtenir sous format pdf ?
    Cordialement,

    Bonjour,
    Je ne sais pas si il est possible de le faire mais le mieux serait de demander directement à la personne responsable comme indiqué dans le Getting Started.txt qui est : [email protected]
    Peut être qu'il possède une version pdf ...
    Bien cordialement
    Jean-Luc D. NI France
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : du contrôle d'instruments aux bancs de test
    Du 4 au 13 juin : Grenoble - Pari...

  • Fichiers *.rw2 (format RAW)

    Bonjour,
    Photoshop elements 10 ne reconnait pas les fichiers RAW au format  xxx.RW2, comment faire ?
    Merci
    [Translation by Google:
    Photoshop Elements 10 does not recognize RAW format files xxx.RW2, how?]
    Message was edited by: Terri Stone

    henkeenink wrote:
    I've encountered the same problem.
    The pictures I took with my Panasonic Lumix DMC-FZ200 are in RW2-format and won't open in Elements 10.
    My camera raw version is fully updated to 6.7, so that's not the reason for not opening.
    This is very irritating. Can someone help me out?
    See that faq:
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    The FZ200 requires ACR 7.2 which is only supported in PSE11 (with update).
    For older versions, you should consider using the free Adobe dngconverter which can batch convert a whole folder to the DNG format that your present PSE version can open.
    http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Windows

  • IEEE 754 standards for representing floating point numbers

    HI All..
    Most of us are not awared how the actually Floating point numbers are represented . IEEE have set standards as how should we represent floating point numbers.
    I am giving u the link with which u can know how actually these are represented.
    http://en.wikipedia.org/wiki/IEEE_754
    If u have any doubts u can always reach me.
    Bye
    Happy learning
    [email protected]

    A noble but misguided attempt at dispelling the recurring problems the programmers have over and over again. There have been repeated posts to links about the IEEE standard, to little or no avail. The newbies who run into the problems will continue to do so, without regard to yet another post about it here.

  • Convert IEEE-754 32-bit Hexadecimal to decimal floating-point

    Would this be very difficult?? I'm trying to find info, but maybe I need some help, anyone? Thank you for your answers... =D

    Hi! Thank you for answering me. You're right, It has been asked before, and typecast is perfect... But I have another problem..
    I found in other thread a VI (attached) that works just fine, but I can't put an input to it, it just works when you type the hex number in the front panel.
    Why? I'm trying to create a subVI with this, but it doesn't work like that and I want to know what I'm doing wrong.. =( Thank you!
    Attachments:
    TypeCast_SGL[1].vi ‏17 KB

  • What is the most efficient way to pass LV data to a dll?

    For efficiency, this question primarily becomes important when passing large arrays, structures containing large arrays, or generally, any large block of data to a dll.
    The way the dll setup appears and the .c file it create for the dll call, it appears that labVIEW directly passes data in whatever native passing format LV requires without copying the actual data if you select the "Adapt to Type" as the "Type" option. If I pass an array, for example, the .c file contains the type definition of a labVIEW array, i.e., (size,data), and depending whether I select handle or handle pointer, the data passed is either a handle or handle pointer to the array. Likewise, if I pass a LV structure, the .c file will con
    tain the typedef to the structure and the data passed is either a pointer, or pointer to a pointer. These are, I believe, labVIEW native types and do not require copying.
    On the other hand if an array is passed as an array type, then it is converted to a C array that requires LV to copy the array on both sides of the call.
    I further assume all structures can be passed to the memory manager to be manipulated, although I'm actually not sure that you could resize an array pointer in the dll. That seems a bit dubious, but then I guess upon return LV could query the memory manager to determine the array pointer size.
    That�s how I would think things work. If not, could someone please correct me?
    Kind regards,
    Eric

    Eric,
    Let me tell you something about me too...
    I've been working with LabVIEW for (just) 4 years. That is, 40 hours a week
    professionally, 10 hours a week privatelly. I've started with LV4, and went
    through all versions and revisions until 6.0.2 (6.1 will come soon, but
    first I have to finish some major projects.
    During this time I've been working on lots of interfaces with the windows
    OS. Some 'dll' things I've worked on: OpenGL interface, MSXML driver,
    keyboard hooks, mouse hooks, GDI interfacing, calling LV dll's from
    assembler, calling assembler dll's from LV, creating threads, using serial
    interrupts, etc. I'm now (also) working on a way to automatically generate
    documentation (much more then the 'export VI stings') from a VI. This
    requires 'under the hood' knowledge about how VI's work.
    When I had to make a fast routine for a project one time, I choose
    assembler, because I had this knowledge. Also, I wanted to use pure SIMD
    opperations. The operation had to modify an array of DBL's. The SIMD uses
    the same format (IEEE 754, I think), so it was easy. But when it came to
    testing, it appeard that the routine only paid off if the routine was 'long'
    enough. The routine was n*O^2, where n was a parameter. When the array was
    large, and n small, the overhead of copiing the array to modifiable memory
    was relativelly large, and the LV routine was faster.
    When I get a pointer to a LV array, I can use this pointer to modify the
    data in the array. This can (I think) only be done if LV copied this data,
    just like LV is doing when a wire is split to be modified.
    It might be that this copiing can be prevented, e.g. by using other data
    types, or fiddling with threads and reentrance... If you want to optimally
    benefit from dll's I'd look for a way to keep the data in the dll space, or
    pass it once at initialisation. You could use CreateHeap, HeapAlloc,
    AllocGlobal, and other functions. You can use these functions in LV, or in
    the dll. Once you have a pointer to the (one and only) data space, you can
    use this to pass to the dll functions.
    I think LV does not show the memory in question in the profiler, but I'm not
    sure.
    Using the "Adapt to type" option might just result in a internal convertion
    during 'compile' time, and might be exactly the same as doing it yourself.
    Perhaps you can share a bit about the application you are making, or at
    least why you need the speed you are seeking?
    Regards,
    Wiebe.
    "Eric6756" wrote in message
    news:50650000000500000025C60000-1042324653000@exch​ange.ni.com...
    Greg,
    There are two relevant documents which are distributed with labVIEW,
    in labVIEW 6i, (hey, I'll get around to upgrading), the first is
    titled, "Using External Code in LabVIEW", the second is application
    note 154, "LabVIEW Data Formats".
    Actually, a statement Wiebe@air made on my previous question regarding
    dll calls, "Do dll calls monopolize the calling thead?" provoked this
    line of questions. Based on other things he has said, I gather he is
    also using dlls. So as long as we're here let me ask the next
    question...
    If labVIEW must make a copy of the passed data, does it show up as
    additional memory blocks in the vi profiler? In other words, can you
    use the profiler to infer what labVIEW is doing, or as you put it,
    infer whether there is a clever passing method available?
    As a personal note Greg:
    First, as a one time engineering student and teaching assistant, I
    don't recall hearing or using the terms "magical", or "clever". Nor I
    might add, do I find them in print elsewhere in technical journals.
    While I don't mind NI marketing in their marketing documents, used
    here in this mostly educational forum, they strike me as arrogant,
    and/or pompous.
    I like NI's products because they work and are reliable. I doubt it
    has anything to do with magic, has somewhat more to do with being
    clever, but is mostly due to the dogmatic persistence of your
    engineers. I rather doubt any of them adjoin the term "magical" or
    even "clever" to their solutions. I believe the term "best" is
    generally accepted with the qualifier "I've or we've found". At
    least, that has been my engineering experience.
    Second, many of my questions I can sort out on my own, but I figure as
    long as your willing to answer the questions, then your answers are
    generally available to others. The problem is that one question seems
    to lead to another and specific information gets buried in a rather
    lengthy discourse. When I come here with a specific question, it
    would be nice to find it asked and answered specifically rather than
    buried in the obscurity of some other question. As such, at some
    point in these discussions it might be appropriate to reframe a
    question and put at the top. In my opinion, that decision is
    primarily yours as you have a better feel for the redundancy of
    questions asked and/or your answers.
    Anyway, the next question I'm posting at the top is, "Do the handles
    passed to a dll have to be locked down to insure other threads don't
    move the data?"
    Thanks,
    Kind Regards,
    Eric

  • Formatting Decimals

    Hi there
    I am having a problem with a number
    I am using and int to add up some numbers but wish it to be displayed as currency ie 12345 = 123.45
    I have set up a formatter using
    static String pattern "���0.00";
    DecimalFormat myFormat = new DecimalFormat(pattern);
    When I applied it to an int 927005 using the following syntax
    expectTotal = myFormat.format((double)expt/100)
    The result is 9270.04 does anybody know why this happens and what is the correct way of doing this type of conversion
    Thanks

    I tried to format (double)927005/100 and it gives me 9270.05.
    In the API for jdk1.2.2, it says for the DecimalFormat class:
    The rounding is performed according to the IEEE 754 default rounding mode known as half even: Numbers are rounded toward the nearest truncated value, unless both truncated values are equidistant, in which case the value ending in an even digit is chosen.
    I didn't find this description in jdk1.3.1 though, so they might have changed it. But it means if you use jdk/jre1.2.2, then if you have e.g. 9270.0499, it will be formatted to 9270.04.

  • J'ai besoin que quelqu'un convertisse mon fichier indesign CC en CS6 !!!

    Bonsoir,
    j'ai fait tout un dossier sur indesign pendant que j'avais la version d'évaluation d'indesign CC 2014, et maintenant que je ne l'ai plus, impossible d'ouvrir mon fichier sous CS6 … Quelqu'un aurait la gentillesse de m'aider et d'enregistrer mon dossier sous une version plus ancienne s'il vous plait ? c'est urgent ….
    merci d'avance !!
    lien du fichier : WeTransfer

    Voici le fichier en format IDML que vous pourrez ouvrir en CS6:
    WeTransfer

  • Format d exportation

    Bonjour,
    Quel format d'exportation dois-je utiliser pour pouvoir lire un diaporama sur un lecteur DVD de salon qui ne lit pas le format MP4.
    Le logiciel Magix que j'utilisais avant produisait un fichier de format "Video TS" qui fonctionnait parfaitement.
    Merci pour vos réponses.

    Bonjour Bernard,
    Video TS n'est pas un format mais un dossier contenant les fichiers composant un DVD (Voir ci-dessous)
    Sur Media Encoder, ll faut utiliser " DVD" "et un des formats qui correspond à ce que ton lecteur peut lire (voir la documentation du lecteur) et suivant la qualité souhaitée.
    Note bien que dans le répertoire VIDEO_TS, c'est e fichier VOB qui contient la vidéo au format Mpeg2. Le reste contient en gros les infos pour la lecture aurtomatique du DVD, les menus etc..)..
    Le répertoire VIDEO_TS contient habituellement trois types de fichiers possédant les extensions suivantes :
    IFO contenant les informations de navigation (il correspond au Video Manager).
    VOB (Video Object Block) contenant les flux vidéo, les différents canaux audio, ainsi que les sous-titres d'un titre vidéo.
    BUP (BUP signifiant Backup), contenant une sauvegarde des fichiers IFO, au cas où ils seraient illisibles. VOBS, VOB, VMG et VTS Le fichier particulier nommé VIDEO_TS.IFO (IFO signifiant information) contient les informations nécessaires au lecteur pour l'affichage du menu principal. Il est accompagné du fichier VIDEO_TS.VOB, contenant le clip d'animation d'introduction, ainsi que d'un fichier de sauvegarde (nommé VIDEO_TS.BUP).
    Bonne journée

  • Extension pour fichier excel exporter

    Bonjour à tous,
    Je travail actuellement sur un projet qui consiste à relevé et enregistrer des courbes dans un dossier.
    Pour l'exportation du graphe dans un fichier j'utilise la fonction "Écrire dans un fichier tableur" et me permet de le réimporter.
    J'aimerais donc maintenant que ces fichier dans lesquels j'enregistre soit des fichier Excel. J'ai essayé avec la méthode "Exporter vers un fichier excel" mais cela entraîne l'ouverture d'Excel...
    J'ai donc penser à rajouter l'extension de fichier xlsm au fichier tableur ce qui crée bien un fichier excel mais une erreur de format se produit lorsque je veux ouvrir ce fichier. Je pense donc que c'est mon extension qui est mauvaise...
    Quelqu'un sait quelle extension faut il utiliser ? Ou bien peut être cela n'est tous simplement pas possible ?
    Cordialement
    Nathan

    Bonjour,
    Mettre une extension .xls à fichier n'en fait pas un fichier excel pour autant.
    Un fichier tableur est un fichier au format ascii avec un symbole qui sépare chaque colonne dans une ligne, ce symbole est généralement une tabulation.
    Un fichier excel est fichier binaire au format excel donc si tu veux vraiment un fichier excel, tu es obligé d'utiliser la méthode "Exporter vers un fichier excel".

  • Modifier fichiers PDF

    Je n'arrive pas à modifier mes fichiers PDF. L'orsque je numérise certains sont protégés par un mot de passe.

    Vous pouvez convertir et associer des fichiers au format PDF, mais vous ne pouvez pas modifier des fichiers PDF dans Adobe PDF Pack. Pour plus d’informations sur la modification de fichiers PDF, consultez l’Aide d’Acrobat.
    Utilisation d’Adobe PDF Pack
    Le format PDF n'est pas forcément le meilleur support pour la correction attendu que ce dernier est un format "fini". Il vaut mieux travailler sur le logiciel d'origine quite à utiliser le PDF pour les annotations et les échanges. Après tout dépend des modifications à apporter car il existe des plugins professionels permettant l'édition de PDFs mais je ne les crois pas adaptés étant donné votre activité et leurs tarifs.
    Vous pouvez utiliser Google docs par exemple pour une gestion "dynamique" de vos contenus.
    Loic

Maybe you are looking for

  • How can I get my address book data back?

    After upgrading to OS6, my address book has gone from almost a thousand entries to being totally empty. This is a *very* big deal for me bc I have no address book application on my PC. I had always assumed that if iTunes were backing up my iPod, that

  • Problem in the values in invoice

    HI All, i have a problem in invoice printing, If i create a new billing document and generate the output via VF02, the line item values and tax values in the amount column not getting printed properly. if i take the printout for the same document aga

  • Dvi Adapter usage

    I have recently purchased a small HDTV with HDMI input. I saw that macbooks can be closed and still use an external display through the DVI output. I tried that with my 15.4" powerbook G4 and it does not work. I can view the screen when the computer

  • Message : "LabVIEW no longer supports this function..."

    When you try to open a VI built in 7.1 using version 8. x and if it has a function like Open/Create/Replace file.vi  or Write Characters to File.vi , you get a message that says LabVIEW no longer supports that VI and instead use of another VI is reco

  • Matrix for single table

    Hai, Have any one of you done coding for Single table using Matrix. eg. <b>Field in Table</b> GroupCode GroupName i need to use matix for this and do following "ADD" "Update". 1.I need to create the form using Screen painter. 2. Bind the table and fi