beng
New Member
Posts: 2
|
Post by beng on Mar 17, 2023 3:43:40 GMT -5
Hello, We are trying to load a user curve on our Model 211, and I'm wondering if I'm missing a step. Below details what we have done:
- We have rewritten a custom Python script to send commands to the device over RS-232 based off of the pyserial library
- Using this script, we have confirmed that we can successfully query and set values on the device (e.g. we can set the input sensor type and successfully query it and can also set/query the the input curve number, which is 21.
- We then would like to set the CRVHDR command to configure the user curve header. An example of the command issued is the following: CRVHDR 21,TESTING,12345,3,325,1
- To validate successfully configuration of the user curve header, we then issue the curve header query: CRVHDR?
- The output from this command is copied from the Terminal: STANDARD BLANK ,STANDARD ,2,+00.000,1
This looks to be some sort of default output. No matter what I do, I cannot set the query from the user curve header to give anything other than this. Do you have any suggestions for things that I may be missing or something I should try? Thanks.
|
|
|
Post by Lake Shore Jeff M on Mar 17, 2023 6:23:03 GMT -5
The CRVHDR? command requires that you include the curve number you want to read. In the case of the User Curve, the correct command is CRVHDR? 21. Sending the CRVHDR? command without the curve number will result in the response you are seeing.
|
|
beng
New Member
Posts: 2
|
Post by beng on Mar 17, 2023 17:31:54 GMT -5
Egg on my face. That worked a charm, and I can load in a curve. Appreciate it.
|
|