Changing Interface Names of FireWire Cameras in MAX

Hi Guys :
      I ask the same problem five years ago (see the first link , ohh , can't image that's five years ago , everything changes ...... )
and fixed in following thread(windowxp based ), but now i met the same issue at Win 7 , can't find the config file under
      ‹root directory›\Documents and Settings\All Users\Shared Documents\National Instruments\NI-IMAQdx\Data
      http://forums.ni.com/t5/Machine-Vision/Camera-ID-S​ettings-Problem/m-p/906249#M22962
      http://digital.ni.com/public.nsf/allkb/61405DCC1A0​9CDE686256F00005AA2B5
      http://digital.ni.com/public.nsf/allkb/AD1041C9B4B​27240862570DD0068605B
Thanksw
Solved!
Go to Solution.

Hi adobefree,
The camera file needs to be in the data folder in order for it to work with the camera.  If it is not there, then it probably means it's not a default camera file that comes with our software and you need to get it separately.  You can create your own, or contact the manufacturer of your camera to see if they offer it.
Julian R.
Applications Engineer
National Instruments

Similar Messages

  • Firewire camera not found in MAX on Windows 7

    Hi all,
    Used to run a firewire camera on Windows XP with no problems. Using version 8.6 and do not want to change this if at all possible. New lab PC runs windows 7 and firewire camera not found in NI MAX. The drivers associated with the camera are NI-IMAQdx IIDC...
    NI-MAX does not even show a NI-IMAQdx camera and there is no way to add such a camera. The same issue arises for an AVT Guppy camera suggesting it is not camera dependent.
    Has anyone any suggestions as how to rectify this. We have full development software v8.6 with all the appropriate drivers and modules required as it previously ran problem free on an XP machine.
    Cheers,
    leeser

    Hi Leeser,
    Which version of the driver did you previously have installed under Windows XP? It would be worth trying to re-install the latest version of the NI-IMAQdx driver. You will be able to install the Vision Acquisition Software 08.2010, which works with LabVIEW 8.5 and later (and installs NI-IMAQdx 3.7).
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • USB wireless adapter - interface name keeps changing

    I have used different usb wireless (G) adapters with my 12" Powerbook G4.
    Each was automatically assigned an interface name (BSD) such as en2, en4.
    I recently updated to a Wireless N dongle (D-Link DWA140) which works great with my new Belkin Wireless N router.
    I have had a few connection problems where the dongle was named as enNull.
    After rebooting and re-entering the ip address via DHCP, I noticed that the same dongle has been renamed each time e.g First as en5 then en6, 7 and 8. It's now called en10
    It works fine but is it possible to reset the name/number of this wireless adaptor using something like ifconfig in the shell Or some other way. I understand that en0 is built-in ethernet and en1 is Airport. I have 2 other dongles which are still identified as en 2 and en4. But my current dongle has an inflation problem and I would like to reset it if possible to a lower number.
    Is this possible or am I mad to even consider it?
    any help welcome.
    John

    ratcheer wrote:Inxsible, no, it is a PCI card. I have booted Arch twice, today. One time it got wlan0, the other time wlp6s0. I ended up just creating two scripts, wlan0_start and wlp6s0_start
    That is very strange that PCI cards would keep changing names between reboots. Maybe you should investigate that to figure out what's going on. Check the dmesg and journalctl after each reboot and see what the interface is named as. Maybe that will give you some clues as to what "external" program is responsible in naming the interfaces.

  • [SOLVED] Network interface name keeps changing

    My network interface name keeps changing between wlp2s0 and wlan0. This is a real pain, since I never know what name will be generated at boot. Most of the time it's called wlp2s0, so this is what netctl is set up to handle by itself. At boots were wlan0 is generated I have to connect manually.
    I've tried making the name static by adding a rule to the /etc/udev/rules.d/10-network.rules. The rule i added was:
    SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="48:5d:60:7e:64:e9", NAME="wlp2s0"
    Wlp2s0 is generated at boot alright, but I still have to connect manually with this solution. As if the "new" wlp2s0 is not recognized as the old one (same MAC). What gives?
    This is on an Asus Eee 1001PXD, with the Qualcomm Atheros AR9285.
    Last edited by madr (2013-05-18 20:09:34)

    I've now been able to replicate the issue, and run the command:
    journalctl -b
    I did find the output:
    mai 18 02:30:02 <hostname> systemd-udevd[126]: error changing net interface name wlan0 to wlp2s0: Device or resource busy
    I haven't been able to process the whole output yet (I'll continue tomorrow if necessary), but I've found some things that I hope will clearify things. I get similar outputs to the following a lot throughout:
    mai 18 02:30:03 <hostname> dhcpcd[237]: wlan0: carrier lost
    mai 18 02:30:03 <hostname> dhcpcd[237]: wlan0: waiting for carrier
    mai 18 02:30:04 <hostname> systemd[1]: [email protected]: control process exited, code=exited status=1
    mai 18 02:30:04 <hostname> systemd[1]: Failed to start Automatic wireless network connection using netctl profiles.
    mai 18 02:30:04 <hostname> systemd[1]: Unit [email protected] entered failed state.
    mai 18 02:30:04 <hostname> systemd[1]: Starting Network.
    mai 18 02:30:04 <hostname> systemd[1]: Reached target Network.
    EDIT:
    I see now that this is later in time, so that's not so strange after all. I'll look some more.
    EDIT2:
    The error code that a name change i impossible is the first time the term 'wlan0' occurs in the log. However there's a line much earlier that talks about wlp2s0:
    mai 18 02:29:59 <hostname> systemd[1]: Expecting device sys-subsystem-net-devices-wlp2s0.device...
    But as I said, if this information doesn't help, I'll have a closer look at the output tomorrow. Getting late here in Norway now.
    Last edited by madr (2013-05-18 01:20:50)

  • Error in udev change of net interface name wlan0 to wlp3s0

    My quite fresh installation of Arch has started having the following problem:
    the udev rename of my wireless interface from wlan0 to wlp3s0 suddenly stopped working!
    In journalctl, I find the following error line:
    Jan 09 16:23:43 mole systemd-udevd[180]: error changing net interface name wlan0 to wlp3s0: Device or resource busy
    I am using netctl, netctl-auto and netctl-plugd with wpa-supplicant and dhcpd. The issue seems to be that netctl tries to do stuff with wlan0 before udev can rename it, as a  non-predictable race condition. Further down in journal, I have this (non-error) line
    Jan 09 16:23:43 mole systemd[1]: Started (Re)store the netctl profile state.
    Searching Google yielded me a few places talking about this, but no solution as I could see, and they were also possibly quite outdated.
    My ethernet interface is properly renamed and works without issues. I should perhaps also mention that my install is now about 3 weeks old, and I have rebooted the machin a number of times before this behaviour started. In this time I also switched from netctl to wicd back to netctl, and the last switch was only a few days ago.
    I have brainlessly tried various stuff, such as disabling netctl-auto and netctl-plugd for all interfaces, as well as adding a custom renaming rule to
    /etc/udev/rules.d/10-network.rules
    . Needless to say, this didn't resolve my problem.
    In case it is important, I have the following services pertaining to networking running:
    UNIT LOAD ACTIVE SUB DESCRIPTION
    dhcpcd.service loaded active running dhcpcd on all interfaces
    [email protected] loaded failed failed Automatic wireless network connection using netctl profiles
    [email protected] loaded active running Automatic wired network connection using netctl profiles
    netctl.service loaded active exited (Re)store the netctl profile state
    netctl@wlan0_eduroam.service loaded active exited Networking for netctl profile wlan0_eduroam
    polkit.service loaded active running Authorization Manager
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
    wpa_supplicant.service loaded active running WPA supplicant
    Is it right to have netctl.service activated?
    Any help is greatly appreciated.
    Thanks,
    jsrn

    Thanks for the reply, lspci. With the same no. as your question:
    1. Right now I have both wlp3s0_[some interfaces] and wlan0_[same interfaces] since I need both interfaces. All of the names are correct, and their configs are the same expect of course for the Interface-line. I also have an enp0s25_dhcp for my wired connection.
    2. and 3. The custom udev rule that I made after the problem started occurring is in /etc/udev/rules.d/10-network.rules and contains
    SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="a4:4e:31:cd:5d:64", NAME="wlp3s0"
    I can't seem to detect that it has any influence or is even run. But on the other hand, it is exactly this that udev was already trying to do but failing.
    4. I could of course do this. But shouldn't it work without conflicting with the udev rename? The wiki currently recommends exactly these two services.
    Right now my system works, albeit more manually than I would hope. I am on wireless right now, but if I lose connection (bad reception here), then I have to stop the netctl service on wlan0, down the wlan0 link and then restart netctl on wlan0. Also, whenever switching wireless network or to wired, I expect to have to do similar tedious stuff.

  • For those who have problems RE: My iPhone 4 on connecting to my pc shows my friends name in the DIGITAL camera Drive..It dsiplays my correct name when I`m on iTunes..PLEASE HELP ME HOW DO I CHANGE THE NAME IN THE DIGITAL CAMERA DRIVE??

    For those who have problems RE: My iPhone 4 connecting to my pc shows my friends name in the DIGITAL camera Drive..It dsiplays my correct name when I`m on iTunes..PLEASE HELP ME HOW DO I CHANGE THE NAME IN THE DIGITAL CAMERA DRIVE??
    SOLUTION:
    Iam pointing t0 windows7 os.
    1) go to control panel
    2) open hardware and sound
    3) In that open Devices and printers
    4)In that u can find Apple Iphone.
    5) now right click on this --> Hardware --> Properties --> General --> Uninstall --> ok.
    6) now unplug and plug in ur iphone again.There u go u iphone name changes to its original name.

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • How to change the Ethernet Interface name in Solaris 10

    I have to install Oracle 10G RAC on three nodes with different ethernet cards, but the ethernet interface name must be the same which is the precondition for Oracle RAC installation.
    So I want to know how can I change the ethernet name in Solaris.
    For example, the ethernet name in the OS is "ce0", how can i change the interface name "ce0" to "e1000g0".
    bash-3.00# dladm show-dev
    ce0 link: unknown speed: 1000 Mbps duplex: full
    ce1 link: unknown speed: 100 Mbps duplex: half
    ce2 link: unknown speed: 100 Mbps duplex: half
    ce3 link: unknown speed: 100 Mbps duplex: half
    ce4 link: unknown speed: 100 Mbps duplex: half
    ce5 link: unknown speed: 0 Mbps duplex: unknown
    Thanks in advance.

    s-wilson wrote:
    You can't. The ce or e1000g refers to the driver as well as the adapter itself. The only exception I am aware of is: the ipge and e1000g which both refer to the Intel Pro 1000.I'm pretty sure I've renamed a driver in the past (and all references to it in name_to_major, path_to_inst, driver_aliases, and minor_perm) and had it function just fine after 'plumb'ing it up. However I just tested this by trying to turn a 'pcn' driver into a 'foobar' driver on a vmware box. It looks like everything works except some internal bits of the driver continue to create one file with 'pcn' in the name instead of 'foobar'. And since this is Solaris 10, the /devices filesystem is dynamic and read-only. I can't seem to force the change.
    So while this may be possible with some drivers (and maybe only on older versions of the OS), it doesn't seem to be generally possible for all drivers on Solaris 10.
    Darren

  • HT204053 Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Assuming you mean the personal name associated with the account, as opposed to the login (which you can change if it's not an @icloud.com. @me.com or @mac.com address) you can change this at http://appleid.appla.com . Click on 'Manage your account' and then on 'Edit' next to 'Your name' and the name currently associated with the ID.

  • How do I change No Name camera to the actual camera name?

    How do I change No Name camera to the actual camera name when importiing pictures from my camera?

    (1) Connect your camera.
    (2) If necessary, quit apps until you can see your camera's "No Name" iCon on your desktop.
    (3) Click to highlight "No Name".  Then key in the name you want to substitute.
    (4) Press return to finish.
    (5) Use the Finder > File > Eject menu command to eject your camera before unplugging.
    (6) If you did it right, next time you connect your camera, the name you like will show.
    Message was edited by: EZ Jim
    Mac OSX 10.8.2

  • Do I need to change Imaq Create VI or related VIs for a 1394a firewire camera?

    I have a program to acquire images from a Zeiss axiocam MR2 that has a PCI framegrabber.  Now I am trying to acquire images from one of their firewire cameras using the same program (while swapping the dll functions calls specific for the firewire camera) and it crashes every time I try to acquire an image, even while debugging in steps.  Is there something intrinsically different with the firewire camera that I need to do differently?  I create a 10 frame buffer with IMAQ create, set a ROI in the firewire camera (works no problem), create a pointer to the buffer, and then put the image into the buffer.  No problems with the camera containing a framegrabber but the firewire camera crashes every time on acquisiton.  Any ideas?  Thanks

    Ok.  I can see that a firewire camera that doesn't conform to the DCAM spec won't work with the IMAQdx driver so I can't take that approach.
    What I still am not understanding is why I can't create a buffer using IMAQ create that I can then place images into using the acquisition function supplied by Zeiss.  It seems in the example below that in the case where IMAQdx is used to store images in a buffer using IMAQ create.
    Then can you tell me why I can't use the following (or similar) code to snap images to the Image buffer or even a 1D array so long as I have a pointer, proper sized array to put the image data, and the array size? 
    Thanks for your patience while I try to wrap my head around this

  • How can I connect to a remote firewire camera?

    We have a system that has the following peripherals connected to it:
    1 - firewire camera
    2 - serial port devices
    2 - emulated serial port devices (on VCP USB drivers)
    1 - Ethernet device
    We have developed an application using CVI 8.1, NI Vision 8.6, and NI-IMAQdx 3.2 (it's an older cam). I would like to make this system accessible remotely (not remote desktop) and was looking for a way to program a server/client setup. Although it will be a lot of work, we can easily take care of a protocol for the Ethernet and serial devices. Where I'm getting stuck is the camera.
    I've searched the forums and it seems that people can use the RT software module on specific host hardware to do just that. We don't want to invest in purchasing a separate software module or another piece of hardware, so I was wondering if it was possible to configure MAX or the NI vision server somehow to connect to a remote win7 PC to grab frames and configure the camera OR is there an easy way that I can transfer the stream over TCP/IP?
    The only solution I can come up with is the grab a frame, save to .PNG, transmit it, and then load it on the client side. This seems very wasteful (and slow considering the harddrive will constantly buffer the data) and I would need to do a lot of encapsulation for changing camera settings, etc. Further, I'm not sure how well this would work for when we try to calibrate the camera with the IMAQ drivers. Is there a way to get the size and all relevant data structures in memory of the vision server so I can transfer them?
    Finally, if there is a simple way of configuring and doing all of this for the camera that I'm missing (through MAX), then is there a similarly easy way of mapping the remote serial ports and of bridging the Ethernet data? I know there are a few pieces of existing software for the serial ports, but was looking to make a single software solution.
    Thanks for taking the time!
    -Stan

    Hi Stan,
    Welcome to the NI Discussion forums! Thanks for posting your application here. There certainly are more efficient ways of streaming IMAQ images over a network. One such method would be to convert the IMAQ image type to a 2D array and then pass the data through TCP/IP, as you eluded to. Do you have access to LabVIEW? If so, you can look at this community example and base your CVI code on it. Although it is meant for a Real-time CVS acting as the remote system, you should be able to run the code on a regular PC. If you don't have access to the LabVIEW development system, the overall code structure for the server system is as follows:
    - Open IMAQdx reference, initiate a TCP connection, Create IMAQ image buffer
    - Initialize an IMAQdx grab
    - Loop:
    - Call IMAQdx grab
    - Use the IMAQ Flatten Image to String to convert the IMAQ image to a string
    - Call TCP Write to send the string length first, then again to send the actual string data
    - Dispose of the IMAQ image buffer, close the IMAQdx reference, close the TCP connection
    On the client end, you just need to open the TCP connection and call TCP read to read the string size and then the string data. Then, you can use the unflatten from string function to convert the string back to an IMAQ image data type. After this, it is up to you how you want to process the data (display it on the screen, write to an AVI file, etc).
    If you are not sure how to implement TCP/IP programs in CVI, please take a look at this tutorial. If you have more in-depth questions about implementing the TCP/IP side of the program in CVI, you may wish to post that specific question on the CVI board.
    With regards to mapping the serial ports remotely, if you are already using NI-VISA for COM port communication, take a look at this document on Remote Instrument Control with NI-VISA. Essentially, you should be able to access the VISA resource (e.g. a COM port) remotely by enabling the remote NI-VISA server on the client machine. For more specific help with this aspect of your code, please post to the GPIB/VISA board.
    Feel free to post again here if you have more IMAQ and vision-related questions. Hope this helps!

  • Using a non-firewire cam with quicktime broadcaster

    I have this very nice ptz analogue video conferencing camera... worth about $2000 to tell the truth. I would love to be able to use it with quicktime broadcaster. The problem is the video output is S-video, not fire wire. Does anyone know of some sort of hardware adapter or something that can take the S-video signal and output it in such a way that will trick quicktime broadcaster into thinking that there is a firewire video cam connected?
    any suggestions would be appreciated
    G4 Dual   Mac OS X (10.4.5)  

    I had thought of that but I am worried that i would shell out the money for one only to find out that Broadcaster doesn't recognize it. The documentation for Broadcaster claims that it requires a firewire camera. I am wondering if anyone has had any success or failure with this?
    Not a QT Broadcaster user myself, but do have v1.5 installed on my G5. On reading your query, I tested it with an old, original (unstable stabilized) Dazzle Hollywood DV-Bridge and newer Canopus ADVC-300 converters. Both were correctly identified by name if properly connected when QT Broadcaster application is opened. And, although "hot-swapping" the converters did not cause any problems while QT Broadcaster is running, neither did it force the software to rescan and identify the "change" in hardware device.
    For the purpose of the tests Nikon digital still cameras (990 and D-70) with analog video output and a Sony camcorder with analog and digital outputs (in both tape and throughput modes) were used as the source and the output was recorded/saved as a QT movie file by QT Broadcaster. While I could only get the D-70 to output singleframes (didn't take the time to look for the book), all other sources produced much better quality than expected using the default DV to QVGA/15fps settings -- even when using an old 1930's B&W movie as the taped source.
    For what it's worth ...

  • Cannot see PCI firewire card in MAX

    Hi
    I have a firewire camera connected to my computer via a PCI card. Using the software that came with the camera, I am able to capture images easily so there is clearly no hardware problem. However, I cannot seem to access the camera using MAX. If I go to the configuration tree and select My System > Devices and interfaces, all I see is PXI system (Unidentified) and Serial and Parallel. ie. I do not see NI-IMAXdx. If I select Software, I see all of the following on the list (and more) NI Vision, NI-IMAQ, NI-IMAQ for 1394, NI-IMAQdx.
    Many thanks,
    Gary

    Hi,
    Without wanting to just throw links at you, have a look at this KB and try the suggestion; otherwise post back!
    Regards,
    Tom
    Applications Engineering, NI UK

  • Ekiga with Firewire Camera

    Hi Archers,
    I am trying to get my firewire camera to work in Ekiga but didn't success. When I connect my Camera to the 1394 port, I can see that the module raw1394 was loaded. When I run Kino, I can get the video stream from my camera. But in Ekiga it does not recognize the device. Even when I change the owner of raw1394 device by command: chown my_name:my_name /dev/raw1394, I can't see the device in Ekiga.
    After sometimes of googling, I tried to use vloopback module and dv4l. I loaded the vloopback module, run dv4l command as root and change the owner of video: chown my_name:my_name /dev/video*. Now in Ekiga I can see the device, but when I select the device, I got an error massage that Ekiga can't open the video device.
    I tried xawtv by the command: xawtv -c /dev/video1 and get the following error:
    ioctl: VIDIOCGCAP(name="DV4Linux dv1394 to V4L";type=0x1 [CAPTURE];channels=1;audios=0;maxwidth=720;maxheight=576;minwidth=128;minheight=96): Inappropriate ioctl for device
    ioctl: VIDIOCMCAPTURE(frame=0;height=288;width=384;format=4): Inappropriate ioctl for device
    ioctl: VIDIOCMCAPTURE(frame=1;height=288;width=384;format=4): Inappropriate ioctl for device
    ioctl: VIDIOCMCAPTURE(frame=0;height=288;width=384;format=4): Inappropriate ioctl for device
    ioctl: VIDIOCMCAPTURE(frame=0;height=288;width=384;format=4): Inappropriate ioctl for device
    ioctl: VIDIOCSYNC(int=1): Inappropriate ioctl for device
    What I can see is a black screen. But when I tried to run xawtv in a full screen mode, I can see my video stream perfectly.
    I tried with many other firewire camera such as Sonny, Panasonic, etc. and I got the same result. After running dv4l, I need to run xawtv in full screen mode, 1280x800 32bit, to see the video. I think that is the reason why Ekiga can't load my Camera because it only supports some specific resolution.
    I really need to run the Ekiga with one of my firewire Camera. Any help will be appreciated.:|:|:|:|:|
    Thank you for your reading.

    Anyone can help me ?

  • How can I change the name of item in TableViewController iOS

    How can I change the name of item in TableViewController? I want to be able to change the title of an item if I added one. Code:
    //  ViewController.m
    //  Movie List
    //  Created by Damian on 20/02/15.
    //  Copyright (c) 2015 Tika Software. All rights reserved.
    #import "ViewController.h"
    @interface ViewController ()
    These outlets to the buttons use a `strong` reference instead of `weak` because we want
    to keep the buttons around even if they're not inside a view.
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *editButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *cancelButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *deleteButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *addButton;
    // A simple array of strings for the data model.
    @property (nonatomic, strong) NSMutableArray *dataArray;
    @end
    #pragma mark -
    @implementation ViewController
    - (void)viewDidLoad
        [super viewDidLoad];
         This option is also selected in the storyboard. Usually it is better to configure a table view in a xib/storyboard, but we're redundantly configuring this in code to demonstrate how to do that.
        self.tableView.allowsMultipleSelectionDuringEditing = YES;
        // populate the data array with some example objects
        self.dataArray = [NSMutableArray new];
        NSString *itemFormatString = NSLocalizedString(@"Movie %d", @"Format string for item");
        for (unsigned int itemNumber = 1; itemNumber <= 0; itemNumber++)
            NSString *itemName = [NSString stringWithFormat:itemFormatString, itemNumber];
            [self.dataArray addObject:itemName];
        // make our view consistent
        [self updateButtonsToMatchTableState];
    #pragma mark - UITableViewDelegate
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        return self.dataArray.count;
    - (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath
        // Update the delete button's title based on how many items are selected.
        [self updateDeleteButtonTitle];
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        // Update the delete button's title based on how many items are selected.
        [self updateButtonsToMatchTableState];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        // Configure a cell to show the corresponding string from the array.
        static NSString *kCellID = @"cellID";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellID];
        cell.textLabel.text = [self.dataArray objectAtIndex:indexPath.row];
        return cell;
    #pragma mark - Action methods
    - (IBAction)editAction:(id)sender
        [self.tableView setEditing:YES animated:YES];
        [self updateButtonsToMatchTableState];
    - (IBAction)cancelAction:(id)sender
        [self.tableView setEditing:NO animated:YES];
        [self updateButtonsToMatchTableState];
    - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
        // The user tapped one of the OK/Cancel buttons.
        if (buttonIndex == 0)
            // Delete what the user selected.
            NSArray *selectedRows = [self.tableView indexPathsForSelectedRows];
            BOOL deleteSpecificRows = selectedRows.count > 0;
            if (deleteSpecificRows)
                // Build an NSIndexSet of all the objects to delete, so they can all be removed at once.
                NSMutableIndexSet *indicesOfItemsToDelete = [NSMutableIndexSet new];
                for (NSIndexPath *selectionIndex in selectedRows)
                    [indicesOfItemsToDelete addIndex:selectionIndex.row];
                // Delete the objects from our data model.
                [self.dataArray removeObjectsAtIndexes:indicesOfItemsToDelete];
                // Tell the tableView that we deleted the objects
                [self.tableView deleteRowsAtIndexPaths:selectedRows withRowAnimation:UITableViewRowAnimationAutomatic];
            else
                // Delete everything, delete the objects from our data model.
                [self.dataArray removeAllObjects];
                // Tell the tableView that we deleted the objects.
                // Because we are deleting all the rows, just reload the current table section
                [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
            // Exit editing mode after the deletion.
            [self.tableView setEditing:NO animated:YES];
            [self updateButtonsToMatchTableState];
    - (IBAction)deleteAction:(id)sender
        // Open a dialog with just an OK button.
        NSString *actionTitle;
        if (([[self.tableView indexPathsForSelectedRows] count] == 1)) {
            actionTitle = NSLocalizedString(@"Are you sure you want to remove this movie?", @"");
        else
            actionTitle = NSLocalizedString(@"Are you sure you want to remove these movies?", @"");
        NSString *cancelTitle = NSLocalizedString(@"Cancel", @"Cancel title for item removal action");
        NSString *okTitle = NSLocalizedString(@"OK", @"OK title for item removal action");
        UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:actionTitle
                                                                 delegate:self
                                                        cancelButtonTitle:cancelTitle
                                                   destructiveButtonTitle:okTitle
                                                        otherButtonTitles:nil];
        actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
        // Show from our table view (pops up in the middle of the table).
        [actionSheet showInView:self.view];
    - (IBAction)addAction:(id)sender
        [self.dataArray addObject:@"New Movie"];
        // Tell the tableView about the item that was added.
        NSIndexPath *indexPathOfNewItem = [NSIndexPath indexPathForRowself.dataArray.count - 1) inSection:0];
        [self.tableView insertRowsAtIndexPaths:@[indexPathOfNewItem]
                              withRowAnimation:UITableViewRowAnimationAutomatic];
        // Tell the tableView we have finished adding or removing items.
        [self.tableView endUpdates];
        // Scroll the tableView so the new item is visible
        [self.tableView scrollToRowAtIndexPath:indexPathOfNewItem
                              atScrollPosition:UITableViewScrollPositionBottom
                                      animated:YES];
        // Update the buttons if we need to.
        [self updateButtonsToMatchTableState];
    #pragma mark - Updating button state
    - (void)updateButtonsToMatchTableState
        if (self.tableView.editing)
            // Show the option to cancel the edit.
            self.navigationItem.rightBarButtonItem = self.cancelButton;
            [self updateDeleteButtonTitle];
            // Show the delete button.
            self.navigationItem.leftBarButtonItem = self.deleteButton;
        else
            // Not in editing mode.
            self.navigationItem.leftBarButtonItem = self.addButton;
            // Show the edit button, but disable the edit button if there's nothing to edit.
            if (self.dataArray.count > 0)
                self.editButton.enabled = YES;
            else
                self.editButton.enabled = NO;
            self.navigationItem.rightBarButtonItem = self.editButton;
    - (void)updateDeleteButtonTitle
        // Update the delete button's title, based on how many items are selected
        NSArray *selectedRows = [self.tableView indexPathsForSelectedRows];
        BOOL allItemsAreSelected = selectedRows.count == self.dataArray.count;
        BOOL noItemsAreSelected = selectedRows.count == 0;
        if (allItemsAreSelected || noItemsAreSelected)
            self.deleteButton.title = NSLocalizedString(@"Delete All", @"");
        else
            NSString *titleFormatString =
            NSLocalizedString(@"Delete (%d)", @"Title for delete button with placeholder for number");
            self.deleteButton.title = [NSString stringWithFormat:titleFormatString, selectedRows.count];
    @end

    Hey JB001,
    Sounds like you have more going on than just a simple issue with Home Sharing and more dealing with Wi-Fi syncing. Start with the article below and see if that may resolve it.
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi syncing
    http://support.apple.com/kb/TS4062
    If it does not work out, then may I suggest contacting Apple for further assistance to walk you through it or just take that time that you were talking about to sort it out.
    Contact Apple Support
    https://getsupport.apple.com/GetproductgroupList.action
    Regards,
    -Norm G.

Maybe you are looking for