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

View previous topic View next topic Go down

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

Post  dodo123 on Thu Jun 25, 2009 3:10 am

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

View user profile

Back to top Go down

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

Post  Jens on Thu Jun 25, 2009 7:43 pm

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 : 54
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

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

Post  dodo123 on Tue Jul 07, 2009 2:06 am

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

View user profile

Back to top Go down

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

Post  Guest on Thu Jun 17, 2010 9:59 pm

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

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

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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