Hi.
I am using Qterm A12 Pannel.
I want refresh the "DataLogger1" table in Database Viewer @ every 1sec rate.
i have attached the screen shot of script included in "LogData" screen.
While validating the project i got error (error file attached).
Can you please clarify what does this error means.
Auto Refresh Table in Database Viewer
-
- Posts: 9
- Joined: Sat Jun 09, 2012 11:30 am
Auto Refresh Table in Database Viewer
- Attachments
-
- Error message while validating project.
- AutoRefreshDatabaseViewer_Error.png (147.43 KiB) Viewed 10828 times
-
- Script included in "Log Data" Screen
- AutoRefreshDatabaseViewer.png (164.77 KiB) Viewed 10828 times
Last edited by vinit_patil on Mon Jun 25, 2012 8:40 am, edited 1 time in total.
-
- Posts: 9
- Joined: Sat Jun 09, 2012 11:30 am
Re: Auto Refresh Table in Database Viewer
I have iX Developer Version 1.31 build 1.31.93.0
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Auto Refresh Table in Database Viewer
That is a C# error, not an error from iX Developer. You are using a static function to call a dynamic variable. DatabaseViewer1 is not static, and may not exist when you call the static function Timeout4.
The solution is to not call a dynamic viable in a static function.
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
The solution is to not call a dynamic viable in a static function.
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 9
- Joined: Sat Jun 09, 2012 11:30 am
Re: Auto Refresh Table in Database Viewer
Thanks for your feedback
-
- Posts: 51
- Joined: Fri Apr 27, 2012 12:33 pm