:DISK:WAVeform:FNAMe:AUPDate
Command Syntax
:DISK:WAVeform:FNAMe:AUPDate
Description
Increments a file name's autonumber for the next file saved with the :DISK:WAVeform:SAVE command. The autonumber is placed at the end of the file name and begins with a hyphen followed by decimal digits:
<type_><YYYY-MM-DD><_autonumber>.<extension>
An example autonumber would be Waveform_2020-10-23_1.h5. Saving a file with :DISK:WAVeform:SAVE does not increment the autonumber. You must use the :DISK:WAVeform:FNAMe:AUPDate command to increment the autonumber. Otherwise, the next file saved will have the same name as the last file saved.
If you have entered a custom file name, but want to return to using standard file name, use the :DISK:WAVeform:FNAMe:USTandard command.
| Name | Type | Autonumber | Default Extension |
|---|---|---|---|
| Waveform_2017-04-08_1 | standard | yes | .h5 |
| DUT | custom | no | .h5 |
| DUT23 | custom | no | .h5 |
| DUT_23 | custom | yes | .h5 |
Example Command Sequence
:DISK:WAVeform:SAVE:FTYPe HDF5 :DISK:WAVeform:FNAMe "my_file_1" :DISK:WAVeform:SAVE # my_file_1.h5 … … :DISK:WAVeform:FNAMe:AUPDate :DISK:WAVeform:SAVE # my_file_2.h5