JVC VN-E4U API Guide - Page 41

Acquiring Serial Port Parity Setting from VN-E4, Setting Serial Port Parity for VN-E4

Page 41 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.7. Serial Port Acquiring Serial Port Parity Setting from VN-E4 Format /api/param?peripheral.serial(Number).parity Example When acquiring parity of Serial Port 1 /api/param?peripheral.serial(1).parity Example of response peripheral.serial(1).parity=none&200 OK Interpretation Acquire the parity of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. Value returned will be none, odd or even. Allowed users admin, operator, user Setting Serial Port Parity for VN-E4 Format /api/param?peripheral.serial(Number).parity=data Example When setting the parity of Serial Port 1 /api/param?peripheral.serial(1).parity=odd Example of response peripheral.serial(1).parity&200 OK Interpretation Change the parity of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. Specify parity as none, odd or even. Allowed users admin, operator Acquiring Serial Port Stop Bit Setting from VN-E4 Format /api/param?peripheral.serial(Number).stopbit Example When acquiring stop bit of Serial Port 1 /api/param?peripheral.serial(1).stopbit Example of response peripheral.serial(1).stopbit=1&200 OK Interpretation Acquire the stop bit of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. Value returned will be 1 or 2. Allowed users admin, operator, user Setting Serial Port Stop Bit for VN-E4 Format /api/param?peripheral.serial(Number).stopbit=data Example When setting the stop bit of Serial Port 1 /api/param?peripheral.serial(1).stopbit=2 Example of response peripheral.serial(1).stopbit&200 OK Interpretation Change the stop bit of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports. Specify stop bit as 1 or 2. Allowed users admin, operator 41

  • 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

41
5. API for Acquiring/Changing Parameters of VN-E4 _
5.7. Serial Port
Acquiring Serial Port Parity Setting from VN-E4
Format
/api/param?peripheral.serial(Number).parity
Example
When acquiring parity of Serial Port 1
/api/param?peripheral.serial(1).parity
Example of response
peripheral.serial(1).parity=none&200 OK
Interpretation
Acquire the parity of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports.
Value returned will be none, odd or even.
Allowed users
admin, operator, user
Setting Serial Port Parity for VN-E4
Format
/api/param?peripheral.serial(Number).parity=data
Example
When setting the parity of Serial Port 1
/api/param?peripheral.serial(1).parity=odd
Example of response
peripheral.serial(1).parity&200 OK
Interpretation
Change the parity of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports.
Specify parity as none, odd or even.
Allowed users
admin, operator
Acquiring Serial Port Stop Bit Setting from VN-E4
Format
/api/param?peripheral.serial(Number).stopbit
Example
When acquiring stop bit of Serial Port 1
/api/param?peripheral.serial(1).stopbit
Example of response
peripheral.serial(1).stopbit=1&200 OK
Interpretation
Acquire the stop bit of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports.
Value returned will be 1 or 2.
Allowed users
admin, operator, user
Setting Serial Port Stop Bit for VN-E4
Format
/api/param?peripheral.serial(Number).stopbit=data
Example
When setting the stop bit of Serial Port 1
/api/param?peripheral.serial(1).stopbit=2
Example of response
peripheral.serial(1).stopbit&200 OK
Interpretation
Change the stop bit of the serial port. Specify a value between 1 to 2 since VN-E4 comes with 2 serial ports.
Specify stop bit as 1 or 2.
Allowed users
admin, operator