Delete element from array control

This is a discussion on Delete element from array control within the labview forums in Programming Languages category; Hi I'm using LV6i in my project and I've faced an apparent bug. Since it is an old version LV, I though it would be easy to find a thread related to it. However, after a not-so-quick search I found nothing (maybe wrong query terms). I'm going to pass the steps for those who'd like to replicate it. -create an array of numbers using the controls -calculate the size of this array -show the result with an indicator -everything inside a while loop Run the VI, insert three or four numeric values in the array control on the front panel. ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-01-2008, 02:19 PM
Guilherme
Guest
 
Default Delete element from array control

Hi

I'm using LV6i in my project and I've faced an apparent bug. Since it
is an old version LV, I though it would be easy to find a thread
related to it. However, after a not-so-quick search I found nothing
(maybe wrong query terms). I'm going to pass the steps for those who'd
like to replicate it.

-create an array of numbers using the controls
-calculate the size of this array
-show the result with an indicator
-everything inside a while loop

Run the VI, insert three or four numeric values in the array control
on the front panel. Check its size. Now, using the context menu for
one of the "numeric entries" inside the control, delete the entry and
check the size of the array. In my program I can't see any change in
array size.

Clicking on the Edit menu, and reading the Undo option right after
deleting the element, I could see what LV did was to hide the element
and not to delete it. In the context menu for the "array control", I
read under the Data operations option that I could empty the array.
Such option indeed deletes all entries.

In my project I must pass those array values to subVIs that receive
them as entries for additional numeric array controls. I know I can
solve the problem programmatically but does this happen only in LV 6i?

Thanks for your help
Guilherme
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:09 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.