-
Notifications
You must be signed in to change notification settings - Fork 3
New PC setup
Pete Bachant edited this page Jan 12, 2018
·
13 revisions
The computer that controlled the tow and wave tank was damaged in the Chase OE Lab renovation in 2017.
On December 9, 2017, I (@petebachant
) came up to UNH to try to get a new computer setup with the tow tank motion controller, Ethernet serial server, NI cDAQ chassis, and NI USB-6211 (for wavemaker output). This page is meant to be a record of what was done.
- Noticed that many cable carrier tray sections are loose, the plastic trim on one side of the timing belt housing is damaged, and the on-board servo cabinet disconnect also appears to have been damaged.
- Turned on on-board 120 VAC, on-board servo, and tow controller cabinet disconnects.
- Logged on to the new OE-WAVE PC using the local
OEAdmin
account. - Logged in to GitHub on Chrome with my user account to start writing this page.
- Hid Cortana from the taskbar.
- Attempted to install Chocolatey from a command prompt (Windows key --> cmd --> enter).
- Did not have admin rights to make changes to computer, so I will probably only be able to make changes in this home directory. This could be an issue later.
- Tried to delete shortcuts from desktop but needed admin rights to do this.
- Downloaded the Anaconda (Python 3.6) installer. Ultimately it would be great if we could use Anaconda instead of Python(x,y), since Python 2.7 is being deprecated in 2020, but there may be some packages that aren't available for Python 3 yet. More on this later.
- Opened up NI-MAX to see if I could connect to all the devices.
- Logged into the cDAQ-9188 (CompactDAQ Chassis) using the credentials listed in https://github.com/UNH-OE/wave-tow-tank-admin.
- Clicked "Add device" in NI-MAX to add the cDAQ-9188 to the system. After this, the modules were discovered. Note that the Global Virtual Channels should also be backed up in this repository, but those should only be necessary to run TurbineDAQ.
- Checked the USB-6211 test panels in NI-MAX to ensure we could communicate with that--looks good.
- Checked the 9205 test panels similar to above--looks good.
- Checked that Git for Windows was installed--looks good.
- Enabled
ctrl+shift+letter
shortcuts for Git Bash (right click on window and click "options"). - Installed Anaconda with all the defaults (only install for this user; this could be an issue for others using this PC).
- Pinned Git Bash to taskbar (many things from here on out will be done from there).
- Checked to see if Git has been configured with
git config --global --list
--it hasn't been. - Checked to see if the old ACS SPiiPlus workspace file was backed up in this Git repo--not there.
- Logged into the router by navigating to
192.168.1.1
in Chrome and using the credentials listed in thewave-tow-tank-admin
repo. - Updated firmware for the router. This may not have been done after the recent WiFi security scare, so best to be safe.
- Pinned the
C:/Users/OEAdmin
to the Quick Access list in Windows Explorer--this is where many files and/or subdirectories will go. - Enabled manual IP address assignment in the router LAN-DHCP settings page. Not seeing the ACS controller connected as a client, however.
- Opened up SPiiPlus MMI Application Studio and removed the simulator component from the workspace.
- Right clicked on "Workspace 'New'" and clicked "Add controller".
- Seemed to be able to connect to controller at
192.168.1.82:701
, but it looks like the program manager is empty, so this may not be the correct controller--yep, this connected me to the simulator. Not seeing the ACS controller as a client on the network, so I may need to go read the MAC address and add it at the correct IP manually. Didn't appear to have a MAC address written on it, so this may not be possible. - Plugged the ACS EtherCAT network cable into the OE-WAVE PC. Was able to connect to the "Unidentified network".
- Unloaded and restarted SPiiPlus User Mode Driver from the system tray.
- Created
C:/Users/OEAdmin/dev
directory for storing custom software. - Cloned Tow repository from GitHub and attempted to run the
test.py
script within--could not connect to the controller, just like from SPiiPlus MMI App Studio. - May have found the controller's MAC address (
00:10:F3:23:2A:78
) saved here: https://github.com/UNH-OE/wave-tow-tank/blob/master/ACS-NTM/NTM00269B1%20-%20SystemInformation.txt#L120. - Attempted to connect to ACS controller from my laptop over Ethernet--no go. Plugged in a connected via serial
port using null modem adapter in that controller cabinet--worked. Tried SPiiPlus 2.28, which wasn't any different.
Set IP on network connected to controller as
10.0.0.101
(in Windows network adapter settings), and was able to connect via SPiiPlus 2.40. - Used local admin
Wave
account to addOEAdmin
to the Administrators group. - Removed local install of Anaconda.
- Started up tow systems in typical fashion.
- Logged in to
OEAdmin
account on PC. - Ran
choco upgrade all -y
from an Administrator command prompt--no changes. - Downloaded Vectrino Plus software.
- Downloaded Nortek's PdCommATL software.
- Installed Nortek Vectrino Plus and PdCommATL.
- Cloned TurbineDAQ to
~/dev/TurbineDAQ
. - Attempted to run TurbineDAQ, but this failed due to missing
pxl
library, so ranpip install pxl
. - Missing MicronOpt package, so ran
pip install https://github.com/petebachant/MicronOpt-Python/archive/master.zip
. - Missing Nortek Python package, so ran
pip install https://github.com/petebachant/Nortek-Python/archive/master.zip
. - Was able to launch TurbineDAQ from it's repository directory by running
python turbinedaq.py
(in Git Bash). - Was able to successfully monitor ACS controller signals from TurbineDAQ software.
- Cloned the
wave-tow-tank
repo to~/dev
to have access to NI config backup. - Launched NI-MAX by pressing the Windows key and typing "max".
- Deleted cDAQ chassis from system and imported all config data from
~/dev/wave-tow-tank/NI-MAX/configData.txt
. - Was then able to monitor DAQ signals from TurbineDAQ.
- Was able to get the Ethernet serial server to fire up after finding and correcting a loose power supply wire.
- Installed Quatech Ethernet serial drivers from https://drive.google.com/open?id=1-Zkf2Wfe2qoMD2YqXB7to3Gn1mvv932t.
- Installed GitHub Atom text editor from https://atom.io.
- Installed some packages for Atom with
apm install symbols-tree-view autocomplete-python python-tools
. - Looked in the TurbineDAQ source code for which COM port it assumes the Vectrino would run from. Turns out to be COM2, so set the first port of the Ethernet serial server as COM2 in the device manager.
Note: This documentation is community-driven and therefore unofficial.
UNH Chase OE lab | Wave & tow tank | UNH-CORE Turbine test bed