All tags
3D 61850 64 bits 7u51 AA Active Directory ActiveX Addon Adeunis ADO ADODB AE 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 Bottleneck Broadcast Byte CFR21 Chart Control CHRONO Cimway Client Code Page Codec Comm.dat Command line Commend Communication Compatibility Configuration environment Copyfield Cosmos DB Cron CSV Cyclic DALI Dashboard Data acquisition Data Export Database DataVue DCOM DDE DDE Server Debug Demo Demo project DEP Diagnostic DirectLink DNP3 Documentation Domain Domain controller Dongle Drawing Dream Report DVD extras EDE Email Enable Equipment Error Error ID Error messages numbers ESXi Ethernet Ethernet direct Ethway Event viewer Events Excel Export Expression FAQ File Fipway Firewall Font Form FrontVue General GEZE Gmail Graphics Grid Groupalarm Handled Handles Hardcopy HDS Historic HMI HP Icx IEC IEC 61850 IIS Iks Import Installation Internet Internet Explorer Intravue IoT IP Izot Java JRE JSON Kerlink Key Keyboard KNX Language Libraries Library Licence Utility License License Utility Licensing LNS Log Log files Log viewer LogList Logoff LogViewer Lonworks LoRaWAN Memory Memory leak Messages Migration Mimic Modbus TCP/IP Modem Molex Moxa MQTT MSSqlServer Multimedia Multiregion Multistation Multitech MXview MySQL NetBIOS Network Network analyser Networking News NL220 Obsolete articles ODBC Offline OPC OPC-DA Client OPC-DA Server Open Weather Map Operating System Password PcVue PcVue 10 PcVue 12 PcVue as a service PcVue features PDF Performance PlantVue PLC Print Private Process Profibus Project management Protect Tools Protocol Provider Proxy Pulse Quickstart Recipe Region Regular 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 Solar 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 Unitelway Upgrade Useful tools Username Varconf.dat Varexp Variables VBA Version control Versions Virtual machine Virtualization VmWare VPN W7x64 WAGO Watchdog Web Web Services Web Services Toolkit Web.configsvmobile WebScheduler Webvue Windows domain Windows Terminal Server Windows update Winter Workaround Workspace Write Commands
Sample projects

[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 […]

94
Sample projects

[KB1157] How to make a Ping command and use the result in PcVue?

Applies to: PcVue Summary: This article describes a way, from PcVue, to make a ping and to retrieve the result. When we talk about the ping function, we usually advise […]

109
Configuration environment

[KB1139] Impossible to see the Scada Basic editor

Applies to: PcVue 10 onwards Symptom: On a working project we add a new screen, then after some modifications the following problem may appear:– The Scada Basic editor is not […]

81
Audit and diagnostic

[KB1102] List full type=0 LinkEnd count=8192 max=8192 message

Applies to: PcVue all versions Symptom: The Event Viewer shows the following looped message “List full type=0 LinkEnd count=8192 max=8192” and sometimes PcVue crashes. Details: This is a specific case […]

71
Upgrade issues

[KB1079] BUFTOEXCEL migration issue on version 12

Applies to: PcVue 12 onwards Summary: The Scada Basic BUFTOEXCEL instruction has appeared in version 11.1. However in version 11.1 and 11.2 the APPEND mode is not a real APPEND […]

155
Sample projects

[KB855] NEXT MIMIC SAMPLE PROJECT

Applies to: All versions of PcVue Summary: A SCADA Basic script that provides a “Next” mimic capability, simliar to that provided by the #P (previous) substitution used in the Link-Open […]

317
Sample projects

[KB795] Using an AIGrid based utility to select special characters for display in the HMI

Applies to: PcVue 11.1 and later Summary: This utility (using a mimic containing an AIgrid, and a SCADA Basic program) allows you to create strings of characters that can copied […]

348
PcVue 11.1

[KB788] PcVue 11.1 SCADA Basic Help Update

Applies to: PcVue 11.1 Update Summary: Updated SCADA Basic help file incorporating SPR’s and other small changes missed from the version supplied with the 11.1 release. Details: Change Log 11.1 […]

476
Scripting

[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 […]

240
Article samples

[KB777] How to change variable thresholds at once

Applies to: PcVue all versions Summary: You can change at once several threshold values using following scada basic instruction: However, the new threshold value is sometimes not updated. Solution: There […]

928
Scripting

[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 […]

288
Audit and diagnostic

[KB714] Scheduler Runtime Trace

Applies to: PcVue 10.0 sp2 update and later, 11.1 and later. (NOT in 11.0.) Summary: How to activate and interpret the Scheduler trace. Details: How to activate Use the SCADA […]

310
Scripting

[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 […]

340
Sample projects

[KB674] User-editable hysteresis values for each threshold

Applies to: PcVue version 10.0 onwards Summary: This program shows a workaround to make hysteresis values that can be edited by the user at runtime, plus user-editable delays on alarms. […]

299
Scripting

[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 […]

380
Sample projects

[KB669] Using ALARMDISPLAY or LOGDISPLAY in a multi region project

Applies to: PcVue version 7.0 onwards Summary: When using either the LOGDISPLAY or ALARMDISPLAY SCADA Basic instructions, in a multi-region project you must first select the region using the REGION […]

429
Scripting

[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 […]

615
Scripting

[KB655] Broadcasting of User.dat

Applies to: PcVue all versions. Summary: This article explains how to broadcast the User.dat file (user configuration) within a multi station application. It is a complement to the other article […]

429
Sample projects

[KB631] CRON.DAT sample project

Applies to: PcVue version 10.0 SP1 onwards. Summary: A sample project for distribution of CRON.DAT on a multi-station system using the SCADA Basic instruction CRONTAB. The SCADA Basic program, embedded […]

839
Sample projects

[KB624] WebVue and Webpage project

Applies to: PcVue version 10.0 SP1.In general if a project is used with a later version of PcVue it will be automatically converted to that version. Occasionally it may be […]

489
Scripting

[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. […]

450
DataVue/Data Export

[KB611] SCADA Basic script to start DataVue from PcVue

Applies to: PcVue until version 9.In general if a project is used with a later version of PcVue it will be automatically converted to that version. Occasionally it may be […]

495
Scripting

[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 […]

232
Scripting

[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 […]

391
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 […]

534
Scripting

[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 […]

195
Sample projects

[KB583] Virtual Equipment plus CIMWAY mode CFG project

Applies to: PcVue version 8.0.In 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 […]

268
Sample projects

[KB566] FORMAT sample project

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 […]

403
Sample projects

[KB544] SEARCH & REPLACE Project

Applies to: PcVue version 8.2 SP2In general if a project is used with a later version of PcVue it will be automatically converted to that version. Occasionally it may be […]

337
Scripting

[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 […]

256
Scripting

[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 […]

465
Scripting

[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 […]

677
Scripting

[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 […]

331
Scripting

[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 […]

180
Scripting

[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 […]

172
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 […]

528
Scripting

[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 […]

238
System

[KB314] SVSQL mode CONNECT – Return Code: 0

Applies to: PcVue all versions. Summary: The SCADA Basic instruction, SVSQL mode CONNECT, return code 0 is not documented in the online help. The online help describes the verb “CONNECT […]

218
PcVue miscellaneous

[KB313] How to restart a PcVue project – svrestart.exe

Applies to:PcVue version 7.00 onwards Summary:This article describes how to restart a PcVue project by using the executable “SvRestart.exe”. An attached project, made with version 8.2 of PcVue, purposes 3 […]

898
Scripting

[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 […]

730
Scripting

[KB151] Using the “?VarName” syntax in SCADA Basic

Applies to: PcVue all versions. Summary: This article defines when you can use the syntax ‘?VarableName’ in SCADA Basic. Details: When you can use ‘?’ The syntax ‘?VariableName’ can only […]

292
Scripting

[KB150] Using a Buffer with SCADA BASIC

Applies to: PcVue all versions. While the basic content of this article remains valid, details may have changed since it was written. Summary: This article gives advice on using buffers […]

297
Scripting

[KB149] How to Start an Excel Macro with a SCADA BASIC Instruction

Applies to: PcVue all versions. Summary: This article shows how you can start a macro with a SCADA BASIC instruction in PcVue. Details: For the example below, Excel must already […]

307
Scripting

[KB148] SQL Syntax for SVSQL SCADA Basic Instruction

Applies to: PcVue all versions.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article outlines the SQL syntax to use […]

352
Scripting

[KB146] Logging of Alarm Acknowledgements

Applies to: PcVue version 6.04d onwards. Summary: This article describes how to attribute alarm acknowledgement from SCADA Basic to the current user. Details: It is possible to acknowledge alarms from […]

208
Scripting

[KB145] Limitations of the ‘IF’ instruction

Applies to: PcVue all versions. Summary: This article describes some limitations of the ‘IF’ instruction Details: In SCADA Basic you cannot combine a test of an register variable and bit […]

241
Scripting

[KB144] How to Increase the Number of Symbols in SCADA BASIC Programs and SCADA BASIC limitations

Applies to: PcVue all versions.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article explains how to modify the limit […]

256
Scripting

[KB143] How to start a SCADA Basic Program when a mimic opens

Applies to: PcVue all versions. Summary: This article describes how to make a SCADA Basic Program run when a particular mimic opens.From version 11.0 onwards it is not necessary to […]

554
Scripting

[KB142] How to Send Messages to the Event Viewer

Applies to: PcVue all versions.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to run a trace […]

328
Scripting

[KB141] How to retrieve mouse coordinates in SCADA BASIC

Applies to: PcVue all versions. Summary: This articles describes how you can retrieve mouse coordinates in a PcVue project. Details: This uses the function GetCursorPos from a Windows DLL, USER32.DLL, […]

262