LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Behavior of Citadel 5 Database when Network Interruption Happens

Hello, 

 

A suspected network interruption (more likely to be the network provider and less likely to be a LabVIEW or SVE related issue) in our lab happened last night. A error message popped up, and the citadel database stopped logging until I clear the message. Is there any way to keep the database on the host computer logging properly even if network problem occurs? The variables and the processes should still be accessible to the host even if the computer is offline. Thanks a lot!

 

The screen for the error message:

Message.png

 

 

The gap due to the suspected interruption:

Gap.png

0 Kudos
Message 1 of 3
(2,487 Views)

Hello pai,

 

The easiest change that you could make is to simply add code for handling that error if it happens. You can unbundle the error wire in each iteration of your loop and check to see if that specific error number has occurred. If it has, you can programmatically perform some action with the database to start the logging again if necessary, and then clear the error and move on.

 

Regards,

 

Ryan

Ryan P.
CLA
Message 2 of 3
(2,462 Views)

Hi Ryan, 

 

Thank you so much for the help! I forgot I can have basic error handling to prevent this! 

 

Best,

Pai

0 Kudos
Message 3 of 3
(2,456 Views)