Help Icon
Search Results for

    Show / Hide Table of Contents

    Setup Visual Studio Code for C#

    Download and install the latest Visual Studio code

    Check out this web page containing helpful links and information https://code.visualstudio.com/docs/csharp/get-started

    Download and install the C# Dev Kit estention

    This page contains helpful information about the related functionalities. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit

    Create a new solution and a related project

    1. Create a console "hello world" solution referring to the Microsoft documentation if required.

    Add the required NuGet package

    The package includes the DLLs which allow the communication with the measurement devices.

    1. Open the command palette selecting View -> Command palette in the main menu od typing Ctrl+Shift+P Open the command palette

    2. Type "add" in the command palette and select Nuget: Add NuGet Package Type "add" in the command palette and select Nuget: Add NuGet Package

    3. Type "omicronlab" in the command palette Type "omicronlab" in the command palette

    4. And select the shown package And select the shown package

    5. Select the latest version of the package Select the latest version of the package

    6. If no solution or another one is currently open, close the current one and open the desired one using the button in the lower left corner. If no solution or another one is currently open, close the current one and open the desired one using the button in the lower left corner.

    7. Select the solution to open Select the solution to open

    Write or copy the required source code

    1. In the solution explorer on the left go to the contained Program.cs and enter the required code there. In the solution explorer on the left go to the contained Program.cs and enter the required code there.
    In this article
    Back to top Generated by DocFX