Skip to content

MAILFERT-Sebastien/LABVIEW-Nikon-Ti2-microscope-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LABVIEW control of a Nikon Ti2 microscope

Aim

This software is designed to control a Nikon Ti2 microscope via Labview. As you can see on the following video, the Labview GUI is simple and allows to read the current status of the microscope and control it:

Watch the video

Prerequisites

This program has been tested under Labview 2023 64-bit. It is therefore necessary to have at least one version of Labview 2023 installed. If you contact me, I can provide you with a version that is compatible with yours (older or newest).

Tip

If you contact me, I can provide you with a version that is compatible with yours (older or newest).

Installing

  1. Nikon DLLs

    Dlls from the Nikon SDK must be installed first:

    • Create an account on the website NISDK
    • Wait for confirmation of registration (several days)
    • Once you've logged on to the site, you'll have access to various SDKs:

    image

    • Download, unzip and install the two following SDKs: "Nikon Ti2 SDK 64-Bit" and "Nikon Ti2 ActiveX Wrapper 64-Bit"
    • Install the dlls:
      • Open the command prompt in administrator mode
      • Move to the C:/WINDOWS/SysWOW64 directory
      • Type the command: regsvr32 "C:\Program Files\Nikon\Ti2-SDK\bin\NkTi2Ax.dll"

    image

    • Depending on your Labview version (32 or 64-bit), you should install the 32 bit version of the dlls
    • Install the dlls:
      • Open the command prompt in administrator mode
      • Move to the C:/WINDOWS/System32 directory
      • Type the command: regsvr32 "C:\Program Files (x86)\Nikon\Ti2-SDK\bin\NkTi2Ax.dll"

    image

  2. Labview code Copy the 5 Labview files on your desktop. Several Labview files are provided:

    • Nikon_Ti2_Control.lvproj : the project file itself
    • 231107_Nikon_Control.vi : the main file
    • 231107_Nikon_CheckStatus.vi : the file used to retrieve microscope status in the form of a complete cluster
    • 231107_Cluster_MAJ.vi : the file used to convert the microscope's complete status cluster into a cluster usable for the interface
    • 231106_Nikon_Led.vi : file for generating green LEDs according to microscope status (eyepieces, left port, right port, mix)

Running the tests

  1. Open the Nikon_Ti2_Control.lvproj project file

  2. Double-click on the 231124_Nikon_Control.vi file image

  3. Click on the Run arrow to run the vi image

Versioning

V1.0, 231124

Authors

Sébastien MAILFERT Institut Fresnel (Marseille, France), CNRS, AMU

Licence

GNU General Public License v3.0 GNU GPLv3.0

Acknowledgments

Sébastien MAILFERT

Releases

No releases published

Packages

No packages published