Trying to force UNCERTAIN and BAD data in the demo server

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
janderscu
Jr. Member
Jr. Member
Posts: 1
Joined: 04 Nov 2020, 23:14

Trying to force UNCERTAIN and BAD data in the demo server

Post by janderscu »

I am running the UACPP demo server to debug development of my client application. I would like to try to force values that are "BAD" and "UNCERTAIN" to verify performance of my client application handling this scenario. Is there a way to do this in the CPP demo server? Or another server I could install and use to debug my client this way? Thanks

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Trying to force UNCERTAIN and BAD data in the demo server

Post by Support Team »

Hello,

The C++ SDK demo server provides two variables in the simulation that create different bad and uncertain status codes in the simulation.
Objects > Demo > 001_Dynamic > Scalar > Quality_xx

But you can also modify the sample code to initialize other variables in the demo server with different status codes.
The code of the demo server is part of the SDK evaluation package.
Best regards
Unified Automation Support Team

Post Reply