LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data binding with DataSockets

Sorry about the bad link.  The server it is on is an internal one.  I hope you find it helpful.

 

And I will fix that link soon.

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 11 of 17
(1,206 Views)

The 3rd tier VI programmatically sets the DataSocket URL of an indicator.  This can be seen as a data item in the DataSocket Server Diagnostic screen.  When the VI ends, each indicator is reset to "dstp:\\" which should remove from the DataSocket Server.  However, I noticed that the last DataSocket URL remains listed in the DataSocket Server Diagnostic screen.  It may change data type (floating point to integer) but it never goes away. 

 

After the VI quits, if I use the DataSocket Select URL VI to examine exising data items on the Server, I see an inconsistancy.  Under My Computer, it states that no DataSocket Server exists.  But under the computer name in My Network Places it shows the DataSocket Server with all the data items just like the DataSocket Server Diagnostic screen.

 

Why the inconsistancy?  Is there a better way to disconnect the DataSocket from the indicator and remove the data item?

0 Kudos
Message 12 of 17
(1,176 Views)

Hello,

 

When you refer to checking under My Computer for the DataSocket server to exist, where exactly are you looking? What does it show you in the DataSocket Server Diagnostics screen?

 

-Zach

0 Kudos
Message 13 of 17
(1,162 Views)

When examining the selection screen produced by DataSocket Select URL VI, under My Computer, it shows no DataSocket Server running.  But under the local computer name in My Network Places (in the same selection screen) it shows a DataSocket Server running containing all the data items specified in the DataSocket Server Diagnostic screen. 

 

DataSocket Server Diagnostic screen shows all the DataSocket URLs I have activated.  However, when I deactivate them (resetting the DataSocket URL of an indicator to "dstp:\\") the last DataSocket URL is listed as existing.

0 Kudos
Message 14 of 17
(1,156 Views)

Hello,

 

Have you tried this on any other computers to see if it is specific to your installation? Also, do you have other versions of LabVIEW between 7 and 2009 that you can test?

 

-Zach

0 Kudos
Message 15 of 17
(1,149 Views)
I've tried this different computers with different versions of LabVIEW and have the same result.
0 Kudos
Message 16 of 17
(1,106 Views)

Hello,

 

What versions have you tried?  There have been a lot of changes made since 7.1. Even going from 7.1 to 8.0 changed many things so it is useful to know which version actually broke what you are trying to do. Also can you post a simplified 1st tier and 2nd tier VI which replicates the issue?

 

-Zach

Message Edited by iZACHdx on 05-07-2010 11:44 AM
0 Kudos
Message 17 of 17
(1,089 Views)