Set-up Instructions

Install Virtualbox

Go to Virtualbox.org and download the 7.0.X version.

in 001.00 DownoadVirtualBox

And install.

Import VM

Download OVA file

Now File>>Import Appliance into Virtualbox

in 002.00 ImportAppliance

Find the downloaded OVA and press Next

in 003.00 ApplianceToImport
in 004.00 ApplianceSettings

Press finish and the OVA will Import and appear as a new Virtual Machine (VM).

in 005.00 ImportingAppliance
in 006.00 Start

When imported open the new VM

Tip, the right ctrl button will free your mouse if the VM steals it.

Login as root, this solves a lot of issues with LabVIEW and Linux. Password is the same as the normal login. (labviewtraining)

in 007.00 TopRight
in 008.00 LogOut
in 009.00 LogIn

Click here and select Other… enter root and password (labviewtraining)

in 010.00 LogInAsRoot.00

And you should see the following.

in 011.00 Desktop

Setting Up Your Keyboard

To change to a different keyboard, open up the start-up menu and select settings>>keyboard.

in 012.00 Keyboard

Select the keyboard that suits from the extensive list!

in 013.00 KeyboardLanguage

Load and Activate LabVIEW

in 014.00 LabVIEW

Activate LabVIEW Community Edition License – you’ll need an active account on NI.com.

in 015.00 ActivateLabVIEWCommunityEdition

This will load the activation website in using Firefox

in 016.00 NIuserAccount

Tap in your user account details and the LabVIEW license will activate.

If you want to remove a license, the .lc file can be found in /root/natinst/.config/LabVIEW-2022/

in 017.00 LabVIEW lc file

LabVIEW will now load as normal

Install Course Materials

in 018.00 AccessCommunityTrainingResources

We’ve modified the Getting Started Window, this link will take you to the CTI Github repo.

in 019.00 GitHubCTImaterial

Select the course you wish to give.

image::in_020.00_DownloadZIP.png

Download as a zip file

in 021.00 OpenDownloads

Click on the file symbol

in 022.00 Extract

and extract to /root/Desktop

in 023.00 ExtractDestination

You should now have a desktop that resembles this

in 024.00 ExtractedMaterials

Installing Drivers

Open up ../4) LabVIEW Instrument Drivers in a window

Using the File System icon on the desktop navigate to /usr/local/natinst/LabVIEW-2022-64/instr.lib

Drag HandsOnPi2040 directory to ../instr.lib

in 025.00 DragInstrumentDriverTOinstr.lib

Open LabVIEW and create a new VI. Check the drivers are in the instr.lib as expected

in 026.00 HandsOnInstrumentPalette

Making Emulator Exe run in Linux

The file CTIPicoVISAEmulator.exe needs to be set to be executable

in 027.00 MarkEXE

Setting Pico Firmware

Each Raspberry Pi Pico will need the course firmware installed on it.

Hold the BOOTSEL button down on the Pico and plug the USB cable into the computer. The Pico will act as a flash drive.

in 028.00 BOOTSEL

In the Linux VM select Devices>>USB>>Raspberry Pi RP2 Boot [0100] (or similar)

in 029.00 DevicesUSB

This will mount the hard drive on the desktop

in 030.00 DeviceAsUSBflashDrive

Next drag and drop the course firmware file onto the Pico. This will install and the Pico LED will flash green 6 times.

in 031.00 DragFirmware

Connect and Test the Pico

In the Linux VM select Devices>>USB>>Raspberry Pi Pico [0100] (or similar)

in 032.00 ConnectVMtoUSBdevice

Connect the Pico

Hardware

USA and UK Suppliers

Raspberry Pi Pico:

Pico Breadboard Kit:

Analog Test Board:

Support Software

Part of the idea behind this project is there to be zero costs for the software side of things. The VM is pre-loaded with LibreOffice – it is the preferred medium for Manuals The VM also has a program called Pinta – this is a layered graphics program similar to Paint.net. The wiring diagrams are made with this.