This is a problem with the 6i data socket routines ... use the old routines
from the data socket examples (with the open,update, close drivers), and it
works fine.
Dave Gianetto
http://www.gianetto.org
> From: grenevier@tecumseh-europe.com
> Organization: UUNET
> Newsgroups: comp.lang.labview
> Date: Tue, 21 Nov 2000 16:05:38 +0100
> Subject: DataSocket Read problem
>
> Hi all,
>
> When I use the new condensed "DataSocket Read" vi in Labview 6i (which is
> unfortunately not editable and is supposed to replace old vi's like "open
> connection", "update", "close" and so on) a single time to read automat
> words through an OPC server, the vi returns "zeros" all the way. The only
> solution I found to read the right datas is to place the "DataSocket Read"
> in a "W
hile Loop" which loops until datas are different from zeros, which
> is very inconvenient and time consuming. I tried diffferent settings with
> "DataSocket Read" (wait for update, timeout) but the problem remains.
>
> Have you also faced the same problem ? Is there a solution ? Thanks for your
> assistance.
>
>
> Gaël RENEVIER
> Responsable Maintenance & Développement
> Tél : 04 74 82 20 08
> Fax : 04 74 82 24 92
> e-mail : grenevier@tecumseh-europe.com
>
>