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%3Ec%C3%B3mo%20convertir%20datos%20binarios%20en%20c%C3%B3digos%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%3ETengo%20algunos%20datos%20anal%C3%B3gicos%20que%20necesito%20para%20convertirlos%20a%20binarios%20seg%C3%BAn%20su%20valor%20(hecho).%20Luego%20logr%C3%A9%20juntar%208%20bits%20para%20crear%20datos%20binarios%20mediante%20un%20script%20jmp.%20Donde%20necesito%20ayuda%20es%20c%C3%B3mo%20convertir%20los%20datos%20binarios%20en%20texto%2Fn%C3%BAmero%20usando%20c%C3%B3digos%20ascii.%20Intent%C3%A9%20usar%20blob%20to%20char%20pero%20informaba%20un%20tipo%20de%20datos%20incorrecto....%3C%2FP%3E%3CP%3EAdjunt%C3%A9%20la%20tabla%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%3A%20como%20convertir%20datos%20binarios%20a%20codigo%20ascii%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7991%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3Egracias%20ms%3C%2FP%3E%3CP%3ELo%20siento%2C%20de%20hecho%2C%20me%20di%20cuenta%20m%C3%A1s%20tarde%20de%20que%20%22wl%22%200~11%2C%2014~25%20y%2028~39%20son%20n%C3%BAmeros%20decimales%20de%202%20d%C3%ADgitos%2C%20que%20solo%20necesitan%20convertirse%20a%20decimal.%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%3A%20como%20convertir%20datos%20binarios%20a%20codigo%20ascii%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7990%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELos%20n%C3%BAmeros%20binarios%20en%20su%20tabla%20no%20siempre%20corresponden%20a%20AZ%20o%200-9.%20Estos%20aparecen%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%3EY%20en%20los%20muchos%20casos%20de%20%22caracteres%22%20ascii%20no%20imprimibles%2C%20habr%C3%A1%20celdas%20vac%C3%ADas%20en%20JMP.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EProbablemente%20no%20entend%C3%AD%20bien%20tu%20objetivo%2C%20pero%20prueba%20esta%20f%C3%B3rmula%2C%20que%20har%C3%A1%20una%20excepci%C3%B3n%20para%20todos%20los%20wl%20entre%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%20Contiene%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%3ECarbonizarse%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%20Matriz%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20%C3%8Dndice%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%3Ehexadecimal%20a%20carb%C3%B3n%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%3EBien%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%3EMaleficio%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%20Matriz%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20%C3%8Dndice%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%22entero%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%3A%20como%20convertir%20datos%20binarios%20a%20codigo%20ascii%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7989%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%C2%A1Gracias%20MS!%3C%2FP%3E%3CP%3ENo%20s%C3%A9%20nada%20sobre%20el%20uso%20de%20matrices%20en%20jmp.%20para%20los%20datos%20que%20publiqu%C3%A9%2C%20mi%20objetivo%20final%20es%20A%3A%20convertir%20%22wl%22%200~11%2C%2014~25%20y%2028~39%20en%20texto%20que%20componga%20AZ%20y%200-9.%20B%3A%20Otros%20%22wl%22%20representan%20un%20n%C3%BAmero%20decimal%20de%202%20d%C3%ADgitos.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Esu%20script%20funciona%20para%20A%20pero%20no%20para%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%3A%20como%20convertir%20datos%20binarios%20a%20codigo%20ascii%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7988%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EProbablemente%20haya%20una%20forma%20m%C3%A1s%20sencilla%2C%20pero%20intente%20pegar%20el%20c%C3%B3digo%20a%20continuaci%C3%B3n%20en%20un%20campo%20de%20f%C3%B3rmula%20de%20columna%20en%20la%20tabla%20de%20datos%20publicados.%20Deber%C3%ADa%20dar%20el%20car%C3%A1cter%20ascii%20(el%20primer%20argumento%20de%20Hex()%20solo%20calcula%20el%20c%C3%B3digo%20decimal%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%3Ehexadecimal%20a%20carb%C3%B3n%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%3EBien%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%3EMaleficio%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%20Matriz%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%20Nombre%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%22entero%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