LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Probelms Creating a New Predefined Data Item in DataSocket

Solved!
Go to solution
I am doing a simple test using datasocket between two computers.  When I use the "SampleString" predefined data item I can write my string value to the data socket server, which is on the same computer, and read it on a networked computer.  When I create my own new predefined data item it doesn't work.  I get an error saying that I have insufficient priveleges to read, write, or create items in the datasocket server.  I have allowed anyhost to read or write to my new predefined item so I wouldn't think this would be a problem.  Any ideas?
0 Kudos
Message 1 of 4
(3,075 Views)

JordanL,

 

Can you provide a screenshot or desciription of the error you are getting? I found these two documents that sound related.

 

DataSocket Error: "Not permitted to write data item (80004005)"

 

DataSocket Error: "Not permitted to create data item (80004005)"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 2 of 4
(3,057 Views)
Solution
Accepted by topic author JordanL
I found the problem.  After creating a new predefined data item I need to close the datasocket server and datasocket server manager and then reopen them for the new data item to take effect.
Message 3 of 4
(3,041 Views)

JordanL,

 

Glad to hear that! If you could mark your post with the answer as the "solution" that would be great!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 4 of 4
(3,028 Views)