Close

11/22/2024 Code - files to ease building for MINGW/Windows

A project log for HP3455A Multimeter Command Line Control Tool

A Linux command line tool to control a vintage digital multimeter

bharbourBharbour 11/23/2024 at 13:530 Comments

This code includes code that I wrote to smooth over the differences between linux-gpib and NI488-2 libraries. Some conditional include files got added to the existing  .c files and a function to map the error numbers to human readable strings that the NI488-2 library lacks.

There is also a make script file: Makefile_MINGW that works under MINGW environments.

Not included are the National Instruments NI488-2 library stuff and a Microsoft file CHKSTK.O. Both of these are copyrighted to someone else. NI488-2 can be downloaded from National Instruments web site. The version that I am running is fairly old, version 14, Windows 7 era which is the latest MS code that I have access to. CHKSTK.O can be found in Microsoft compiler distributions.

Both the ni488-2.obj file and CHKSTK.O should be placed in the directory that you are building HP3455A_ctl in.

Building under MINGW is similar to building under Linux. Use the Makefile_MINGW instead of the Linux Makefile:

> make -f Makefile_MINGW

should compile and link everything. There should not be any errors or warning messages from the build.

Discussions