LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

explanation of udp error codes

I would like to know all the possible error codes returned by the UDP vi's.
I am also interested in the same information for tcp and Serial comunication vi's.
At the last i would like to retrive a way to resume this kind of information for every vi that return an error cluster.
tks
0 Kudos
Message 1 of 6
(6,976 Views)
Are you Gandalf the white?

I just went into LV help and did a search for error.

The list should the threee subcatagories you listed. A cut-n-paste follows.

TCP and UDP Error Codes
The TCP and UDP functions can return the following error codes.

Code Name Description
53 Manager call not supported.
54 ncBadAddressErr The network address is ill-formed.
55 ncInProgressErr The network operation is in progress.
56 ncTimeOutErr The network operation exceeded the user-specified or system time limit.
57 ncBusyErr The network connection is busy.
58 ncNotSupportedErr The network function is not supported.
59 ncNetErr The network is down, unreachable, or has been reset.
60 ncAddrInUseErr The specified network address is currently in use.
61 ncSysO
utOfMem The system could not allocate the necessary memory.
62 ncSysConnAbortedErr The system caused the network connection to be aborted.
63 ncConnRefusedErr The network connection was refused by the server.
64 ncNotConnectedErr The network connection is not established.
65 ncAlreadyConnectedErr The network connection is already established.
66 ncConnClosedErr The network connection was closed by the peer.


Is this what you need?

You can also "right-click" on an error cluster indicator and do a "explain error".

I hope this helps,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 6
(6,976 Views)
Hi ben,
Yes Gandalf il bianco means Gandalf the white.

I also find the errors description in the LVHelp, but i would like to have more information.

I am use to C language, where for every function in a libray i have the description for the errors values that may be retuned by the function.

I would try to write a complex aplication with LV and i need to know the possible errors returned by each vi of the library to make the correct error handling but i can't find out the info anywere.

I hope I don't bore you with my insistence.

Tks
0 Kudos
Message 3 of 6
(6,976 Views)
Hi Gandalf,

If you run across a good source, please share with us.

I would not be suprised if the error codes are the same values being returned by the drivers to the various levels you are after.

LV does not have .h files that you can just search for a definition (hopefully with comments).

Ben

( in the event you are displeased with my answer, please remeber that the black speach is not tolerated here.)
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(6,976 Views)
Hi Ben,
of course i will' share good source if i will find out something but i despair the one exist 🙂


what do u mean with 'black speach'?

was i rude with my replay?
hmm, well, i am sorry, but my english is so poor that i often succeed to explain myself.

So please don't be too strict with the form of my
sentences.

bye
0 Kudos
Message 5 of 6
(6,976 Views)
"The black Speach" was the language developed by Morgoth, Sauron's boss before he was banished to the void by the Valar (Silmarilian, Tolkien).

It is the language they spoke in Mordor and was also the language that was used to inscribe the "Ring of Power".

No offence taken, just having some Tolkien fun.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(6,976 Views)