Back

Topic

[KB186]Messages 16720 and 16721: Write, %s, Error while converting value

Tags: Error, Error ID, Error messages numbers

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

This article explains how to deal with error messages 16720 and 16721.


Details:

French PcVue: “16720, OPC, Ecriture, %s, Erreur lors de la conversion”
English PcVue: “16721, OPC,Write,%s, error while converting value”

%s is the name of the PcVue variable referenced by this message.

Explanation

Your application is trying to write OPC items with a wrong type.

Example

The Event Viewer first returns the error message 16722 or 16723 when linking a PcVue text variable with a numerical item type. It also does so after the message above when you try to write to the item.

This message should never appear in the Event Viewer, as all types supported by OPC servers are referenced in PcVue.


Created on: 19 Nov 2010 Last update: 13 May 2024