Software Archive
Read-only legacy content
17060 Discussions

Data Acquisition

Intel_C_Intel
Employee
458 Views
Hi All,

Does anyone out there have experience using Keithley-MetraByte
precompiled C libraries linked with Compaq Fortran?

I am trying to upgrade an existing DOS Fortran application (DAS-20 Keithley card) with an NT Fortran application (HR-1800 Keithley card).

However, I am having no luck with this multi-language app.

All help appreciated.

Thanks,

Robert
0 Kudos
1 Reply
sabalan
New Contributor I
458 Views
I think that you have to find out the "decorations" of those routines you are calling (e.g. _K_SomeThing@16) to be declared for DLLIMPORT in your Fortran program. You can run "DUMPBIN /EXPORTS /OUT:FileName.txt KeithleyDrivers.lib" at Fortran Command Prompt to see these decorations in FileName.txt.

BUT you have still another big problem, which is the NT itself, which does not allow direct access to the hardware. All DAQ communications go through the operative software in NT and this makes DAQ very slow. You may need to try your application in a machine with W9x first.

I was trying a long time to make this with Fortran and NT but I gave up at last, shifting to W98 and VisualBasic.

Good luck,

Sabalan.
0 Kudos
Reply