Skip to content

mahilab/MECH488

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MECH 488/588 Students

See the wiki for instructions on the project

Initial Setup (MECH 488 TAs only)

myRIO Hardware

  • Install LabVIEW myRIO Toolkit 2019 (32-bit).
  • Connect the myRIO via USB to host PC and find the device in Measurement and Automation Explorer (MAX) under Remote Systems.
  • Ensure that the current firmware version is 7.0.0f0. If it is not, click the Update Firmware button and install the latest firmware.
  • Ensure Enable Secure Shell Serve (sshd) is enabled.

MAX

cd mahi-daq/misc
sftp [email protected]
cd /var/local/natinst
mkdir bitfiles
cd bitfiles
put NiFpga_MyRio1900Fpga60.lvbitx
chmod 777 NiFpga_MyRio1900Fpga60.lvbitx

Cross-Compiler

  • Download and install the NI ARM cross-compiler to C:/dev/nilrt-arm so that the directory contains sysroots/, relocate_sdk.py, etc.
  • You must also install ninja (recommended to use chocolatey to run choco install ninja).
  • Once this is installed, you should be able to use the [nilrt-arm] kit with CMake Tools in VSCode to compile for the myRIO from Windows.
  • Otherwise, mahi-daq ships with a CMake toolchain file, which can be used like so:
> cd mahi-daq
> mkdir build
> cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE="../cmake/nilrt-arm-toolchain.cmake" -DCMAKE_BUILD_TYPE="Release"
> cmake --build .

Firewall

  • If you notice that the pendulum GUI is not receiving packets from the myRIO, you may need to update Windows firewall settings. For every instance of pendulum-gui, allow all settings as shown below:

Firewall

About

Template for MECH 488 myRIO Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published