Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.57 KB

README.md

File metadata and controls

22 lines (20 loc) · 1.57 KB

ME35_21

This has the LabVIEW (and example) code for Robotics class in 2021. To use this you will need to install Python3 of the same bitness as the LabVIEW install on your machine and a few libraries

  1. pip3 install pyserial
  2. pip3 install paramiko (for SSH option)
  3. Make sure you have just a vanilla python install (not anaconda, homebrew, etc)

There are a few useful things in this code:

  1. LabVIEW code that can save and read files on SPIKE Prime
  2. A REPL for SPIKE Prime to test out code (or save it)
  3. example code on SPIKE (under Browser)
  4. Milan's protocol for the WIO Terminal
  5. Browse files on SPIKE (Browser)
  6. Plot data coming over the console (Explorer)
  7. Save console log files for post-processsing

FAQ:

  1. Where do I get LabVIEW? It is free here - https://www.ni.com/en-us/support/downloads/software-products/download.labview-community.html#370001 (make sure to select the latest verison and the right operating system). You will also need to install NIVISA here - https://www.ni.com/da-dk/support/downloads/drivers/download.ni-visa.html#460225
  2. I am on Big Sur and LabVIEW is not working - open the Terminal and copy paste each of these commands (and hit return each time) - you only have to do this once - but that will let LabVIEW work on your machine
    - defaults write com.ni.labview NSGraphicsContextAllowOverRestore -bool YES
    - defaults write com.ni.labview NSViewAllowsRootLayerBacking 0
  3. If you want to make your own UI - check out "MakeYourOwn" - you can have multiple processors on the same page.