05-06-2008 03:35 AM
05-06-2008 04:33 AM - edited 05-06-2008 04:36 AM
Well I'm not writing this for you and C++ is anything but well known area to me but I can give you an example that should give you an idea:
@simon76 wrote:i still have 1~2 months for this project.The instrument company do offer the software written in c++, i do hope can throw to them to make my life better but too bad i also hire to do all the test related task. However, i would also like to learn new things.. ~no pain, no gain~From my understanding, i do need to write one upper layer above to counter all the C++ code, I know how to create those vi from dll & header if under ansi C platform but not to convert c++ to c platform, appreciate if can show me example here at the same time i going to go through some reference.Simon
05-06-2008 05:21 AM
Do you accept any student, master.. ")
btw, i roughly understand but still long way to go..
Thanks for the explaination
Regards,
Simon
05-06-2008 03:15 PM
05-19-2008 11:29 PM
05-20-2008 12:10 AM
It seems you have made some wrong initilaization for the dll inputs in the InitTester.vi
Could you please attach that vi or a screenshot of it so that we can easily trace it out.
Thanks,
Mathan
05-20-2008 01:22 AM
Hi Mathan,
Attach with the vi & related files.
If run individually, the error wouldn't show but combine them together, then sometime the error show. If the error show, when run the last dll (disconnect from tester/deiniatilization tester function -- term.dll), the labview crash and exit.
regards,
05-20-2008 01:44 AM - edited 05-20-2008 01:46 AM
I guess your hook DLL is a wrapper DLL written by you. As far as the LP Init Tester VI is concerned and looking at the header file everything seems to be right so I guess it must be something you are doing in your C code in that wrapper DLL that is wrong.
@simon76 wrote:Hi Mathan,
Attach with the vi & related files.
If run individually, the error wouldn't show but combine them together, then sometime the error show. If the error show, when run the last dll (disconnect from tester/deiniatilization tester function -- term.dll), the labview crash and exit.
regards,
05-20-2008 02:55 AM
Attach with the code here.
05-20-2008 07:39 PM
Hi Rolf,
May I know what's the mean of "not done right with resource leaks and more" ??
regards