DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Tue Jul 9 11:40:00 2013, Dmitry Hits, cannot save in binary format 
    Reply  Tue Jul 9 12:23:06 2013, Stefan Ritt, cannot save in binary format 
       Reply  Tue Jul 9 14:00:49 2013, Dmitry Hits, cannot save in binary format 
Message ID: 273     Entry time: Tue Jul 9 14:00:49 2013     In reply to: 272
Author: Dmitry Hits 
Subject: cannot save in binary format 

Stefan Ritt wrote:

Dmitry Hits wrote:

Hi,

I would like to save the waveform in a binary format. When I click Save then change format from xml to dat in the menu. I still get xml format but with dat extension.

what I am missing?

Thank you,

Dmitry.

Version 4.0.1 has a problem there. Please use 4.0.0. If you can compile the program yourself, just change this line:

--- DOFrame.cpp (revision 20656)
+++ DOFrame.cpp (revision 20655)
@@ -517,7 +517,7 @@
       if (!filename.empty()) {
          m_btSave->SetLabel(_T("Close"));
          m_btSave->SetToolTip(_T("Stop saving waveforms"));
-         if (filename.Find(_T(".")) != wxNOT_FOUND) {
+         if (filename.Find(_T(".xml")) != wxNOT_FOUND) {
             m_WFfd = 0;
             m_WFFile = mxml_open_file(filename.char_str());
             if (m_WFFile)

 

 Thanks that fixed it!

Dmitry

ELOG V3.1.5-fe60aaf