Table of Contents
1
Purpose of this Document .................................................................................................. 3
2
2.1
2.2
2.3
2.4
2.4.1
2.4.2
Errors and Debugging ............................................................................................. 5
2.4.3
Declaring Variables ................................................................................................ 6
2.4.4
3
3.1
3.2
3.3
3.4
4
Creating Lua Scripts........................................................................................................... 10
4.1
4.2
Example Applications...................................................................................................... 11
5
5.1
5.1.1
Function 'initialize'............................................................................................... 12
5.1.2
Function 'loop' ................................................................................................... 12
5.1.3
Function 'on_can' ................................................................................................ 12
5.1.4
Function 'on_mqtt' .............................................................................................. 12
5.2
5.2.1
Module 'misc' .................................................................................................... 13
5.2.2
Module 'can'...................................................................................................... 14
5.2.3
Module 'mqtt' .................................................................................................... 15
5.2.4
Module 'sys' ...................................................................................................... 15
5.2.5
Module 'json' ..................................................................................................... 17
5.2.6
Module 'array'.................................................................................................... 17
Lua License......................................................................................................................... 21
CAN@net NT/CANbridge NT User Manual
Page
4.02.0332.20002 1.2 en-US
Need help?
Do you have a question about the IXXAT CAN@net NT and is the answer not in the manual?
Questions and answers