Controlling Keithley 2612B SourceMeter Using myRIO-1900 and LabVIEW

Updated Nov 1, 2023

Environment

Hardware

  • myRIO-1900

Software

  • LabVIEW

This knowledge-based article addresses a step-by-step guide on how to control Keithley 2612B SourceMeter using myRIO-1900. The performance of such task requires Embedded Control and Monitoring Using LabVIEW Course or equivalent experience.

  1. Connect the myRIO to a PC.
  2. Make sure the device has been detected. For that, the device must appear under the Remote Devices tab in NI Measurement & Automation Explorer (MAX). If the devices is not detected, please refer to the article NI CompactRIO or Network Device Doesn't Show Up or is Missing in MAX
  3. Make sure NI-VISA and LabVIEW Real-Time are installed in the myRIO and match the NI-VISA and LabVIEW versions installed in the PC. Such information for each device can be found:
    • PC: In NI MAX under My System >> Software 
    • myRIO: In NI MAX under  Remote Systems >> [Your Target] >> Software
  4. Download a version of the Keithley 2600 Series Meter driver that is compatible to the LabVIEW version that is currently installed in the PC. 
  5. Extract the driver's files to the instr.lib to C:\ProgramFiles(x86)\National Instruments\LabVIEW XXXX\instr.lib folder. 
  6. Open the LabVIEW project Keithley 2600 Series.lvproj located in the C:\ProgramFiles(x86)\National Instruments\LabVIEW XXXX\instr.lib\Keithley 2600 Series folder. 
  7. Make sure the VIs from the Keithley 2600 Series.lvlib library run without errors on the PC. 
  8. In the Project Explorer, drag and drop the Examples folder and the Keithley 2600 Series.lvlib library to the RT myRIO Target tab. 
  9. Make sure the VIs from the Keithley 2600 Series.lvlib library run without errors in the myRIO.
  10. (Optional) Develop the application that will control the Keithley device. 
  11. If only the myRIO will control the source meter, build and deploy a stand-alone Real-Time application to the myRIO.
  12. Save the LabVIEW project as copy to avoid changes in the Keithley 2600 Series.lvproj originally downloaded.