15.07.2021, 13:09
Hi,
When I try to use bacnet in LM firmware 20200727 with verion of bacnet'package :
in this resident script:
require('bacnet')
---------------------------------------------------------------------------------------
dirbacnet = 9613
---------------------------------------------------------------------------------------
datoleido = bacnet.readvalue(dirbacnet, 'analog value', 93792)
grp.write('32/1/1', datoleido)
log(datoleido)
there is an error:
---------------------------------------------------------
Resident script:1: module 'bacnet' not found:
no field package.preload['bacnet']
no file './bacnet'
no file 'Library bacnet'
no file 'Library bacnet'
no file 'Library bacnet.so'
stack traceback:
[C]: in function 'require'
---------------------------------------------------------
any suggestion?
thacnk you in advandce!
When I try to use bacnet in LM firmware 20200727 with verion of bacnet'package :
in this resident script:
require('bacnet')
---------------------------------------------------------------------------------------
dirbacnet = 9613
---------------------------------------------------------------------------------------
datoleido = bacnet.readvalue(dirbacnet, 'analog value', 93792)
grp.write('32/1/1', datoleido)
log(datoleido)
there is an error:
---------------------------------------------------------
Resident script:1: module 'bacnet' not found:
no field package.preload['bacnet']
no file './bacnet'
no file 'Library bacnet'
no file 'Library bacnet'
no file 'Library bacnet.so'
stack traceback:
[C]: in function 'require'
---------------------------------------------------------
any suggestion?
thacnk you in advandce!