?Start Date: 2020/8/24 15:58
?Loading System Definition file: C:\hilproj\Untitled 1\Untitled 1.nivssdf
?Unloading System Definition file...
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The VeriStand Gateway encountered an error while deploying the System Definition file.
Details:
Error -307831 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
Possible reason(s):
NI VeriStand: Unable to save file to the specified path.
=========================
NI VeriStand: NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi >> NI VeriStand Server.lvlib:NI VeriStand Server.vi >> NI VeriStand Server.lvlib:System Storage FG.vi >> NIVSSDF_Filemanager.lvlib:Load NIVSSDF.vi >> Environment Settings.lvlib:Add SDF to most recent Files.vi >> NIVS_DataStorage.lvlib:SaveDataXMLFile.vi
<append>=========================
NI VeriStand: System.IO.IOException: file“C:\ProgramData\National Instruments\NI VeriStand 2015\Environment Settings\Data Storage\Data Environment Settings.xml” is used by another procedure,so this procedure can not visit the file。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 System.IO.FileInfo.Open(FileMode mode, FileAccess access)
在 NationalInstruments.VeriStand.Internal.XMLSerializerUtils`1.SerializeTo(String filepath, Type node)
在 NationalInstruments.VeriStand.Internal.XMLSerializerUtils`1.SerializeTo(String filepath, Type node, String& error)
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
when using labview to call veristand, such error appeared, and the error windows keep front , nothing can be continue , I had to close the error window manually.
I want to know how to escape the error by labview diagram,I want to know how to force the error windows to close automatically ,so as to avoid stopping my tasks. thank you !