GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption, please take a look at our documentation.
Replies continuously with data after preconditioning time:
Replies continuously with data after preconditioning time:
Each point:
Each point:
"B\n" followed by uint16 voltage, int32 forward_current,
"B\n" followed by uint16 voltage, int32 forward_current,
int32 reverse_current, then "\n"
int32 reverse_current, then "\n"
End of each scan:
End of each scan:
"S\n"
"S\n"
End of experiment:
End of experiment:
"D\n"
"D\n"
Potentiometry:
Send 'P'
Send '%u%hhu'
Measurement time in s (if 0, can only be stopped with abort signal)
Mode: 0 for OCP (WE is connected)/1 for potentiometry (WE input disconnected)
Replies continuously with data after preconditioning time:
Each point:
"B\n" followed by (in binary, not text) uint16 seconds, uint16 milliseconds, int32 voltage, then "\n"
End of experiment:
"D\n"
Settings:
Send 'S'
Send one of the commands below:
Restore settings to defaults:
Send 'D'
Enter firmware update mode (DFU):
Send 'F'
Read settings from EEPROM:
If no settings are present, defaults will be loaded.
Send 'R'
DStat will print settings first in human readable form prefixed by '#'
DStat will print a single string containing settings:
e.g. "Smax5443_offset.%u:tcs_enabled.%u:tcs_clear_threshold.%u:r100_trim.%i:r3k_trim.%i:r30k_trim.%i:r300k_trim.%i:r3M_trim.%i:r30M_trim.%i:r100M_trim.%i\n"
- Starts with 'S'
- A series of key/value pairs where the key is a string, the key and value are separated with '.' and different pairs are separated with ':'
- Ends with '\n'
*Be sure to preserve the order of key/value pairs as they must be entered in the correct order when writing new settings*
Write settings to EEPROM:
Send 'W'
Send a list of the new settings values separated and terminated by a space, *in the same order as read with the R command*
Example of a SWV experiment:
Set ADC settings (Info strings not shown):
Computer !9\n Request to send 9 byte command
DStat @ACK 9\n Clear to send command
C EA2 A1 1 \n PGA 2x, sample rate 1 kHz, Input buffer on
D @RCV 9\n Received 9 byte command
D @DONE\n Command completed
Set Gain:
C !6\n Request to send 6 byte command
D @ACK 6\n Clear to send command
C EG2 0 \n Set gain to 3 kΩ
D @RCV 6\n Received 6 byte command
D @DONE\n Command completed
Start SWV experiment:
C !41\n Request to send 41 byte command
D @ACK 41\n Clear to send command
C ES10 10 50244 10922 -1000 -300 3 20 30 0 \n 10 s clean @ 800 mV, 10 s deposition @ -1000 mV,
Start -1000 mV, Stop -300 mV, Step size 3 mV,
Pulse Height 20 mV, Frequency 30 Hz, No cyclic mode (scans=0)
D @RCV 41\n Received 6 byte command
Data output:
D B\n A datapoint follows (length depends on experiment type)
D *10 bytes of binary data* uint16 voltage, int32 forward current, int32 reverse current