Error -1967386569 at Citadel Write Trace VI

Updated Sep 20, 2018

Reported In

Software

  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I am creating an application using the LabVIEW DSC (Datalogging and Supervisory Control) Module that writes multiple data points to a Citadel database using the Write Trace VI. If I force stop or quit my LabVIEW program prior to executing my code that closes said trace references, I receive the following error at the Write Trace VI once I rerun my program:
 
Error -1967386569 "There is already an open writer"
 
Why does this occur?

Solution

The Write Trace VI will throw this error if you try to access an already open writer. The Close Trace VI needs to be called for each Citadel trace reference. 

Hitting the Abort Execution button when running your VI is never recommended. In the event your LabVIEW environment fully closes or crashes, LabVIEW will automatically handle and close any open references in memory. 

WAS THIS ARTICLE HELPFUL?

Not Helpful