LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create OPCDemo - Items

Hi there.
is there a way to create a number of OPC-Items of the OPCDemo-Server? Browsing the Servers with "DataSocket Select URL.vi" i see a folder "Created Items" under OPCDemo. This folder is always empty. Is there a way to create Items for Testing?

Greetings
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 1 of 3
(2,880 Views)
Hello Chris,

unfortunately the OPCDemo OPC-Server only serves a fixed set of different values/functions. But the user has the possibility to modify e.g. the Sine function which is delievered:

An original SINE item is:

SINE:0.0..8.0:2.0

if you modify the name of the OPC-URL to

SINE:-1.0..1.0:1.0

you can create a new item which delievers a sine from -1 to 1 with a periodicity of 2*1= 2 seconds. The OPCDemo OPC-Server now lists this new item in the group Created Items.

Regards,

Andreas Würl
NI Germany
0 Kudos
Message 2 of 3
(2,880 Views)
Dear Andreas

Thanks for your answer. I will use DSTP - Items for testing instead.

Regards,
Chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 3
(2,880 Views)