How to access MCD file with a C or C++ application?
2 posters
Page 1 of 1
How to access MCD file with a C or C++ application?
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
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
Re: How to access MCD file with a C or C++ application?
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
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
Re: How to access MCD file with a C or C++ application?
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++
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
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++
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
Re: How to access MCD file with a C or C++ application?
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
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
Similar topics
» How can I get spike data in .mcd file?
» Can Only Access 1 Channel with datastrm
» read mcd file in Matlab
» Error 'file does not exist' in MEAtools
» McsUsbNet.h file
» Can Only Access 1 Channel with datastrm
» read mcd file in Matlab
» Error 'file does not exist' in MEAtools
» McsUsbNet.h file
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum