Hemendra Posted June 15, 2017 Share Posted June 15, 2017 Hi Guru, I am reading Modbus device parameters. wrote sequence of group read (because further i have to add many devices) as per shown in user guide. it is starting Capturing data after entering in Development mode and BEGIN Sequence manually. Sequence is not starting automatically on starting of application, AUTO START is Checked. Application attached. Thank you. Group Read.ctl Link to comment Share on other sites More sharing options...
AzeoTech Posted June 15, 2017 Share Posted June 15, 2017 It starts fine for me. Did you by chance open the document in Safe mode? Link to comment Share on other sites More sharing options...
Hemendra Posted June 16, 2017 Author Share Posted June 16, 2017 On opening document, it starts in runtime, then i am switching over to development. that time 'switch to Safe mode' (having red icon) option is enable, so i can say its not starting in safe mode. i checked again but still no change in result. I noticed that in another document also it not starting, after starting it manually, it stops after some time. Anything else to check? Link to comment Share on other sites More sharing options...
AzeoTech Posted June 16, 2017 Share Posted June 16, 2017 Then its probably starting and throwing an error. Consider adding some error handling. Link to comment Share on other sites More sharing options...
Hemendra Posted June 18, 2017 Author Share Posted June 18, 2017 I don't know about it. Is there anything in User Guide? Or can you give any example. Link to comment Share on other sites More sharing options...
AzeoTech Posted June 19, 2017 Share Posted June 19, 2017 Also, check the Command / Alert. Keep it visible when you come out of Safe mode. Error handling is done with try/catch blocks similar to many programming languages. For example: while(1) try // do something catch() ? strLastError // display last error in command / alert endcatch delay(1) // always put the delay outside the error handling endwhile Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.