Difference between revisions of "Lab:B209"

From PrattWiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
B209 Fitzpatrick is a computer lab used by [[EGR 103]], [[EGR 224]], [[ECE 382]], [[ME 131]], and occasionally [[ME 141]] and [[ME 160]].
+
B209 Fitzpatrick is a computer lab used by [[EGR 103]], [[EGR 224]], [[ECE 382]], [[ME 321]], and occasionally [[ME 344]], [[ME 421]] and [[ME 422]].
  
 
== Specifications ==
 
== Specifications ==
* 49 networked Windows 8.1 [[Lab:B209/Computers|computers]] with WIN domain credential logins split up into 24 lab benches
+
* 48 networked Windows [[Lab:B209/Computers|computers]] with WIN domain credential logins split up into 24 lab benches
 
* 1 instructor station Windows 8.1 - equipped with a SMART Sympodium
 
* 1 instructor station Windows 8.1 - equipped with a SMART Sympodium
 
* Projection system with screen
 
* Projection system with screen
Line 12: Line 12:
 
== Using the PCs to Run Unix Programs Remotely ==
 
== Using the PCs to Run Unix Programs Remotely ==
 
Here is the somewhat long-form of the log-in procedure:
 
Here is the somewhat long-form of the log-in procedure:
 +
 
# Pick a PC
 
# Pick a PC
 
# Log in using your OIT WIN credentials
 
# Log in using your OIT WIN credentials
 +
<!--
 +
# Pick a PC - if someone left themselves logged in, log them out and start from scratch
 +
# Use FROSH##\mrglocal as the login (with ## being the number on the tape on the top of the computer) and p1p2dell as the password.
 +
-->
 
# Start [[MobaXterm]]
 
# Start [[MobaXterm]]
# Type <source lang=bash> ssh -XY NETID@teer##.oit.duke.edu</source>
+
# Start a new terminal in MobaXterm.
#:where NETID is your NET ID and ## is the two digit number of the Teer machine you want to use.
+
# Type <source lang=bash> ssh -XY NETID@login.oit.duke.edu</source>
 +
#:where NETID is your NET ID in lower case.
 +
# Type your password when asked - if it gives a warning about a .Xauth file, that's probably fine...
 +
# At the prompt, type <source lang=bash>
 +
xeyes &
 +
</source>to start the xeyes program.  You can minimize the program, but you should keep it running to keep your session from timing out.
 
<!--
 
<!--
# Start the most recent version of [[X-Win 32]] available - at least 2011 or 2012 on the PCs in B209 (i.e. NOT 6.x or 9.x).  There may be a desktop shortcut or you may need to go into the Start menu to find the most recent version of X-Win. As of Fall 2014, this should be X-Win 2014.
+
# If you are thinking about printing during this session, type <source lang=text>lpq</source> to check the line printer queue - if there are no entries, you are set.  If there is a list of files, the particular Teer machine to which you have connected is detached from the [[ePrint]] queue.  If you are planning to print anything out, you will want to log into a different Teer machine.
#* If X-Win is asking you if you would like to scan for things, decline
 
#* If X-Win is asking you for a license option or says it is a demo mode:
 
#** Right click the X-Win icon at the extreme bottom right
 
#** Pick Help -> Activate license
 
#** In the activate license window, choose  Activation Key
 
#** The activation key will be available on the computer screen at the front of the lab.
 
#* If the X-Win Configuration window comes up, unclick the "Display On Startup" box in the "Other" section of the Connections tab then click OK-- you generally will not need to see this window.
 
# Once X-Win has started, hover the mouse over the X-Win icon at the bottom right - it should say you are using ''Display 0''
 
#* If not, try the troubleshooting methods on the X-Win [[X-Win#Troubleshooting| Troubleshooting]] page
 
# Check Dr. G's [http://classes.pratt.duke.edu/UTILS/sites.html Ping Results] page to see which Teer machines are currently accepting connections.
 
# Start [[PuTTY]] - first check to see if there is a "PuTTY With Config" icon on the desktop - if so use that since there will be several configurations already loaded.  If not, start it  from the Start button, this will either be in a [[PuTTY]] folder or the X-Win 6.x folder.  Again - do '''not''' use the X-Win in the 6.x folder, just PuTTY.
 
#* If a session already exists for a Teer machine, you can try loading it by single-clicking its name and clicking the Load button.  Make sure whomever made the session set X11 correctly:
 
#** Go to the '''Connection''' category in the navigation list at left, open the '''SSH''' option, and click '''X11''' (for PuTTY version 0.6) or '''Tunnels''' (for PuTTY version 0.56, as there is no '''X11''').  Make sure the '''Enable X11 forwarding''' box is checked.  If it is, great; if not, click it and then re-save that session:
 
#*** In the category in the navigation list at left, go to the very top and select '''Session'''
 
#*** Click save
 
#* If no sessions exist, see the the information on [[PuTTY#First_Time|First-Time Use]] for PuTTY.
 
# Use the saved session by  double-clicking its name.
 
# Once you have logged in, see if the Teer machine has reported any errors locking the .Xauthority file.  If there ''is'' a message about an error locking the .Xauthority file, go to the PuTTY page regarding [[PuTTY#Xauthority_file_locking| Xauthority_file_locking]]
 
# Type <source lang=text>xterm &</source>(be sure to include the & at the end) to see if an x-terminal comes up.   
 
#* If you have done everything correctly above and the terminal will not open, find a TA or the instructor. 
 
#* If a window is asking you to allow connections, allow them.
 
#* If the xterm window comes up, you can now close it - but do '''not''' close the PuTTY window.
 
 
-->
 
-->
# If you are thinking about printing during this session, type <source lang=text>lpq</source> to check the line printer queue - if there are no entries, you are set.  If there is a list of files, the particular Teer machine to which you have connected is detached from the [[ePrint]] queue.  If you are planning to print anything out, you will want to log into a different Teer machine.
 
  
== Problems Logging In ==
+
== Problems Logging In or Running Programs==
 +
*If your password doesn't work or matlab "doesn't exist,"
 +
*:close MobaXterm, re-open it, and try to connect again.
 +
 
 +
<!--
 +
=== Legacy Errors ===
 +
These errors are from when [[PuTTy]] and [[X-Win]] were the standard for the EGR 103 labs; as of Fall 2014, that is no longer the case.
 
*If xterm will not work and if the error is something about "error in locking authority file"
 
*If xterm will not work and if the error is something about "error in locking authority file"
 
*:Go to the PuTTY page regarding [[PuTTY#Xauthority_file_locking| Xauthority_file_locking]]
 
*:Go to the PuTTY page regarding [[PuTTY#Xauthority_file_locking| Xauthority_file_locking]]
 
*If x-win needs a license, use the Activation License option and note that the license will be on the screen in the front of the room.
 
*If x-win needs a license, use the Activation License option and note that the license will be on the screen in the front of the room.
*If your password doesn't work or matlab "doesn't exist,"
 
*:try logging in to a different Teer machine
 
 
*If PuTTY claims that you cannot connect to localhost or some other graphical problem:
 
*If PuTTY claims that you cannot connect to localhost or some other graphical problem:
 
*#Make sure the Teer machine did not complain about an error in locking authority file - if it did, see solution above.
 
*#Make sure the Teer machine did not complain about an error in locking authority file - if it did, see solution above.
Line 56: Line 47:
 
*#Exit PuTTY, restart it, load the session you tried to open, go to X11 or Tunneling in the Category, and make sure X11 was checked
 
*#Exit PuTTY, restart it, load the session you tried to open, go to X11 or Tunneling in the Category, and make sure X11 was checked
 
*#If none of that works, find a TA or the instructor.
 
*#If none of that works, find a TA or the instructor.
 +
-->
  
 
== Software ==
 
== Software ==
 
Partial list:
 
Partial list:
 
=== Specifically for EGR 103 ===
 
=== Specifically for EGR 103 ===
 +
As of Fall, 2018:
 
* Acrobat reader
 
* Acrobat reader
 
* [[ePrint]]
 
* [[ePrint]]
Line 66: Line 59:
 
* Microsoft Office
 
* Microsoft Office
 
* National Instruments Measurements and drivers
 
* National Instruments Measurements and drivers
* National Instruments LabVIEW (as of Fall 2010)
+
* National Instruments LabVIEW  
* [[PuTTY]] (including configuration file to log in to any Teer machines with X11 forwarding)
+
* [[MobaXterm]]
** Fall 2013: The configuration files do not seem to be static at the moment - hopefully this can be fixed
 
 
* [[SSH]] (including file transfer)
 
* [[SSH]] (including file transfer)
* [[X-Win 32]]
+
* Anaconda for Python 3 [https://www.anaconda.com/download/]
 
+
** Get pydaqmx and autopep8 packages
== Tech Notes ==
 
* After installing a new version of MATLAB 32-bit, be sure to:
 
** Right-click and run as administrator
 
** daqregister('nidaq')
 
  
 
=== Other courses ===
 
=== Other courses ===
* Logisim
+
* Logisim (EGR 224)
* [[SolidWorks]] (ME 131 / 141 / 160)
+
* Maple (ECE 381, EGR 224, ME 344)
 +
* [[SolidWorks]] (ME 321, ME 421, ME 422)
 +
* Logger Pro (camps)
 +
* Arduino
 +
* Anaconda and Spyder
  
 
=== Instructor Station ===
 
=== Instructor Station ===
Line 86: Line 78:
 
* SMART Sympodium drivers
 
* SMART Sympodium drivers
 
* SMART Notebook
 
* SMART Notebook
 +
 +
== Tech Notes ==
 +
* Make sure DAQ cards are registered on machines that have them.
 +
* After installing a new version of MATLAB, be sure to:
 +
** Right-click and run as administrator
 +
** daqregister('nidaq')
  
 
== Questions ==
 
== Questions ==

Latest revision as of 14:45, 18 June 2019

B209 Fitzpatrick is a computer lab used by EGR 103, EGR 224, ECE 382, ME 321, and occasionally ME 344, ME 421 and ME 422.

Specifications

  • 48 networked Windows computers with WIN domain credential logins split up into 24 lab benches
  • 1 instructor station Windows 8.1 - equipped with a SMART Sympodium
  • Projection system with screen
  • WolfVision document camera
  • 25 National Instruments NI PCI 6014e or NI PCI 6221 cards (one at instructor station, one per lab bench)
  • 20 Circuit Specialists PBB 272 powered breadboards
  • 20 Circuit Specialists MS8264 digital multimeters

Using the PCs to Run Unix Programs Remotely

Here is the somewhat long-form of the log-in procedure:

  1. Pick a PC
  2. Log in using your OIT WIN credentials
  3. Start MobaXterm
  4. Start a new terminal in MobaXterm.
  5. Type
     ssh -XY NETID@login.oit.duke.edu
    
    where NETID is your NET ID in lower case.
  6. Type your password when asked - if it gives a warning about a .Xauth file, that's probably fine...
  7. At the prompt, type
    xeyes &
    
    to start the xeyes program. You can minimize the program, but you should keep it running to keep your session from timing out.

Problems Logging In or Running Programs

  • If your password doesn't work or matlab "doesn't exist,"
    close MobaXterm, re-open it, and try to connect again.


Software

Partial list:

Specifically for EGR 103

As of Fall, 2018:

  • Acrobat reader
  • ePrint
  • MATLAB with toolboxes (esp. Simulink, data acquisition, controls)
    • Be sure shortcut has "Start In" of C:\Documents and Settings\mrglocal\My Documents\MATLAB
  • Microsoft Office
  • National Instruments Measurements and drivers
  • National Instruments LabVIEW
  • MobaXterm
  • SSH (including file transfer)
  • Anaconda for Python 3 [1]
    • Get pydaqmx and autopep8 packages

Other courses

  • Logisim (EGR 224)
  • Maple (ECE 381, EGR 224, ME 344)
  • SolidWorks (ME 321, ME 421, ME 422)
  • Logger Pro (camps)
  • Arduino
  • Anaconda and Spyder

Instructor Station

The instructor station includes several extra pieces of software. This includes:

  • Software for document camera
  • SMART Sympodium drivers
  • SMART Notebook

Tech Notes

  • Make sure DAQ cards are registered on machines that have them.
  • After installing a new version of MATLAB, be sure to:
    • Right-click and run as administrator
    • daqregister('nidaq')

Questions

Post your questions by editing the discussion page of this article. Edit the page, then scroll to the bottom and add a question by putting in the characters *{{Q}}, followed by your question and finally your signature (with four tildes, i.e. ~~~~). Using the {{Q}} will automatically put the page in the category of pages with questions - other editors hoping to help out can then go to that category page to see where the questions are. See the page for Template:Q for details and examples.

External Links

References