Skip to Content

.MDEF file


I am getting .MDEF file. Can File Adapter process this file ?

The MDEF file format is a complex binary file format for meter data.

Thanks in advance

J Augastine

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 28, 2011 at 06:22 AM

    Hi J Augastine ,

    I guess you need to write java code to read MDEF file. This file is of type binary, java can read binary file content. Before implementing it in PI just you need to try reading the contents of the file and printing in normal text using eclipse or NWDS. Thus you will come to know the format of data you are going to receive. The way how to use java to read binary file is given here

    Now if you are able to read the contents of the file, then you can put it in xml message format using java mapping. This you can follow from following link

    "JAVA MAPPING", an alternate way of reading a CSV file

    About MDEF file format you can know more from the following link

    If I can have a small sample MDEF file, I can try reading it using java.

    Hope this helps.


    Just published an article with complete solution to decode MDEF Files , here is the link



    Edited by: anupamsap on Dec 14, 2011 9:25 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.