Skip to content

SRInstComms

SRInstComms is an ActiveX control that allows users of SIGNAL RECOVERY instruments to control them from PC’s running Windows XP/Vista. The requirement is that these programs must be written in a language that supports such controls, which in practice is virtually all modern languages capable of developing Windows applications. 

The control takes care of all communication between the user-developed program and the instrument, performing the necessary handshaking and decoding status signals over the selected interface, which can be GPIB, RS232, Ethernet or USB, depending on the type of interface fitted to the instrument being controlled. With the exception of speed, the interface type is essentially transparent to the user, making programs portable between systems with different interfaces. 

It includes an automatic search routine which will find any compatible instruments that are connected to the computer. In most cases, this eliminates the need to adjust the communications settings controls on the instrument. The complete “profile” of connected instruments, together with any user-entered descriptive comments, is then securely saved in the system registry. Subsequent data transmissions to and from the instrument use this information to give the fastest possible communication. 

Up to ten compatible instruments can be controlled independently or simultaneously, so that for example in a system measuring impedance one lock-in amplifier can measure the sample current while a second measures the voltage. Both instruments can be read via the control and the output readings combined to determine the impedance. 

The package includes a full printed instruction manual, as well as on-screen help so that programming information is always easily available. In addition, sample applications in Visual Basic, Visual C++, Visual C#, LabVIEW, Excel and VBScript (HTML web page) are supplied. The VB, Visual C++ and Visual C# examples include a working executable as well as a full project workspace with all the corresponding source files. Similarly the LabVIEW, Excel and VBScript demonstration programs are complete with all source code information so that they can be easily edited by the user. 
  • Documents +

  • Specifications +


    User Interface
    The control offers a dialog box that programs can activate to allow users to check and if necessary update details of the instruments connected to the system. This box can also be used to initiate a search for instruments via the "Find instruments" button.

    The "Test connections" button checks whether an instrument recorded as being of a certain type and connected to a given port is actually present.

    Sample Programs
    The supplied example programs offer a quick way to start developing a program. Unlike some software toolkits, this ensures that you have access to code that is known to work with a wide range of hardware.

    The Excel spreadsheet and LabVIEW VI demonstrate perfectly the power of the control, allowing data to be taken directly from the instrument and plotted to a graphical display.

    Technical Requirements
    In addition to a compatible operating system and suitable programming software, the control requires at least one free USB or RS232 port on the computer, or a connection to an Ethernet network, or a spare PCI/PCMCIA slot to accommodate a National Instruments GPIB Interface card, typically a PCI-GPIB or PCMCIA-GPIB. Other manufacturer's cards or cable will not work.