04-13-2006 02:43 AM
04-13-2006 04:07 AM
The mdf and ldf files are not created when you export the alarms but when you start up the DSC engine. They are the database files where the alarms and events are stored. Deleting them will result in an error during query because LabVIEW DSC asks the MS SQL engine to query those files for alarms and events in the specified time interval and other filter parameters and MS QSL returns an error saying it can't find those files.
@dhanwanti wrote:dear all,I m using Labview 7.1 and its DSC software for exporting alarms to a file.i m using "Alarms and Event Query to SpreadSheetFile.vi" for exporting alarms.First time when i run it then it generates the output alarm file but it was blank having only header in 2nd line of file no other data in it.then i delete the data folder manually.on starting again it creates the data folder after that when i run my vi for exporting alarms then it shows error as follows:-"error code "-1967386616 " "Hist_Alarms to SpreadSheet.vi" citadel (Hex 0x8ABC1008) Read alarm failed because of connection or query failure.After lot research i found one of the reason may be that in data folder "MsSql.mdf and mssql.ldf" files are not generated. These files are automatically generated first time but not generated after deleting the data folder why?????so please resolve it as early as possible for u anybody.Thanks in advance,Regards,Dhanwanti
04-13-2006 06:43 AM
dear sir,
please reply me back how i create these mssql.mdf and mssql.ldf files.
thanks
Regards
dhanwanti
04-13-2006 08:10 AM - edited 04-13-2006 08:10 AM
You don't! LabVIEW DSC does this for you after:
@dhanwanti wrote:
dear sir,
please reply me back how i create these mssql.mdf and mssql.ldf files.
thanks
Regards
dhanwanti
Message Edited by rolfk on 04-13-2006 03:11 PM