It could be that you URL format for file is wrong, normally it is like this
file:///C:/WINNT .
Reinis Kanders
"Cheng Huijun" wrote in message
news:394dd9e7@newsgroups.ni.com...
> Hi
>
> I try to start a application example named DS Writer.vi and DS Reader.vi
> which is located in c:labview\examples\Comm\datasktx.llb for learning
> DataSocket on LabVIEW5.1 .
> I read the vi information of the examples named DS Writer.vi and DS
> Reader.vi , they tell me that the VIs can work writing and reading the
> wavedata to and from local files. According prompt in the panel of VIs,
> I give same URL( file:c:/chj/newwave.dsd ) for DS writer and DS Reader,
then
> start the VIs. I can see the waveform (living data) in panel of the
Writer,
> but
nothing in panel of the Reader. And I can find out the file
> (c:\chj\newwave.dsd), 1KB size, DataSocket Data type. The both status
> indicators give information (Idle: Data written. Idle: Data read.). So I
> wonder what's matter, and why I can't see the waveform in panel of Reader.
> Maybe I should do something for DataSocket.
> Using dstp://localhost/newwave point to the URL for Writer and Reader,
it's
> normal. And when I set the URL
> file:c:/labview/examples/comm/dsdata/tone.dsd which have been existed in
> local machine) into the penal of Reader VI, I only start the DS Reader.vi
,
> I can see the waveform. so I think the above file
> (c:/chj/newwave.dsd ) written by DS Writer is bad.
> Who know why? I enjoy understanding that. Thanks.
>
>
>
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----