It also provides DOS/SYSTEM error codes to pass errors back to batch files or calling programs.Ġ Log2Phy_Console terminated successfullyġ No logical filename specified in the Log2Phy_12.ini file.Ģ No device type specified in the Log2Phy_12.ini file.ģ Missing or Non-Existent Logical Filename.ĥ The logical s-record file contains a bad s-record entry.Ħ Missing or Non-Existent Log2Phy_12.dev file.ħ Insufficient entries in the Log2Phy_12.dev file.Ĩ Bad parameter entry in the Log2Phy_12.dev file for the selected device. Log2Phy_12_Console writes appropriate errors to the output if enabled. Be careful not to change the formatting of keywords in the. ![]() ini file can be edited using any standard text editor. To easily create this file, run the GUI version Log2Phy_12. To avoid holding all in memory, you should stream the data, converting and writing each chunk. bin2hex with added options to write hex only and to specify wrapping length: bin2hex.exe (. 2 Answers Sorted by: 9 Your problem is that you load the whole file into memory, convert each byte to three characters (that's the file size times 6), going through Replace and ToCharArray. Log2Phy_12_Console gets all its setup information from the Log2Phy_12.ini file. bin2hex.exe for Windows or bin2hex for Linux (source, bin2hex.c). Here is the help for the console version: You will need to modify the log2phy_12.ini file to determine the LOGICAL and PHYSICAL file name with full path. That way your MATLAB can just make an external call. You can, however, use Log2Phy_12_Console.exe so that you can run it in commandline. We cannot distribute the source for this utility.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |