07-28-2011 08:49 AM
Taki1999 Dear Friend,
With your suggestion, you helped me create the vi. Now I can improve my work!
Thanks to everyone that we are helping me !!!!
07-28-2011 09:01 AM
Next up, use the code cleanup tool to clean up that piece of code. It will eliminate the extra white space and make it more readable so that you don't have wires weaving back and forth and running in a backwards direction, straightening them how and making the code look neater.
07-28-2011 09:05 AM
There is also no need to resort to using a formula node for such a trivial calculation.
07-28-2011 10:31 AM - edited 07-28-2011 10:32 AM
@smercurio_fc wrote:
There is also no need to resort to using a formula node for such a trivial calculation.
Yes, try something like this....
07-28-2011 01:19 PM
Dear Friend "Knight of NI" ,
I added a timer (wait - ms) in its suggestion of VI. The work was excellent!
Please, could you suggest how to transform the data string [abc] in a XY Chart (time x variable 1 - variable 2 - variable 3 ... etc)? I'm not able to develop it!!!
Thanks
07-28-2011 01:43 PM
WHy did you make the diagram constants orange? They are integers!
07-28-2011 01:44 PM - edited 07-28-2011 01:45 PM
Here's one suggestion of what could go in your subset processing code.
I'll leave it as an exercise for the reader for adapting this for more datasets or variable numbers of datasets. (Hint: see my previous message and use of shift registers.)
07-28-2011 01:52 PM
Dear Friend Knight of NI,
I am beginner. I was really wrong! Thanks for the correction!
If you can help me how to present data in chart form in vi, I'll be more grateful!
Thanks!
07-28-2011 01:58 PM
Taki1999,
Thanks for the suggestion!
I'll try!
Thanks!
07-28-2011 02:09 PM - edited 07-28-2011 02:14 PM
Here's a simple way to read it (LabVIEW 8.6).
(At the moment I assume a constant dx of 2 seconds and ignore the time column for simplicity, modify as needed)
(Note that "scan strings for tokens has the cool feature that consecutive delimiters are collapsed into one. This is a feature that would also be useful elsewhere (See here!), so please support my idea!))