How do I check to see if a channel group exists in the data portal?

I have a list of channel groups in the data portal but sometimes some channel groups  are not created all the time.  How do I check using a script if a channel group exists or was created.

Hello jreynolds!
With the command 'GroupIndexGet'. It returns 0 if the group does not exist.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • How can i check to see if an object is already in the array list?

    while (res.next()) {
                    Schedule schedule = new Schedule();
                    customerName = res.getString("CUSTOMERNAME");
                    schedule.setCustomerName(customerName);
                    magName = res.getString("MAGNAME");
                    schedule.setMagName(magName);
                    System.out.println("NAME: " + customerName);
                    System.out.println("MAGNAME: " + magName);
                    if(!scheduleListH.contains(schedule))  //this won't work
                        scheduleListH.add(schedule);
                }schedule object has 2 fields, customerName and MagName;
    Basically i want to say, IF the scheudleList (which is an array list) contains an object schedule that has the same customerName and MagName as any of the objects in the array list, don't readd the object.
    ANy help would be great!

    Thanks!
    Oops I forogt I could use the .contains, i also tried that but still no luck.
    There is no compiler error but here is an example of the output:
    Populating scheudle list for HOLIDAY selection data structure: 
    NAME: Cory
    MAGNAME: Merlin
    NAME: Brandon
    MAGNAME: Gondorf
    NAME: Chris
    MAGNAME: Houdini
    NAME: Lokie
    MAGNAME: Blaine
    Sample SCHEDUEL H [Cory          Merlin, Brandon          Gondorf, Chris          Houdini, Lokie          Blaine]As you can see, There are 4 objects in the array list:
    Cory Merlin
    Brandon Gondorf
    Chris Houdini
    Lokie BLaine
    Now this function is called everytime the user choses a new item in a combo box.
    So if they go back to the previous selection, Holiday's, it shouldn't read add all the orginal things.
    But if I go up and select the same item in the combo box it changes whats in the array list to the following:
    Populating scheudle list for HOLIDAY selection data structure: 
    NAME: Cory
    MAGNAME: Merlin
    NAME: Brandon
    MAGNAME: Gondorf
    NAME: Chris
    MAGNAME: Houdini
    NAME: Lokie
    MAGNAME: Blaine
    Sample SCHEDUEL H [Cory          Merlin, Brandon          Gondorf, Chris          Houdini, Lokie          Blaine, Cory          Merlin, Brandon          Gondorf, Chris          Houdini, Lokie          Blaine]Here's my whole function if your interested and where I call it:
        void populateSchedule(String holiday) {
            Statement sta = null;
            Connection connection6 = null;
            try {
                connection6 = DriverManager.getConnection(URL, USERNAME, PASSWORD);
                sta = connection6.createStatement();
                //getting the list of magicians from the selected holiday to see if any are free
                ResultSet res = sta.executeQuery(
                        "SELECT CUSTOMERNAME, MAGNAME FROM SCHEDULE WHERE HOLIDAYNAME = '" + holiday + "'");
                String customerName = " ";
                String magName = " ";
                System.out.println("Populating scheudle list for HOLIDAY selection data structure:  ");
                //this is where I add the waiting list objects to the array that will later be used
                //to print out and shown to the user when they select the waiting list status
                while (res.next()) {
                    Schedule schedule = new Schedule();
                    customerName = res.getString("CUSTOMERNAME");
                    schedule.setCustomerName(customerName);
                    magName = res.getString("MAGNAME");
                    schedule.setMagName(magName);
                    System.out.println("NAME: " + customerName);
                    System.out.println("MAGNAME: " + magName);
                   if(!scheduleListH.contains(schedule))
                       scheduleListH.add(schedule);
                System.out.println("Sample SCHEDUEL H " +   scheduleListH);
            } catch (SQLException ex) {
                System.out.println(ex);
                ex.printStackTrace();
            } finally {
                try {
                    sta.close();
                    connection6.close();
                } catch (SQLException ex) {
                    Logger.getLogger(Database.class.getName()).log(Level.SEVERE, null, ex);
    //this is where i call in the GUI
        private void specStatusComboBoxActionPerformed(java.awt.event.ActionEvent evt) {                                                  
            // TODO add your handling code here:
            String selectedItem = (String)specStatusComboBox.getSelectedItem();
            String groupSelectedItem = (String) groupStatusComboBox.getSelectedItem();
            if(groupSelectedItem.equals("Holidays"))
                //get customer name and magician name from the Scheduel table
                //use selectedItem (it will be a holiday name)
                //magicDB.clearScheduleHList();
                magicDB.populateSchedule(selectedItem);
                ArrayList<Schedule> tempScheduleList = magicDB.getScheduleHListCopy();
                outputTextArea.setText(" ");
                outputTextArea.setText("CUSTOMER NAME" +"\t\t" + "MAGICIAN NAME" + "\n");
                for(int i = 0; i < tempScheduleList.size(); i++)
                    outputTextArea.append(tempScheduleList.get(i).toString() + "\n");
        }   I'll reward the duke stars anyways because you have been a great help either way!

  • I have an iMac running OS 10.4.11. How can I check to see if I have the Flashback Trojan (and remove it, if I have it)? IMy Safari is also crashing frequently. Any suggestions?

    I have an iMac running OS 10.4.11. How can I check to see if I have the Flashback Trojan (and remove it, if I have it)? IMy Safari is also crashing frequently. Any suggestions?

    Hi Barry, is this an Intel iMac, or a PPC iMac?
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link
    Removal for 10.5...
    http://support.apple.com/kb/DL1534

  • TS3899 How do I check to see if the problem resides on the server (e.g., the mail server is not responding) rather than assuming the issue is with my phone and devise setup?

    As of sometime after September 10, 2012, at 4:40PM, I have not been receiving any mail.  Not on my iPhone, iPad, iMac, or MacBookPro.  The trouble shooting help on Apple's web site is designed to help ensure my devise settings are accurate.  However, I moved from .Mac to .me and now to .cloud and have operating with no issues for several months on the iCloud.
    How can I check to see if my mail problem is really Apple's fault rather than double checking all my devise settings ad nausiam?  I feel there is a server issue with Apple because none of my devises can receive mail, however, I do not know how to validate my theory with Apple.  I get an error message telling me:
    Cannot Get Mail
    The connection to the server failed.
    Apple says there is a mail server problem affecting 1% of users.  However, am I one of the 1%?  If I assume I am, wait for the problem to be fixed, and then learn I was not one of the 1% and continue to have mail issues, then I will be more frustrated.

    I have the same problem since yesterday morning. I checked the systems status and still the same. I guess we are the 1.1% who has problem with their email.

  • I am new to mac, but i keep reading about Mountain lion.  I just bought my Mac book Pro less then a month ago.  my current software is OS X 10.8.2, Do i already have mountain lion?  How do I check to see?

    I am new to mac, but i keep reading about Mountain lion.  I just bought my Mac book Pro less then a month ago.  my current software is OS X 10.8.2, Do i already have mountain lion?  How do I check to see?

    As the others have stated, you're on Mountain Lion with 10.8, anything. But you can check your version of the software by going to the apple in the upper left corner of the screen and clicking it and selecting "About This Mac". That will open a box that shows your software version. Once there you can click on "More Info" that will tell you everything about your specific mac configuration.
    Welcome to the Mac family.

  • How can I check and see if someone is tracking online activity on my IPad 3 from their device?

    How can I check to see if someone is tracking or accessing my Internet activity on my Ipad3 from a separate location?

    You can't. Make sure you have security/firewall set on your router. If you are using your iPad in a free wifi location (ie like Starbucks) it's possible for someone to intercept your wifi activity.
     Cheers, Tom

  • How can I check to see if there is money left on an iTunes card if I can't read the scratch off code?

    How can I check to see if there is money left on an iTunes gift card if I can't read the scratch off code?

    Sorry, but other than trying to redeem the card there's no way to check whether it is still valid or was previously redeemed.
    Regards.

  • HT1212 If I never synced to itunes and I restore the device. Will I lose unstored data? How can I check to see the last time my phone was backed up if I forgot the passcode to my phone?

    If I never synced to itunes and I restore the device. Will I lose unstored data? How can I check to see the last time my phone was backed up if I forgot the passcode to my phone?

    If you can't remember your passcode, you'll need to restore your phone.  If you never synched to iTunes, all data on your phone will be erased.  No way around this.

  • How can I check to see if my version of QuickTime Pro 7.6.6 already has ProApps QuickTime Codecs installed? I also have Final Cut Pro 6. I'm asking because my computer can't seem to play ProRes 422 codec video without stuttering or skipping?

    I have a fairly capable MacBook Pro (2.93 GHzIntel Core 2 Duo processor, 4GB 1067 MHz DDR3 memory and a 1TB HD -5400 rpm, so I am hoping it's not that my computer that can't support it and it's something more simple like not have ProApps QuickTime codecs installed. Thanks in advance!

    How can I check to see if my version of QuickTime Pro 7.6.6 already has ProApps QuickTime Codecs installed? I also have Final Cut Pro 6. I'm asking because my computer can't seem to play ProRes 422 codec video without stuttering or skipping?
    If you can view a ProRes 4-2-2 video at all, then you either have the independent ProRes422 Playback component installed or the FCP "Pro" video components installed.
    I have a fairly capable MacBook Pro (2.93 GHzIntel Core 2 Duo processor, 4GB 1067 MHz DDR3 memory and a 1TB HD -5400 rpm, so I am hoping it's not that my computer that can't support it and it's something more simple like not have ProApps QuickTime codecs installed.
    Check your "~/Library/QuickTime" folder for your various "Pro" components. If in doubt that you have them all, re-run the FCP installer and it should add any missing components, apps, or utilities.

  • How can I check and see that my photos are being backed up by time machine?

    How can I check and see that my photos are being backed up by time machine?

    http://pondini.org/TM/8.html

  • How can I check to see if my iPad is factory unlocked

    Hi, I'm having problem using a sim in my iPad when there is no Wi-Fi. I have been told that iPads lock to the first sim that is installed. As I have now changed my network provider, could this be the reason my new sim does not work?
    If this is the case, how can I check to see if the iPad is still unlocked, as I do not have another sim card to try. More importantly, How do I unlock my iPad???
    Thanks for your help
    RM

    The only iPads that are unlocked (for use in the US) are iPads that shipped with the Apple Sim card.  I believe that is the iPad Air 2 and the iPad Mini with Retina.  The other iPads are locked to the carrier they were purchased for use with, and that cannot be changed.  The only exception would be in using a sim card in another country. 
    If it is an AT&T iPad, you have to use AT&T.  Same for Sprint, Verizon & T-Mobile.

  • How do I check to see if my reinstalled CS6 Web Design program has been activated?

    I installed CS6--from a trial download--on my reformatted laptop. I deactivated the program before reformatting the laptop. I then filled in the serial number from my purchased CS6 Web Design program. The trial version (which lists as CS6 Master Collection) started, but I get screens asking if I want to update my trail version. I can not get help from Adobe Customer Care (800-833-6687) because they do not support Creative Suite. The telephone system referred me to the web system (www.adobe.com/getsupport), which does not allow me connection to Live Chat. It refers me to the community forum. So, guys, how do I check to see if my reinstalled CS6 Web Design program has be activated?

    When I click on the link I just gave you, this is what I see:
    Your last message was ambiguous about whether you had actually talked to Web Chat.
    I've been told that Web Chat is handled from the US time zones so if you're in a different part of the world, you may have to accommodate that.
    Serial number issues cannot be handled in a forum because (obviously), you're communicating a serial number which would  be broadcast to the entire internet. Also, few Adobe employees are on most of the forums. There are NO Adobe employees on this forum.

  • How do i check and see what is using up all my harddrive space

    How do i check to see what is using all of my hard drive space?

    I would try OmniDiskSweeper.
    Matt

  • HT5035 how can i check or see the remaning balance that i have in my itunes account

    how can i check or see the remaning balance that i have in my itunes account

    On what device/computer?

  • How can I check to see if my software has been registered?

    After a recent hardware replacement I am unable to find my Aperture 2 download. I never used it anyway so i'm not concerned but would like to be able to pass it on if it can be, is this possible? How can I check to see if I even registered it? I have the original packaging and all contents including Serial numbers, support ID, and four software coupons for updates. I am a bit technophobe, sorry!
    So,
    1. How can I check to see if it was registered correctly?
    2. Can someone else use the software?
    Hope someone can help.

    You don't need to check registration. In the Apple world registering software really doesn't have much of a purpose.
    If the software was bought on DVD and you have the serial number you are free to give it or sell it to anyone you wish.  Just keep in mind that Aperture 2 is very old and while it (sort of) works on the newer OS's it really isn;t a good solution for anyone serious about using Aperture. 
    It would be OK for someone with older hardware that is unable to upgrade past Snow Leopard but for anyone with newer hardware it would be a mistake to use.

Maybe you are looking for

  • IPhoto for iOS or Adobe Photoshop Express?

    Hi! So... My dad is a photographer and he is going to use an iPad loaned by the company he is taking pictures for. Anyway.... Which app would you recommend for a photographer? As the iPad is going to be loaned out (or he will use my iPad 2) I don't k

  • How to cancel enternal list create with ELM

    Dear Expert, i need an information. I use ELM (transaction CRMD_MKTLIST) to upload lead in CRM. Is there the possibility to cancel from the system  an external list created with CRMD_MKTLIST  ? In the transaction there isn't the possibility ti  do it

  • Exchange User Cannot Email A Remade Account

    Staff member left and came back to the company so the email was deprovisioned and reactivated.  When users aren't able to email him we delete any cached email entries and out of the 50 or so users that had an issue, only 1 has not been resolved.  Thi

  • What is the best way to use Berkeley DB, C or C++ interface ?

    Hello, I'm using C++ interface but much samples, solutions and utils are in C. What is the best way to use Berkeley DB, C or C++ interface ? Lets talk a little about this...which is the interface you prefer and why ? Thanks DelNeto

  • PS cs3 cannot install screen error

    I'm trying to install PS cs3 extended from an adobe download and I keep getting the message ("Setup" can't be open because its from an unidentified developer. Your security preferences allow installation of only apps from the Mac App Store and identi