LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone used Numato Lab Relays with labview ?

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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 11 of 14
(599 Views)

@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).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 14
(591 Views)

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)

0 Kudos
Message 13 of 14
(338 Views)

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

Message 14 of 14
(303 Views)