03-01-2022 11:16 AM
I was just looking into the Numato ethernet boards recently. Having no prior history programming any Telnet protocol, my search led me to the discontinued LabVIEW Internet Toolkit. I contacted support and got the download link, but the executable installer refused to install to 64-bit LabVIEW.
I installed to an older 32-bit version, poked around in bit in vi.lib and suchlike, and it at least appears there's no 32-bit dll's lurking around that would prevent it from working under 64-bit. But first I'd have to find and collect all the bits and pieces scattered among menus and examples and other various subfolders.
This is a low-ish priority for me so before I put much time into it, can anyone confirm that the telnet vi's can be made to work under 64-bit LabVIEW? I would intend to gather up all the bits and pieces to make a VIPM package.
Side note to the recent poster: For Numato's USB / serial relay boards I found it helpful to set '>' as the termination character for queries. That's numeric value hex 3E or decimal 62.
-Kevin P
03-01-2022 12:00 PM - edited 03-01-2022 12:02 PM
@Kevin_Price wrote:
I was just looking into the Numato ethernet boards recently. Having no prior history programming any Telnet protocol, my search led me to the discontinued LabVIEW Internet Toolkit. I contacted support and got the download link, but the executable installer refused to install to 64-bit LabVIEW.
I remember looking at those when I had to make a Telnet interface. At the top of my head, I can't think of any reason those VIs would not work in 64-bit LabVIEW. They just use TCP under the hood.
Again, Telnet is not really difficult other than the option codes. After a read, go through the read string to find the option codes and reply with a "WILL" or "WON'T", whichever you decide to do. I chose to go with the WILL. Looking through the toolkit code, it looks like NI chose the WON'T. I'm going back almost 5 years, so I'm fuzzy on my decision then. But looking at my code, it looks like I chose the WILL so that I could just simply return the exact same code that was sent (a WILL is the same as a DO).
11-08-2023 10:40 AM - edited 11-08-2023 10:43 AM
I am fighting a similar Telnet issue, where I believe I am being caught by the special commands.
Can anyone assist me with this snippet? I have LabVIEW 2018 and cannot use it.
I was able to redraw the entire thing, but I am not sure what the array is going into the TCP Write VI.
OR what the TRUE statement is. I assume TRUE is just empty.
Its not build cluster or build array. the artwork doesn't match. I am not sure what that VI is. (Edit: Found it: It's a concatenate string)
11-13-2023 03:49 PM
Yes, it is a "concatenate string" when you feed in an array, it concatenates all the elements of the array end to end in one contiguous string