All tags
3D 61850 64 bits 7u51 AA Active Directory ActiveX Addon Adeunis ADO ADODB AE AI Alarm Alarm sythesis Alarm viewer Alarming Alarms Alert Animations ANSI Anywhere USB Applet Application Architect Application Explorer Applicom Architect Archive Archives Archiving ASCII Audit Autosize Average AVI BACnet Big data BMS Bottleneck Broadcast Byte Cassandra CFR21 Chart Control CHRONO Cimway Client Cloud CMMS Code Page Codec Comm.dat Command line Commend Communication Compatibility Configuration environment Copyfield Cosmos DB CRM Cron CSV Cyclic DALI Dashboard Data acquisition Data Export Database DataVue DBMS DCOM DDE DDE Server Debug Décret BACS Demo Demo project DEP DEV Diagnostic DirectLink DNP3 Documentation Domain Domain controller Dongle download Drawing Dream Report DVD extras EDE Email Enable Energy Equipment Error Error ID Error messages numbers ESXi Ethernet Ethernet direct Ethway EV Charge Event viewer Events Excel Export Expression FAQ File Fipway Firewall Font Form FrontVue Gateway General GEZE Gmail Graphics Grid Groupalarm Handled Handles Hardcopy HDS Historic HMI HP IA prediction Icx IEC IEC 61850 IIS Iks Import Industry Installation Internet Internet Explorer Intravue IoT IP Izot Java JRE JSON Kerlink Key Keyboard KNX Language Legrand Libraries Library Licence Utility License License Utility Licensing LNS Log Log files Log viewer LogList Logoff LogViewer Lonworks LoRaWAN Memory Memory leak Messages Microsoft SQL Server Migration Mimic Modbus TCP/IP Modem Molex Moxa MQTT MSSqlServer Multi-Station Multimedia Multiregion Multistation Multitech MXview MySQL NetBIOS Network Network analyser Networking News NL220 NoSQL Obsolete articles OCPP ODBC Offline OPC OPC UA OPC-DA Client OPC-DA Server Open source Open Weather Map Operating System Oracle Password PcVue PcVue 10 PcVue 12 PcVue as a service PcVue features PcVue11.2 PDF Performance PlantVue PLC Print Private Process Profibus Project management proprietary archiving Protect Tools Protocol Provider Proxy Pulse Quickstart Recipe Region Regular release Release info Replication Rest RLM RTE Ecowatt Russian S7 S7 Fetch/Write S7 ISO SAIA Sample project Scada Basic Schedule Scheduler Scripting Security Segmentation Sentinel Setup SG Siemens Sigfox Silent installation Simulation Single line diagram Smart Generator SMS SnapVue SNMP Social Network Solar Solar panel SQL SQL Server SQL Server 2014 Start Startup String Substation Automation Summer SV Manager Toolkit Svmgr SW1000 Switch Syslog System Text TFTP Threads Time Timeout Timer Timestamp Toolkit Tools Touchscreen TouchVue Trace Treatments Trend Trend viewer Trends Troubleshooting TSDB Unitelway Upgrade Useful tools Username Varconf.dat Varexp Variables VBA Version control Versions Virtual machine Virtualization VmWare VPN W7x64 WAGO Watchdog Weather Weather station Web Web Services Web Services Toolkit Web.configsvmobile WebScheduler Webvue WhatsApp Windows domain Windows Terminal Server Windows update Winter Workaround Workspace Write Commands
Development kits

[KB1244] How to import proprietary unit trends into HDS database

I- BASIC PRINCIPLE PcVue’s proprietary archiving was not designed to interact with third-party tools. As a result, only PcVue can retrieve the information contained in such archiving units. However, there […]

1342
Historical data

[KB1243] How to configure a database transactional replication

Document attached: How to configure SQL replication SQL script attached: DBO.MSrepl_error: SQL query for trigger creation

1330
Historical data

[KB1232] Replication of two SQL Data Base

The architecture : PcVue Configuration:You can configure two databases for each instance, assigning them different names, while ensuring that the table names remain identical across both databases.Below is an example […]

1338
Historical data

[KB1242] SQL Server Native Replication (Standard edition)Template

See attached pdf document. Download attachments: KB1242.pdf

1282
Historical data

[KB1241] SQL Server Native Replication (Enterprise Edition)

See attached pdf document. Download attachments: KB1241.pdf

1268
Historical data

[KB1236] Not possible to archive in SQL database

If the traces are activated you could have this kind of error: CSchTable::AbleToWrite on ‘TRENDTABLE1′ is FALSE ID=’2’ Here’s what we recommend you check in this case: Is the database […]

1283
Historical data

[KB1233] Optimisations for SQL database archiving with HDS

1. Limit HDS traces (especially on files as they generate continuous disk access), remove Audit traces especially Ojective: Reduce the load on the system by limiting HDS traces and removing […]

1296
Historical data

[KB1130] HDS Files format PcVue 15

Applies to: PcVue 15 onwards Summary: This document describes the content of each HDS configuration files.Warning 1: Modifying manually these files can cause irreversible damage.Warning 2: This article is only […]

114
Historical data

[KB1131] HDS diagnostics

Applies to: PcVue 15 onwards Summary: This article proposes different ways to diagnose proper functioning of HDS.Warning 1: Modifying manually these files can cause irreversible damage.Warning 2: This article is […]

111
Historical data

[KB1129] HDS Files list

Applies to: PcVue 15 onwards Summary: This article lists all the files managed by the HDS.Warning 1: Modifying manually these files can cause irreversible damage.Warning 2: This article is only […]

85
Historical data

[KB1145] Database status check at startup

Applies to: PcVue 11.2 onwards Summary: Program and mimic to be set up to check if connection to a database is valid at project startup. Details: At project startup, HDS […]

506
Historical data

[KB1128] How to open SQL Server Configuration Manager

Applies to: SQL Server Summary: You may need to change the default configuration of your SQL Server instance, for example to allow TCP/IP access. The SQL Server Configuration Manager is not […]

158
HMI

[KB1114] How to filter events and continue to display users logon and logoff?

Applies to: PcVue 10 SP2 onwards Summary: Using the PcVue logviewer dialog box, it is possible to filter the events according to their nature while also displaying the connections and […]

151
Historical data

[KB1089] How to check if HDS is running before starting PcVue?

Applies to: PcVue 8.10 onwards Summary:It is not advised to start PcVue if the HDS has not stopped properly. The HDS can sometimes take a long time to stop because […]

304
Historical data

[KB869] SQL SERVER 2012 USER RIGHT

Applies to: PcVue 11.0 onwards when using SQL Server 2012 Summary: The HDS is unable to record in SQL Server 2012 database when PcVue is started with a User with […]

399
Historical data

[KB859] HOW PCVUE HANDLES SQL SERVER CONNECTIONS

Applies to: All versions of PcVue Summary: How PcVue handles SQL Server connections.Originator: LM Details: When you start a PcVue project which uses the HDS and SQL Server for archiving […]

501
Upgrade issues

[KB853] Migration of The HDS Databases to PcVue 15

Applies to: PcVue 11.2, 12 and 15 The basic content of this article may also be applicable to other versions of PcVue although the detail may vary. Summary: This article […]

714
Historical data

[KB849] Trend recording – New invalid point management on shut-down

Applies to: PcVue 11.1 update and later Summary: The trend recording invalid point management, which occurs when PcVue shuts down and restarts, has been improved for equipment with time-stamped protocols. […]

451
Historical data

[KB840] How to import .HDS files

Applies to:PcVue 8.10 onwards Summary:.hds files are generated by the HDS, during abnormal operation, as temporary storage for events. The HDS will attempt to recover the information in them when […]

464
Historical data

[KB769] HDS failed to connect to SQL server with test connection success

Applies to: Any PcVue version running HDS Summary: How to resolve the following error on HDS at start-up ” Failed to connect to SQL server …..” Details: If your SQL […]

522
Article samples

[KB778] HDS replication : a simple SCADA Basic sample

Applies to: PcVue 8.10 onwards Summary: This article proposes a Scada Basic sample program explaining how to launch a SQL Server database replication, using replicationmanager.exe utility. If your replication doesn’t […]

1483
Historical data

[KB732] How to copy the contents of an HDS table to another SQL table or other relational database

Applies to: All PcVue versions including the HDS Originator: AD Summary: The SQL Server tools allow you to copy the contents of a table using two methods. On the fly […]

470
Scripting

[KB716] Accessing SQL Server Database through VBA

Applies to: All VBA versions Summary: This VBA module allows to send read and write requests to a SQL Server database, using the ADO VBA Reference. The script is embbeded […]

966
Historical data

[KB666] Client station trying to connect to the SQL Server instance

Applies to: PcVue version 10.0 onwards. Summary: This article warns you about what could happen in a HDS archiving configuration, when a station that is not a historical server, tries […]

429
Historical data

[KB654] How .hds files work ?

Applies to: PcVue version 8.10 onwards. Summary: This article explains why the file “ProjectName_DatabaseName_TableName.hds” in the Databases directory contains records. Details: .hds files are created in the directory containing the […]

845
Historical data

[KB620] HDS FAQ

Question: What is the meaning of the colors in the HDS icon? From PcVue 10.0 SP1 the HDS icon displayed in the System Tray changes color. Answer: The color of […]

806
Historical data

[KB592] The origin of quality value 64 in the HDS trend tables

Applies to: PcVue all versions. Summary: In article KB243 there is a description of the quality values you can find in HDS tables. However, the quality value 64 is very […]

347
Scripting

[KB590] How to convert a time into the FILETIME format used by the HDS

Applies to: PcVue version 11 onwards. Summary: How to convert, using SCADA Basic, a Unix time (also known as Epoch time, Posix time…) to the FILETIME format as used by […]

596
Historical data

[KB568] How to create and export a custom table in the HDS

Applies to: PcVue version 9.0 onwards Summary: When using a Maintenance Plan & Export Task to export data from a database, the format of the output is defined by the […]

607
System

[KB555] Backing up SQL Server databases with HDS storage units

Applies to: PcVue version 8.10 onwards Summary: This article guides you through setting up a backup strategy for HDS databases. The actions shown were taken with a version of SQL […]

602
Scripting

[KB550] How to temporarily disable database archiving

Applies to: PcVue version 8.10 onwards Summary: This article describes how to pause and resume HDS database archiving using VBA. (For proprietary archive units you must use the SCADA Basic […]

365
Historical data

[KB537] Migration of the HDS Databases to PcVue 10.0

Applies to: PcVue versions 10.0, 11.0, and 11.1. The basic content of this article may also be applicable to other versions of PcVue although the detail may vary. Summary: This […]

536
Historical data

[KB520] PcVue historical database – Log and trend tables description

Applies to: PcVue version 8.10 onwards. Summary: This article describes LOG and TRD columns in PcVue database, created when configuring a HDS archive unit Details: General In attached file, you […]

582
Other Products

[KB517] How to optimize HDS table browsing for Dream Report

Applies to: PcVue 8.10 version onwards. Summary: Here is a useful trick if you need to quickly browse the table content of an HDS Database. For example in Dream Report, […]

296
System

[KB492] How to display local time in an SQL Server view

  Applies to: Pcvue all versions Summary: This article explains how to add a TIMESTAMP field dynamically to Read requests from an external tool (for example SQL Server Management Studio) […]

836
Historical data

[KB490] Database export limit

Applies to: PcVue version 8.10 onwards. Summary: This article describes a limitation on the export of data from the HDS. Details: Any export via the HDS is limited to 1.4 […]

431
Historical data

[KB488] Changing the HDS tables

Applies to: PcVue version 8.10 onwards. Summary: This article explains how a manual modification of the tables created by the HDS can cause certain errors and in particular memory leaks. […]

373
System

[KB487] How to reduce the database LOG file (.ldf) size

Applies to: PcVue all versions. Summary: This article will help you to reduce disk space used by your LOG file when using the HDS and SQL Server 2005 or later. […]

464
Historical data

[KB484] Troubleshooting HDS database creation or connection

Applies to: PcVue version 8.10 onwards. Summary: You start PcVue with a data archiving configuration using the HDS and that doesn’t work! Here is a checklist for troubleshooting the problem. […]

1127
System

[KB481] HDS stopped

Applies to: PcVue version 8.2 onwards. Symptom: An historical configuration based on HDS is configured but the HDS never starts. Details: This issue may appear if you installed SQL server […]

400
Historical data

[KB479] How to generate TS column if it is absent from the database

Applies to: PcVue all versions. Summary: This article explains how, when using the HDS, to generate a TS column by using an SQL query. Details: TS is an optional column. […]

412
Historical data

[KB435] HDS Maintenance task

Applies to:  PcVue version 8.10 and version 8.2.   Summary:  This article concerns any PcVue 8.10 project that has been migrated to PcVue 8.2 onwards and which uses the HDS.The technical […]

611
Historical data

[KB359] HDS Replication and SCADA Basic

Applies to: PcVue all versions. Summary: A SCADA Basic program to manage HDS replication. Details: To use it, unzip it and copy the .ini file in TP directory (the program […]

584
System

[KB325] What do the EventNumber, VarType and AlarmState columns mean ?

Applies to: PcVue all versions. Summary: The meaning of the EventNumber, VarType and AlarmState columns in an SQL database as used by the Historic Data Server (HDS). Details: Sometimes it […]

339
Historical data

[KB277] HDS trendgroup update rate applied to timestamped protocols should be set to 0s

Applies to: PcVue version 8.10 SP4 onwards. Summary: HDS trendgroup update rate applied to timestamped protocols should be set to 0s Details: This concerns only trends. When archiving trends with […]

271
Historical data

[KB276] HDS archiving – Error when using compressed disk options

Applies to: PcVue version 8.10 onwards. Summary: HDS archiving – How to fix the error which occurs if using compressed disk options. Details: If following compressed options are ticked on […]

351
Data acquisition

[KB243] The QUALITY field in OPC and the HDS

Applies to: PcVue all versions. Summary: This article refers to the format of the Quality field as defined in the specification of OPC Data Access 2.05a. Details: Please find the […]

451
Historical data

[KB20] Use of Chrono time-stamping to make SQL queries

Applies to : PcVue all versions with HDS. Summary : This article explains how to use Chrono for making SQL queries. Details : In HDS data storage, the TS field […]

1068