Difference between revisions of "Lab:B209"

From PrattWiki
Jump to navigation Jump to search
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 ==
Line 15: Line 15:
 
# Log in using your OIT WIN credentials
 
# Log in using your OIT WIN credentials
 
# Start [[MobaXterm]]
 
# Start [[MobaXterm]]
<!-- # Type <source lang=bash> ssh -XY NETID@teer##.oit.duke.edu</source>
 
#: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-teer.oit.duke.edu</source>
 
# Type <source lang=bash> ssh -XY NETID@login-teer.oit.duke.edu</source>
 
#:where NETID is your NET ID in lower case.
 
#:where NETID is your NET ID in lower case.
<!--
 
# 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 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.
 
# 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 or Running Programs==
 
== Problems Logging In or Running Programs==
 
*If your password doesn't work or matlab "doesn't exist,"  
 
*If your password doesn't work or matlab "doesn't exist,"  
*:try logging in to a different Teer machine
+
*:close MobaXterm, re-open it, and try to connect again.
  
 +
<!--
 
=== Legacy Errors ===
 
=== 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.
 
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.
Line 61: Line 35:
 
*#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, 2014:
+
As of Fall, 2015:
 
* Acrobat reader
 
* Acrobat reader
 
* [[ePrint]]
 
* [[ePrint]]
Line 75: Line 50:
 
* [[MobaXterm]]
 
* [[MobaXterm]]
 
* [[SSH]] (including file transfer)
 
* [[SSH]] (including file transfer)
 
<!--
 
* [[PuTTY]] (including configuration file to log in to any Teer machines with X11 forwarding)
 
** Fall 2013: The configuration files do not seem to be static at the moment - hopefully this can be fixed
 
* [[X-Win 32]]
 
-->
 
  
  
 
=== 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)
  
 
=== Instructor Station ===
 
=== Instructor Station ===
Line 94: Line 64:
  
 
== Tech Notes ==
 
== Tech Notes ==
* After installing a new version of MATLAB 32-bit, be sure to:
+
* After installing a new version of MATLAB '''32-bit''', be sure to:
 
** Right-click and run as administrator
 
** Right-click and run as administrator
 
** daqregister('nidaq')
 
** daqregister('nidaq')

Revision as of 20:10, 16 August 2015

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 8.1 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. Type
     ssh -XY NETID@login-teer.oit.duke.edu
    
    where NETID is your NET ID in lower case.
  5. If you are thinking about printing during this session, type
    lpq
    
    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 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, 2015:

  • 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 (as of Fall 2010)
  • MobaXterm
  • SSH (including file transfer)


Other courses

  • Logisim (EGR 224)
  • Maple (ECE 381, EGR 224, ME 344)
  • SolidWorks (ME 321, ME 421, ME 422)

Instructor Station

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

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

Tech Notes

  • After installing a new version of MATLAB 32-bit, 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