From: Dan Quittman [dquittman@seabird.com] Sent: Tuesday, June 04, 2013 10:24 AM To: 'Gene Massion' Subject: RE: firmware for your 41CP Hi Gene, The sample rate of the 41cp is fixed at 1Hz. You may be able to "slp" faster than 1Hz, but it will always report the latest 1Hz sample, so you'll get duplicate values if you do. -- Dan Quittman Senior Electrical Engineer Sea-Bird Electronics dquittman@seabird.com 425-644-5767 From: Gene Massion [mailto:magene@mbari.org] Sent: Monday, June 03, 2013 5:46 PM To: 'Dan Quittman' Subject: RE: firmware for your 41CP Dan Now that I’ve thought about the answers, I’ve got one more question. Can we get pressure readings faster than once per second in 41CP mode? We’ll be using the pressure to calculate the velocity of our platform and my hope was to get valid pressure readings 2 (or more) times per second and filter the results to get dP/dT. Is that possible if send the “slp” command 2 (or more) times per second instead of using the “outputpts” command? Thanks again. Gene Massion Monterey Bay Aquarium Research Institute (MBARI) 7700 Sandholdt Road Moss Landing, CA 95039 831 7751922 (tel) 831 7751646 (fax) http://www.mbari.org From: Dan Quittman [mailto:dquittman@seabird.com] Sent: Monday, June 03, 2013 10:47 AM To: 'Gene Massion' Cc: kanson@seabird.com Subject: FW: firmware for your 41CP Hello Gene, Glad you took us up on our offer J. Here are some (hopefully satisfactory) answers to your queries: 0. Can you send the version of the command-and-operation reference you're referring to? The version I have for UW V2.0 firmware is organized somewhat differently, and doesn't have any references to 11P2[6] or HOLD_PWR. I want to make sure I'm giving you accurate information for the HW and firmware rev you've got. Answers to some of your questions depend on this, but assuming you're using UW V2.0 firmware: 1. Yes 2. Yes, "Commands from float" is the RX line to the 41cp CPU UART. Yes, CTD Data Out is the corresponding TX. 3. This is the Sample Type pin (pin 3). From the Hardware reference for UW V2.0: Data Request: Mark state greater than 400 millisecond – enter Command mode. See Command Summary for command syntax. Mark state 1 to 100 millisecond - If Pin 3 is in mark state, take PTS sample. PTS sample time: 3.25 seconds If Pin 3 is in space state and pin 4 is in space state or open circuit, take fast pressure sample. fast pressure sample time: 0.65 seconds If pin 3 is in space state and pin 4 is in mark state, take fast PT sample. fast PT sample time: 1.95 seconds 4. SAMPL_TYPE see #3 above. 11P2[6] and HOLD_PWR may refer to other versions of the 41cp which repurpose some of the CTD/float JP1 interface pins. See #0 above. 5. Yes, you are correct. 6. Fixed at 1 sample/sec 7. Yes, while the CTD is profiling, P (or PTS if otuputpts=y) will be output at 1Hz. If the CTD is not profiling, then nothing is output without an explicit command (via the HW interface or over the command-line). 8. "outputpts=y/n" should be sent before the profile is started. While profiling, only a small subset of commands is accepted by the CTD – I believe only "stopprofile" and "slp" in most 41cp versions. 9. Yes, "slp" will work while profiling Good luck and best regards, -- Dan Quittman Senior Electrical Engineer Sea-Bird Electronics dquittman@seabird.com 425-644-5767 From: Gene Massion [mailto:magene@mbari.org] Sent: Friday, May 31, 2013 12:43 PM To: Dan Quittman Subject: Re: firmware for your 41CP Dan I'm about to start integrating the CTD and would like to take you up on your previous offer to answer some questions. First the basic questions: Your Hardware Reference document shows 4 lines on J1 relevant to communications with the 41CP: "Commands from Float", "Space: P Only Mark: CTD", "CTD Data Out" and "Data Request". The Command and Operations manual refers to "DATA_RQ", "HOLD_PWR", "SMPL_TYPE", "11P2[6]" and "RX(J2(4))". 1) Is "Data Request" in the Hardware manual the "DATA_REQ" line in the C&O manual? 2) Is "Commands from Float" the "RX(J2(4))" line and is "CTD Data Out" the 41CP TX line? 3) What is "Space: P Only Mark: CTD" ? 4) Where are "SMPL_TYPE", "11P2[6]" and "HOLD_PWR"? Now some operational questions 5) In one scenario, I'll just be running the 41CP in profiling mode. Seems like once I understand the hardware lines, I can power up the 41CP, toggle the right lines to put it in command mode. Then I can, without touching the hardware lines, send a "startprofile" command and the 41CP will start taking samples. Is that right? 6) Can I control the sample period in profiling mode or is it fixed at 1 second? 7) If I send an "outputpts=n" command, will the 41CP send a pressure string every sample period without any other commands or toggling hardware lines? 8) Does it matter if I send the outputpts command before or after the startprofile command? 9) If I don't use the outputpts command, it looks like I can query for the last pressure with the "slp" command, right? I will have some more questions but I can start making progress if you set me straight on these issues. Thanks for the help Gene Massion Monterey Bay Aquarium Research Institute (MBARI) 7700 Sandholdt Road Moss Landing, CA 95039 831 7751922 (tel) 831 7751646 (fax) http://www.mbari.org From: "Dan Quittman" To: magene@mbari.org Cc: kanson@seabird.com Sent: Wednesday, October 10, 2012 5:01:12 PM Subject: RE: firmware for your 41CP Hi Gene, Sorry for the delayed response and I'm sure you've already figured out the answers to most of your questions by now, but regarding #2 in your email: · The message and response structure is simple ASCII. · The "command received" line termination character is CR (ASCII 13). When the 41cp receives LF (ASCII 10) it is ignored, so either CRLF or CR is an acceptable line termination. · SBE41cp outputs CRLF to terminate its output lines. · Bin-averaged data is output in ASCII-encoded hex as per the command reference. I've also attached some internal documentation which may be helpful to you regarding timing of the hardware sampling interface and information on many of the commonly used commands on the 41cp. Please let me know if you have further questions and I'll do my best to answer them a little more promptly. Best regards, -- Dan Quittman Senior Electrical Engineer Sea-Bird Electronics dquittman@seabird.com 425-644-5767 -------- Original Message -------- Subject: RE: firmware for your 41CP Date: Wed, 5 Sep 2012 14:51:20 -0700 (PDT) From: Gene Massion To: 'Kristi Anson' Kristi I forgot to ask a couple of questions when we were on the phone today. 1) I have the command reference, the hardware reference and several mechanical drawings for the mounting details. Is there any other documentation like an operation or maintenance manual? 2) I don't have any documentation describing the basic message and response structure. Is there a header, checksum, special termination character, ASCII or binary, ...? Or is all this the same on the 41CP as it is on your other CTDs and I can just refer to one of those manuals? 3) 9600,N,8,1 ? Gene Massion Monterey Bay Aquarium Research Institute (MBARI) 7700 Sandholdt Road Moss Landing, CA 95039 831 7751922 (tel) 831 7751646 (fax) http://www.mbari.org ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service.