LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with use of datasockets

Hello everyone,

At this moment I´m working at my final work for school and I´m making it in
labview. I have to use a lot datasockets ( communication between local PC
and a server ). But I am having a lot of problems with this.

Everything works allright as long as use in the different vi´s only read or
write datasockets like you also have
in the examples of labview but when I try to combine those things , meaning
writing and reading in one VI, I always get messages like can not create
this item , or can not set data because item is read only.

Does anyone of you have a lot of experience with this things and so yes, how
can I resolve this problems




Greetz,

Ivan
0 Kudos
Message 1 of 3
(2,387 Views)
Ivan Dams wrote in message <847o7p$192$1@newnews1.news.nl.uu.net>...
>Everything works allright as long as use in the different vi´s only read or
>write datasockets like you also have
>in the examples of labview but when I try to combine those things , meaning
>writing and reading in one VI, I always get messages like can not create
>this item

From the DataSocket FAQ:

"You also need to create that item as a default item on the server, or allow
the other machine permission to create items. By default, every machine is
allowed to read data items, but only the localhost is allowed to create
items."

> , or can not set data because item is read only.

You are using a Write VI on a connection opened in Read (or ReadAutoUpdate)
mode.

In addition to the FAQ, there's lots mor
e information on DataSocket
available on the National Instruments web site at www.ni.com/datasocket.

--
Evan Cone
National Instruments
0 Kudos
Message 2 of 3
(2,387 Views)
Evan Cone of National Instruments wrote:
> In addition to the FAQ, there's lots more information on DataSocket
> available on the National Instruments web site at
> www.ni.com/datasocket.

It's just a shame there isn't a single reference/developers manual for
Datasockets, rather than having to trawl though the FAQ, white papers
and knowledge bases entries every time you need to find out something
new.

Rgds

Jon


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 3
(2,387 Views)