How can I select a channel on the RT target with a VI on the host?

Maybe I'm trying to pound a square peg into a round hole, so please let me know if I'm abusing LV, but ...
I'm trying to parameterize our RT VI app that deals with digital output channels.  We use the same basic VI for multiple configurations.  The only thing that changes is the channel allocations.  So for instance, actuator 1 is on port0/line5 for one configuration and port1/line2 in another.  I really don't like the idea of modifying the VI every time we have a new configuration because it makes configuration management insane.  If I make a change to the basic VI, now I have to upate N copies of the VI and hope I catch everything.
So I'm making the main app VI read an XML configuration file that specifies all the allocations.  Sounds great at first, but how do I create the XML file?  I created a VI that manages the data in the VI, allowing the user to add/remove channels and edit the name and channel and then save it to an XML file.  The configuration is comopsed of an array of clusters, with the cluster containing the name and DAQmx channel.  My intent was to let the user select the channel from the list of valid channels by using the DAQmx Global Channel control.  But the problem is, the configure VI runs on the host, which doesn't see any of the channels because they are on the RT target.  But if I try to run the configure VI on the target, it refuses to deploy because I have GUI widgets.
Is my approach fundamentally flawed?  Is there a better way of parameterizing our VI?  Or is there a trick to getting access to the valid channels on the host VI?  The information MUST be available because after all, when I modify a target VI and select a global channel constant, I'm doing this on the host.
Thanks,
Keith.

Hi Keith,
you can handle the channels like "normal" strings. See the attached picture.
Hope it helps.
Mike
Message Edited by MikeS81 on 07-25-2008 06:46 AM
Attachments:
Unbenannt1.PNG ‏6 KB

Similar Messages

  • How can I select which channel the wireless card on the Macbook Pro uses?

    Hi,
    I have a MacBook Pro which must be 5-6 years old running OS ver10.5.8 with the following wireless card details..
      Wireless Card Type:          AirPort Extreme  (0x168C, 0x86)
      Wireless Card Locale:          Worldwide
      Wireless Card Firmware Version:          1.4.16.2
      Current Wireless Network:          ML MC
      Wireless Channel:          6
    .. and a Time Capsule running firmware ver 7.6.1.
    We recently installed a faster broadband connection and for some reason the pc’s (recent purchases) we have are regularly getting a 37Gb max download speed and the MacBook Pro is regularly getting only 19Gb max download speed.  All the computers are connecting through the same Time Capsule to the net.  On the Time Capsule the 2.4GHz and 5GHz bandwidths are set so the channel is selected automatically.
    Is the max download speed on the MacBook pro slower because of the wireless card in it?  And if so, how can I check?  Could I manually adjust it to a faster setting?
    Thanks,
    Simon  

    Channels are managed by the router and the automatic settings on your TC is about right - unless you have general WiFi issues.
    Your slower speed is down to the older Airport card in your MBP.

  • How can I select an item from a list component with a seperate button

    This is a repost, I decided it'd probably be better here than
    in the general discussion board. I will try to delete the other
    one.
    Hello Everyone,
    This is my first post here. I am trying to figure out how to
    select an item within a list component with a button. This button
    is calling a function. I have searched for the past 3 hours online
    and I can't find anything about it. I thought perhaps I could set
    the selectedItem parameter, but that is read only, and I believe it
    returns an object reference rather than something like a number so
    even if i could set it, it would be pointless. I also found a get
    focus button, thought that may lead me somewhere, but I think that
    is for setting which component has focus currently as far as typing
    in and things like that. I am lost.
    Basically I am looking for a way to type this
    myList.setSelected(5); where 5 is the 5th item in the list.
    Any help would be much appreciated.

    Never mind found it. It is the property called selectedIndex
    and it is writable

  • How can I best create a movie in flash ( .flv ) with a link in the end?

    I use iMovie and have QT pro. I want to make a movie with a link in the end of the video: " See more here". Clicking it ( on the video window) would open my website.
    Then I want publish it in flv. format, because some people can't use Quicktime.
    Yours truly my Friends forever,
    Antti

    AnttiS wrote:
    .. I want to make a movie with a link in the end of the video: " See more here". Clicking it ( on the video window) would open my website.
    I assume, this is easier done as an html-task.. like that:
    (example is a still, forum software doesn't allow embedding of 'videos')
    define the player as an playercode

  • How can I share an ibook that is 250 megs with others without using the ibook store

    Hello
    I'm using ibook author and the book I have created is 250 megs. I'm having trouble sharing it and getting on my new ibook air. Does anyone know if there is a good way to share the file with others without publishing it or using iTunes?
    I'd ideally like to use something like Dropbox or my website but every time I try to download the file using one of these sites safari/apple says file not readable.
    Any help would be appreciated.
    Thank you!

    Thank you both for the help and sorry about not replying earlier. I've tried both drop box as well making the ibook downloadable from a website. I've triend to create a step by step list below that better illustrates what is happening.
    1) export ibook author file as an xxxxxx.ibooks
    2) upload xxxxx.ibooks to dropbox and then send my self a test link
    3) using safari i download the xxxxx.ibooks file
    4) while still in safari a page opens up with an icon for the xxxx.ibooks file and it has two buttons underneath it- one that says "open with..." and another that says "open in ibooks"
    THIS IS WHERE THE IBOOK PROBLEM STARTS
    5) I tap on the "open in ibooks" button - nothing happens
    6) I tap on the "open with..." button and an icon for the ibook app pops up
    7) I tap on the ibook app icon and nothing happens
    8) I tap and hold the "open in ibooks" button for 2 plus minutes (the time for holding the button down fluctuates from 45 seconds to 5 minutes)
    9) the xxxxxx.Ibooks file opens in the ibook app.
    I am very happy that I was able to get the xxxxx.ibooks file to open on my ipad. However, this is not a smooth or intuitive process. I need to share the xxxxxx.ibooks file with many people and I want to find a process for getting them the book that is very easy.
    any advice is appreciated
    Do you think the problem could be the size of the file?
    Thank you

  • How can I create a DVD (not CD) slide show with PSE8. Is the only option CD?

    Do I need to upgrade to PSE9 for the DVD option for slide show output?

    No, you can't create a video dvd with just PSE, and PSE 9 is no different from any other version where this is concerned. (Adobe wants you to use Premiere Elements.) However, if you have a DVD burner, you must have gotten some kind of software with it that can make a DVD for you. Create your slideshow, output as WMV and then use your other software to burn the actual video disc.

  • I have $8.05 balance on my gift card. I tried to buy an app more expensive than that so i had to add my credit card to the apple account. But I couldn't use the balance from the gift card anymore. How can I select to use it? or did I lose it?

    I  have $8.05 balance on my gift card. I tried to buy an app more expensive than that so i had to add my credit card to the apple account. But I couldn't use the balance from the gift card anymore. How can I select to use it? or did I lose it?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    The MAS should use any credits first and then apply the remainder to a listed bank card.

  • When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page.

    When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page. I don't want to have to check off an additional 5 or 6 attributes each time I print out contact information. Is there a way to change the default setting for printing lists, so it is not just "phone," "photo," and "job title?"

    I have a user who wants to do this same thing. I did not find any way either to default the attributes to anything other than what you see the first time. Seems like such a trivial thing, hard to believe they do not allow it. I did find a program for this called iDress but I can't seem to download it from any links on the Internet. Not sure if it is free or not, but it was recommended by a link on the Mac support site.

  • How can I select more than one song from the search results?

    I want to create playlists based on certain words in the song title. For example, I may want to create a playlist of all my songs with LOVE in the title.
    Doing the search is easy, but I can't select more than one song at a time. Is there any way in iTunes 12 for Windows to do this? I found an answer in iTunes for Mac, and it basically says to "un-check "Search Entire Library." " but I don't see that option in iTunes for Windows.
    Here is the link to that question: how can i select more than one song from drop down search bar
    I hope some Windows user can help me out.

    Found the "Search Entire Library" option - click on the small (VERY small for my eyesight) down arrow next to the magnifying glass. Also need to select "Filter by: Songs", and then the songs in the main window show the results.
    I'm going to leave this up on the board because 1) in case someone else has this question, and 2) I don't know how to delete it anyway.

  • How can I select only the music I want on my iPhone without putting all of it on?

    How can I select only the music I want on my iPhone without putting alll of it on my phone?

    http://support.apple.com/kb/PH12313

  • How can I select and enlarge the entire doc,ge on a page, reducing the surrounding boarder.  I can move the difference text boxes about independently of each other but the outer most boarders of the main template block appear to be fixed.

    How can I select adn enlarge the entire document/image on a page, reducing the the surrounding boarder?  I can move the different text and image boxes around independently of each other but the outer most boarders of the main template block appear to be fixed.  I thought I would be able to enlarge or reduce my document from 'page layout' but this does not seem possible.

    Inspector > Document > Document Margins
    The word is border. Boarders are the Harry Potters of this world.
    Peter

  • I'm trying to install an update to itunes that downloaded but can't complete installation as its trying to install onto D: drive. I don't have a D drive and i'm not given option of selecting the drive to install on. How can i select the drive that i want

    I'm trying to install itunes but can't complete installation as its trying to install onto F: drive. I don't have a F drive and I'm not given option of selecting the drive to install on. How can I select the drive that i want to install on?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can I select and delete the fill color (white background) of a live trace (B&W) with in an actio

    How can I select and delete the fill color (white background) of a live trace (B&W) with in an action set?
    Illustrator CS4 in windows XP.

    Maybe Li[ve trace] is not t]he way[ to go
    I have some suggestion one leave it as is and use a blending mode of multiply to give it a color background like this
    leave it as is make it a grayscale tiff import int Illustrator and color it it in Illustrator like this
    Or trace over it with the brush tool aand then give it a color ground.
    Or do the original over and do a cleaner job with no tone or a minimum of tone. Then Live trace.

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged but column index will changed.
    Thanks to all.

    Well, the right arrow key will already move you to the next column, so the easiest way to do this is to modify the InputMap to have the Enter key invoke the same Action as the right arrow key.
    You can search the forum for my "Table Actions" (without the space) example that will show you how to do this.

  • How can I select the existing worksheet while using OLE2 to open the template workboo

    Source:
    application:=ole2.create_obj('Excel.Application');
    workbooks:=ole2.get_obj_property(application,'Workbooks');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'c:\RptTemplate.xlt');
    workbook:=ole2.invoke_obj(workbooks,'Open',args);
    ole2.destroy_arglist(args);
    worksheets:=ole2.get_obj_property(application,'Worksheets');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');      
    worksheet     :=ole2.invoke_obj(worksheets,'Select',args);
    ole2.destroy_arglist(args);
    Problem:
    1. While executing the above code, error -305500 occurs after executing "worksheet := ole2.invoke_obj(worksheets','Select',args)". How can I select the sheet i wanted in the template ??
    2. As I refer to the forms on-line document, it stated that the ole2 programmers documentation can provide all object types and methods that can be used with the OLE2. Does any link can provided to download the specified documentation ??

    The error is probably that your Worksheets variable is actually empty. Looking at your code I think the problem is that you try and get the value of the worksheets collection from the application then you should try and get it from the Workbooks object.

Maybe you are looking for