User Tools

Site Tools


nmr_probes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nmr_probes [2023/06/09 14:28]
swartzj
nmr_probes [2024/01/29 10:51] (current)
swartzj [Error message: "/srv/s3/nmr-logs/spectrograph.log is not accessible"]
Line 9: Line 9:
  
 ===== Description ===== ===== Description =====
-The NMR running programs for both the S800 analysis line and spectrograph dipoles can be started by logging in to exp-s3-nmr.ftc (10.40.230.111) accessible from the EXP network, namely, from a whatever computer connected to the EXP network,+The NMR running programs for both the S800 analysis line and spectrograph dipoles can be started by logging in to exp-s3-nmr.ftc (10.40.230.111) accessible from the EXP network, namely, from any computer connected to the EXP network,
  
   $ ssh [your-user-name-on-EXP]@exp-s3-nmr -Y   $ ssh [your-user-name-on-EXP]@exp-s3-nmr -Y
Line 15: Line 15:
 and typing, for the analysis line dipoles  and typing, for the analysis line dipoles 
  
-  $ /usr/bin/wish /srv/s3-nmr/analysis/analysis.tcl+  $ /usr/bin/wish8.6 /srv/s3-nmr/analysis/analysis.tcl
  
 and for the spectrograph dipoles and for the spectrograph dipoles
  
-  $ /usr/bin/wish /srv/s3-nmr/spectrograph/spectrograph.tcl+  $ /usr/bin/wish8.6 /srv/s3-nmr/spectrograph/spectrograph.tcl
  
 +**Note that it is not simply wish anymore but wish8.6.**
 Now press start on the GUI, which is shown below, and you should see a field reading. Sometimes the initialization of these applications fail. In that case check section [[nmr probes#troubleshooting|"Troubleshooting"]] below). The picture below shows the NMR panel for the S800 Analysis Line GUI as an example. The top (yellow) panel shows the data relevant to the NMR module, the middle (pink) the digitized signal from the oscilloscope and the bottom (blue) the status and measurements for the dipoles.  Now press start on the GUI, which is shown below, and you should see a field reading. Sometimes the initialization of these applications fail. In that case check section [[nmr probes#troubleshooting|"Troubleshooting"]] below). The picture below shows the NMR panel for the S800 Analysis Line GUI as an example. The top (yellow) panel shows the data relevant to the NMR module, the middle (pink) the digitized signal from the oscilloscope and the bottom (blue) the status and measurements for the dipoles. 
  
Line 27: Line 28:
 ===== Terminating processes run by another user ===== ===== Terminating processes run by another user =====
  
-A solution has been implemented for the case where one user needs to run the NMR software via the 'wish' command, but another user is already running it.+A solution has been implemented for the case where one user needs to run the NMR software via the 'wish8.6' command, but another user is already running it.
  
-If a user is running 'wish' (usually 2 processes, one for analysis and one for spectrograph) and another user needs to run it instead, they can do the following:+If a user is running 'wish8.6' (usually 2 processes, one for analysis and one for spectrograph) and another user needs to run it instead, they can do the following:
  
   * Log on to exp-s3-nmr virtual machine (as described above)   * Log on to exp-s3-nmr virtual machine (as described above)
-  * Type 'ps aux | grep wish' to find out the name of the user that is running wish +  * Type 'ps aux | grep wish8.6' to find out the name of the user that is running wish8.6 
-  * Let's suppose user 'alice' is running wish and user 'bob' needed to run it instead. That being the case, user 'bob' should type the command: 'sudo -u alice pkill wish+  * Let's suppose user 'alice' is running wish8.6 and user 'bob' needed to run it instead. That being the case, user 'bob' should type the command: 'sudo -u alice pkill wish8.6
-  * This will stop both wish processes that are running as user 'alice' (the important thing to remember is that the username that goes after the -u is the name of the user whose wish processes you want to stop) +  * This will stop both wish8.6 processes that are running as user 'alice' (the important thing to remember is that the username that goes after the -u is the name of the user whose wish8.6 processes you want to stop) 
-  * Now user 'bob' can successfully start wish processes+  * Now user 'bob' can successfully start wish8.6 processes
  
 In short, In short,
  
-  $ ps aux | grep wish +  $ ps aux | grep wish8.6 
-  $ sudo -u usernameRunningWish pkill wish+  $ sudo -u usernameRunningWish8.6 pkill wish8.6
      
 and you should be able to run the NMR software. and you should be able to run the NMR software.
Line 110: Line 111:
   * Simply turn it off, wait few seconds, and turn it back on   * Simply turn it off, wait few seconds, and turn it back on
  
 +==== Error message: "/srv/s3/nmr-logs/spectrograph.log is not accessible" ====
 +
 +  * In a new terminal, ssh to yourname@exp-s3-nmr, then go to /srv/s3/nmr-logs/ and issue: 
 +  * mv spectrograph.log spectrograph-yourname.log 
 +  * Now close the error message window and you should not have this problem anymore. 
 +
 +==== NMR reading sometimes takes too long (> 30 min) ====
 +
 +This is typically caused by one of two possible factors: 
 +
 +1. The signal is weak, and so the NMR "latches" on noise peaks. This is typically the case when the thresholds in the NMR GUI are not set properly. If they are too low, the program may lock in noise. Conversely, if the thresholds are too high, it may miss a weak resonance.
 +  * This can be alleviated by changing the NMR thresholds (it can be done for each magnet in the analysis line, or for both magnets in the spectrograph).
 +  * Stop NMR; enter new threshold (in Volts) and click “Set”; start NMR.
 +  * In general, a threshold 0.15 mV is good for normal NMR signals, whereas 0.10 mV may be necessary if the signals are too weak.
 +
 +2. Initial field where NMR starts scanning is far away from actual value (this has only been seen with Spectrograph)
 +  * Check what field is NMR scanning and compare with field read by neighboring NMR.
 +  * If it is too far, stop NMR; enter field (in T) and click “Set”; start NMR.
  
  
-==== Spectrograph NMR GUI "locks" in noise or does not see weak resonance==== 
-  * This is typically the case when the thresholds in the NMR GUI are not set properly. If they are too low, the program may lock in noise. Conversely, if the thresholds are too high, it may miss a weak resonance. 
-  * Threshold for the Spectrograph resonance can be adjusted by hand in the Spectrograph NMR GUI. In general, a threshold 0.15 mV is good for normal NMR signals, whereas 0.10 mV may be necessary if the signal are too weak. 
  
  
nmr_probes.1686335288.txt.gz · Last modified: 2023/06/09 14:28 by swartzj