GOOP VI "set modified data" locks LabVIEW for seconds

I use GOOP.
Sometimes the VI "set modified data" (from now on SMD) of one of my GOOP classes is locked for about 15 seconds, while CPU raises to 100%.
It happens when SMD is called from a certain VI. It does not happen every time SMD is called from this VI.
As I have understood GOOP, the VI "get data to modify" tries to access/lock the data members - which might take a while if the the data members are currently locked by another VI - but SMD only sets the data members and removes the lock, which should always be possible (at least if the data set has been locked by this VI, which - yes! - is the case).
Other VIs are running in parallell, maybe they could cause the CPU to raise to 100% but I find it strange th
at it only happens when SMD is called from this particular VI.
I think I need a better understanding for how SMD really works.
Regards

Hi,
Your description of how "get data to modify" (from now on called GDM) and "set modified data" works is correct and you have fully understand how it all works. The only VI that actually may wait is the "get data to modify" (happens if the data for the object is locked by something running in parallell as you describe). The GDM is however reentrant so that it really will be able to wait for seconds (specified by the timeout) and also letting other process wait as well using the GDM. The SDM is not reentrant (does not have to) and should really execute fast (set data and unlock) and never hold execution, just as you describe.
Are you absolutly sure that it is the SMD that cause the CPU to freak out? Maybe the fact that you unlock the data releases ano
ther part of your program that were "hanging on the lock" and the problem is actually in another part of the program. Do you have some exceptional large size of your data? Do you somehow elaborate with VI priorities and/or reentrant VIs. This might sometimes really cause strange situations. The situation you describe looks more like a "race" problem.
The SDM problem you describe is new to me and I have never encounted it. Would it be possible for you to attach some LV code example showing the phenomenon?
Best regards,
Mattias Ericsson
Endevo Sweden
(member of the GOOP developer team)

Similar Messages

  • How to set the Data Synchronisation mode for ADF BC component?

    Hi All,
    How to set the Data Synchronisation mode for ADF BC component
    Thanks
    Raghavendra

    Can you clarify what you mean by the data synchronization mode?
    If you mean the Sync Mode, then in 10.1.3 you set this property by:
    1. Selecting your DataBindings.cpx file
    2. Expanding the "Data Control Usages" section in the structure window
    3. Selecting the ADFBC-based data control
    4. Setting the "syncMode" property in the property inspector.

  • How can I read the trace data into LabVIEW for E5071B

    HI 
    I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
    Many Thanks

    You want to start with the driver
     In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it.

  • How do I set up a lock code for my Nokia C2-02?

    Hi, I have a used Nokia C2-02 phone from a seller on eBay.
    I wish to protect my privacy so that other people cannot access my texts, etc.
    When I go to 'settings', 'security', and click on 'access codes', in order to set up a lock code,  the display says'change security code'.
    When I ckick on it, I get a request for my security code.
    Twice now I have keyed in'12345', which I take to be the default code.
    Each time I get an error message and the second time it said that I have only one more chance to key in the correct code.
    Perhaps the previous owner had a code, which I take to be the same as a security keyguard code.
    When I go to 'device' in 'settings', it says that the security keyguard is off.
    I can switch it on, but to activate it I again need to key in a code.
    Am I corect in thinking that either someone has alrerady set up a code or the default code is not '12345'?
    Also, What can I do to set up my own code?
    Fianally, What if I use a pin code? Will that protect my privacy?
    Do I have to get in touch with my network provider ( Tesco Mobile) in order to set it up?
    I'd appreciate any help anyone can give,
    Laurence
    Solved!
    Go to Solution.

    If I used a  pin code instead, would it protect my privacy?
    would it stop those without the code reading my texts and so on?
    PIN Code is basically for the SIM card and not the phone. Talking of privacy, your phone will be fully explorable if the SIM card is removed, so PIN scenario is pretty wasteful. Majority of the phones only ask for the PIN code when the phone is started and register the SIM to the network only wen PIN is furnished.
    If It does not work I could find that I have locked the phone, which could necessitate sending it to the Nokia Care centre.
    This is where the online free service may come in. It claims that it can find the security mastercode for any individual phone, based on the IMEI number, which you access by keying in asterisk, hash, 06, hash, or by taking the back off the phone and looking inside.
    Armed with the 10-digit mastercode you key it in and it unlocks the phone.
    That, at least, is the claim, but on another mastercode site there's a warning that the mastercode works only for older models.
    I have my mastercode, but I don't know whether to take the chance.
    Does anyone have any views on this?.
    , Cheers, Laurence
    Unfortunately, these type of Master Codes do not work. If ever they worked, the phones would become too easy to break in. As far as I can remember, I have not seen any person with a claim that one of those Master Codes worked for them. Maybe they worked for very very old 1st gen devices from Nokia, but not anymore. The security code is based on what user enters in the settings and there doesn't exist any master code to over-ride that. If it would, Nokia Care should be making use of that instead refurbishing/flashing the phones in every case that called for Keyguard Code.

  • How can I set Excel Data In LabVIEW

    Hi,
    There is an example about  how to use LabVIEW and ActiveX to programmatically read in Excel data. It uses Range and then by reading Value2 it is possible to read excel values in that range in a specific sheet.
    http://www.ni.com/example/28409/en/
    Now I would like to write data ( 2D string ) to specific excel sheet. Could you please let me know if there is a way to modify this code to use it for writing to Excel instead of reading
    I actually would like to write 2D data to specific sheet of an Excel form. The Read_Excel_Values.llb works perfect for opening an Excel file, specify a sheet and then read the data but I would like to write instead of read.
    Thanks 

    Hi Tintin,
    Please find the attached VI where i tried to write a 2d array using activeX functions to an excel sheet.
    Regards,
    Srikrishna.J

  • Group data locked error for MM01 using parallel processing

    Hello gurus,
                       I am using Call txn method (MM01) Parallel Processing method ( around 9 threads ). The Materials are getting locked around 10 percent sometimes.
    This is happening randomly ..one day i dont have any locking errors ..next day i have ...Any ideas why this could be..any prereq i need to check before executing the parallel processing..
    Thank you in advance..
    sasidhar p

    Hi Sasidhar
    I guess you are either extending the Sales Data or MRP Data. Just make sure that you are processing these transactions in a linear form for a single material. We can use parallel processing for different materials but for a single material if we go for parallel processing we can definetely expect the Lock Objects error.
    Kind Regards
    Eswar

  • Unable to collect real and imaginary data from labview for hp8510C

    Hi,
    I have been trying to use LabView to collect data from hp8510C. I downloaded the drivers from NI website. I am able to sweep frequency (using vi called Agilent 8510C Frequency Sweep.vi) and see different S parameters on Network Analyzer screen but I am unable to collect any data (real and imaginary values). Please help.

    Howdy deepi,
    I'd like to know a little bit more about how you're connecting to your instrument (GPIB, serial, USB, Ethernet).  NI has a great program called Measurement and Automation Explorer that can check low level functionality (*IDN?) of your device to ensure hardware functionality.  For general help with LabVIEW, check out Instrument Control in LabVIEW.  For some more instrument specific help, try GPIB, USB, Serial, or Ethernet Instrument Control.  This should get you going. 
    Sincerely,
    Chris G in AE

  • Modify DATE format only for a column

    DB table has two or more columns of DATE type of which a column representing "Date of Birth" should not be of the format of TIMESTAMP . When queried it should return "mm/dd/yyyy" format without 'hh:mm:ss' . The others should be as usual.
    This is to ensure no changes in the applications querying this columns
    Any hints appreciated
    Thanks

    It depends on NLS_DATE_FORMAT and NLS_TIMESTAMP_FORMAT that is set in the database or session and the datatye used in the table, here is an example:-
    U1@BABU>  CREATE TABLE TEST_TAB (DATE1 DATE, DATE2 TIMESTAMP);
    Table created.
    U1@BABU> INSERT INTO TEST_TAB VALUES (SYSDATE,SYSDATE);
    1 row created.
    U1@BABU>  COMMIT;
    Commit complete.
    U1@BABU> SELECT * FROM TEST_TAB;
    DATE1 DATE2
    22-DEC-06 22-DEC-06 11.44.18.000000 AM
    U1@BABU> SELECT * FROM NLS_SESSION_PARAMETERS;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CURRENCY                   $
    NLS_ISO_CURRENCY               AMERICA
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE              AMERICAN
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              $
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSE
    17 rows selected.
    U1@BABU> ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
    Session altered.
    U1@BABU> SELECT * FROM TEST_TAB;
    DATE1 DATE2
    22-DEC-2006 11:44:18 22-DEC-06 11.44.18.000000 AM
    U1@BABU> SELECT TO_CHAR(DATE1,'MON-DD-YYYY HH24:MI:SS') DATE1, TO_CHAR(DATE2,'Month DD YYYY') DATE2
    FROM TEST_TAB;
    DATE1                DATE2
    DEC-22-2006 11:44:18 December  22 2006

  • SAPUI5 : How to set the date value format for DateTimeInput?

    Hi SAPUI5 experts:
    I'd like ask 2 things regarding the control: sap.m.DateTimeInput
    1: Here is I want to do: show the current date (May 1, 2014) in the control in format as "01-05-2014". But by default the following code shows "May 1 2014". How can I show it as "01-05-2014"?
    var oDateTimeInput = new sap.m.DateTimeInput({});
    oDateTimeInput.setDateValue(new Date());                   //shown as "May 1 2014"
    2. Can someone explain what difference is between the following settings of DateTimeInput?
       ValueFormat
       DisplayFormat
    Please write a short code example.
    Thanks very much in advance!
    Br,
    Dong

    Hi,
    to understand ValueFormat and DisplayFormat, you can refer this example from ui5 testsuite sap.m.DateTimeInput and check the source code.
    in one of the example, this is how valueformat and displayformat is used.
    // free style date value assingment according to valueFormat
                                                    dti3 = new sap.m.DateTimeInput({
                                                                    value : "05-29, 2012",
                                                                    valueFormat : "dd-MM, yyyy",
                                                                    displayFormat : "dd MMMM, yyyy",
                                                                    width : "20%",
                                                                    change : function(e) {
                                                                                    console.log(dti3 + " : " + e.getParameters().newValue + " # " + e.getParameters().newDateValue);
    also in both cases, Default value is taken from locale settings.
    Regards,
    Chandra

  • Identifying modified data and prevent a second submit in a page

    I'm having two problems.
    The first one is how i can know if a user modified the data in a form, when he is passing from a tab to another? because if he has modified anything, i need to ask if the data will be saved or the changes will be discarted.
    The second one is to prevent a user if he tries to click again in a button, until the response arrives, prevent a form's second submission. I've tried to use the block attribute of the commandlink and commandbutton, but it doesn't work.
    Thanks
    Ricardo Alonso

    Try this :
    http://stegemanoracle.blogspot.com/2006/03/re-usable-prompt-to-save-changes.html
    "One other issue that we faced was how to determine whether the page had unsaved changes, or was "dirty," in colloquial terms. It would sure be a pain to have to compare each field's value with the database to determine if the record was dirty. After playing around, we noticed something... if you drop a commit button from the data control palette on to your page, by default it is only enabled if there are changes that need to be saved... hmmm... that looks like some behavior we could use. In that commit button, the "disabled" property is set to "#{!bindings.Commit.enabled}" so it turns out we can use that EL expression to determine if there are changes to save or not. The only requirement is that each page needs to have a Commit action binding"

  • Looking for a third party utility to replace a file's "modified Date" field

    For video files, apparently the organizer displays the thumbnails with the date taken from the file's "modified date" field. For some wierd reason (which I'm discussing with Adobe CS) the organizer changed the date of all my videos in the "modified date" field, so now the chronology of all my video clips in the organizer went down the drain.
    Is there a third party utility to replace the "modified date" field of a file with the original shot date? (which in W7 is shown in the "Date" field).
    In other words: for every video file in my library, I want to take the date from the "Date" field and put it in the "Modified Date" field
    Thanks for your help.

    OK thanks.
    I've found a utility that modifes several of the date fields.
    Now, I just want to be sure that I don't screw this up...
    Which of the several date fields of a file holds the actual shot date?
    Which of the date fields is used by the organizer to "organize" the video files (avi and mov's) chronologically?
    Thanks for your help

  • Reminder app not working correctly, issue started around Sept. 1,2014. Will not allow me to set date and time for a reminder.

    Today I noticed an issue with my Reminder app on my IPhone 5s. Using OS 7.1.2. I called Apple, and the tech didn't know what he was doing and just trying different things.The reminder app will not let me set a date and time for reminder. Finally he escalated the call to a senior advisor who was rude, arrogant and unprofessional. He insisted the Reminder App was updated with the new update of IOS September/October 2013. Not true, the issue just started about 5 days ago August 31,2014. Now there is an additional reminder line for reminder entries that I have to use and have to transfer all my reminders manually from the other part of the app. The feature does exist; if I try to set a date and time for the reminder it appears for 1-2 seconds and then disappears.
    Has anyone else noticed this issue?

    He insisted the Reminder App was updated with the new update of IOS September/October 2013. Not true
    Yes, it is true.
    iOS 7 was released 18 Sep 2013. At this time, the Reminders app was updated (with most everything else).
    the issue just started about 5 days ago August 31,2014.
    Your issue just started but the app was not updated 5 days ago.
    Now there is an additional reminder line for reminder entries that I have to use
    I don’t understand what this means...
    Open Reminders, type the reminder, tap the i at the end, turn on Remind me on a day and enter the date/time.

  • Using MVC - One model for each set of data, or one model for all?

    Hi there,
    I'm using MVC for my app, which pulls data from other sites, (news, blogs, video, twitter). Would I have a model for each set of data, or one for all that fires differint events depending on the data?
    Thanks in advance!

    Attached please find the screenshots and help me out. You can maximize to view em.
    Thanks,
    Attachments:
    Air water2000.vi ‏490 KB

  • How to find Majority from a set of data

    Dear Oracle Guru's
    I have a set of data something like for example
    Payment Amt which has data like this (45,53,46,45,52,45,63,45,44,45,41,45...)
    I have to find the Majority Payment amt .in my given example it is 45 ... i.e Maximum occurrence.
    I couldnt get it correctly . I thought of AVG , and MEDIAN .... but not exactly correct
    Is there any other method or function which is eluding me
    Kindly help me out of this
    With Warm Regards
    ssr

    May be this ->
    satyaki>
    -- Start Of Virtual Table For Data --
    satyaki>with temp
      2  as
      3    (
      4       select 45 amt from dual
      5       union all
      6       select 53 from dual
      7       union all
      8       select 46 from dual
      9       union all
    10       select 45 from dual
    11       union all
    12       select 52 from dual
    13       union all
    14       select 45 from dual
    15       union all
    16       select 63 from dual
    17       union all
    18       select 45 from dual
    19       union all
    20       select 44 from dual
    21       union all
    22       select 45 from dual
    23       union all
    24       select 41 from dual
    25       union all
    26       select 45 from dual
    27    )
    -- End Of Virtual Table For Data --
    28  select amt,
    29         count(*)
    30  from temp
    31  group by amt
    32  having count(*) = ( 
    33                  select max(count(*))
    34                  from temp
    35                  group by amt
    36                 );
           AMT   COUNT(*)
            45          6
    Elapsed: 00:00:01.05
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • HOW DO I SET THE DATE AND TIME ON MY HP OFFICEJET 8600

    just bought the HP officejet 8600 all in one printer, and I cant seem to set the date and time for the fax portion of the printer, please help.

    Set the date and timeOn the control panel, touch the Right Arrow ( ), and then touch Setup ( ).Touch the Down Arrow ( ), and then touch Preferences .Touch Date and Time: , and then touch the Up and Down Arrows ( ) to set the month, day, and year.Touch Done , and then touch the Return Arrow ( ) to return to the Preferences menu.Set the language and country/regionIn the Preferences menu, touch Language .Touch your preferred language, and then touch Yes to confirm your choice. The product returns to the Preferences menu.On the Preferences menu, touch Country/Region , and then touch your specific country/region.Touch Yes to confirm your choice, and then touch the Home icon ( ) to return to the main menu.

Maybe you are looking for