Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Data Acquisition

Intel_C_Intel
Employee
383 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
383 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