07-22-2008 02:26 PM
01-21-2009 02:48 AM
I'm very sorry, but etsapi.dll is a DLL that comes either with the Ardence Pharlap system or has been provided by NI. So the issue about the DLL not being supported on the real time system is IMO simply moot.
etsapi.dll was used in LabVIEW 7.1 by some functions in vi.lib/addons/vi.lib/addons/rt/ETS/rtutility.llb (and I do believe by the Real-Time System Manager) and the functions in that DLL seem to be documented by Ardence/Pharlap in their SDK. In LabVIEW RT 8.2 some of the functions in the rtutility.llb have disapeared so it could be that the poster was using one of them and really pulled the stub DLL from RT 7.1 in, while the DLL distributed on an 8.x RT Target does not support the same functions.
Rolf Kalbermatter
05-21-2009 05:07 AM
Hi All,
Sorry for hijacking the thread to some other DLL, but I feel this is also related to the topic under discusssion...
Can anybody please tell me whether a DLL built using FORTRAN will be compatible with LV RT 8.6?
I have not tried this, but customer wants to make sure thatthere wont be any problem after migration code to LV from some other language. Thats why...
05-22-2009 10:18 AM
Hello Parthabe,
Take a look at this KnowledgeBase. There is a program that can check DLL for compatibility with LabVIEW Real-Time.
08-11-2009 02:47 AM - edited 08-11-2009 02:55 AM
parthabe wrote:Hi All,
Sorry for hijacking the thread to some other DLL, but I feel this is also related to the topic under discusssion...
Can anybody please tell me whether a DLL built using FORTRAN will be compatible with LV RT 8.6?
I have not tried this, but customer wants to make sure thatthere wont be any problem after migration code to LV from some other language. Thats why...
I haven't seen this message and it is a bit old now, but the recommendation by Jon S is probably the best. Quite likely the Fortran DLL will reference some runtime library which might relay on specific Microsoft Visual C runtimes somehow and there is a good chance that this could fail.
Also note that Windows DLLs will only be potentially compatible with Pharlap based RT system. cRIO and some other newer systems are all VxWorks based and they will not be able to use any DLL at all but have their own shared library image format which needs to be created using the according VxWorks toolchain (a gcc based system).
Rolf Kalbermatter
08-11-2009 04:12 AM
Thank you Rolf!
Anyway, it is always better late than never.
Since we were to use the cRIO & that was not compatible with the VxWorks RTOS which the client is very specific, we had to discard our project itself.
We are looking at some other options like VB. Let me post here for any further advancements...
04-06-2011 09:17 AM
Hi All,
I am trying to execute Fotran dll on PharLap ETS OS(PXIRT 8106), the fotran code function is it reads data from text document and performs some analysis and writes data to text document.When I am checking this using dll checker it is showing libifcoremd.dll bad as 2 and imagehlp.dll bad as 2.Kindly find the attachment for error detail.
Help me out with this.
Thank you all.
Babu.
04-06-2011 11:16 AM - edited 04-06-2011 11:25 AM
If the DLL Checker for your LabVIEW version reports an error this means you usually can't make the DLL work under Pharlap ETS without source code or linker modifications to the DLL itself. Without access to the source code this is usually impossible.
In your specific case it could be that your DLL depends on Fortran runtime library functions, and theoretically it may be possible to copy them manually to the Pharlap system. However if those runtime libraries are fairly recent, they most likely make use of Windows runtime APIs that are not present on the Pharlap ETS system either.
Another option might be to select in your Fortran project to link all runtime libraries statically into your DLL instead of relaying on them being present on the host system. But again, these runtime libraries may make use of Windows APIs, that are not present under Pharlap ETS.
imagehlp.dll is a Windows DLL and you can't replace the one on the Pharlap ETS system with one from your Windows system without catastrophic consequences to your RT OS. and it seems it is the actual cuplrit for the bad imports. Without the list of actual bad imports in the second tab it is impossible to determine if that is the only problem.
Also the stubs could be also a problem, eventhough they don't prevent the DLL(s) from loading. If your DLL ever calls a function that calls such a stub, it could result in a runtime error since the expected functionality is not performed.
04-16-2011 12:17 AM
Thank you for your reply,my application is execution of fortran code on PXI RT system using LabVIEW Software.Fortran function is reading values from text document and performing analsis and writing to text document.I have created dll for this program using Microsoft visual studio.I have checked with dll checker it is giving imagehlp.dll,libifcoremd.dll as bad imports.Can you please help me to solve this.
04-17-2011 05:46 AM