LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 "While 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
0 Kudos
Message 1 of 3
(3,038 Views)
Hello,

Select open from the file menu and browse to the following location : labview
6\vi.lib\platform\dataskt.llb. I think this library has the vi's you are
looking for. I hope this helps.

Jared

grenevier@tecumseh-europe.com wrote:
>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 "While Loop" which loops until datas are different from zeros,
which>is very inconvenient and time consuming. I tried diffferent settings
with>"DataSock
et 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>>
0 Kudos
Message 2 of 3
(3,038 Views)
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
>
>
0 Kudos
Message 3 of 3
(3,038 Views)