‎01-27-2009 11:51 AM
‎01-28-2009 07:44 AM
Hi Peterjim,
I am afraid I am not familiar with Code Composer Studio or GEL commands.
Can you explain a little bit more about your application such as what hardware are you using and how this is set up.
What is the intended aim of the application?
What functions are do you want LabVIEW to perform and what do you want CCS to do?
Are you able to run the commands directly from CCS? Does this return the values you expect?
It appears that you are trying to get this working in CCS and then control that from LabVIEW, is this the case?
If you can let me know this information we can continue to look into this.
Kind regards,
John P
‎01-29-2009 04:03 AM
‎02-02-2009 05:25 AM
Thank you for the clarification.
In general, a dll will return zero whenever there is an error calling it. This is often caused by incorrect specification of the DLL header file or incorrect function parameters. My suggestion would be that although LabVIEW appears to have correctly identified the functions from the DLL, there is some problem calling it. It may be you need to create a wrapper DLL that can convert the data from the DLL into something LabVIEW can handle. Unfortunately this is all speculation due to the lack of information specific to the DLL.
My suggestion would be to contact TI and try and get some more information on the data types passed by the DLL, also if there is anyway you can access the DLL from another environment, try and see the data type returned.
Hopefully somebody out in the community has done something similar before and can give you more specific information!
Best regards,
‎02-03-2009 02:46 AM