LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 63 occurred at DataSocket Write in getWavelength_v80 EDITED.vi, help? please!

Solved!
Go to solution

Hey guys, I am new to LabView and I have thought myself everything that I know.  I am an undergraduate student at NC A&T.

 

 

Okay so I took a peice of code that I acquired from Bristol, and it's for a Bristol Wavemeter V1.22.  I first edited it to get a graph in there to show the data, and get a slope and Y intercept.  Now I am trying to connect it to a computer that controls a COntinuum ND6000.  We have existing code for the ND6000 that lets the two computers connect.  I took the code out of there that was the part that connects them and now when I wired everything up, I get the "Error 63 occurred at DataSocket Write in getWavelength_v80 EDITED.vi" error message.  it states; Possible reason(s):

LabVIEW:  Serial port receive buffer overflow.
=========================
LabVIEW:  The network connection was refused by the server. For TCP/IP, make sure the server is running and listening on the port you are trying to use. Firewalls can also cause a server to refuse a connection. For VI Server, make sure you have enabled VI Server from Tools>>Options>>VI Server:Configuration."

 

I tried making sure everything in the configuration was correct and it all is.  Can you guys please help me?

 

 

Thank you. 

I have attached the folder that it is located in because you do have to have the library function.  The file is located in the Bristol Wavelength Meter V1.22\Programming Interface\LabVIEW example I.

 

 

Thank you again!

Download All
0 Kudos
Message 1 of 8
(5,188 Views)

make sure LV is not blocked by your firewall and double check the Daa Socket Server since that meesage indicates that it was the DS server (the client in this case) that refused the connection.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 8
(5,177 Views)

So I went through and realized that I had the wrong port typed in by 1 number, I changed that and put in the correct port for the TCP address.  Now when I run it I get this error message 66....

 

"LabVIEW:  The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools>>Options>>VI Server:Machine Access on the server side."

 

Any help?? I checked the Server Machine access and all of them are set to allow.

0 Kudos
Message 3 of 8
(5,164 Views)
0 Kudos
Message 4 of 8
(5,160 Views)

nope, Windows XP service pack 3, any ideas?

0 Kudos
Message 5 of 8
(5,155 Views)

i moved the loop outside of the other loop and all it did was delay when it was read, and still threw the same error.... anything else??

0 Kudos
Message 7 of 8
(5,142 Views)
Solution
Accepted by topic author sboskovi

So I figured out the problem and it was, because I did not have the DATASOCKET SERVER running when I was running the program... Thank you guys for the help

0 Kudos
Message 8 of 8
(5,109 Views)