LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

easytabs and timers

Hello,

I run into a problem with CVI:
I have a main panel with some EasyTabs on it and also a Timer (which is placed on the main panel, not on one of the easytabs...).
The timer is set to every 100 miliseconds, and sends a message (like 20 bytes) over the serial RS232 port.
The problem occurres while the application is running and I am leafing through the tabs, after a short while the application breaks at RunUserInterface(). and reports FATAL RUN TIME ERROR.
I believe there is a connection between the easytabs and the timer because when I disable only the timer (while the rest of the app. continues) it does not happend.
Any help?
Thanks.
0 Kudos
Message 1 of 3
(2,994 Views)
Usually in case of a fatal run-time error the program breaks into the source code in the line on error. You can have the corresponding options in the project menu set not to break: check Debugging options in the Build Options menu: it must be set to either Standard or Extended to have run-time checking enabled. Also, ensure that the Break on library errors check box is marked in Run options dialog in project window's Options menu; check also that either SetBreakOnLibraryError () and SetBreakOnProtectionError () functions are not called inside your code.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,981 Views)
Hello Disa,

To work around this issue, turn off "Break on Library Errors" either programmatically by calling "SetBreakOnLibraryErrors (0)" or manually by going to the Project Window >> Options >> Run Optins >> Break On Library Errors

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 3
(2,961 Views)