02-03-2014 09:20 AM
Hello everyone, i am new user and a beginner in Labview programming.
I've created a VI to ping device in ethernet lan (of which i enclose a photo). The VI simply shows a green led if the ping "pong".
I would like to use the same Invoke Node with an array of string costant, i can't do it.
Thank you very much.
Solved! Go to Solution.
02-03-2014 09:27 AM - edited 02-03-2014 09:32 AM
Hi nellooo,
here comes "autoindexing" and "FOR loops" into play!
Use a FOR loop to autoindex over your string input array. (And you probably want an array of string controls, not an array of string constants.)
As this is quite basic I suggest to go through those free online courses offered by NI!
02-03-2014 09:49 AM
Thanks for feed.
Maybe you have not understand what i need.
In the attached file, would like have a single constructor, invoked and property node, a single comparison and three LED.
02-03-2014 09:51 AM
02-03-2014 09:57 AM - edited 02-03-2014 09:58 AM
@nellooo wrote:
Thanks for feed.
Maybe you have not understand what i need.
In the attached file, would like have a single constructor, invoked and property node, a single comparison and three LED.
[GerdW answered while I was typing...]
Actually, GerdW answered your question quite well, with exactly the solution (I believe) that many other senior programmers on this forum would have used. Perhaps you don't understand how to use LabVIEW very well, or how to get to the free tutorials he recommended. A couple of the free online tutorials he referred to are listed at the end of this message, there are others. The LabVIEW Help screens are also very good references on specific topics.
Cameron