LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with DSC tag pointing to datasocket items

I would like to read a datasocket item using a DSC tag:


- I created a predefined boolean data item named 'test' into the datasocket server.


- I created a DSC 'testtag' tag pointing to the 'test' item ( dstp://localhost/test )


Problem:
========


The value of the tag returned by the "Monitor tags" utility or the DSC read tag Vis remains 'false' when I set 'test' = true using 'datasocket write' or publishing a boolean control.

The quality of the tag is 'good' and I can get the right 'true' item state using 'read datasocket' or suscribing an indicator to 'test', but not using the DSC.

Why is that?

Thank you for your help.
MichelC.
0 Kudos
Message 1 of 3
(4,426 Views)
I thing that crossed my mind. The DataSocket items can by default have only one writer. If you have configured the DSC tags as I/O (not Input only), then you have multiple writers. Make sure you have the "Allow multiple writes" checked in the datasocket manager (for the item).
Message 2 of 3
(4,426 Views)
Hmmm... You might want to check to make sure you have the following settings for your tag configuration:

Under the operations tab:

Update Engine Database = Always
Log Data = On
Log Data When = Always

I have bad experiences using LabVIEW DSC with Datasockets. DSC logs datasocket data via their datasocket "proxy". This Datasocket Proxy VI does not work very well in my opinion. We developed our own "proxy" (actually, we just made our own VI-based Device Server) to replace it.

You might also want to download NIs "fixed" datasocket proxy available at:

http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b83/513aa4a0bb60d10086256b48006d44b5?OpenDocument

And maybe install the latest logos drivers.
http://www.medicollector.com
Message 3 of 3
(4,426 Views)