Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to access MCD file with a C or C++ application?

2 posters

Go down

How to access MCD file with a C or C++ application? Empty How to access MCD file with a C or C++ application?

Post  dodo123 Thu Jun 25, 2009 4:10 pm

Hi

I'm looking for a mean to access data in MCD files to extract them and process them in the target to compress the data amount.

I've tries MC_Data_Tools, but it generates 250Mo asccii files.

I want compress data from the file to have one mean measure for each millisecond indstead of ten measur by milliseconds.


What's the better way?

Regards

Dominiques

dodo123

Posts : 4
Join date : 2009-06-25

Back to top Go down

How to access MCD file with a C or C++ application? Empty Re: How to access MCD file with a C or C++ application?

Post  Jens Fri Jun 26, 2009 8:43 am

There are several possibilities:
In the MC_Rack installation directory there is a directory MCStreamSupport. There is a Window (Windows\MC_StreamAnsiLib.zip) and Linux (Linux\MC_StreamAnsiLib32.tar.gz) library with short examples to access MCD-files.
For Windows there is also a COM-Dll to access MCStream.dll with an Example in MCStreamTest.

Recently we support Neuroshare. It could be downloaded from our webpage soon.

Jens

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

How to access MCD file with a C or C++ application? Empty Re: How to access MCD file with a C or C++ application?

Post  dodo123 Tue Jul 07, 2009 3:06 pm

Hi Jens

Thank you for your anwser, I've tried but not yet been able to do what I want. Is it possible to use another one language, like java or visual basic .net? I'm not really familiar with C++ No

What I need to do is to open a MCD file and get the 10'000 first value of 60 channels. Does anyone have yet a source code to do this small job?

Thank you,
Dominiques

dodo123

Posts : 4
Join date : 2009-06-25

Back to top Go down

How to access MCD file with a C or C++ application? Empty Re: How to access MCD file with a C or C++ application?

Post  Guest Fri Jun 18, 2010 10:59 am

Without going into details, I am confident the dll is compatible with
the version of OS (still XP Pro). The MathCAD installation occurred
yesterday and it is the latest version. It might turn out this .dll is
the wrong approach. Based on reading documentation I also wonder if a
working system based on this approach (accessing the .dll's 'directly',
rather than using OLE stuff) might require an intricate, complicated
mixture of .dll's. This would be 'the worst case scenario'. My only
goal is to take previously created MathCAD files, inject values in key
variables and read in to my program the results.

Are there
any good references or reading material describing Builder's
implementation of the OLE stuff? Obviously it is *drastically*
different from Visual Studio's implementation and I spend the vast
majority of my time guessing at how to use the members of the Variant
class and what keywords to use. OleProcedure? OleFunction?
OlePropertyGet? OlePropertySet? Is there any documentation for these? I
googled "c++ builder isbound()" and one Chinese website popped up
discussing (after translation) accessing Excel and receiving almost the
exact same error. I know I can access Excel using OLE just fine, so
that suggests to me I have a chance at accessing MathCAD, I just need
to work past this next barrier: "IsBound()".
_____________________________________________
Sports Nutrition | Sports Supplements

Guest
Guest


Back to top Go down

How to access MCD file with a C or C++ application? Empty Re: How to access MCD file with a C or C++ application?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum