Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't log modbus serial comunication

I'm trying to communicate with a device through Modbus, but I only get Too Short Exception. Then I want to view the communication log to see if there is some useful information there. The problem is that I don´t have active the "Serial Ports" under Options in Lookout. Then I can´t configure Lookout to log the communication. I have no open processes, just Lookout 6.0.2 running nothing.
Is there another way to log the communication or am I doing something wrong?
 
Thanks.
0 Kudos
Message 1 of 3
(6,437 Views)
I guess you are using lookout runtime software. The "serial port" is disable in runtime.
 
You can add the following codes to lookout.ini in lookout folder.
 
[COM1]
LineType=0
ReceiveGap=20
AlarmPriority=1
DiagnosticFileEnable=1
DiagnosticFile=d:\log.txt
DiagnosticAllHex=1
DiagnosticTimeStamp=1
DiagnosticTimeStampDateFormat=73
 
If you use com2, just input [COM2]. The file path can be changed as you like.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 3
(6,429 Views)

Please let me know the Modbus Communication codes for binary Modbus in NI Lookout 

Thank you

0 Kudos
Message 3 of 3
(5,333 Views)