JVC VN-E4U API Guide - Page 42

Acquiring Serial Port Comment from VN-E4, peripheral.serial1.comment=serial1&200 OK

Page 42 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.7. Serial Port Acquiring Serial Port Comment from VN-E4 Format /api/param?peripheral.serial(Number).comment Example When acquiring comment of Serial Port 1 /api/param?peripheral.serial(1).comment Example of response peripheral.serial(1).comment=serial1&200 OK Interpretation Acquire comment of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. The value returned will be a character string of 40 bytes or less. This comment setting is optional and does not affect the functions of the serial port. Allowed users admin, operator, user Setting Serial Port Comment for VN-E4 Format /api/param?peripheral.serial(Number).comment=data Example When setting comment of Serial Port 1 /api/param?peripheral.serial(1).comment=Memo1 Example of response peripheral.serial(1).comment&200 OK Interpretation Change the serial port comment. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. Specify comment using a character string of 40 bytes or less. Specify as follows when the comment setting is to be left blank. Example when comment is left blank /api/param?peripheral.serial(1).comment=%00 This comment setting is optional and does not affect the functions of the serial port. Allowed users admin, operator 42

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

42
5. API for Acquiring/Changing Parameters of VN-E4 _
5.7. Serial Port
Acquiring Serial Port Comment from VN-E4
Format
/api/param?peripheral.serial(Number).comment
Example
When acquiring comment of Serial Port 1
/api/param?peripheral.serial(1).comment
Example of response
peripheral.serial(1).comment=serial1&200 OK
Interpretation
Acquire comment of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. The
value returned will be a character string of 40 bytes or less. This comment setting is optional and does not
affect the functions of the serial port.
Allowed users
admin, operator, user
Setting Serial Port Comment for VN-E4
Format
/api/param?peripheral.serial(Number).comment=data
Example
When setting comment of Serial Port 1
/api/param?peripheral.serial(1).comment=Memo1
Example of response
peripheral.serial(1).comment&200 OK
Interpretation
Change the serial port comment. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports.
Specify comment using a character string of 40 bytes or less. Specify as follows when the comment setting is
to be left blank.
Example when
comment is left blank
/api/param?peripheral.serial(1).comment=%00
This comment setting is optional and does not affect the functions of the serial port.
Allowed users
admin, operator