LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 42 occurred when writing to data socket server?

Hi

Attached are two programs which use data socket to transfer a boolean value. I want to make sure the value only transfer one time. It occurred error 42 at the test server.vi when it write to the data socket server. How can I solve that? Are there any methods to ensure the data can be transferred one time? Thanks.

Bill
Download All
0 Kudos
Message 1 of 2
(4,062 Views)
I am using LabVIEW 7 and I did not see the error on my machine when I ran your programs.

From the way you want to transmitt data, I think you need to use TCP/IP instead of datasocket. This way you can be sure that the data only got read once. There are several shipping examples to get you started.

If you have LabVIEW 7 you might consider using the buffered datasocket. I am not sure if it will work in the way you want so experiment.
0 Kudos
Message 2 of 2
(4,061 Views)