Remove condition disable through VI Server

We currently have a rather large project with two different versions. A conditional disable is used to select what code should be executed based on a project variable selecting the version. Since the new version is ready to be released to other  users, we would like to separate the project into two projects on different computers: one for critical bug fixes for the old code, one for the new code. Therefore we want to remove the conditional disable structure everywhere, but doing this manually would take a considerable effort. Is there any way we can do this through VI Server?

I don't suppose there is a built in way to do this, but using VI scripting you can go through you hierarchy and call the Remove Structure method on all of these. If you want more details, go look in the LAVA forums scripting forums.
I would probably avoid doing that, however, and I suggest you try to do a find of all the structures and remove them manually.
P.S. For handling different versions of the same project, you should probably check out source code control.
Try to take over the world!

Similar Messages

  • Unable to remove Conditional Rule through deployment

    If you remove a rule in your source and try to modify your target to remove the rule, the catalog deployer will not remove it in the target.
    Trying to update an active form component from source to target by using Catalog Deployer.  
    On first delpoyement, your source (Development) has one rule.  After the first deployment, you source (Dev) and target (Prod) each have one rule.  Next, you remove the rule in your source (Dev).  When you try to deploy again, the rule will NOT be removed in your target (Prod).  It will also not be removed from the active form behaviour.
    Does anyone know a way around this without manually update your target.  Is there a way the catalog deployment can be created so it takes into account rules that were removed in the source?

    Joshua - I'm curious if you got an answer to this?  I'm having the same issue with a recent deployment.

  • Programaticaly remove(disable/enable) origin server from WebCache Cluster

    Hi.
    Can I programaticaly disable/enable origin server (OAS) from WebCache Cluster for safe node Up/Down ?
    Thanks.

    I found only one way - simulate HTTP request from web console by wget.
    wc_balance.bat (windows script):
    @rem Using a script: parameter ON - enable node, OFF - disable node
    @rem server env
    set HOST=class4.tst.lan:4000
    set AUTH=ias_admin:system
    @rem req env
    set u_host=class4.tst.lan
    set u_port=7888
    set u_capacity=100
    set u_numRetry=5
    set u_url=/
    set u_interval=10
    @rem !!! line number server in the Origin Server !!!
    set u_id=h2
    set U1="hostname=%u_host%&port=%u_port%&routing=%1&capacity=%u_capacity%&numRetry=%u_numRetry%&URL=%u_url%&interval=%u_interval%&SSL_TYPE=NONE&ACTION=Submit&id=%u_id%&SCREEN_ID=CGA.Site.OriginServers_Edit"
    set U2="webcacheadmin?SCREEN_ID=CGA.ConfigTree&ACTION=Apply+Changes"
    @rem set new status
    wget http://%AUTH%@%HOST%/webcacheadmin?%U1%
    @rem commit changes
    wget http://%AUTH%@%HOST%/webcacheadmin?%U2%
    Message was edited by:
    sisaev

  • Conditional disable no longer works

       We have a large application that calls modules dynamically.  It has been working in LV 8.2.  We compile the main program and use "Source Distributions" to distribute modules for individual installations.  Thus these modules are LV source code in directories that the .exe calls dynamically.
       Two of our modules use DAQMX, so the distributions get understandably large.  Since the DAQMX is an option that most customers don't use, we incorportated a Conditional Disable structure around them and used a custom Conditional Disable key.  We set this key's value in the project before creating the source distribution, so that we can choose whether or not the DAQMX sub-vis are included in the distribution.  This all worked fine in LV 8.2.
       We recently upgraded to 8.6.  Now the distribution includes the DAQMX sub-vis regardless of the conditional key.  I thought that maybe the condition got "disconnected" in the upgrade process, so I created a new key, deleted and replaced the conditional disable structure, but to no avail.
       Worse than just having the sub-vi's included in the distribution, even though they have been supposedly removed, the fact is that if the DAQMX drivers are not loaded on the target machine, the VI is broken and won't run.  Even though the VIs aren't using the DAQMX sub-vi's, they are broken because the associated dll's are missing.
       I looked through the forums, and though I found a number of messages about the Conditional Disable, I couldn't find anything specific about this issue.  Is this a known issue?  Is there a work around?
    DaveT
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

       I've created a test project that demonstrates the issue.  It works as expected in 8.2 and 8.5, fails in 8.6.  You'll probably need to change the Source Distribution destination in the project before you Build, or you can just use the Preview function to see what the build would do.  I've played a bit with the "Additional Exclusions" options, to no avail.  Note that we DO need to include sub-vis from vi.lib in order for our system to work, and that this is still OK in 8.2 and 8.5.  The DAQMX sub-vi's are only included when the conditional disable key is set appropriately.  In 8.6, they are included regardless of the Conditional Disable key, AND their inclusion results in a broken calling VI when the DAQMX driver hasn't been installed.
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.
    Attachments:
    Cond Dis 8.zip ‏24 KB

  • Applet using socket connection always go through proxy server

    Socket connection with socks always go through proxy server
    We have two applets in different codebases using socket to talk to each other, until now nothing new, but the problem is that we are behind a proxy server with socks and because of that, the connection always go through the proxy server even with proxy override point to the applet machine. We have tried a lof of things and until now nothing worked, it looks like the socket is ignoring proxy override configuration. We would like to know if there is a way to solve this problem making the applets comunicate to each other ignoring the proxy server. It should happen when we set the plug-in option to "no proxy host", but it doesn't. Maybe it can be a bug of JVM, I don't know, just maybe, and if it's true, any other good idea would be welcome as well.
    Thanks in advance.

    Hi,
    I am not very much sure if I can help you. In my previous experience, once you set the system property to use the proxy, then the jvm uses the proxy. If you want disable, in your code, you have to disable it.
    like System.setProperty("socksProxyHost","someHost"), Properties props = System.getProperties(); props.remove(("socksProxyHost");

  • Reporting Services through ISA server for All Authenticated Users

    Hello colleagues.
    I have MS SQL 2012 server with Reporting Services and it work via link:
    https://reports2.domain.com/reports
    In LAN all work fine, but I want publish this resource via ISA for All Authenticated Users.
    When in publish rule I configure (in Condition) "All users" - all work fine, but when I configure "All Authenticated Users" - I have trouble on web form on
    https://reports2.domain.com/reports/Pages/Report.aspx?ItemPat...  - scripts not work, because it run how "anonymous" (I see on ISA logging) and ISA block scripts.
    I can't use "All Users", because it's not secure.
    Maybe somebody publish Reporting Services through ISA server for All Authenticated Users?
    OR maybe - how on Reporting Services configure Negotiate authenticated for scripts?

    Hi Alexander,
    All users or applications who request access to report server content or operations must be authenticated using the authentication type configured on the report server before access is allowed. The AuthenticationType named RSWindowsNegotiate is supported
    by Reporting Services. To configure Windows Authentication on the Report Server, please see:
    http://msdn.microsoft.com/en-us/library/cc281253(v=sql.110).aspx
    Besides, we can publish report server via ISA server. Please note that you should use a new web port number with a new listener which shouldn’t be used by other web site for report server. Reference:
    http://social.technet.microsoft.com/Forums/forefront/en-US/1cc68996-1ce6-4d88-a30d-2bfd13fba06e/how-to-publish-ssrs-2008-through-isa-2006?forum=Forefrontedgegeneral
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support
    Katherine thanks for answer.
    Report Server service started as Domain account.
    I have in RSReportServer.config this:
    <Authentication>
    <AuthenticationTypes>
    <RSWindowsNegotiate />
    </AuthenticationTypes>
    <RSWindowsExtendedProtectionLevel>Allow</RSWindowsExtendedProtectionLevel>
    <RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
    <EnableAuthPersistence>true</EnableAuthPersistence>
    </Authentication>
    In web.config I have this:
    <authentication mode="Windows" />
        <identity impersonate="true" />
    I can go (from Internet through ISA) to
    https://reports2.domain.com/reports  and LogOn Authentication is work, but scripts not work, because it run how "anonymous" (I see this on ISA logging) and ISA block scripts.
    Do you know where in Reporting Services configure run scripts with Negotiate authentication?

  • I am unable to enable a device that was disabled through my account.

    I am trying to re-enable a device that I previously disabled through the members center.
    When I go the the list of devices I have added to my account I can see all of them. The device I am trying to enable again is greyed out indicating it is disabled. Clicking on this device opens a drop down menu showing the devices name, UDID and 2 buttons (Edit and Enable). When I try to click either of these buttons, there is no responce and nothing happens.
    Next to the title 'iOS Devices' there are 3 buttons, 'Add', 'Edit' and 'Search'. Clicking this edit button removes the greyed out device from my list until I cancel this attempted edit.
    I have also tried re-adding the device from the Organizer window in XCode. This only yeilds an error responce saying "This device '(UDID)' is already registered, but has been disabled. You can re-enable it from your list of registered devices in your account on the developer website." As I have already tried this I am all out of ideas.
    Can someone tell me what I am doing wrong, or if there is some way to re-enable my device. I need the device for testing my app.

    Supposedly you are on a good track trying to resolve this through the Member Center.  I too have this problem presently, and the only reference I found addressing enabling the previously disabled devices is in Apple's App Distribution Guide under 'Adding Devices to Your Provisioning Profile' > 'Troubleshooting', where it says: "If your device was previously registered but is disabled, enable the device using Member Center...".  Apologies if you have seen this already, but perhaps this is a good lead to explore the Member Center further.  As I have been so far unsuccessful in the above Troubleshooting advice, I wish to join ScottH87 and ask someone, perhaps from Apple, to suggest the resolution.  Thank you in anticipation.

  • Build application with conditional disabled VI's still tries to load them ...

    Hi,
    we have a big LV-project with some "conditional disabled" or with a "switch" unused VI's. But LabVIEW still tries to load them when building an application (even when they are not used). Is there a setting to prevent this behavior? Something like "ignore unused/missing VI's during built"?
    Thanks
    Peter

    The difference is disable structure and Conditional disable structure.  unconditionally disabled code can be broken as it cannot run.  Compare that to a case driven by a constant- the unreachable code is removed by the optomizer in certain conditions (We won't guess what conditions prohibit this optomization and it has been changeing a lot since 8.6 to 2013 I imagine it will continue to evolve) however, Because the optomization is not garanteed to occurr the unreachable code cannot be broken.  This is simillar to the conditional disable symbols- they are not evaluated untill runtime and the condition may depend on variables external to LabVIEW.  So, all cases must be compilable.
    @ Mike- Yup, I believe those symbols values CAN be manipulated external to the app instance (Certainly App.Kind comes to mind).  I don't have any experience doing that. 
    Jeff

  • Programmatic read access to (conditional disable) symbols in project

    Hi,
    I'm wondering if there's a way to achieve programmatic way to achieve a read access to the symbols defined within a project apart from the conditional disable structure? I have tried access via VI server, but haven't succeeded
    For me, it would be a nice way of passing certain enviroment settings....
    Thanks a lot!
    Oli
    Sorry this should've been posted to the LabVIEW board....
    Message Edited by Oli_Wachno on 04-12-2007 03:13 PM
    Programming languages don't create bad code, programmers create bad code....

    Unfortunately there is no other way to access the symbols via VI server. It is not possible to edit these symbols at runtime in general, which would not make sense, because these symbols are ment to give the user the opportunity to do conditional compiling, and so the state of these symbols needs to be set BEFORE the VI is compiled/started.
    You could accress the value of these symbols, by reading the .lvproj File directly. The .lvproj files are XML-Files, and there is a item called
    <Property Name="CCSymbols" Type="Str"> .XXX.</Property>  in the XML File. The XXX stands for the name and value of a symbol.
    You could use File I/O functions to access these values.
    Hope this helps!
    André

  • How to remove or disable "View Properties, Edit Properties Manage Permissions ..." from Shared/Personal Documents in My Site?

    Hello Community
        Using Sharepoint 2010 Server and the UI I created My Site.
        In My Content there is "Shared Documents" and "Personal Documents".
        On each one if you click the carat on the right, you will see
    a group of actions you can take.
        The actions include "View Properties, Edit Properties Manage Permissions" etc.
        How can I remove or disable "Manage Permissions" as an action on "Shared
    Documents and Personal Documents" on that My Site page and for when any
    other user creates a My Site page it not be there either?
        Thank you
        Shabeaut

    It is normal for users to have full control over the content in their personal My Site (this includes the Personal and Shared Documents folders). This allows them to manage access on their own site (e.g. for Shared Documents).
    On the MySite Host, users should not have the Manage Permissions right.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Help on printing through Output Server

    It seems that when I print from test presentment to PDF or to the local printer through my Output Designer, I get two pages printing out which is correct. When I compile and run the .dat file through Adobe Central server, I am having the same .dat file print out 5 pages with blanks on the second and 4rth page. I have the job setup with two tasks called PGCNTGET and PGCNTSET. I would assume if my test presentment to PDF and local printer are printing correctly, it should print correctly through the server. I did remove the PGCNTGET and PGCNTSET tasks from the job and only used JFMERGe and in that scenario it does print correctly but of course without page numbering. Can you please suggest on how to debug this in Central since I am not as familiar with Central Server.

    I've never used the PGCNT agents but debugging with Central requires that you set the "verbosity" for the agent(s) to
    i trace
    mode. This can be done using
    b Central Control
    on the server - which you may not have access to,
    b or
    it can be specified as an option for the task. If the task is defined in the job management database to include the
    b @OtherJobTokens
    parameter then it can be done using the
    b ^job
    line in the .dat file. For the print agent (JFMERGE) it is done with the
    b -v
    option (-v0 sets trace mode). If it is done using Central Control, then verbosity for the Print Agent would be set to
    b -10
    (don't forget to set it back to the current setting). The agent will then put all of its trace messages in the log file (usually jfserver.log) and you will need to get that file from the server (it is plain text). Note that there are some bogus messages and others are difficult to understand but it might point you in the right direction.

  • A10: remove or disable 3g-card

    Hello.
    We are preparing a roll-out of Tecra A10 at several sites.
    At some sites, we like to remove or disable the build-in 3g-card (Modell F3507g).
    For disabling the fingerprint-sensor we are using a very old version of tsuruwin.exe, but I do no see how to disable the 3g-card. Queries for a newer or better version were not answered by our toshiba-sales-guy but its only 4 months so I just have to wait a little longer.
    If the sales-guy does not respond, what are the options here?
    How can it be physically removed (and reinserted 3 years later when the lease is up?)
    Or is there a software solution? Not installing the driver is not an option because of our environment, for example we are allowing and supporting toshiba-unsupported operating systems, but some scripts do not behave well with a second "wired" local area connection (as windows calls them).. The scripts do work with one wired and unlimited "wireless" (as windows calls them).
    Yes, because of the pre-existing scripts I can "fail" the A10, that may cause some red faces but at least my backside is covered by papertrail.
    Thank you & bye.

    Totty1973, you stated that not disable the driver allowed as an option.  Appears since you have a commerical sales order, best to consult with Toshiba tech support direct so as not to void the warranty naturally, and gain their workaround to meet business needs basedon server and software configurations.  Best for your paper trail and less stressful for your position.

  • Error While executing a SSIS package which contains a script task through SQL Server Agent job

    Hi,
    I have a SQL Server 2012 SSIS package with a script task along with other tasks [data flow, execute sql tasks ]. When I manually executed the job through BIDS, its completed successfully. 
    Then I have automated the execution of the package through SQL Server Agent Job. But when I executed the package through SQL Agent job, it runs successfully for all the tasks except script task. When it comes to execute the Script Task, it is getting failed
    with the below error message.
    "Error: 2012-08-29 12:45:14.67
       Code: 0x00000001
       Source: Script Task 
       Description: Exception has been thrown by the target of an invocation.
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started:  12:45:10 PM
    Finished: 12:45:14 PM
    Elapsed:  4.353 seconds
    I have installed the SSIS on the 64-bit environment and SSIS service is running. Also I tried to run the job through 32 bit [job option] but I am getting the above error in all cases.
    Any help will be greatly appreaciated !
    Thanks,
    Navin
    - naveen.reddy

    Hi Arthur,
    My script task access the excel files in a network share, refresh them all and save them. When I execute the ETL manually or thru DTEXEC, it is executing successfully. I am facing the issue when I am executing thru SQL Agent Job only. Logging also showing
    the same error.
    "Error: 2012-08-23 12:45:14.67
       Code: 0x00000001
       Source: Script Task 
       Description: Exception has been thrown by the target of an invocation.
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started:  12:45:10 PM
    Finished: 12:45:14 PM
    Elapsed:  4.353 seconds
    - naveen.reddy

  • Unable to add/remove users in Mountain Lion Server (Options are greyed out)

    For some reason, im unable to add/remove users in Mountain Lion server. The + and - are greyed out. It seems like something is wrong with the permissons because it looks like it cant write the the Ldav3 file (although that may be speculation). Does anyone have any advice for me? I URGENTLY need to add users.
    Maybe theres a way to restore default permssions for the boot drive (if that in fact is the issue). Hopefully there is a way that I can fix this while leaving all users, groups, their permissions and shares intact.

    Anything interesting and relevent in the server logs?
    Anything interesting in the server alerts?
    Since it's far and away the most common cause of problems with OS X Server and with distributed authentication (Open Directory is entirely based on network encryption and digital certificates and on responses from your local DNS server(s)), verify your local DNS configuration is working and requires no changes with the following Terminal.app (Applications > Utilities) harmless, diagnostic command:
    sudo changeip -checkhostname
    sudo requires an administrative password.  You might get a one-time warning about the sudo, and that can safely be ignored.  The command will display some details, and indicate whether the local configuration appears valid and no changes are required, or further diagnostics for (most) common errors that can arise.

  • How can I remove a Disabled Extension not compatible with Firefox 4.0.1? I just want to remove it... I don't want to wait for a compatible update. Why can't I remove it?

    When I upgraded from 3.XX to 4.0.1, it informed me that 2 extensions were not compatible and it never gave me the option to remove them. Firefox 4.0.1 disabled them and now I'm not able to remove them.
    Also they were added by Acrobat Pro X (Adobe Acrobat - Create PDF 1.0) and Nokia Ovi Suite (Firefox Synchronisation Extension 7.3.4.51).
    These extensions won't probably be updated unless they update the software that installed them. With this said, How can I remove the disabled extensions? Why it doesn't give me a button to remove them to start with?

    I think it's not the problem of compatibility. Extensions installed into Windows registry won't have a remove button ( or it's greyed out ). For these extensions, you can have a look into these keys:
    HKEY_CURRENT_USER\Software\Mozilla\Firefox\Extensions\
    HKEY_LOCAL_MACHINE\Software\Mozilla\Firefox\Extensions\
    If you are under a 64bit OS as I am, you may also try this key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\Extensions\
    And you may find the registry entries corresponding to the extensions you want to remove. Just export them to a backup.reg, then delete these entries. Firefox will do the rest, but it seems that fx still leaves extensions.rdf untouched. You can also delete the RDF entries corresponding to those extensions inside extensions.rdf
    cf: http://kb.mozillazine.org/Uninstalling_add-ons#Windows_Registry_extension
    BUT the Wow6432Node key wasn't mentioned in the above article
    I had to search the registry to find out the entry corresponding to a Fiddler2 extension, then I found the Wow6432Node key. I also saw the Nokia Ovi Suite entry beside the Fiddler2 entry.
    Hope it helps.

Maybe you are looking for

  • PLZ  HOW I CAN T  USE THE COMPRESSOR AFTER FINAL CUT PRO X  WHY???????

    HOW I CAN EXPORT MY VIDEO FROM FINAL CUT PRO X TO COMPRESSOR TO YOUTUBE???

  • Modify ACH file format in F110

    Hi everyone I have to modify the ACH file format using PMW How do i proceed? Do I copy the function module FI_PAYMEDIUM_ACH_30 and add the necessary codes then assign it to event 30 in FBZP or there is a BTE to enhance the event modules? thanks a lot

  • Business Package related to Awards, incentives and certification

    Hi, Can anyone tell me if there is any business package available for various employee engagement functionalities, i.e Awards, Incentives, Recognitions, Certifications, Additional Benefits and Talent Mangement? I need to implement the above in Portal

  • Editing Frame by Frame

    I'm trying to find a turorial on how to edit an object out frame by frame. I know I can clone it out, but doing so creates a heat wave effect in the area since it's different per frame. Also, how do I click through every single frame to make sure I g

  • IPhoto 9 editing problem

    I just bought i photo 9 in December. It initially performed all right. Since doing Mac software updates a week ago, the editing function doesn't work properly. When I double click on a photo to edit, it spins for 30 seconds before responding. It will