How to remove columns from the table on the master 1-0?

I have an array of 96 columns with strings. I also have the array of int 96-elemets (mask) with 1 and 0.

What I want to do is to is to remove (or hide - but I read that it is not possible) all the columns with index corresponding to 0 in the mask table.

example:

columns in the table

1 2 3 4 5

mask

0 1 0 0 1

I want to remove the columns 1, 3 and 4 and leave only 2 and 5 in my table.

How can I do?

If I create loop for with i as the index of the column, when I do DeleteTableColumns() columns number decreases, and I get an error of range out of

Or do I have an option to hide the unnecessary columns (not set their width to 1, it's very ugly-looking)?

Please help me (())

Hello rovnyart!

1. removal of columns in the table:

I suspect that the reason why you get the out-of-range error is due to fact that in your loop, you delete the columns in the table, you'll eventually end up by referring to a column that no longer exists, because the other columns before it have been deleted. While you remove each column of your table in the loop for example, the column index number will move, because you deleted the other columns in front of her.

To resolve this, even if you delete a column in your loop, make sure that you take also into account that the index of the column is moved because of the removed columns.

2 hide columns in table:

You can use the ATTR_COLUMN_VISIBLE attribute to hide columns in the table:

http://forums.NI.com/T5/LabWindows-CVI-idea-exchange/add-attr-column-visible-attribute-for-table-Col...

http://zone.NI.com/reference/en-XX/help/370051Y-01/CVI/uiref/cviattrcolumnvisible_column/

3 alternatives:

Note that another alternative would also use a tree instead, control as the tree control also supports the hidable columns:

http://forums.NI.com/T5/LabWindows-CVI/table-hide-column/TD-p/569773

Best regards!

-Johannes

Tags: NI Software

Similar Questions

  • How to remove programs from the system tray without removing them from the startup?

    How to remove programs from the system tray without removing them from the startup on Windows XP folder?

    Hello

    The first step is to identify the program that represents the icon and decide whether it should be in the system tray (most are not necessary). Hold the cursor of the mouse on the icon to see the name of the program that launches the icon.

    The best bet is to click the icon to see if this opens the box of the program options. If so, look for a selection similar to "remove from the system tray.

    Alternatively, you can hide the icons in the system tray.

    Here's how:

    1. right click on the taskbar and select "Properties".

    2. in the "Notification area" click "Hide inactive icons" if she already unchecked and then click on the button "Customize".

    3. click on the ' column next to each of your current behavior and choose one of the three behaviors for each program icon that appears in the system tray: "Hide when it is idle," "Always hide", or "always show".»

    If you hide an icon, but then see it again the next time that you log on to Windows, you may need to uninstall the program to permanently remove the icon. Uninstall the program permanently removes the program from your computer. For more information, see Uninstall or change a program.

  • How to remove applications from the startup folder

    How to remove applications from the startup folder

    Settings > users and groups > Login Items.

  • Windows Live Movie Maker 2011 - how to remove items from the recent projects list

    Windows Live Movie Maker 2011

    I have duplicates on my list of recent projects.

    How to remove items from the numbered list of recent projects?  What are the (thumb)

    bugs used for?  Thank you.

    Hello

    The question you have posted is related to Windows Live Movie Maker and would be better suited in the Windows Live Solution Center. Please visit the link below to find a community that will provide the best support.

    http://www.windowslivehelp.com/product.aspx?ProductID=5

    Amrita M

    Microsoft Answers Support Engineer

  • How to remove photos from the desktop while maintaining in the Photoshop Elements Organizer?

    How to remove photos from the desktop while maintaining in the Photoshop Elements Organizer?  My office is now crowded with the photos that I can't recycle because they then 'not found."  The image, but not the data is always in the Organizer, but I imagine that it would disappear once I have stop and restart my laptop.  I want to clear my desktop, but keep the photos!

    annab72712181 wrote:

    OK, that's a lot of sense.  But I still don't know what I have to do them down the office without losing them.

    If you move from your Explorer or finder in a given folder, you will not lose them and they will disappear from your desktop.

    If you want to use the Organizer to keep track of your photos in the catalog, use the Organizer, not the Explorer / finder to move them to another folder on the desktop.

  • How to remove photos from the iPhone SE

    July 2016

    Computer: iMac running OSX 10.11.5 El Capitan

    Phone: iPhone SE

    Buy the new iphone SE.  All properly transferred from old phone, via iCloud, but the new phone memory is almost full, and I need to remove about 300 photos.

    I plugged the phone on my Mac with the USB cable.  The phone does NOT appear as a disk in the Finder, as said the seller of phone.

    I was able to import all the photos to the Mac with picture Capture and preview, so the pictures are safe, but neither app shows a way to remove photos from the phone.

    'Image Capture help' and several items of third say there are buttons on the bottom of the screen to Capture of Image for "show thumbnails in a list (list view button) or to see large thumbnails (thumbnail view button), or to turn (rotation) or delete (delete key) images."

    NOT TRUE.

    The other buttons appear, but not the button 'delete '.

    I used an extract for years, and it does not remove images.

    So how to delete photos from my iPhone SE?  Do I have to look at all the pictures of 300 and delete each individually?

    You can delete several photos at the same time on the iPhone.

    Instructions here > delete photos on your iPhone, iPad and iPod touch - Apple Support

  • My iPhone and Mac all have two Photos related to iCloud, same images appear on both. How to remove pictures from the phone without removing them from the Mac

    I've shared pictures between my Mac and iPhone using iCloud. Recently downloaded about 1800 brother SmugMug account family photos. Subsequently discovered that they had all been loaded on my phone as well. When I try to delete them from my phone, I get a message the suggests that if I do, the photos will be removed from my Mac was fine. How can I remove the phone and let the Mac intact?

    I've shared pictures between my Mac and iPhone using iCloud.

    What iCloudService do you use?

    • If the iPhone and the Mac are synchronized with iCloud photo library, removal of the photos from the iPhone will remove them from the Mac as well.  iCloud photo library is a synchronization service that will ensure that you see the same pictures on all devices. All change at will the timing and any deletion or any import.  To win the storage on the iPhone allow the iCloud Photos setting "Optimize Storage.
    • If photos have been synced with my photos and not iCloud library stream, you can remove them from the iPhone. They must stay in the library on your Mac. But before a massive deletion on any device, make a backup of your photo library, just to be sure.
  • How to remove music from the iPhone but not the iTunes library

    How do I remove songs from my phone, without remove them permanently from my iTunes library?

    Hello cruzansingerboi,

    If I understand correctly, you want to know how to remove songs from your iPhone 5 c without removing the tracks from your music library to iCloud. The article below provides a lot of information on the management of your music library to iCloud and it also describes the process to remove the pieces of your iOS devices.

    Delete songs and video clips from your music library - Apple Support iCloud

    iPhone, iPad, or iPod touch

    1. In the music application, find the name of the song, album, or playlist you want to delete and tap the Options icon more .
    2. Tap on delete download to remove the item for offline listening. The item will remain in your library on all your devices.
      Press on my music to remove to remove the item completely from your library on all your devices.

    So long.

  • Hotmail: How to remove users from the list at the sign in?

    When I go to use my hotmail POS and enter the first letter of my intervention, all previous uses who have used my comutor to view hotmail account pop up ther.  How to remove these from my computor

    In Internet Explorer?
    When the list appears, move the slider to select one, press on the
    Delete the key.
     
    Or, go to Tools - Internet Options - content
    under the AutoComplete settings - delete the AutoComplete history
     
    In another program, you will have to tell us.
     
     
    --
    Dave N.
    MS - MVP (Mail)
    Windows 7 Ultimate
    http://download.live.com/wlmail
     
     
     
    "rjpelachuk" wrote in message news: 641e4293-bfe3-4c3d-9601-9a20fea55a0a...
    > when I go to use my hotmail POS and enter the first letter of my
    > address, all previous uses who have used my comutor to check the other hotmail
    > account pop up. How to remove these from my computor
     
     

    Windows 7 Ultimate 64

  • How to remove safely from the external storage devices

    I don't know how to remove safely from ports usb storage devices.

    Hello

    When you have a USB drive connected and turned on, there will be a USB plug with a green show check ICON on your taskbar clock and stuff.

    Click on it and select the device you want to eject.

    As a warning... Win 8 has something that I was not able to figure out yet.

    Instead of the usual "Safe To Remove Hardware" message, I get "Impossible for-disconnector is in use" even if it is not.

    I was just clicking OK essentially and unplug then... I've yet to lose any info.

    You may or may not have this problem, but I thought I should give a heads up.

  • How add/remove tools from the dock of the workspace?

    I'm new to the cloud to create Adobe. I wonder how I can add/remove tools from the wharf of the workspace? Specifically, I need to add the text options frame vertical Justification on the top of the dock page.

    Check the control panel personalize

  • How to remove movies from the summary page

    With the help of iTunes version 12.4.  Can anyone help in my attempts to remove movies at home summary page in iTunes?  I was able to remove movies from my iPhone and iPad and unchecked on the summary in the movies tab page.  However, films controlled and deleted still appear in the section summary of movies.  Cannot find a delete any action to remove unwanted movies.  This has to do with the deletion in iTunes itself on a Windows version 10.

    Steve

    FOUND THE ANSWER!  From a previous post-, I had the same problem. You cannot remove them from the summary page. Cannot you.

    In the app iTunes on Mac or PC, without your phone, from the drop-down menu at the top left - select movies and then click on, select, Home Videos. In the next screen, select the home theater and right click. This will allow you to remove. Once you reconnect your phone and sync, the cinema will be gone from your Summary Page!

    Steve

  • How to remove pictures from the library active?

    Hello

    Can someone help me how to remove images of the current library?

    When I save the resulting code, it will keep all images and many are testing and then I don't want on the web.

    And I did not find how to delete in the active pane

    Hey there, LastTech.

    There is a very good reason we'll automatically remove what you use - if you have two files in the same directory, chances are you share the images directory.  If you make sure you delete everything in the images directory, you might remove something that has another project (or another HTML file) is dependent on.  It is very difficult for us to determine what is used in other projects, so just leave us the images / directory only.

    Thank you

    -Elaine

  • How to remove columns from table form of process

    Hello

    I have a form of process UD_FN_USR. I have created a userid long type column and later the requirement has changed and I need to change the type of chain. I am able to remove the column from console design but in the table, the left column while I coulnt create the column with the same name as the type string, its tellling leaves the same name of column with a different data type in the current version or earlier versions.can someone please tell me how do to solve this problem

    You need to remove since the end of the database as suggested Sunny.

    ALTER TABLE DROP COLUMN UD_ABCD_UID UD_ABCD

  • How to remove Photos from the iPhone/iPad/iCloud and no pictures

    How to take a photo with my iPhone/iPad, allow it to synchronize with Photos on my Mac via iCoud, then delete from my iPhone/iPad/iCloud and removes any Photos on Mac? I want to save the photo on your computer and save space on small devices?

    I keep seeing articles on the iCloud market turn but it seems the photos all return on the devices once restarted. I want to iCloud on use as a conduit to get the photos to my computer, not as a large storage space. I want the Photos app on my Mac where all the photos are filled and stored and choose those which is left each device.

    Right now they are all in the pictures on the Mac, but I'm worried if I remove it from my iPhone/iPad that they will disappear from Photos on the Mac. I don't understand the new Photos app with all the missing features of iPhoto.

    Thank you!

    You can not that's not how works iCloud photo library - it is not a conduit but a total synchronization service whose entire raison d'etre is to keep libraries connected identical - all changes made on any device (addition, deletion or modification) are made on all devices. For devices with limited memory, using optimized photos

    If this isn't what you want then use another service - USB import, iTunes sync, MyPhotoStream for example each do different things and everyone can move photos from one device to another

    And Photos lack a lot of features iPhoto form - in fact much more features than iPhoto including iCloud library there like a bigger and better editing capability and better external editing capability and so on

    LN

Maybe you are looking for

  • When my camera was added to my account

    Hi all Trying to find out when a particular device has been added to iCloud/AppleId When you look at the link "manage devices" (https://appleid.apple.com/account/manage) I can see the identity of the device and remove the device but cannot see when t

  • With only no load and no response from the key enter

    My phone does not have a charge.  Loss of power even when not in service.  Also the button to change the screens is not as responsive or doesn't work at all.

  • Where is the button go on Aurora

    Where is the button GO on Firefox or Aurora. I have always used the enter on the keyboard, or have I missed something.

  • Power supply adapter new satellite Pro L300-12Y

    HI, I have a laptop Satellite Pro L300-12 years and my adapter is beyond saving. Were can I get a new one? I couldn't find any so I ask you directly

  • Trying to find windows 7 drivers

    (USB) Universal Serial Bus controller PCI\VEN_8086 & DEV_1E31 & SUBSYS_1843103C & REV_04 PCI\VEN_8086 & DEV_1E31 & SUBSYS_1843103C PCI\VEN_8086 & DEV_1E31 & CC_0C0330 PCI\VEN_8086 & DEV_1E31 & CC_0C03 I have a HP Pavilion 2200us g7 I had to re - inst