cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-7987%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3Ecomment%20convertir%20des%20donn%C3%A9es%20binaires%20en%20codes%20ascii%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7987%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3E%3CBR%20%2F%3EJ'ai%20des%20donn%C3%A9es%20analogiques%20dont%20j'ai%20besoin%20pour%20les%20convertir%20en%20binaire%20en%20fonction%20de%20leur%20valeur%20(termin%C3%A9).%20Ensuite%2C%20j'ai%20r%C3%A9ussi%20%C3%A0%20assembler%208%20bits%20pour%20cr%C3%A9er%20une%20donn%C3%A9e%20binaire%20par%20script%20jmp.%20L%C3%A0%20o%C3%B9%20j'ai%20besoin%20d'aide%2C%20c'est%20comment%20convertir%20les%20donn%C3%A9es%20binaires%20en%20texte%2Fnombre%20%C3%A0%20l'aide%20de%20codes%20ascii.%20J'ai%20essay%C3%A9%20d'utiliser%20blob%20pour%20char%2C%20mais%20il%20signale%20un%20mauvais%20type%20de%20donn%C3%A9es....%3C%2FP%3E%3CP%3EJ'ai%20joint%20la%20table%20jmp.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7991%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Comment%20convertir%20des%20donn%C3%A9es%20binaires%20en%20codes%20ASCII%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7991%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3Emerci%20MS.%3C%2FP%3E%3CP%3ED%C3%A9sol%C3%A9%2C%20en%20fait%2C%20j'ai%20r%C3%A9alis%C3%A9%20plus%20tard%20que%20%22wl%22%200~11%2C%2014~25%20et%2028~39%20sont%20des%20nombres%20d%C3%A9cimaux%20%C3%A0%202%20chiffres%2C%20qui%20doivent%20seulement%20%C3%AAtre%20convertis%20en%20d%C3%A9cimal.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7990%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Comment%20convertir%20des%20donn%C3%A9es%20binaires%20en%20codes%20ASCII%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7990%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELes%20nombres%20binaires%20de%20votre%20tableau%20ne%20correspondent%20pas%20toujours%20%C3%A0%20AZ%20ou%200-9.%20Ceux-ci%20s'affichent%26nbsp%3B%3A%20%22%20%23%20%26amp%3B%200%201%202%203%204%205%206%207%20%3F%20%40%20ABCDEFGHIJKLMNPQRSTUV%20WX%20_%20o%20%7B%20%7D%20~%3C%2FP%3E%3CP%3EEt%20dans%20les%20nombreux%20cas%20de%20%22caract%C3%A8res%22%20ascii%20non%20imprimables%2C%20il%20y%20aura%20des%20cellules%20vides%20dans%20JMP.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EJ'ai%20probablement%20mal%20compris%20votre%20objectif%2C%20mais%20essayez%20cette%20formule%2C%20qui%20fera%20une%20exception%20pour%20tous%20les%20wl%20parmi%20%7B12%2C%2013%2C%2026%2C%2027%2C%2040%2C%2041%7D.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3ESi%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Contient%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSTRONG%3E%20%7B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2012%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2013%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2026%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2027%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2040%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%2041%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20%7D%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%20wl%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%232800e1%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3ECarboniser%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%232800e1%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20Matrice%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%220%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%221%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%222%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%223%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%224%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%225%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%226%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%60%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20*%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%202%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%5E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Indice%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%200%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%206%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%60%3C%2FSPAN%3E%3CSTRONG%3E%20)%5B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%201%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20%5D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%232800e1%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3EHex%20%C3%A0%20Char%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%232800e1%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3EDroite%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EHex%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Matrice%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%220%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%221%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%222%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%223%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%224%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%225%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%20%226%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%60%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20*%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%202%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%5E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%20Indice%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%200%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%206%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%60%3C%2FSPAN%3E%3CSTRONG%3E%20)%5B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E%201%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20%5D%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%22entier%22%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E2%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%22us-ascii%22%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7989%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Comment%20convertir%20des%20donn%C3%A9es%20binaires%20en%20codes%20ASCII%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7989%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EMerci%20MS!%3C%2FP%3E%3CP%3EJe%20ne%20sais%20rien%20de%20l'utilisation%20des%20matrices%20dans%20jmp.%20pour%20les%20donn%C3%A9es%20que%20j'ai%20publi%C3%A9es%2C%20mon%20objectif%20ultime%20est%20A%26nbsp%3B%3A%20convertir%20%22wl%22%200~11%2C%2014~25%20et%2028~39%20en%20texte%20composant%20AZ%20et%200-9.%20B%26nbsp%3B%3A%20Les%20autres%20%C2%AB%20wl%20%C2%BB%20repr%C3%A9sentent%20un%20nombre%20d%C3%A9cimal%20%C3%A0%202%20chiffres.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Evotre%20script%20fonctionne%20pour%20A%20mais%20pas%20pour%20B.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7988%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Comment%20convertir%20des%20donn%C3%A9es%20binaires%20en%20codes%20ASCII%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7988%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIl%20existe%20probablement%20un%20moyen%20plus%20simple%2C%20mais%20essayez%20de%20coller%20le%20code%20ci-dessous%20dans%20un%20champ%20de%20formule%20de%20colonne%20dans%20le%20tableau%20de%20donn%C3%A9es%20publi%C3%A9.%20Il%20devrait%20donner%20le%20caract%C3%A8re%20ascii%20(le%20premier%20argument%20de%20Hex()%20calcule%20seul%20le%20code%20d%C3%A9cimal%20ascii)%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%20color%3A%20%23032ce4%3B%22%3EHex%20%C3%A0%20Char%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%20color%3A%20%23032ce4%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3EDroite%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EHex%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%20color%3A%20%23032ce4%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20Matrice%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%220%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%221%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%222%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%223%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%224%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%225%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Nom%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%226%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20)%7D%3C%2FSTRONG%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%60%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20*%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%202%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%5E%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20%5B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%200%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%201%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%202%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%203%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%204%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%205%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22line-height%3A%201.5em%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%206%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20%5D)%5B%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%201%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%20style%3D%22line-height%3A%201.5em%3B%22%3E%20%5D%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%22entier%22%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E2%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%22us-ascii%22%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2014px%3B%20font-family%3A%20Courier%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
robust1972
Level IV

how to convert binary data into ascii codes


I have some analog data I need to convert it to binary basing on its value(done). Then I managed to put 8 bits together to make a binary data by jmp script. Where I need help is how to convert the binary data into text/number using ascii codes. I tried use blob to char but it reporting wrong data type....

I attached jmp table.

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: how to convert binary data into ascii codes

The binary numbers in your table do not always correspond to A-Z or 0-9. These show up: " # & 0 1 2 3 4 5 6 7 ? @ A B C D E F G H I J K L M N P Q R S T U V W X _ o { } ~

And in the many cases of non-printable ascii "characters" there will be empty cells in JMP.

I've probably misunderstood your goal, but try this formula, which will make an exception for all wl among {12, 13, 26, 27, 40, 41}.

If( Contains( {12, 13, 26, 27, 40, 41}, :wl ),

  Char(

  (Matrix(

  {:Name( "0" ), :Name( "1" ), :Name( "2" ), :Name( "3" ), :Name( "4" ),

  :Name( "5" ), :Name( "6" )}

  )` * 2 ^ Index( 0, 6 )`)[1]

  ),

  Hex To Char(

  Right(

  Hex(

  (Matrix(

  {:Name( "0" ), :Name( "1" ), :Name( "2" ), :Name( "3" ),

  :Name( "4" ), :Name( "5" ), :Name( "6" )}

  )` * 2 ^ Index( 0, 6 )`)[1],

  "integer"

  ),

  2

  ),

  "us-ascii"

  )

)

View solution in original post

4 REPLIES 4
ms
Super User (Alumni) ms
Super User (Alumni)

Re: how to convert binary data into ascii codes

There is probably a simpler way, but try to paste the code below into a column formula field in the posted data table. It should give the ascii character (the first argument of Hex() alone calculates the ascii decimal code)

Hex To Char(

  Right(

  Hex(

  (Matrix(

  {:Name( "0" ), :Name( "1" ), :Name( "2" ), :Name( "3" ), :Name( "4" ), :Name( "5" ), :Name( "6" )} )` * 2 ^ [0, 1, 2, 3, 4, 5, 6])[1],

  "integer"

  ),

  2

  ),

  "us-ascii"

)

robust1972
Level IV

Re: how to convert binary data into ascii codes

Thanks MS!

I know nothing about matrix usage in jmp. for the data I posted, my ultimate goal are A: convert "wl" 0~11, 14~25 and 28~39 to text composing A-Z and 0-9. B: Other "wl"s represent a 2 digit decimal number.

your script work for A but not for B.

ms
Super User (Alumni) ms
Super User (Alumni)

Re: how to convert binary data into ascii codes

The binary numbers in your table do not always correspond to A-Z or 0-9. These show up: " # & 0 1 2 3 4 5 6 7 ? @ A B C D E F G H I J K L M N P Q R S T U V W X _ o { } ~

And in the many cases of non-printable ascii "characters" there will be empty cells in JMP.

I've probably misunderstood your goal, but try this formula, which will make an exception for all wl among {12, 13, 26, 27, 40, 41}.

If( Contains( {12, 13, 26, 27, 40, 41}, :wl ),

  Char(

  (Matrix(

  {:Name( "0" ), :Name( "1" ), :Name( "2" ), :Name( "3" ), :Name( "4" ),

  :Name( "5" ), :Name( "6" )}

  )` * 2 ^ Index( 0, 6 )`)[1]

  ),

  Hex To Char(

  Right(

  Hex(

  (Matrix(

  {:Name( "0" ), :Name( "1" ), :Name( "2" ), :Name( "3" ),

  :Name( "4" ), :Name( "5" ), :Name( "6" )}

  )` * 2 ^ Index( 0, 6 )`)[1],

  "integer"

  ),

  2

  ),

  "us-ascii"

  )

)

robust1972
Level IV

Re: how to convert binary data into ascii codes

thanks MS.

Sorry, in fact that I realized later that  "wl" 0~11, 14~25 and 28~39 are 2 digits decimal number, which only need be convert to decimal.

Recommended Articles