




Scripting
























[KB1238] PcVue EV Charge solution description
Please see the attached files: PcVue EV Charge Kit – Description EN PcVue EV Charge Kit – Description FR
[KB1237] Adding a Development station to a Multi-station Architecture
The DEV station remains passive under normal conditions but can be temporarily activated for testing purposes. Here are the steps to add a DEV station to a multi-station architecture: Configuration: […]
[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 […]
[KB1233] Optimisations for SQL database archiving with HDS
1. Dedicated disk for mdf file Objective: Improve database performance by isolating data files (mdf) on a dedicated disk. Action: Configure the system so that mdf files are stored on […]
[KB1231] Error loading the Application Architect configuration
This type of message appears when there are inconsistencies in the project configuration. An error message is systematically displayed in the event viewer: The error indicates the blocking point for […]
[KB1230] Protected: [Draft] How to import proprietary unit trends into HDS database
There is no excerpt because this is a protected post.
[KB1188] PcVue 16 – Software and License Utility download
[KB1228] DIMO Maint MX provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution that interacts with DIMO Maint MX and retrieves information on […]
[KB1224] Salesforce provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to connect Salesforce Platform to PcVue to get data from CRM […]
[KB1225] Telegram provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to Send message with emoji, bolt, italic… Send command, inline keyboards… […]
[KB1226] Twilio provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to send an SMS from a data center or a Cloud […]
[KB1227] X provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to create or send a tweet. Status: This provider has the […]
[KB1223] Netatmo provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to access famous Netatmo IoT platform and Netatmo partner from PcVue. […]
[KB1222] Operat provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider is a solution to publish energy consumption in the tertiary sector from PcVue. Status: […]
[KB1219] EmVue v1 – Software download
Applies to: EmVue v1 Summary: By following the information below, you can download the latest EmVue v1. Details: Download link EmVue v1 EmVue_1.0.162.iso : Download Hash (SHA256) : 8A4343BC8044762E1CE7FC8A22602897DC346DA38F7672D4B810FB6367953F01 How to verify […]
[KB1218] EmVue v1 – Release Information
Applies to: EmVue v1 This article was last updated to include information related to EmVue 1.0.162. Summary: This article contains the so-called “readme first” information for EmVue v1. […]
[KB1216] Sofrel OPC UA Server Validation Results
Applies to: PcVue 16.1 and later Summary: This article contains the results from validation tests of the Sofrel OPC UA Server v2.20.27 and PcVue. Originator: ELCH Details: This guide contains […]
[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 […]
[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 […]
[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 […]
[KB1211] How to import a local library into a PcVue project
Applies to: PcVue 12 onwards Summary: Here are the steps to import an existing library into a project. Details: To integrate an existing library into your project, you will have […]
[KB1212] How to display the networking architecture in a PcVue mimic?
Applies to: PcVue 16 onwards Summary: Whenever you create a PcVue multi-station project, you logically want to display real-time information from all stations in a dedicated view. For […]
[KB1214] PcVue Automatic Deployment
Applies to: PcVue 16.2 onwards Summary: How to install or update PcVue on a complete architecture in a more efficient way? This article describes the procedure to automatize the deployment […]
[KB1205] Migrating a PcVue project containing LON communication
Applies to: PcVue 15 onwards Summary: Prerequisites for migrating a PcVue project containing LON communication. Details: Prerequisites to take into account: – Plan for updating the LON license (LON server […]
[KB1197] Security Alerts
Despite the strict methods and precautions employed when designing, developing and packaging our products, security vulnerabilities may occur. This page lists all known security alerts on products designed by ARC […]
[KB1172] SQLite Provider – Installation tutorial
Applies to: PcVue 16 Summary: SQLite is probably one of the most used database engine. But SQLite editor does no more share installer (.msi).However it is possible to […]
[KB1213] PcVue as a Service – Open Application Explorer
Applies to: PcVue 11.2 onwards Summary: Since PcVue is able to run as a Windows service the use of options in AIExplorer command line becomes very useful. We will describe […]
[KB1203] CPU at 100% with in web Navigator using Webvue in a VM
Applies to: PcVue 16 onwards Summary: With PcVue 16, WebVue uses WebGL technologie. By default, WebVue tries to refresh the whole WebGL view at the refresh rate of the screen, […]
[KB1202] How to disable the native menu in WebVue
Applies to: PcVue 16 (Not included in V15.2.6, but should be available in the next uptdate) Summary: This article aims to show how to disable the native menu in WebVue: Details: […]
[KB1201] Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly
Applies to: WebVue, Web Services using IIS Symptom: While trying to access WebVue, or a PcVue Web Services page, or testing web functionalities with the SvWebDiag tool, this error appears: […]
[KB1194] How to create an Exprv.dat file with the Application Architect
Applies to: PcVue 12 onwards Summary: This article explains how to create an Exprv.dat or another file with the Application Architect. Details: In the following example, the expressions are used to […]
[KB1193] JSON provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider allows interaction between JSON files and PcVue. Status: This provider has the status: Release […]
[KB1192] Excel provider – Version 1
Applies to: PcVue 15.2 onwards Summary: This article contains attached files at the end. This provider allows interaction between Excel files and PcVue. Status: This provider has the status: Release […]
[KB1191] Cosmos DB Provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider will allow direct interaction with the NoSQL database engine provided by Microsoft in SaaS […]
[KB1190] WebVue good practices
Applies to:PcVue 12, 15 and 16 Summary:This article aims to provide some best practices for the deployment of WebVue. Everything in this article, from the introduction to the end is […]
[KB1187] PcVue 16 – Extra Documentation
Applies to: PcVue 16 This article was last updated to include information related to PcVue 16.0.0. Summary: This article contains the extra documentation supplied with PcVue 16. Details: Note: These […]
[KB1186] PcVue 16 – Libraries and Demonstration projects
Applies to: PcVue 16 Summary: This article contains the pre-defined libraries and demonstration projects supplied with PcVue 16 in English, French, Russian and Chinese language. If you wish to use […]
[KB1183] REST provider – Version 1
Applies to: PcVue 16 onwards Summary: This article contains attached files at the end. This provider allows direct interaction with a multitude of REST API. Note that some APIs do […]
[KB1184] PcVue 16 – Release Information
Applies to: PcVue 16 This article was last updated to include information related to PcVue 16.2.0. Summary: This article contains the so-called “readme first” information for PcVue 16. Files attached […]
[KB1182] CSV provider – Version 1
Applies to: PcVue 15.2 onwards Summary: This article contains attached files at the end. This provider allows interaction between csv files and PcVue. Status: This provider has the status: Release […]
[KB1185] FrontVue 16 – Release Information
Applies to: FrontVue 16 This article was last updated to include information related to FrontVue 16.0.0. Summary: This article contains the so-called “readme first” information for FrontVue 16. Files attached […]
[KB1174] RTE Ecowatt Provider – Version 1
Applies to: PcVue 15.2 onwards Summary: Véritable météo de l’électricité, Ecowatt qualifie en temps réel le niveau de consommation des Français. A chaque instant, des signaux clairs guident le consommateur […]
[KB1173] Networking errors: The remote client station is not configured in local station
Applies to: PcVue 12 onwards. Summary: This article describes a simple issue we can encounter sometimes between two PcVue stations. Note that there is a more generic article about understanding […]
[KB1170] Using a PcVue Date Time Picker
Applies to: PcVue 12 onwards Summary: A Date and Time Picker is an input field for selecting both a date and a time.This article describes how to deploy a date […]
[KB1169] ADO.Net Providers installation procedure
Applies to: PcVue Summary: This article explains in general how to install a ADO.Net Provider for PcVue. It applies to all Providers, if one Provider requests a special setup a […]
[KB1168] OpenWeatherMap provider – Version 1
Applies to: PcVue 15.2 onwards Summary: This article contains attached files at the end. This provider allows to get weather information. Status: This provider has the status: […]
[KB1167] Secure PcVue Mail Sender for O365
Applies to: PcVue 11.2 onwards Summary: Starting October 1, 2022, Microsoft did strengthen authentication for access to Microsoft 365 (formerly Office 365) email accounts by making combined enrollment, also called […]
[KB1166] How to open a pdf from WebVue
Applies to: PcVue 12 onwards Summary: This project demonstrate how to open a pdf either from PcVue or from WebVue. Details: 1. With PcVue you can copy the pdf file […]
[KB1164] Security bulletin 2022-5 – IEC 61850 client driver and ICCP/TASE.2 interface vulnerabilities
Overview: ARC Informatique is aware of a security vulnerability affecting PcVue. The affected components are the IEC 61850 client driver and ICCP/TASE.2 interface. This bulletin describes the immediate security measures […]
[KB1161] PcVue workspace adaptation on Windows resolution change
Applies to: PcVue version 12.0 onwards Summary: The decrease of Windows resolution makes PcVue reduce its workpace. How to readapt PcVue worspace if Windows resolution increases ? Details: A Typical […]
[KB1161] PcVue workspace adaptation on Windows resolution change
Applies to: PcVue version 12.0 onwards Summary: The decrease of Windows resolution makes PcVue reduce its workpace. How to readapt PcVue worspace if Windows resolution increases ? Details: A Typical […]
[KB1059] ActiveX Microsoft Web Browser in PcVue
Applies to: PcVue 7 onwards Summary: It is possible to use an ActiveX in order to navigate on a website inside a PcVue mimic. This way it is possible for […]
[KB861] CHANGING AN IMAGE USING VBA
Applies to: PcVue 11.1 update and PcVue 11.2 update onwards Summary: A new VBA method, SetImage, allows the image file used in the Image drawing element to be changed programmatically.Originator: […]
[KB843] Controlling the Workspace using VBA
Applies to: PcVue 11.1 and 11.2 update. Summary: Two new VBA methods allow the Workspace size and position to be controlled programatically. Details: There has long been an issue when […]
[KB838] Populating the Grid with an SQL Request in VBA
Applies to: Versions of PcVue supporting VBA and the Grid control. Summary: How to display SQL Server trend table values in a grid control. With minor modifications this example could […]
[KB803] Incompatibility of the AITimer between PcVue 10.0 SP2 and 11.1
Applies to: PcVue 10.0 SP2 and 11.1 Summary: The AITimer of version 10.0 SP2 is incompatible with the AITimer of version 11.1.Originator: ND Details: If you install 10.0 SP2 on […]
[KB767] Large on-screen keypad using mimic
Applies to: PcVue 11.1 Summary: Example of an on-screen key pad created with a mimic and driven by SCADA Basic Details: An on-screen numeric keypad using a mimic and SCADA […]
[KB762] How to get/display the time with milliseconds using VBA
Applies to: All versions of PcVue Summary: There is nothing in VBA that will allow you to display the time with milliseconds. A simple solution is to call a system […]
[KB729] Using HARDCOPY in a Multi-screen Environment
Applies to: PcVue. All versions. Summary: Workaround, using a SCADA Basic script, to generate a screen hard copy when in a multi-screen environment.Originator: FABO Details: If you need to print […]
[KB719] Creation of Office 2013 document from PcVue VBA is not possible
Applies to: PcVue – all versions supporting VBA Summary: Office 2013 doesn’t install the component required to manipulate Office documents through VBA. This is a known problem and there is […]
[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 […]
[KB695] VARIABLE mode REFRESH
Applies to: PcVue 9.0 SP2 and later Summary: How to force the refresh of a variable on a client station. Details: A new mode REFRESH has been added to the […]
[KB690] Cypress Enable help files
Applies to: All versions of PcVue particulary 11 onwards Summary: The VBA-like scripting language called Cypress Enable was originally supplied with PcVue before VBA itself was integrated. The Cypress Enable […]
[KB682] Copy/Paste of a VBA symbol object
Applies to: PcVue – all versions supporting VBA Summary: If VBA symbol code of a duplicated symbol is not executed after a copy/paste, you need to check the symbol configuration. […]
[KB673] How to use time-delayed alarms with SCADA Basic
Applies to: PcVue version 10.0 onwards Summary: This program shows how to create a delayed alarm using SCADA Basic, the alarm being activated by a manually controlled bit. This delayed […]
[KB664] VBA and SCADA BASIC function integration
Applies to: PcVue version 8.20 onwards Summary: The Configure / Project / Settings / Run User Programs // Before initialization // After initialization properties – used to execute SCADA Basic […]
[KB657] How to use the AITimer in VBA
Applies to: PcVue version 8.0 onwards. Summary: How to use the AITimer, provided with PcVue, in VBA. Details: PcVue provides a component library called Arc Informatique Common Controls. So far […]
[KB614] Example of how to use a DLL in SCADA Basic
Applies to: All PcVue versions Summary: An example of using an external DLL in SCADA Baisc. In this example – to read and write in a standard format .ini file. […]
[KB607] Managing VBA events when a mimic object overlaps a template object
Applies to: PcVue all versions.PlantVue all versions.FrontVue all versions. Summary: This article explains the options for managing VBA events when a mimic template object and a mimic object overlap. Details: […]
[KB606] Memory leak when making unnecessary use of Alloc_Buffer
Applies to: PcVue all versions. Summary: Memory leak when making unnecessary use of the SCADA Basic instruction ALLOC_BUFFER. Details: It has been observed that sometimes, if ALLOC_BUFFER is used to […]
[KB591] How to read/write an INI file using SCADA BASIC
Applies to: PcVue all versions Summary: Two functions to read/write an INI file using SCADA BASIC Details: Two functions to read an INI style configuration file from PcVue. Supports any […]
[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 […]
[KB589] How to obtain the GMT offset using SCADA Basic
Applies to: PcVue version 10.0In general if a project is used with a later version of PcVue it will be automatically converted to that version. Occasionally it may be necessary […]
[KB552] Chrono, UTC, Local hour in VBA
Applies to: PcVue all versions. Summary: This article contains a set of useful VBA functions for the conversion of datetime values from UTCtime to local time or Chrono values to datetime values and […]
[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 […]
[KB530] SELECTOR instruction, new modes
Applies to: PcVue version 9.0 and 10.0. Summary: This article presents new SELECTOR modes. The new modes appeared in PcVue 9.0 but are not described in online help of some […]
[KB516] How to resize the AIGrid
Applies to: PcVue version 8.10 SP7 onwards. Summary: A sample VBA function to resize the AIGrid component after zoom or screen adaptation. Details: An example mimic after ZOOM OUT: The […]
[KB506] How to access a VBA graphic object
Applies to: PcVue version 8.10 onwards Summary: Syntax to access a graphic object using a string variable Details: Please note that the graphic object does not have to be ticked […]
[KB496] Running SCADA Basic functions
Applies to: PcVue all versions Summary: This article describes the sequence in which SCADA Basic functions are run when called simultaneously from different sources (via a button, action or cyclic […]
[KB495] Memory leak when using the MULTIMEDIA instruction
Applies to: PcVue all VBA versions. Related articles: KB721 Summary: This article explains the handle (and memory) leakage due to the MULTIMEDIA instruction in SCADA BASIC. Note that there is another […]
[KB476] SCADA Basic Limitations
Applies to: PcVue vesion 10.0.The basic content of this article may also be applicable to other versions of PcVue although the detail may vary. Summary: This article shows the SCADA […]
[KB458] SCADA Basic Editor is invisible
Applies to: PcVue version 8.2 onwards. Summary: The SCADA Basic editor stores the most recent position of the editor window at the time it was last opened. If the window […]
[KB362] SCADA Basic Editor does not start
Applies to: PcVue all versions. Summary: SCADA Basic Editor does not start Details: When clicking the ellipsis (3 points) button, the editor window does not open. Two solutions can be […]
[KB321] VBA function DoEvent
Applies to: PcVue all versions. Summary: This article describes how to use the VBA function DoEvents and warns about the possible problems that can occur when using it. Details: The […]
[KB320] When not to use SCADA Basic SYSTEM mode SYSTEM
Applies to: PcVue version 8.00 onwards. Summary: Do not use SYSTEM mode SYSTEM to launch a batch file which takes a long time to execute. For example a batch launching […]
[KB306] SCADA Basic function execution from VBA
Applies to: PcVue all versions. Summary: By forcing a variable in VBA code you can trigger a SCADA Basic function. By forcing a variable in SCADA Basic you can trigger […]
[KB164] VBA UserForms are not saved with mimics in ASCII format
Applies to: PcVue version 7.20 onwards. Summary: This article provides a work-around for the fact that when a mimic is saved in ASCII format, any VBA UserForm in it is […]
[KB163] UserForm cannot migrate between PcVue versions 7 and 8.
Applies to: PcVue version 7.20 VBA. Summary: This article indicates how to work around an incompatibility that affects VBA projects that contain UserForms. Solution: When you migrate a project from […]
[KB162] Restrictions on executing VBA scripts
Applies to: PcVue version 7.20d onwards.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to configure PcVue […]
[KB161] Restriction on Symbols that Include VBA Code
Applies to: PcVue version 7.20a onwards. Summary: This article advises on a limitation on symbols that include VBA code. Details: If you create an instance of a symbol containing a […]
[KB160] Restart PcVue with SvRestart.exe and VB script
Applies to: From PcVue version 7.00 to version 8.00 (incl.) Summary: This article describes how to restart a project with a VBscript procedure to call Restart_PcVue. Details: Open the attach […]
[KB159] Mimic templates with VBA/Enable scripts
Applies to: PcVue version 7.20 onwards. Summary: This article describes how to overcome a limitation concerning mimic templates with VBA/Enable scripts. Details: You can associate a script with a mimic […]
[KB158] Incompatibility between VBA 6.2 and VBA 6.4
Applies to: PcVue version 8.00 SP3 onwards. Summary: This article identifies and gives a work-around for an incompatibility between versions 6.2 and 6.4 of Microsoft VBA. Solution: Until version 8.00 […]
[KB157] How to lock the Internet Explorer context menu for the Web Browser ActiveX
Applies to: PcVue version 7.00 onwards. While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to lock […]
[KB156] How to check whether a project is from a VBA version of PcVue
Applies to: PcVue version 7.20 to version 9.00. From version 10 onwards VBA was standard. Summary: This article describes how to tell from its mimic files whether a project came […]
[KB155] Defining an OLE DB Connection String for ADO Access via VBA
Applies to: PcVue version 7.20c onwards. While the basic content of this article remains valid, details may have changed since it was written. Summary: This article shows how to define […]