×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

arrays in labview

arrays in labview

arrays in labview

(OP)
i am trying to make an array in labview 6.i.
i'm trying to make an audiometer and i ve a problem,
i want to press the ok button in the front panel in order to add an element in an array. i've tried to do that by using a for loop but i dont think its gone work. could you help me to find a solution.



thanks N. Polichronakis
polichronakis@msn.com

RE: arrays in labview

Make it just a single variable of the type you want (i.e. string) and then pass it out of the loop.  It will turn into an array of that type automatically with the length equal to the number of times the loop ran.

RE: arrays in labview

(OP)
I WANT EACH TIME I PRESS THE OK BUTTON TO ADD ELEMENTS TO AN ARRAY, WHEN I USE THE FOR LOOP IT PASSES THE VARIABLES TO AN ARRAY BUT I WANT TO PRESS JUST ONE TIME THE OK BUTTON AND THEN TO INSERT THE ELEMENT
THANKS

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources