Sets the serial number of the device.
sys.setserialnum(byref str as string) as ok_ng
0- OK: The serial number was set successfully.
1- NG: Serial number programming failed.
To find out if there is a serial number, refer to your device's platform documentation (for example, EM1000's is here).