Performance of DIAdem to brake with the only value of GPI-pilot

Hi all

I have a big problem:

I developed a GPI-driver as a single value driver in a DLL. I would like to display and store a large amount of data but DIAdem is slow (or have enough CPU time) to process the data, coming from driver.

In the my current DAC configuration I use two blocks of entry saw 19 and 16 channels (all of type double) and receive values measured in different data sources, in my case a socket (stl::socket) and a local file (istream).

Each data source is implemented as a thread and work conversion (MSB - LSB) and buffer incoming data socket and file stream. Each block entry in my plan of DAC is connected to a particular data source and a separate clock system. The blocks of entry, receiving data in "Blockmode" (clock, external clock) by DAC-core transfer via the method InputValueGet of the GPI.

For some tests, I used some channels to view internal information about the drivers:

-InputValueGet tiara MaxScanNumber

-Current Buffersize to the related worker thread

What I see is that the buffer size of the wire increases very quickly, but tiara is not beeing get data with appropriate speed. He wants only to between 200-300 scans to a call of InputValueGet.

In addition, I did a few tests using the windows performance monitor. What I see is beeing created just two threads and DIAdem manages nearly 100% CPU load. Son beeing all DLLS stopped correctly after the course of the measure.

What can I do to improve the performance of tiara?

Best regards

Jörg.

First problem is resolved:

A PLUG in the worker thread was not in a "non-blocking" mode where the call to recv (...) on this blocked and therefore DIAdem was always running at 100% CPU-Time during the measurement.

Tags: NI Software

Similar Questions

  • An update on an index column with the same value generates an index to the top

    An update on an index column with the same value generates an update of the index?


    Thank you

    In addition to my previous answer, see also

    http://orainternals.WordPress.com/2010/11/04/does-an-update-statement-modify-the-row-if-the-update-modifies-the-column-to-same-value/

    Riyaj Shamsudeen has this to say:
    "+ We have an index on this column v1 and we update this column indexed too." Oracle was updating the indexed column? N ° if the values match the level of the indexed column, then the code of RDBMS isn't up-to-date index, a feature for optimization again. Only the row of table is updated, and the index is not updated. + "

    Hemant K Collette

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please

    When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please
    use widows xp

    Hello

     
    1. Have you tried to Hibernate for ever in the power settings option?
     
    To resolve this problem, you can follow the steps below.
     
    (a) click and start
    (b) type power Option in the start search bar.
    (c) now select click Change plan for the current plan of the selected power.
    (d) now click on advanced power settings.
    (e) scroll down and click on the sign more next to sleep.
    (f) now click on allow the eve hybrid and turn it off.
    (g) click on the option put into hibernation after and set it to never.
     
  • Updated with the hash values column

    Hi all

    I have a requirement to add a column to a table and fill it with the hash values. The table contains an xml column and hash value of this column need to be filled to newly added column. I think that the ora_hash function will not support the xml type column. Just tested with the following script and it works.

    update TBL_COMPONENT_XSL set hash_val = ora_hash((SELECT TCX.COMPONENT_XSL.getStringVal() FROM TBL_COMPONENT_XSL TCX where rownum =1));
    

    can you please suggest me how to fill the column with the hash values.

    SQL> desc TBL_COMPONENT_XSL
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     COMPONENT_XSL_ID                          NOT NULL NUMBER(18)
     LINE_OF_BUSINESS                          NOT NULL VARCHAR2(30)
     ORDER_SOURCE                              NOT NULL VARCHAR2(10)
     COMPONENT_NAME                            NOT NULL VARCHAR2(30)
     COMPONENT_SCHEMA_VERSION                  NOT NULL NUMBER(9)
     ACCESS_LEVEL                              NOT NULL VARCHAR2(30)
     COMPONENT_XSL                             NOT NULL SYS.XMLTYPE STORAGE BINARY
     DESCRIPTION                               NOT NULL VARCHAR2(200)
     HASH_VAL                                           NUMBER
    
    

    HASH_VAL is the newly added column.

    Thank you

    Mani

    What happens if you try with:

    update of TCX TBL_COMPONENT_XSL set hash_val = ora_hash (TCX.COMPONENT_XSL.getStringVal ());

    update of TCX TBL_COMPONENT_XSL set hash_val = ora_hash (TCX.COMPONENT_XSL.getClobVal ());

    Index: http://www.orafaq.com/forum/t/70829/

    Concerning

    Girish Sharma

  • Parameters of the obsolete system with the specified values:

    Hello

    I'm in the alerts log below:

    Parameters of the obsolete system with the specified values:
    REMOTE_OS_AUTHENT

    It IS this setting is suppotable in 11G and also how can I remove it from SP. with bounce of the instance.

    Thank you...

    (1) it is frowned upon in 11 g such as er your alert log message. http://docs.Oracle.com/CD/B28359_01/server.111/b28320/initparams199.htm

    (2) define it in your spfile false who will return to the default value. This cannot be changed dynamically and you will need to restart your instance.

    alter system set remote_os_authent=false scope=spfile;
    
  • How to compare the new values with the old values in triggers.

    Dear all,

    Please tell me how to compare the new values with the old values in triggers.

    Hi, the employee example is in the document. You'd better read yourself.

    CREATE OR REPLACE TRIGGER Print_salary_changes
      BEFORE DELETE OR INSERT OR UPDATE ON Emp_tab
      FOR EACH ROW
    WHEN (new.Empno > 0)
    DECLARE
        sal_diff number;
    BEGIN
        sal_diff  := :new.sal  - :old.sal;
        dbms_output.put('Old salary: ' || :old.sal);
        dbms_output.put('  New salary: ' || :new.sal);
        dbms_output.put_line('  Difference ' || sal_diff);
    END;
    /
    
  • update to column values (false) in a copy of the same table with the correct values

    Database is 10gr 2 - had a situation last night where someone changed inadvertently values of column on a couple of hundred thousand records with an incorrect value first thing in the morning and never let me know later in the day. My undo retention was not large enough to create a copy of the table as it was 7 hours comes back with a "insert in table_2 select * from table_1 to timestamp...» "query, so I restored the backup previous nights to another machine and it picked up at 07:00 (just before the hour, he made the change), created a dblink since the production database and created a copy of the table of the restored database.

    My first thought was to simply update the table of production with the correct values of the correct copy, using something like this:


    Update mnt.workorders
    Set approvalstat = (select b.approvalstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)
    where exists (select *)
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)

    It wasn't the exact syntax, but you get the idea, I wanted to put the incorrect values in x columns in the tables of production with the correct values of the copy of the table of the restored backup. Anyway, it was (or seem to) works, but I look at the process through OEM it was estimated 100 + hours with full table scans, so I killed him. I found myself just inserting (copy) the lines added to the production since the table copy by doing a select statement of the production table where < col_with_datestamp > is > = 07:00, truncate the table of production, then re insert the rows from now to correct the copy.

    Do a post-mortem today, I replay the scenario on the copy that I restored, trying to figure out a cleaner, a quicker way to do it, if the need arise again. I went and randomly changed some values in a column number (called "comappstat") in a copy of the table of production, and then thought that I would try the following resets the values of the correct table:

    Update (select a.comappstat, b.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi - this is a PK column
    and a.comappstat! = b.comappstat)
    Set b.comappstat = a.comappstat

    Although I thought that the syntax is correct, I get an "ORA-00904: 'A'. '. ' COMAPPSTAT': invalid identifier ' to run this, I was trying to guess where the syntax was wrong here, then thought that perhaps having the subquery returns a single line would be cleaner and faster anyway, so I gave up on that and instead tried this:

    Update mnt.workorders_copy
    Set comappstat = (select distinct)
    a.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi
    and a.comappstat! = b.comappstat)
    where a.comappstat! = b.comappstat
    and a.workordersoi = b.workordersoi

    The subquery executed on its own returns a single value 9, which is the correct value of the column in the table of the prod, and I want to replace the incorrect a '12' (I've updated the copy to change the value of the column comappstat to 12 everywhere where it was 9) However when I run the query again I get this error :

    ERROR on line 8:
    ORA-00904: "B". "" WORKORDERSOI ": invalid identifier

    First of all, I don't see why the update statement does not work (it's probably obvious, but I'm not)

    Secondly, it is the best approach for updating a column (or columns) that are incorrect, with the columns in the same table which are correct, or is there a better way?

    I would sooner update the table rather than delete or truncate then re insert, as it was a trigger for insert/update I had to disable it on the notice re and truncate the table unusable a demand so I was re insert.

    Thank you

    Hello

    First of all, after post 79, you need to know how to format your code.

    Your last request reads as follows:

    UPDATE
      mnt.workorders_copy
    SET
      comappstat =
      (
        SELECT DISTINCT
          a.comappstat
        FROM
          mnt.workorders a
        , mnt.workorders_copy b
        WHERE
          a.workordersoi    = b.workordersoi
          AND a.comappstat != b.comappstat
      )
    WHERE
      a.comappstat      != b.comappstat
      AND a.workordersoi = b.workordersoi
    

    This will not work for several reasons:
    The sub query allows you to define a and b and outside the breakets you can't refer to a or b.
    There is no link between the mnt.workorders_copy and the the update and the request of void.

    If you do this you should have something like this:

    UPDATE
      mnt.workorders     A      -- THIS IS THE TABLE YOU WANT TO UPDATE
    SET
      A.comappstat =
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B   -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    WHERE
      EXISTS
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    

    Speed is not so good that you run the query to sub for each row in mnt.workorders
    Note it is condition in where. You need other wise, you will update the unchanged to null values.

    I wouold do it like this:

    UPDATE
      (
        SELECT
          A.workordersoi
          ,A.comappstat
          ,B.comappstat           comappstat_OLD
    
        FROM
          mnt.workorders        A      -- THIS IS THE TABLE YOU WANT TO UPDATE
          ,mnt.workorders_copy  B      -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
    
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      ) C
    
    SET
      C.comappstat = comappstat_OLD
    ;
    

    This way you can test the subquery first and know exectly what will be updated.
    This was not a sub query that is executed for each line preformance should be better.

    Kind regards

    Peter

  • compare the value of previous line with the current value

    I need to compare the previous value with the current value. All Oracle functions could there be to do?
    Something similar as a result.
    If previous (Amt {}) > Current (({Amt}) then 0 Else Null.)

    Something like that?

    SQL> WITH test_data AS
      2  (
      3          SELECT 107019 AS ID, 1583 AS AMT FROM DUAL UNION ALL
      4          SELECT 107019 AS ID, 1572 AS AMT FROM DUAL UNION ALL
      5          SELECT 107019 AS ID, 1572 AS AMT FROM DUAL
      6  )
      7  -- END SAMPLE DATA
      8  SELECT  ID
      9  ,       (CASE
     10                  WHEN LAG(AMT,1) OVER (PARTITION BY ID ORDER BY ID) = AMT THEN NULL
     11                  ELSE AMT
     12          END) AS AMT
     13  FROM test_data;
    
            ID        AMT
    ---------- ----------
        107019       1583
        107019       1572
        107019
    
  • Software AIO with the only USB 3.0 systems problems

    I just had problems with the installation of PSC 1510 and J5780 to be connected systems USB 3.0 only as a Fujitsu Lifebook A544 under W7 - 64.

    In both cases, download the latest package and stopped installation:

    http://www.Club-PAC.de/download/HPj5780-error.PDF%C2%A0

    W7-64 systems are fully patched, a "naked" before first Installation HP look so no HP software - lay before.

    Note: alle USB3.0 ports are in good condition!

    Reference:

    http://h30492.www3.HP.com/T5/Drucker-und-all-in-one-GER%C3%A4te-installation-und/installation-Softwa...

    http://h30492.www3.HP.com/T5/Drucker-und-all-in-one-GER%C3%A4te-installation-und/HP-J5780-keine-Inst...

    Solution (at least for Fujitsu of A544):

    If possible, use BIOS routines disable the functionality of USB 3.0 and USB 2.0 only instead.

    Windows will then take some time to install drivers for USB for USB 2.0 devices, but after that, the HP AIO software installation will succeed.

    Now, you can reactivate the USB 3.0 feature in the BIOS. Believe it or not, software, printer, scanner still doesn't work.

    Add on: evidence for quality control: using scanner in German will have Dutch expression on the button "Cancel"...

  • Import csv into Apex with the only time data.

    Hello

    I tried to understand this question for awhile now and have been on several forums without success.

    IM learning SQL and PL/SQL, so please be gentle

    I am in charge of a csv file, where the data is time in the "KO_TIME" column for example 13:30 'or 18:00 ' 24 hours just hours and minutes.

    I am aware of the TO_CHAR function to convert a date to a string in an insert statement, but I want to be part of the creation of the table syntax, so I'm able to use the Import CSV APEX tool and it will include the time format data 00:00.

    The creation of the table is so far, but with syntax errors;

    CREATE TABLE  "FOOT_BALL_VENUES" 
       (     "ID" NUMBER,
         "DESCRIPTION" VARCHAR2(30),
         "DAY" VARCHAR2(30),
         "DATE_FIX" DATE,
         "KO_TIME" DATE AS (TO_CHAR('HH24:MM')
                    "FIXTURE" VARCHAR2(255),
         CONSTRAINT "FOOT_BALL_VENUES_PK" PRIMARY KEY ("ID") ENABLE
       )
    /

    CREATE OR REPLACE TRIGGER  "bi_FOOT_BALL_VENUES"

      before insert on "

     

    FOOT_BALL_VENUES"       

      for each row

    begin 

      if :new."ID" is null then

        select "FOOT_BALL_VENUES_SEQ".nextval into :new."ID" from dual;

      end if;

    end;

     

    /

    ALTER TRIGGER  "bi_FOOT_BALL_VENUES" ENABLE

    /

    Thanks for your time guys.

    Rarebazza

    Hello

    If your KO_TIME csv column have alone time, then use the data type VARCHAR2 to your column of table KO_TIME.

    If KO_TIME csv column have the date and time, and then use the DATE format and for example create the virtual column that shows the only time.

    CREATE TABLE  "FOOT_BALL_VENUES"
       (     "ID" NUMBER,
         "DESCRIPTION" VARCHAR2(30),
         "DAY" VARCHAR2(30),
         "DATE_FIX" DATE,
         "KO_TIME" DATE,
         "KO_ONLY_TIME" VARCHAR2(255) GENERATED ALWAYS AS (TRIM(TO_CHAR(KO_TIME,'HH24:MI'))) VIRTUAL,
         "FIXTURE" VARCHAR2(255),
         CONSTRAINT "FOOT_BALL_VENUES_PK" PRIMARY KEY ("ID") ENABLE
       )
    /
    

    Kind regards

    Jari

  • Can I create a newsstand app in Indesign with the only edition of the publication suite?

    What I can create a newsstand app in Indesign with the simple edition or the professional can I?  If I can't do what is it about the professional plan or enterprize which give the possibility to publish an application using the Newsstand format?

    You need professional or company. You can only produce applications non-kiosque to newspapers, one question, with simple editing.

    Neil

  • Book the question of transfer with the only difference being: point Info/display: any device OR any stand-alone devi

    I use ADE to transfer a PC (windows 7) in a corner. I had no problem until a recent book purchase. I can't transfer the book in the corner [title of the book CE_COPY_NOT_ALLOWED - without permission to copy the Book]. I did all the permission things that are always recommended [allow the PC, remove and allow the PC, remove records of Nook, reauthorize Nook, etc.] several times. The Nook fine copy all the old books. But this will not be [I even bought another to check and it is not]. I have 2 books (a copy and we won't) from the same Editor (I bought a few months ago and the other is a new). The only difference I see is that when you select the book, click right, look at the Info under viewing point there are 2 different things. For the book which will copy, an observation: on any device. [For the book that doesn't copy, an observation: on any stand-alone device]. There seems to be a change DRM. What can I do?

    Thanks-*-Roy

    I've not seen the ' display: on any stand-alone device "before.

    One thing to try is to evade the ADE and a copy to the .epub DRM from PC to Nook by using Windows Explorer or similar.

    The info book by ADE will tell you where the file is on the PC.

    Probably should go in the "Digital Editions" folder on the corner, but should be pretty easy to see where the .epub files go. (***)

    Copy almost certainly works independently of the ' watch one: on any stand-alone device ' detail.

    It may or may not be that the meal will be ready to show it once it's there.

    (*) p.s. just realized that you can find where the books are placed on the corner of info book by ADE as well.

    Just look at your Nook library in ADE and watch the news.

    At least, it will work for books in the corner; then say you the right directory.

  • column with the only format of loading time

    My DB, 11 2 on OEL 5.5 GR
    Hi all
    I have a problem with the loading of the external table. I have a txt file with a format of columns HH24:MI:SS
    START_TIME
    00:10:20
    01:15:11
    02:11:10
    And I don't know which data type use in external table because in the future, I'll have to do some calculations on this column, so I should load as a DATE, but miss me "mm/dd/yy" to the front. Any suggestion how to do properly?

    You could use a data type CHAR or date for the outer table and do your math with this column correctly.

    The key is that convert a time string to a date data type will add the current date to it. For example:

    SQL> alter session set nls_date_format='dd/mm/yyyy hh24:mi:ss';
    
    Session altered.
    
    SQL> select to_date('00:10:20', 'hh24:mi:ss') from dual;
    
    TO_DATE('00:10:20',
    -------------------
    01/02/2011 00:10:20
    

    Some examples of code for both cases, by using the DATE and CHAR data type. I tested it on 11.2.0.1:

    CREATE OR REPLACE DIRECTORY ext_tab_dir AS '/tmp';
    
    -- /tmp/info.txt
    1,00:10:20
    2,01:15:11
    3,02:11:10
    
    alter session set nls_date_format='dd/mm/yyyy hh24:mi:ss';
    

    (1) using the DATE data type

    drop table tab_time_date;
    
    CREATE TABLE tab_time_date (
      key VARCHAR2(5),
      start_time date)
      ORGANIZATION EXTERNAL (
         TYPE ORACLE_LOADER
         DEFAULT DIRECTORY ext_tab_dir
         ACCESS PARAMETERS
          (FIELDS TERMINATED BY ','
           (key char(5),
            start_time CHAR(8) DATE_FORMAT DATE MASK "HH24:MI:SS"
           )
          )
          LOCATION ('info.txt'));
    
    select * from tab_time_date;
    
    KEY   START_TIME
    ----- -------------------
    1     01/02/2011 00:10:20
    2     01/02/2011 01:15:11
    3     01/02/2011 02:11:10
    

    (2) using the CHAR data type

    CREATE TABLE tab_time_char (
      key VARCHAR2(5),
      start_time char(8))
      ORGANIZATION EXTERNAL (
         TYPE ORACLE_LOADER
         DEFAULT DIRECTORY ext_tab_dir
         ACCESS PARAMETERS
          (FIELDS TERMINATED BY ','
          )
          LOCATION ('info.txt'));
    
    select key, to_date(start_time, 'hh24:mi:ss') from tab_time_char;
    
    KEY   TO_DATE(START_TIME,
    ----- -------------------
    1     01/02/2011 00:10:20
    2     01/02/2011 01:15:11
    3     01/02/2011 02:11:10
    

    Kind regards.

  • Several lines in duplicate with the null value displayed in the combined analysis rpt

    Dear all,

    Our requirement is to display users open tasks (my open tasks) on the home page. So I created a report called open my tasks.

    The columns to display are subject, account name, due date, owner. If I use only the 'activities' notification area, and then I can not retrieve tasks that have NULL of the account name. SOD ignore and filter the tasks with the NULL account name if I display the name of the account.

    So I used a combined analysis of activity report activity with itself i.e. area statement. All columns except account name in one of them where I used "instead of the name of Account.Account.

    It now also displays tasks with NULL account name. But there is another question. These activities when there is an account name, display double - double rows - an account name and othet without account name (for example, NULL).

    Please can you help how to solve above or meet the requirement in an alternative way?

    Thank you
    Niraj

    VR;

    (1. any activity with account) + (2. All activities - 3. Activities with account)

    1 account name because it is
    2 maintain a column empty "
    3 write the instruction box and change the name of the account by white ")

    Dinesh

Maybe you are looking for

  • deletion of perfetnight

    I followed the instructions on an old thread to remove that and took the screen shots, but it fails the next steps.  Any help after seeing the following screenshots?

  • Kernel error NT 1256 and vturr.exe

    Hello world! I am having trouble with my computer, because when the system starts, shows the following messages:NT kernel error 1256 KMODE exception not handled. Then I get another windows and it says windows cannot access the file or the path window

  • Impossible to install iTunes on Windows 10 (64-bit)

    If all this started because I had problems of synchronization via USB cable. "Connection" would be constantly. I tried different cables, different ports, nothing worked and the next tip was to reinstall iTunes. But then iTunes has never really disapp

  • Connection E2000 problems

    Hello, I use a router E2000 with three components hard in my network system.  The problem is when I try a wireless connection my computer dell laptop equipped with windows vista for the E2000 that the network name is not even on my list of wireless n

  • Battery error HP G62 and not work on DC only

    Hello I'm trying to fix my girlfriends laptop with no luck. Laptop is out of warranty, as it is 2 years old. It is a model of HP G62 running Windows 7 If I turn on the laptop with battery and AC connected, the battery in the tool bar icon indicates t