Set-up Instructions
This section is under construction |
Install Virtualbox
Go to Virtualbox.org and download version 7.0.X

Click on the Download Button, that will take you to the Downloads page

there, scroll down to click on "Previous Releases"

Select the 7.0.X release

and install.
Import VM
Visit Gcentral/cti and download the OVA file for the CTI virtual machine

Now

Find the downloaded OVA and press Next


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


When imported open the new VM
You may need to click on the "Show" button to get to your Virtual Machine

Tip, the right ctrl button will free your mouse if the VM steals it. |
We no longer log in as a ROOT. The amazing team behind CTI has figured out how to avoid the need to have a ROOT Login. We will be using instead the CTI STUDENT log in with password = labviewtraining

You will see the following Desktop

Setting Up Your Keyboard
To change to a different keyboard, open up the start-up menu:

Type Keyboard and click on "Keyboard and Mouse"

Click on "Keyboard Layout" Select the keyboard that suits from the extensive list!

Load and Activate LabVIEW
We strongly recommend that you open Firefox before you activate LabVIEW. Open up the start-up menu and click on Other>>Post a question on the NI Forums This will open the NI Forums.

If you don’t have an account, please create one and log in. If you already have an account, please log in. The first time you open Firefox it may take a little longer to refresh.

You also need to have LabVIEW Community Edition Listed as one of your products. To verify this, go to "My Products". This may take a couple of minutes.

You should have LabVIEW Community Edition, Linux listed as one of your products

Don’t see LabVIEW Community Edition Listed
If you don’t see, it, you will need to initiate the LabVIEW download process to gain that entitlement.
To download, go to Products>>LabVIEW

Click on the Download button

Select the Community Edition for Linux and click Download

You can cancel the download process because LabVIEW is already installed on your VM. You just needed to initiate the download process to get the entitlement.
Now, you can minimize Firefox for now and let’s open LabVIEW to activate it. Double-click on the LabVIEW shortcut on the VM desktop

Activate LabVIEW Community Edition License. You will need to log in again to your NI Account on on NI.com.

This will load the activation website in using Firefox

Tap in your user account details and the LabVIEW license will activate.
LabVIEW will now load as normal
Install Course Materials

Open the start-up menu and click on Other>>Visit LabVIEW Community Training on GitHub

Select the course you wish to give.

Download as a zip file

Click on the file symbol

and extract to Desktop

You should now have a desktop that resembles this

Installing Drivers
Open up ../4) LabVIEW Instrument Drivers in a window
Clicking on the Computer icon on the desktop and then on the File System, navigate to /usr/local/natinst/LabVIEW-2024-64/instr.lib
Drag HandsOnPi2040 directory to ../instr.lib

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

Making Emulator Exe run in Linux
The file CTIPicoVISAEmulator.exe needs to be set to be executable Open the GettingStartedLabVIEW1-English-main folder and navigate to 3) LabVIEW Instrument Emulator/builds/HandsOn and right-click on CTIPicoVISAEmulator folder and select "Open in Terminal"

Then type ls Enter
Then type ./CTIPicoVISAEmulator.exe Enter
If you get a Permission denied, then type
chmod u+x CTIPicoVISAEmulator.exe Enter
Now you should be able to type ./CTIPicoVISAEmulator.exe Enter

Click here if you are getting other errors
If you get other errors, then you need to build the Emulator executable for your VM.
Navigate to Desktop/GettingStartedLabVIEW1-English-main/3) LabVIEW Instrument Emulator/Project and double-click on HandsOn.lvproj ot open it in LabVIEW
Double-click Build Specifications
Right-click on CTIPicoVISAEmulator and click on Build

Once is done, click on the Explore button

and you should be able to execute the exe

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 the Linux VM select Devices>>USB>>Raspberry Pi RP2 Boot [0100] (or similar)

This will mount the hard drive on the desktop

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

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

Connect the Pico
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.