Jump to content

"CNCBINASC" UMESS-UX Binary data format


---
 Share

Recommended Posts

Does anyone know what encoding is performed by the "CNCBINASC" and "CNCASCBIN" programs in HP-UX?
Or was there ever a Win32 version of these utilities?

My situation is that I have a bunch of UMESS data backups that are in this Zeiss "Binary" format. I know that if I run them through CNCBINASC in HP-UX they become human readable.

I would like to be able to perform this transformation in Windows.
Link to comment
Share on other sites

Today is your lucky day 😃

I don't know of any Windows version of those conversion tools, but I can provide you with some Excel VBA code I wrote back in my better days that does the same thing. The format is not too hard to decode. The function names are clear text anyway and the various parameters are encoded in single, double etc. binary number format.

Import the attached VBA code module into an Excel sheet and call the CNC_Conv macro. It asks for a binary input file and generates the ASCII version in the same directory with an added *.txt suffix (no further acknowledgement - this is quick'n'dirty style 😉 )

Note however that the code doesn't contain all the possible CNC functions of UMESS-UX. I implemented only the ones we used most and that were needed for Caylpso conversion. But if you analyze the code and maybe have an additional look at the binary file with a hex editor, it shouldn't be too hard to extend the macro accordingly. The encoding scheme is always more or less the same and most of the time fits one of the categories defined in the code already (CASE statement).

Also note that all the function names are in German. You'll probably need to translate them first, so they're recognized properly..

Modul1.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...