LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get shared variable values

I want to know if there's any way to get shared variables values by their references? I have an application in LV and DSC8. I get SVs name and make their URL, then I want using this URL, read the SVs value.
0 Kudos
Message 1 of 2
(2,565 Views)
 

Hi Maryam,

You can use datasocket to read the value of a shared variable using its URL.

Have a look at the following two links for more information on using datasocket for this.

https://www.ni.com/docs/en-US/bundle/labview/page/reading-and-writing-live-data-using-datasocket-fun...

https://www.ni.com/en/shop/labview/datasocket-transfer-protocol--dstp--overview.html

I hope this helps

Hannah
NIUK & Ireland

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