Generate a list of channels

I want to programmatically create a list of appropriate channels to pass to a function such as DataBlDel(), which requires that the channels to be passed as a list of strings, which is a string. I don't want to build the string of concatinating a hack like that seems to be terrible!

I found the ChnStrToChnList() and ChnListToChnStr() functions. These functions require a list of strings like "...". a list of strings as a vector in the scripting environment. How I bild by this program or is this still what I have to do? -the help file is also useful as a hole in the head!

Hi St3ve,

For DIAdem 11.1 and later versions, the DataBlCopy() function accepts indeed a Collection of channel as its first FastInventory, like this:

Call the DataBlDel (Data.Root.ChannelGroups (1).) Roads, 1, 100)

For older versions of DIAdem, you can build the ChnStr variable like this:

ChnStr = «»
FOR each channel in Data.Root.ChannelGroups (1). Channels
ChnStr = ChnStrAdd (ChnStr, Channel.Properties("Number"). Value)
NEXT "channel
Call DataBlDel (ChnStr, 1, 100)

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • Toshiba 46TL968 cannot read the list of channels - only "hotel mode" appears

    Before the new update, I was able to easily read in my channel edited list.
    When does the thing "dumb, dumb down", a pop up appears, where asked me, if I want + read In + or + write on +.

    Now, after the update (and reboot, that destroyed my channel settings) I can not read the list of channels.
    Instead of the familiar pop up, only a list of "hotel mode" appears with a few settings that I can activate.

    Is it always possible to read in the setting somehow?
    Anyone have similar problems?

    > Instead of the familiar pop up, only a list of "hotel mode" appears with a few settings that I can activate.

    Looks like the TV is set to the mode of the hotel.
    This means that most of the options are unavailable.

    You can go back.

    Go to quick installation
    The location option contains the settings for Home or the store.
    You must choose the House

  • How to change the language setting in Microsoft word to generate a list of references?

    How to change the language setting in Microsoft word to generate a list of references?

    I use a Mac with the (traditional) Chinese language setting, and I need the reference generatinga list for my document in English!

    If you don't get an answer here, try the forums devoted entirely to problems with MS applications:

    http://answers.Microsoft.com/en-us/Mac/forum/MacWord

  • How can you generate a list of unmet needs in a customized in NO Gateway requirements report?

    I am creating a custom report that lists the requirements that are covered (i.e., a traceability matrix) and also a list of unmet needs.  I think I have the first part figured out, but I can't understand how to generate a list of unmet, preferably by document.  I would like to see something like this:

    2 needs not covered

    2.1 documentA

    Covered requirements: 5

    -Req3

    -Req5

    -Req10

    -Req12

    -Req13

    Does anyone know how to do this?

    Also, is there any documentation on what are the various data elements?  (For example, what is a "requirement of the sheet"?)

    Thank you!

    Tom

    Hi Tom,

    I have attached a modified version of the example of Word which comes with requirements 1.1 gateway. In this sample project, I have reproduced the traceability matrix report and a slight modification to only show requirements discovered at the end of the report. Please note that this is not a complete solution, but it should be enough to help you move forward on the right track.

  • I can generate a list of addresses of a polygon shape in the streets & trips?

    I've built a number of forms of polygon closed in Microsoft streets & trips 2011. Is there a way to generate a list of addresses contained in these forms? Thank you.

    Hello

    Check with streets and trips in support of the community and Forum.

    Streets & Trips
    http://www.Microsoft.com/streets/en-us/default.aspx

    Streets & Trips - help and Support
    http://www.Microsoft.com/streets/en-us/support-and-training.aspx

    Streets and travel community
    http://www.Microsoft.com/streets/en-us/community-and-news.aspx

    Streets and travel Forum
    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    Support for MapPoint, streets & trips and Highway
    http://support.Microsoft.com/ph/851

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • generate a list of installed programs

    How can I generate a list of installed programs? I'm considering upgrading to Windows 7 but wish to consider programs that I might upgrade to W7 compatibility.

    http://www.Belarc.com/free_download.html

  • The progress bar just kept scanning without generating a list of updates or error messages

    I have a hp G70-463 CL portable 2009. It works well until March 2016 when it could not download updates Windows 7 Ultimate. The progress bar just kept scanning without generating a list of updates or error messages. I reinstalled Windows, but this does not solve the problem. The PC otherwise works fine. I can download the software successfully. What is going on?

    You can reset the Windows Update components by running the Fixit on this page. But if there is malware present, she will continue to reset the connection to the update servers:

    How to reset the Windows Update components

    http://support.Microsoft.com/kb/971058

    Suggest you download and save the Fixit. Then configure the system before the clean boot by running:

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7

    http://support.Microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native Windows Firewall is now on if a 3rd party firewall has been used previously. Now run the Fixit and choose the default mode. Restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode. Turn it back on when he finished the race and updates.

    I suggest before you stop and install the updates, disconnect from the Internet, first.

  • Lost some of the channel list, significantly Channel 5 and Film 4 and a lot of other minor channels.

    Original title: Loss of registration

    No apparent reason, I lost some of the channel list, significantly Channel 5 and Film 4 and a lot of other minor channels. Does anyone know why this is and how to fix it? I already tried "Get latest Guide listings" several times without success.

    Hi Bryan,.


    Sorry for the late reply. I suggest you consult the solutions provided by Nithyananda in the link below.

    If the problem persists please answer us with the State of the question so that we can help you.
  • How can I generate a list of all the albums I have in my music library

    How can I generate a list of all the albums I have in my music library

    See http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/how-to-print-a-list-of-items-in-the-window-media/6490fe4f-bb0e-4afa-97ca-3ce58c3aaeba

    but, if you only do this several times, you can use this procedure instead:

    Open a command prompt in your folder music [shift-right click on the name of the folder in the Windows Explorer & select a window of commands here]

    Run the dir/ad/b /s > AlbumList.txt

    Then open the text file in Word and he put away: -.

    Replaceyourusernamewith Nothing \Music\ C:\Users\

    Replace-with ^ t [the code of the tab]

    Select all, convert table to use the trademarks of the tab as column separators

    Select column 1 [the artists], and delete

    If there is garbage in all 3 columns - go just delete the columns thus

    That should leave a unique list of album names

  • Generate a list of virtual machines online

    I want to generate a list of the virtual machines that are online.  I want to confirm not only that the virtual machine is running, but the guest operating system responds to the pings, and there is a network connectivity from end to end from a specific location in the data center (where I'm going to run my script of)

    Here's what I do:

    Draw a list of VMS in vCenter

    Ping each VM by one

    Determine whether or not I get a response from the ping command and capture and store the result in a variable

    If I get a reply, mark this VM as "online."

    If I get no answer, mark the virtual machine as 'offline '.

    Export to CSV format

    How can I do this with PowerCLI?

    Thank you!


    Try something like this

    Get-VM | Select Name,PowerState,    @{N="Ping";E={        if($_.PowerState -eq "PoweredOn" -and (Test-Connection -ComputerName $_.Name)){"Online"}else{"Offline"}    }} |Export-Csv VM-status.csv -NoTypeInformation -UseCulture
    

    It assumes that the host name of the virtual machine is the same name of the virtual machine.

    If the virtual machine is turned off, the ping test is not run

  • Generate a list of URLS that are a hyperlink in a document?

    Hello world

    I did some research and can't seem to find an answer to this question:

    Is there a way to generate a list of all URLS that are hyperlinked in an InDesign document? I use CS6.

    Thank you very much.

    ElizabethGM wrote:

    I really hope that you are wrong!

    Oooh - scripts are nothing to worry about. On the contrary: there are many small functions and routines that are useful only for very few people, if Adobe has not added them to InDesign. This is where a script can help you!

    Here's a quick which includes all hyperlinks, shows them on the screen and saves their list in your Documents folder. Save it as "collectHyperlinks.jsx" in your folder User Scripts, and then double-click it in the Scripts panel to run.

    var list = [];
    for (a=0; a		   
  • SQL to generate a list of full calendar of dates

    I'm trying to generate a list of dates, in view of the current date. For example, for today, March 10, I want the dates of March to be included. This is for a calendar app and because of that I have to fill in the calendar with pre and post days. For example, for March, the following dates should be included:

    17/02/2011
    28/02/2011

    All dates in March... AND

    01/04/2011
    02/04/2011

    If you look at a calendar, it usually begins a Sunday... depending on where you are. I need all the dates returned to account for the additional days before and after the month in question. That make sense?

    Any help is greatly appreciated.

    That's what I'd like to see:

    Order DateValue week day month
    02/27/2011 1 1 27 2
    02/28/2011 2, 2 28 2
    03/01/2011 3, 3 1 3
    03/02/2011 4, 4 2 3
    03/03/2011 5, 5 3 3
    03/04/2011 6, 6 4 3
    03/05/2011 7, 7 5 3
    03/06/2011 8 1 6-3
    03/07/2011 9, 2 7 3
    10 03/08/2011 3 8 3
    03/09/2011 11, 4 9 3
    03/10/2011 12, 5 10 3
    13/03/11/2011 6 11 3
    03/12/2011 14 7 12 3
    15 03/13/2011 1 13 3
    16 03/14/2 / 2011 14 3
    17 03/15/2011 3 15 3
    18 03/16/4 / 2011 16 3
    19 03/17/5 / 2011 17 3
    20 03/18/2011 6 18 3
    21 03/19/2011 7 19 3
    22 03/20/2011 1 20 3
    23 03/21/2 / 2011 21 3
    24 03/22/3 / 2011 22 3
    25 03/23/2011 4 23 3
    26 03/24/2011 5 24 3
    27 03/25/2011 6 25 3
    28 03/26/7 / 2011 26 3
    29 03/27/2011 1 27 3
    03/28/2011 30, 2 28 3
    31 03/29/3 / 2011 29 3
    32 03/30/4 / 2011 30 3
    33 03/31/5 / 2011-31-3
    2011-01-04 34, 6 1 4
    04/02/2011 35, 7 2 4

    Hello

    Welcome to the Forum!

    You say you want
    (a) every day in the current month, more
    (b) some days may be required from the previous month, so that the list starts on a Sunday, and
    (c) some days may be necessary in the next month so that the list ends on a Saturday?

    Here's a way to do it:

    SELECT     first_date + LEVEL - 1
    FROM     (
              SELECT  NEXT_DAY ( TRUNC (SYSDATE, 'MONTH') - 7
                         , 'SUNDAY'
                         )     AS first_date
              ,     NEXT_DAY ( LAST_DAY (SYSDATE) - 1
                         , 'SATURDAY'
                         )     AS last_date
              FROM    dual
         )
    CONNECT BY     LEVEL <= last_date + 1 - first_date
    ;
    

    This assumes that your NLS_DATE_LANGUAGE = "ENGLISH." If it's another language, translate 'SUNDAY' and 'SATURDAY' in that language.

  • Is there a way to generate a list of names of files in an album?

    I want to generate a list of the contents in an album (photos in the album are spread over various issues). I need the full path names, such as:

    C:\ThisFolder\Thatpic.jpg

    C:\ThatFolder\Thispic.jpg

    etc.

    Is there a way to do it or should I go through the tedious process of manually check the location of the file for each photo in the album?

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    Is the "file_albums.csv" file... contain data that lookes like it (give a full path to the file name):

    Yes.

    The file "file.csv" includes a column of Album name for each file?

    He did a 'Albums' column, giving the list of albums that each file is current.  And it has a 'Positions of the Album' column, giving to the corresponding locations of the file to each of these albums.

    I have attached sample output for a 4-photo catalog with two albums.

  • Generate a list of outlook distribution

    someone has already tried to create a list by extracting data from a database and generate a list and this list in outlook as a distribution list so that the user doesn't have to create these lists manually?

    You try to import a CSV from Outlook and see the exported default file.

    After having an idea of the format of document, you can generate the same type of document of CF and use as required.

    If you think that generating vCard and tying them in the mail would be useful, try checking the following tutorial.

    e-it-download-to-MS-Outlook http://www.coldfusioncookbook.com/entry/95/How-do-I-Create-a-vCard/-vCalender-Link-and-HAV

  • generate a list of random numbers

    Hi all

    is it possible to generate a list of random numbers within a certain range, and without duplicating a number that is already been used in the list?

    TNX for any help...

    Try this ;)

Maybe you are looking for