[[FrontPage]]

 objectPage http://www.yama-lab.org/fwb4pi/index.php?SerialEx1 or http://www.yama-lab2.org/fwb4pi/index.php?SerialEx2
 device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
 command: set readInterval=300000
 command: set execInterval=0
 command: program serial1
 program: '
 program: ' get all DI1
 program: ex("pi4j", "serial send \"set a32=0x810008a8 sendif DI1 interval 0.\".")
 program: ex("pi4j", "serial send \"set a32=0x8102dbdc sendif DI1 interval 0.\".")
 program: ex("pi4j", "serial send \"set a32=0x810008a8 sendif DI1 mode 1.\".")
 program: ex("pi4j", "serial send \"set a32=0x8102dbdc sendif DI1 mode 1.\".")
 program: ex("pi4j", "serial send \"set a32=0x810008a8 sendif DI1 changed 1.\".")
 program: ex("pi4j", "serial send \"set a32=0x8102dbdc sendif DI1 changed 1.\".")
 command: end serial1
 command: run serial1
 result:
 device=sensorNetwork, Date=2017/1/29/ 0:35:34,  a32=0x810e0494, from=0x8102dbdc, port=DI1, v=1, event=chenged.
 currentDevice="yamaRasPiDp1_1",Date=2017/1/29/ 0:35:34

 device=sensorNetwork, Date=2017/1/29/ 0:35:37,  a32=0x810e0494, from=0x8102dbdc, port=DI1, v=0, event=chenged.
 currentDevice="yamaRasPiDp1_1",Date=2017/1/29/ 0:35:37


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS