MDS 2012 SP1 bugs/issues

hi all, 
working with MDS 2012 (SQL 2012 SP1 version), I've across quite a few pesky issues and was wondering if there is a workaround, or else need to work with the metadata tables, directly:  
1. it appears to me that the "generate code automatically" option, when creating a new entity, creates a "text" based attribute, even though, I'd think, it should create an INT type attribute.  How
can one correct that?
2. Also, when creating a business rule, one cannot rename it, and we get stuck w/ "New rule(1)"  etc.   Is there another way to rename the business rules?
3. How does one create an entity which has a compound column that determines the uniqueness?  Does one "generate code automatically" ("text" based) and then create a business rule after the fact,
enforcing the compound-column uniqueness?
Is there a published list out there of items that the are desired to be fixed, for this product?  seems that there are quite a bit of silly little cosmetic items that the product is missing.  :-) 
thx a bunch,
Cos

1. You should not care, as underneath there is a GUID created by MDS that it uses.
2. Double Click on the BR (in the grid , where all rules are listed) to change (I know does not follow the "pencil" edit ), same for changing priority of BR btw.
3. Can not generate Code that is = to Key1 + "-" + Key2 or something.
    Or you could create business rule to enforce it like you are saying. We do that here works fine, but during initial, on screen, creation of the row you have to put in something in the code say "X1" for Code, as soon as the row
is created BR runs and changes the value. If the new generated Code is not unique it will stay X1 though...
No list I've seen, try this to see what applies to MDS
http://search.microsoft.com/en-us/supportresults.aspx?form=mssupport&q=Microsoft%20SQL%202012%20updates
maybe this is a better page to look
http://support.microsoft.com/kb/2772858. I go through new builds and search for MDS or DQS for changes...

Similar Messages

  • SCOM 2007 R2 to SCOM 2012 SP1 upgrade issues.

    We have SCOM 2007 R2 on one of our development Environment.
    The plan was to upgrade to SCOM 2012 R2 so we installed the SCOM 2007 R2 CU5.
    We are having issues to upgrade now from SCOM 2007 R2 CU5 to SCOM 2012 SP1.
    While upgrading we received the below message:
    Unable to Proceed
    Setup is unable to proceed with installation for the following reason:
    At least  one of the following application is  installed on the computer.Due to incompatibility with system center 2012 - operations manager,these applications must be uninstalled.
    -System Center 2012 - operations manager beta
    -system center operations manager 2007
    -system center operations manager 2007 sp1
    --system center operations manager 2007 r2
    -system center service manager agent
    --system center essentials agent

    Hi,
    You cannot upgrade from SCOM2007R2 to SCOM2012SP1, you must upgrade to SCOM2012 and the upgrade to SCOM2012SP1
    Cameron Fuller has a blog:
    http://blogs.catapultsystems.com/cfuller/archive/2013/02/11/can-you-upgrade-from-opsmgr-2007-r2-to-opsmgr-2012-sp1-scom-sysctr.aspx
    Upgrading System Center 2012 – Operations Manager to System Center 2012 SP1
    http://technet.microsoft.com/en-us/library/jj899854.aspx
    "The only supported upgrade path to System Center 2012 Service Pack 1 (SP1), Operations Manager is from System Center 2012 – Operations Manager. If you are upgrading from System Center Operations Manager 2007 R2, you must first upgrade to System Center 2012
    – Operations Manager"
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • MBAM 2.5 integrated with SCCM 2012 SP1 compliance issue

    Hi,
    I have installed MBAM 2.5 in a SCCM integrated topology. GPO for encryption on the OS drive only have been deployed and encryption completed using the MBAM client. When running the compliance report and evaluating using the SCCM client the compliance comes
    back as non-compliant. I have tried several tweaks to the GPO but had no luck getting it to report as compliant. Using the dashboard report to try and pin point why it is non-compliant shows as non-compliant but using the reasons in the top right corner all
    have 0 instances.
    Is there a log file on the local system that can tell me what aspect is causing the status?

    In the Event Viewer, there is MBAM node, you will find all MBAM client events there.
    Also, review your GPO and see what encryption types are allowed and which are required. Maybe one reason would be, that your GPO requires something, which your client hasn´t done yet, like PIN code.
    I´ve seen issues with not being compliant to policy before, and there was some explanations of this, if you google around. I´m also intrested to get knowing this, because I couldn´t solve this compliance issue.
    For customer reporting, I just did query in SCCM where I listed ecrypted status and drive letters, that was a "customized report method" to tell customer, are all their Computers encrypted or not.

  • SCCM 2012 SP1 - Driver Issue

    Hi,
    I have weird issue while building a tough book machine (CF19 Mark 7)
    When i import and deploy the drivers as part of task sequence, all the drivers are getting applied but the screen resolution is completely blurring but if i change the monitor to true colour it works fine.
    I verified the display adaptor which has standard VGA adaptor. Is this driver causing the issue and i am not sure. Please advice
    Regards, Pratap

    Hi,
    It sounds like either the Display adapter driver did not install or is not included in a correct format in the drivers you imported. If you update the driver on the installed compouter using device manager from the drivers you imported does it work then?
    Regards;
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Excel 2012 SP1 plagin for Master Data Services - Bugs ???

    Excel 2012 SP1 plagin for Master Data Services 32bit or 64bit
    1.  
    My entity A has 50,000 records.
    Entity B has a domain attribute "City" from entity A.
    I successfully add new records to the entity B, but after refresh I cannot see any data in the domain attribute "City" for new records (empty cels)!!! Although in the Web client (or through SSMS in table)  I can see the data in "City"
    attribute (e.g. code_095 {Moscow}).
    If I reduce the number of records in the entity A to 20 000, then I see code_095 {Moscow} in Excel 2012 SP1 plagin for MDS.
    Bug???
    2.
    Why Excel 2012 SP1 plagin for MDS resets the format cells ???  Bug???
    3.
    I have created rows for my own headings (business captions) above the MDS-table in the Excel-worksheet.
    Excel 2012 SP1 plagin for MDS: Why after applying the filter (query from server) Excel-worksheet completely recreated ?
    And all my row headers have been removed!!! What the hell ?
    from Moscow with money

    Superbluesman, is this still an issue? This looks like a bug. Did you file a Connect Item?
       Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Issue while Upgrading vmm 2012 sp1 to vmm 2012 R2

    Hi,
    We are trying to upgrade the vmm setup to 2012 r2 ,we retained the existing vmm database
    While upgrading to vmm 2012 r2 , got the below warning message:
    "The VMM database contains one or more services in a failed state. Upgrading to VMM in System Center 2012 R2 is not recommended. Retry the upgrade after you have reinstalled VMM for System Center 2012 SP1 and repaired or removed these services. Click
    Cancel to exit the upgrade."
    Tried to find the bug using the vmm logs file like
    errlevel
    setupwizard
    vmmserver
    In erlevel log, the entry was "0".
    Any idea what the issue is????

    1. You just need CU3 - these are cumulative
    2. Sure, you can take a temporary snapshot. You need to take a SQL backup also.
    3. Don't forget to test the upgrade process on a copy of your site database (use /testdbupgrade)
    This guide may help you
    http://www.gerryhampsoncm.blogspot.ie/2013/10/in-place-upgrade-sccm-2012-sp1-to-r2.html
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Issue upgrading SCOM 2012 SP1 to SCOM 2012 R2

    I have been having a really fun time trying to get my test SCOM 2012 SP1 environment upgraded to SCOM 2012 R2.  I initially had an issue with the DB server not accepting connections to SMB which was causing the upgrade to fail stating database permission
    issues (that was a fun one to troubleshoot).  Once I figured out that problem I am now getting an error in the OpsMgrSetupWizard log that is stating the following:
    [14:46:47]: Always:
    :LaunchMsiSetup: Complete: 2 seconds
    [14:46:47]: Error:
    :LaunchMsiSetup: Failed, return code: 1612
    [14:46:47]: Error:
    :Error:Failed to uninstall previous MOM product on this machine, cannot proceed with upgrade
    [14:46:47]: Error:
    :Error:Failed to uninstall Operations Manager Agent on this machine. This is fatal error, we cannot proceed with upgrade
    [14:46:50]: Error:
    :LaunchMSI: MSI E:\Setup\AMD64\Server\OMServer.msi returned error 1603
    [14:46:50]: Error:
    :ProcessInstalls: Install Item Management Server failed to install.  We did not launch the post process delegate.
    In the application log I am getting the following error:
    "Product: System Center Operations Manager 2012 Server -- The Operations Manager management server cannot be installed on a computer on which the Operations Manager agent, Operations Manager gateway, System Center Essentials, or System Center Service
    Manager is already installed. These must be uninstalled to proceed."
    I have verified that I don't have any of these installed and have even gone so far as to remove my Config man agent and System Center Endpoint Protection just in case it was getting confused with System Center Essentials.
    I am at a loss as to what to try next.  Any suggestions?

    Hi,
    Check if you have the following registry. If so, please back it up first, then delete for a test.
     HKEY_CLASSES_ROOT\Installer\UpgradeCodes\C96403E8AD6025B4F9E1FE9C574E34AE
    Also, please uninstall MOM product and Operations Manager Agent manually to check the result.
    Upgrading System Center 2012 SP1 - Operations Manager to System Center 2012 R2
    http://technet.microsoft.com/en-us/library/dn249707.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Measurement Computing USB-DIO96H driver issue with Labview 2012 SP1 on Windows 7 x64

    Is anyone else having issues with measuremetn Computing's USB-DIO96H driver in Labview 2012 SP1. It throws warnings in Labview when loaded that are unresolvable as you can't save to the DLL driver file. Also it regularily crashes Labview randomly. I am not impressed with their driver. Anyone have any suggestion other than replacing with NI-DAQ solution, which I am working on?

    I've taken a look and I don't see any drivers available for that device on ni.com. There are two potential workarounds that would both involve building your own driver:
    1. Write a LabVIEW application that calls functions on the DLL you downloaded from Measurements Group
    2. Write a LabVIEW application that addresses the device using NI-VISA and serial communication.
    Some resources if you choose to go down that path:
    http://www.ni.com/devzone/idnet/development.htm
    http://www.ni.com/white-paper/3271/en/
    http://www.ni.com/white-paper/3009/en/
    Hope this helps!
    Rob B
    FlexRIO Product Manager

  • SCCM 2012 SP1 Beta Site System Roles Installation issues

    My apologies if this isn't the correct place to post this, but I didn't see any SCCM 2012 forums to post this. If there is a better place for this post, please direct me to the proper location. In the meantime this is my scenario:
    I am currently evaluating SCCM 2012 for our company. I have installed SCCM 2012 SP1 Beta on a test server running Server 2012 and SQL 2012. I am testing its ability to manage Windows 8. The server is a member of our company domain. I have enabled Active
    Directory Forest Discovery and CM has detected our forest and domain and set up boundaries automatically.
    I am trying to add the Application Catalog Web Service and Website Roles. When I start the wizard I get exclamation marks next to Active Directory forest and domain fields in the wizard. It shows our proper forest and domain names but won't proceed
    because it insists that the FQDN for my forest/domain is invalid. If I enter any other forest/domain name (e.g. yahoo.com, google.com, help-me.com) the exclamation marks clear and the wizard will proceed. SC seems to recognize our forest/domain name and
    denies it. Adding different suffixes (e.g. .net, .org, .local) changes nothing. I've even flipped our forest-domain name (e.g. "a-b.com" to "b-a.com": we have a "-" in our name) and it STILL denies it. If I add a prefix to the forest/domain name, the
    wizard is happy and lets me proceed (e.g. "domain.a-b.com") Did I miss something in initial setup? If this is a bug in the SP1 beta, how do I let anyone know about this? Any help/suggestions would be appreciated. Thanks.

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCOM 2012 Sp1 Cu4 Web Console issue logging

    Hi I am having an Issue with the SCOM 2012 sp1 Cu4 Web console,
    When logon to the web console its Says Singing IN,
    And the loops on Initializing....
    after a while I get this error,
    Please provide the following information to the support engineer if you have to contact Microsoft Help and Support :
    System.TimeoutException: [HttpRequestTimedOutWithoutDetail]
    Arguments:
    http://localhost/OperationsManager/Services/DataAccessService.svc
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem.
    See
    http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.00&File=System.ServiceModel.dll&Key=HttpRequestTimedOutWithoutDetail ---> System.Net.WebException ---> System.Net.WebException
       at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
       --- End of inner exception stack trace ---
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.Proxy.ServiceReference.DataAccessServiceClient.DataAccessServiceClientChannel.EndExecute(IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.Proxy.ServiceReference.DataAccessServiceClient.Microsoft.EnterpriseManagement.Presentation.DataAccess.Proxy.ServiceReference.IDataAccessService.EndExecute(IAsyncResult result)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.Proxy.ServiceReference.DataAccessServiceClient.OnEndExecute(IAsyncResult result)
       at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    I found that the only way to fix it previously was to completely remove IIS from the server and reinstall everything connecting to the Web Console, so far its not the best way to go as I keep getting this error after 2 days,
    Can anyone tell me how I would even go about diagnosing this?
    Kind Regards

    Got the same issue again with Update Release 2 for R2,
    then found this blog, but it did not help me, only guided me in a direction
    http://thoughtsonopsmgr.blogspot.com/2013/12/quick-fix-register-aspnet-40-with-iis.html
    What help me was to re-add the svc-integrated-4.0 by copying and pasting the info it, same with the ScriptModule-4.0.
    Don't know why that worked for me but this is a funny issue,
    I also don't recommend doing this, as it only worked for me.

  • Service Manager Authoring Tool 2012 SP1 Missing DLL's

    Hello All,
    Originally posed this to the MS partner forums and was asked to post here.
    I'm hoping someone familiar with the Authoring Tool For service Manager can help me. I'm using the Service Manager Authoring Tool 2012 SP1 found at the link below. I believe this to be the latest available.
    Although the splash screen says Service Pack 1 Beta? Hoping the dev forgot to update the splash screen.
    http://www.microsoft.com/en-us/download/details.aspx?id=36214
    I'm trying to create a new custom Service Request form and am getting prompted for some DLL's that seem to be workstation related or at least the Aerolite.dll makes me thing Windows Aero. (Could be wrong)
    I've successful created a new Management pack, and I created a new Class that inherits the properties of the Service Request Class. I've added all the properties I need for the new form. All is well no issues there.
    The next step is to create a new custom form. I select the create new custom form. Give it a simple name, and select my assembly then the form type. I'm then prompted for several DLL files that are not on my system
    and I'm not sure where to find them.
    The DLL's are:
    Microsoft.EnterpriseManagement.UI.ExtendedControls.Aerolite.dll
    WPFTToolkit.AeroLite.dll
    I can select cancel several times to get ride of the prompt for the DLL's and can customize the from without issues. I don't think this is correct but I have been able to create the form.
    Does anyone know where I can find the above DLLs? Am I doing something incorrect here? Is this a bug in the authoring tool? If so is there an updated version I should be using?
    I also receive the same prompt for DLLs when attempting to create a custom incident form....
    My test environment is running Server 2012 R2 with Service Manager 2012 SP1. Went ahead and tried this using the Service Manager 2012 SP1 Eval VHD and had the same issue...

    Hello Gabe,
    The following post provides some insight on the Aero DLL's.
    Hi Matt,
    The Aero dll is only available on Vista so the tool will not find it when running on a different OS (e.g. Server 2008). However, you can safely cancel out of that it does not affect the form.
    Regarding moving controls between tabs, unfortunately that's not supported this release.
    It sounds like you did everything right, so let us try your MP here and see if we can reproduce the crash you are seeing and investigate it.
    Thanks,
    Cori
    Another post regarding 'Beta' on the splash screen.
    Yes, someone forget to change the splash screen :)
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click here
    Can't post links to the full posts as this is a new account but I am sure you can find the referenced articles here on TechNet with the help of Bing or Google.
    Hope this helps.
    ~Nick

  • Trying to Perform an install of SCSM 2012 SP1 - SQL Analysis Services Not Installed

    I'm performing a clean install of System Center Service Manager 2012 on a Windows 2012 server.   The prerequisite checker told me the Analysis Objects were not installed.   I clicked the link and downloaded the SQL Server 2008 R2 Analysis
    Management Objects.   I restarted the install and it still says it's not installed.  I also tried installing the 2012 version of the objects and still no luck.  
    I also tried installing both the x86 and x64 versions of these tools.
    I have also tried the same install on a Windows 2008 R2 server and had the same error.  I'm convinced this is a bug in the setup.
    Has anyone else seen this?  Is it a known issue?

    Try to check the log file SCSMSetupWizardxy.log under C:\Users\<username>\AppData\Local\Temp
    perhaps it could not load Microsoft.AnalysisServices.dll assembly.
    12:23:55:**************************************************
    12:23:55:CheckPrerequisites: Checking Microsoft SQL Server Analysis Management Objects prereq.
    12:23:55:Entered RequiredAMO
    12:24:08:Trying alternate method of detection using Assembly.Load
    12:24:08:Error occured while loading Microsoft.AnalysisServices.dll: Could not load file or assembly 'Microsoft.AnalysisServices, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    12:24:08:CheckPrerequisites: Logic Type:and AMO-err: 2
    12:24:08:
    12:24:08:CheckPrerequisites: Microsoft SQL Server Analysis Management Objects: Failed
    12:24:08:
    12:24:08:**************************************************
    can you confirm if that assembly exists in the Assembly folder.
    on a side note: SCSM 2012 SP1 supports 2008 R2 SP1 or above, and double check that the account you are using to install the SM is a local admin.
     

  • What hapenned to the MJPEG codec in Vision 2012 SP1?

    NOTE:  This discussion is about the 64 bit version of the Vision toolkit!
    NI has re-vamped its AVI functions in the latest Vision toolkit (2012 SP1).  At first glance, the new AVI functions work fine.  At least the 64 bit version now has a wider selection of codecs to choose from (see this old bug that caused issues with codecs in prior versions).  However, something strange has hapenned to the codecs!!!
    Prior to SP1, I used the "MJPEG Compressor" codec.  Honestly, I know nothing about this codec except that it provided the best compression.  I don't even know if its a Microsoft codec, or is provided by NI.  But with that codec, I could get a smaller AVI file without compromising too much on image quality.  I typically used Quality=700. 
    However, with SP1, that codec is gone!  It appears to have been replaced with a codec named "Motion JPEG (NI Vision)".  And now I can't specify the quality!  Apparently, none of the "NI Vision" codecs allow you to specify the quality. Wow, what a pain! 
    After reviewing all the available codecs, "Motion JPEG (NI Vision)" is still the best option compared to the others.  But now I can't change the Quality!  This basicaly means that its actually BETTER for me to use older version of the Vision Toolkit.
    Can I get a response from NI on this issue?  Assuming that is the same old MJPEG codec as before, why was the "Quality" parameter removed for it? 

    Greetings, Josborne;
    While I do not know whether the MJPEG Compressor or the Motion JPEG (NI Vision) codecs are actually the same, it would seem that the 2012 SP1 readme does mention the fact that the compression inputs in Codecs installed by the Vision Development Module will not have that Quality input (under the Known Issues section)
    http://download.ni.com/support/softlib//vision/Vision%20Development%20Module/2012SP1/readme.html
    I will thus inform myself as to what might be going on there and as to whether that might or not be changing.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • Multicast not working SCCM 2012 SP1

    Hi,
    Am having issues getting multicast working with SCCM 2012 SP1 / Server 2008 R2.
    We have followed all the guidelines in this forum but still no joy
    - Multicast setting enabled on DP
    - Multicast Enabled on OS Image
    - Task Sequence set to down content when needed
    - SCCM DP and Client are on same VLAN to rule out routing issues
    - Network team confirm all ok there end anyway
    - Boot images / WDS and PXE are all healthy
    The PC Boots via PXE ok and runs our windows 7 task sequence, when the task sequence starts it says "Opening multicast session" for about 5 seconds and then disappears. Its as though it tries but then fails. Unicast works fine.
    I then set the OS image to "Only use Multicast" which produces the following error in the client SMSTS.log
    reply has no message header marker
    Failed to open session request (Code 0x80004005)
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    ClientRequestToMCS::DoRequest failed. error = (0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Request to MCS 'SererName' failed with error (Code 0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Multicast OpenSessionRequest failed (0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Sending status message: SMS_OSDeployment_PackageDownloadMulticastStatusFail
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Any idea on how we get this working ?
    Thanks

    The logs related to multicast that you'll see on the site server are:
    mcsisapi.log
    Records information for multicast package transfer and client request responses.
    Site system server
    mcsprv.log
    Records multicast provider interaction with Windows Deployment Services (WDS).
    Site system server
    MCSSetup.log
    Records details about multicast server role installation.
    Site system server
    MCSMSI.log
    Records details about multicast server role installation.
    Site system server
    Mcsperf.log
    Records details about multicast performance counter updates.
    Site system server
    http://technet.microsoft.com/en-us/library/hh427342.aspx
    >>  Network team confirm all ok there
    end anyway
    This is something to double and triple check.  If Multicast is not enabled on the routers/switches properly, this will not work.  If there is a firewall between the client and the distribution point that doesn't have the Multicast ports open, this
    will not work.
    Client -- > Distribution Point Configured for Multicast
    Description
    UDP
    TCP
    Server Message Block (SMB)
    445
    Multicast Protocol
    63000-64000
    http://technet.microsoft.com/en-us/library/hh427328.aspx
    I hope that helps,
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • LabVIEW 2012 SP1, Can't get correct mechanical action on boolean buttons

    I am trying to use boolean buttons and events to programatically change the properties of a graph.  I basically want to click a button on the FP, and have the graph change the desired property.  All the property changing is fine, but I am really struggling with the mechanical action of the buttons.
    I'll preface this by apologizing that I cannot post my code, as the computers with LV installed are isolated. My code is basically OK buttons, a while loop, and an event structure with a value change event for each button.
    I want the user to click and release the button. After the click and release, I want the button to be in the same state it started, and I want the value change event to only trigger once.  Sounds to me like I want the Latch When Released mechanical action.  The problem is that this isn't working.  I cannot create buttons that behave like this.  None of the 6 mechanical actions exhibit the desired behavior.
    To make matters worse, I have two OK buttons both set to Latch when released.  Both buttons are True before the click. One button behaves as intended (button is true again after the click and release) and the other button doesn't switch back.  I tried to copy the correctly working button, but still the copied button does not work the same as the original.  Both buttons fire a single value change event, dispite behaving differently.
    To answer the question "Where did I get the working button from?"  A while back I made a simple button test vi that tested all 6 of the mechanical actions and kept track of how many times they fired a value change event for a single click.  My buttons worked when I made this vi...eventually, i remember having trouble with this back then too.  The results of that trouble had me using switch until released buttons with mouse down events for a long time, until I got the button test VI working properly and learned how buttons actually work. But now buttons are being funny again.  I tried to copy working Latch when released button into my current program, but for some reason only one of the two copied buttons work as intended, despite them being copies of the same button.
    Is there some bug in LV2012 SP1 (64 bit) where mechanical actions don't work consistently?  Am I just being dumb?  I'm sorry I can't post the code.  I have this issue on both Windows 7 and Linux.
    A bit more info, as I wanted to make sure I tried eveyrthing before posting.  I tried to make a new button test VI.  The old one still works, but I cannot get the buttons in the new button test vi to behave the same as in the old one I made.  In the new one, Latch when pressed behaves the same as switch when pressed, and latch when relased behaves the same as switch when released.  Switch until released and latch until released behave slightly differently.  They both fire two value change events, but SuR actually switches twice (there and back again), where LuR just switches state once but still fires two value change events anyway.  I have checked to make sure the mechanical actions are set properly at least a dozen times.
    Pretty confused over here.  My old button test vi works as I expect it to, and the Latch when released button works like I want, but I can't for the life of me reproduce it.

    To Bob_Schor
    I realize the folly of mouse down events, and I'm trying to move away from them.  I originally started using them because I couldn't get the desired button behavior out of value change events and any other mechanical action.
    I use LabVIEW 64 bit because I was hitting the RAM limits with the 32 bit version.  I hit the limit when I try to plot a great deal of data in 3D, which I do fairly often. I get away with this because I don't interface with any equipment or use any of the specialized modules, but maybe I should consider only using 64 when it's absolutely necesary and get 32 bit on there as well.  But I have the same issue on Linux, which only has a 32 bit labview version (still 2012 SP1)
    There is only one event structure in the program.  I have two buttons because I'm just using them to fire two separate events.  My current situation is that I am plotting 9 plots on a single graph.  One of these buttons is a "check all" button for the visibility check boxes.  I click the check all button, and all 9 plots become visible.  The other button is an "Uncheck all" button, which does the opposite.
    That's for my current program.  I also have a button test vi which has 6 boolean buttons, each set to a different mechanical action.  A single event stucture in a while loop has a value change event for each button.  I made this so that I could see for myself how the buttons worked (i.e. I see that the switch when released mechanical action produced two value change events.).  I have an old version of this program which works as I expect it to.  This morning I tried to remake it (it's very simple) and it does not behave the same, despite the block diagram being pretty much identical.  I described the differences in the OP.
    I can reporduce the behavior on a second computer that is restricted.  Which is 32 bit labview for Linux. I don't have an unrestricted machine with LabVIEW installed.  If I did, I would have tried to rebuild my button test VI  (again) to see if it works.
    At it's most basic, create an OK button on the FP and set in the True state.  It defaults to the Latch when released mechanical action.  Throw an event structure in a while loop.  Give the ES a value change event for the button.  In this even just increment some counter to indicate how many times the value change has been triggered.  I did this using a shift register.  Run it.  For me, when I click the Latch when released button it fires one value change event and doesn't reset to true when after the click.  I can change the mechanical action of the button, and none of the 6 give me what I want.
    So my issue just boils down to Latch when released not behaving properly.
    In my original button test vi (which was this with 5 more buttons and 5 more value change events in the ES), the latch when released button DOES reset to true after my click.  Copy and pasting this button creates a new button which does not behave the same way, despite still being set to latch when released.
    My problem is not so much with the events, but the behavior of the button.  Am I correct that Latch when released is what I want?  A single click, and the button fires one VC event and returns to the same state before the click?

Maybe you are looking for

  • I recently reloaded iLife11 and now when I go to open iPhoto it says I can't open it because the application "may be damaged or incomplete". Any suggestions?

    I recently reloaded iLife11 and now when I try to open iPhoto I get a message that says I can't open it because "it may be damaged or incomplete".  Any suggestions?

  • "Edit Distribution" doesn't open a window for edits

    I know that to choose which address to use for someone in your address book who has multiple email addresses, you need to open "Edit Distribution."  (FYI, I'm not in icloud and am not using smart groups.)  When I click on "Edit Distribution" absolute

  • Problem using SAAJ with Applets

    This method to do a SOAP connection call does not work within a Applet -- but it works fine otherwise. Any help would be appreciated. Thanks. public void execute() {      try {          SOAPConnectionFactory           soapConnectionFactory     = SOAP

  • Problem sending PDFs documents

    Hi guys Occassionally, complaints are received that customers cannot open certificates sent by us,  Some of the PDFs can be opened, some cannot. According to Adobe Reader, the format is not supported. In J6NY, I can open the stored certificate, so th

  • Insert Data in a Oracle VAARAY

    Hi I'm trying to insert Data in a Table with an VARRAY Attribute. Here is my Model: CREATE OR REPLACE TYPE TelNrTyp AS ARRAY(10) OF NUMBER(20); CREATE OR REPLACE TYPE AdresseTyp AS OBJECT (Strasse VARCHAR2(20), TelNR TelNrTyp); CREATE OR REPLACE TYPE