09-19-2013 03:40 PM
Hello. Can someone tell me how to remove negative values from a 1d array? Im really new here please be slow. thanks!!
Solved! Go to Solution.
09-19-2013 03:48 PM
Hmmm, sounds like homework so I have to ask the obvious: What have you tried so far??? (Show us da codez!)
HINT: Auto-index into a for loop, do something in the loop, and auto index back out...
09-19-2013 03:50 PM - edited 09-19-2013 03:51 PM
Use the Array function palette (Hint: the function is called "Delete from Array"). When you find a negative number, delete it. The Comparison palette is also really useful for teasing out particular charistics of numbers (i.e., if they are negative).
The LabVIEW Help screens want to be your friends. Use them. If they do not provide enough information, go through the LabVIEW tutorials on the NI website to get started with the language. It will be a lot faster for you than asking someone to lead you from the start of a project to the finish, because the response time on these forums cannot be predicted (especially at night).
Cameron