En este video creo una aplicación con Visual Basic 6.0 que usa funciones. Si el video va muy rápido, recuerda que hay un botón para pausarlo. La dirección del artículo que acompaña el video, lo puedes ver aquí: tony-valderrama.blogspot.com
Basic
Visual Basic for Excel, Simple Example Program to Control Instruments
A simple Visual Basic for Excel program is used to send a *IDN? And retrieve the response. In addition a subroutine and button is added to reset the instrument. An Agilent 34411A Digital Multimeter is used as it has USB, LAN and a GPIB interface. It is easy to switch instruments by using the VISA [...]