Pag. 146 di 152
11.10.3 Changing the parameters stored by Service (5) Peaks
Read the configuration file of this service in Hex format by means of the following command:
C:\Programs\X3M\XMBF --read --ser=com1,38400,8,n,2 --addr=27 --fnum=0500 --hex
A file is downloaded and saved, named (0500)Peaks.hex, that is opened by means of the Notepad
program.
The following picture shows the default configuration file of Service 5 Peaks.
The picture shows the 21 parameters that are currently set where the recording of the Voltage THDs and
Current THDs needs to be removed.
By means of the Notepad program, cancel the 6 lines identifying the parameters that need to be removed then modify
the two data that establish the “Data records size” and the “Descriptor list size” by removing the 60 (3CH) bytes, that
were eliminated, from E4.
The new value is A8H.
Save the file just edited.
The command line:
C:\Programs\X3M\XMBF --del --ser=com1,38400,8,n,2 --addr=27 --fnum=0500
erases the old file in the instrument because the new file is slightly different in size.
Upload the new file by means of the following command line:
C:\Programs\X3M\XMBF --write --ser=com1,38400,8,n,2 --addr=27
--fname=(0500)Peaks.hex --create