LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DataSocket: Publish & Subscribe; Programatically configuration

Hi there,

 

We're using DataSocket for publishing data and it works without problems. Now, we need to "Publish & Subscribe" data (several buttons), means we  have multiple writers to some items.

This works, too.  The elements are "Frontpanel binded", the configuration of DataSocket server is done by the DataSocket server manager: For each item one tag is created and configured.

 

Now when you run the code without any configured DataSocket items (i.e. on another PC), all items are configured dynamically except the "Publish & Subscribe" items!

Is there any way to go with the "Publish & Subscribe" items like "Publish" items?

 

Normally I could configure the DataSocket server manger and export my setting for configuring another machine where the program should run, but we have now more than one program

which will run on the same machine, all using DataSocket. For this reason it would be more easy that the configuration (creating items etc.) is done by the programs itself!

 

Thanks for answers!

0 Kudos
Message 1 of 2
(2,763 Views)

To be honest, I dont really understand your question. Can you give an example to make it clear?

0 Kudos
Message 2 of 2
(2,624 Views)