COUNTY

HEY LabVIEW FIELDS... !!!

IM here with a problem...

I want to count the number of channels received to my serial port... and I want 1 so I got 3 strings.

could someone help mi to dig it...

Please provide vi... I'm using labview in 2012

Mohammed says:

I want to count the number of channels received to my serial port... and I want 1 so I got 3 strings.

Count all and divide by 3.

Tags: NI Software

Similar Questions

  • Favorite contacts (how to delete call County)

    Someone make me on how to do to clear these circles of blue call County under 'Favorites' in Contacts? I saw the movie. Thanks in advance.

    Too bad... I'm just stupid. These circles proved speed dial numbers.

  • Measurement error of the County of edge by using the external sample clock

    Hello

    I'm trying to measure the number of edges (rising) on a square wave at 5 kHz with a generator function on a device of the NI PCIe-6363. I configured a channel of County of front edge of counter at the entrance of the PFI8 device. I use an external sample clock that is provided by the output of the meter of a NI USB-6211 housing channel. If I acquire for 10secs then ideally I would expect to see a total of 50000 edges measured on the meter inlet channel. However, my reading is anywhere between 49900 and 50000.

    When I use the internal clock of time base to measure the edges, the measure is accurate and almost always exactly 50000. I understand that when you use the external sample clock, the precision of the measurements is subject to noise level of the clock signal. However, I checked the clock signal is stable and not very noisy. Any reason why there is an error of measurement and how tolerance should I expect when using an external sample clock compared to when you use the internal time base clock?

    Also, what is best clock Frequency (with respect to the frequency of the input signal) when using an external clock?

    Thank you

    Noblet

    Hi all

    Thanks for all your sugggestions. I was using an input signal with a function generator which had a range of 8V. It turns out that the reduction of the amplitude to 5V solves the problem. I was able to get accurate numbers with the 6211 external clock.

    Thank you

    Noblet

  • PCIe-6537 County in ANSI C sample clock

    I want to get the precise times of the edges on 32 digital lines using a card PCIe-6537. The card should have a sample of 50 MHz clock (minimum and 200 MHz/N N is 4). So if I can get a count of the sample clock when the any lines going from low to high, I know the time at a resolution of 20ns. Each line should have a transition from bass up per second. They should all be synchronized, it is possible that more than one line will have an advantage in the same sample clock signal.

    I'm programming in Visual C++ with the DAQmx ANSI C API.

    What I've tried so far, I think I need to put in place two DAQmx tasks: one to count the sample clock and one to detect transitions on the i/o 32 lines. The next problem after that is the task of transition to trigger a capture of a county on the first task.

    But I can't even set up a counter stain. I think I need to call DAQmxCreateCICountEdgesChan() to create a channel for the sample clock. The example code I found (Mult_Counters_Count_Dig_Start_Trig_TIO.c) sets the name of the channel to counter with a constant:

    #define COUNTER_SOURCE1 "Dev2/ctr0.

    My camera is 'Dev1 '. If I try to use ' Dev1/ctr0', I get:

    Measurements: Physical channel specified does not exist on this machine.

    Refer to the documentation for the channels available on this device.
    Device: Dev1
    Name of the physical channel: ctr0

    Task name: Dev1CtrTask

    Status code :-200170

    I tried to call DAQmxGetDevCIPhysicalChans() to get the name of the channel, and I return an empty string. So I tried ' Dev1 / ' and got a similar error, unless of course

    The physical channel name: empty string

    Is it possible to count the sample with the 6537 clock? Or is there a better way to get the values of accurate time for transitions on the i/o lines?

    Frank

    As for performance, I can personally attest that I have listened 12 SMU-6537 at the maximum rate (50 MHz) with 32 lines on the disc.  It seems there a configuration delivers in this case

    OK, well, I don't have not sorted. She is still ongoing at only 40 MHz. But we decided to resolution 25ns is close enough for now (ran out of time for development ). It's another problem of implementation of the task, so I asked a question separate from the maximum of PCIe 6537 ANSI C sample clock

    Since then, with the help of the forum I got my running program, I would like to summarize the thread and the solution to my problem, in case anyone else is the rising later.

    • The problem is exactly the timestamp rising edges on a set of 32 digital inputs. I expect only a couple of edges per second per channel, but I need to know when they occur (in fact the interval between the edges on different lines) as accurately as possible.
    • I thought that the card could detect changes on inputs and pass a count of the sample clock pulses during an edge has occurred.
    • The 6537 has no channel counter, so it will not be a feasible way
    • Definition of the card to read all 32 lines on the forehead amount of sample clock allows me to write a reminder that allows you to see the status of each line on each sample clock. Because I know that the period of the sample clock, I know that the time of each sample. The reminder I have used a few loops on the pad looking for changes.
    • Surprisingly, this set only 30% a single processor and 40% on the other CPU on a 2-core 2.2 GHz PC. Well, that surprised me. I don't think that the PC could handle shoveling bits that fast autour. SCP got fast enough since the last time I built a. Sample clock was 40 MHz.
    • The callback uses DAQmxReadRaw (taskHandle, DAQmx_Val_Auto, 0, SampleArray, SampleArraySize, unread, & numBytesPerSamp, NULL). The documentation for it says unread will be set to the number of bytes read; It should indicate the number of samples. And I should have used DAQmxReadDigitalU32() instead in any case.

    Thanks to all those who helped with my lights

    Frank

  • County rising edge specifier "10280" generates the error "-200220"»

    Hello

    I use the box USB-6008 with PFI 0 configured as a counter edge.  Everything works fine when I use it to count the edges fall with the "10171" specifier, but .vi DAQmxBase Create Channel (CI-County edges) generates the above error if I simply replaces "10171" with "10280.  This specifier is not recognized by the device?

    Thank you

    Tyler

    Hey Tyler,

    I've dug into this and found an internal report, and apparently only a falling edge can be used as a trigger of edge with patches of meter.  The other problem is that, even if you can use both, there is that a single input pin for this meter and edge only one type can be detected at the time.  The only solution I see would be to try to find a device with several counters, or take an another 6008 and use it to count the edges of the second switch.

  • accessor of property of Davidson County, Tenn.

    How can I find the property accessor of the County of Davidson in Nashville, tn

    Copy & paste this into the Google search bar and you will find immediately.
     
    Property accessor of the County of Davidson in Nashville, tn
     
    These forums are for Windows programs and some products.
     
     
  • How to run two 'County of buffered edge' using two different counters at the same time?

    Hello

    I try to use two counters at the same time count the TTL pulses for a fixed period (lets say 10 ms). I have the card PCI-6251 and PCI-6601. I am currently using PCI 6601 as counters and running a self updated the ' stamped edge County - reset.VI. Here, I have attached my VI.

    Now, during the execution of this VI, I get an error saying "error-200251 occurred at Task.vi:4 DAQmx Start" and the possible reasons are, "measures: no USB or DMA channels in loose ends are available.»

    Either stop other tasks which might be using these resources or are considering changing your mechanism for transfer of data to the interruptions if supported.

    Device: Dev2

    Task name: _unnamedTask<80>. »

    What I realized is I'm trying to use two buffers for two meters with ten samples each and this is probably not allowed. I don't know how to solve this out and bad looking for your suggestions.

    Thanks in advance.

    Hi all

    I found a solution too. This is the VI updated the "County of edge stamped" which can simultaneously run two entries-meter using a single source of door and it also uses the DMA and interrupts to save two pads.

    Have a nice weekend.

  • County of 2970 Dell Ubuntu Linux 14.04 LTS 32-Bit CPU core wrong.

    Hello, I'm under two 6 core of 2435 in a 2970 with bios ver.4.2.1.

    I am bound by 3rd party software to run a 32 bit kernel in case someone should wonder why, I'm not using a 64-Bit kernel.

    I can run: 'lshw-type processor' and I see the County information and correct basic cpu.

    If I run ' cat/proc/cpuinfo' it implements a basic info saying that there are only 8 cores. release of "lscpu", said the same thing.

    As I understand things, lshw displays the BIOS of the server said is there.

    cat/proc/cpuinfo more is a release of what has detected the kernel.

    Is there a DELL / LINUX EMS on this forum that could clue me as to why I see all my CPU?

    Thank you

    Chris B.

    Too bad...

    AskUbuntu.com/.../How-many-maximum-CPUs-does-Ubuntu-support-by-default

  • Disk 0 x 80 (LBA): C/H/S = 1024/255/63, County/Size = 1953521664/512 Options If your HARD drive is su-ERS at 1 to.

    Windows 7 complete installation after Reboot then this Massege showing "Drive 0x80 (LBA): C/H/S = 1024/255/63, County/Size = 1953521664/512 Options If your HARD drive is larger than 1 TB; Move your startup file for a saller at the beginning of the HARD drive partition. Format the HARD drive allow Windows 7 to create a 100 MB Partiton boot. Shrink and move your partition with Gparted.

    Hello, MD. Nasir,

    Thanks for posting your question on the Microsoft community.

    We need more information about the issue so that we can help you better.

    1. What is the brand and model of your computer?
    2 did you the hardware changes to your computer like hard drive replacement?

    Thank you for details on the issue.

    This problem may occur because of damaged or missing Windows startup files.

    I suggest you run the Startup Repair tool and check if that helps.
    Refer to this article:
    What are the system recovery options in Windows?
    http://Windows.Microsoft.com/en-us/Windows/what-are-system-recovery-options#what-are-system-recovery-options=Windows-7

    It fixes some problems, such as missing system files or damaged, that might prevent Windows from starting correctly.

    Additional information:
    Startup Repair: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows/Startup-Repair-FAQ#1TC=Windows-7

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • Incompatibility of County to join condition

    Hello

    I do a join on the relational tables (select * T_ZIP_CODE - save 47561 County and SELECT * OF P_GEODATA - number of records 42451) using the below sql # 1 (where a.zip_cde = b.zip_cde) I'm number of records as 41979 and while I am executing sql # 2 (difference of 2 SQL is condition where a.zip_cde <>b.zip_cde) get the number of records = 1773815507

    For SQL # 2 I should get the number of records about 541

    Can someone me please suggest that if something is wrong.

    SQL # 1

    Select

    b.ZIP_CDE,

    a.ZIP_CDE_STRT_DTE,

    b.TLPHN_AREA_CDE,

    b.POP_LVL_CDE,

    b.PMSA_MSA_NECMA_CDE,

    b.FIPS_PRMRY_CNTY_CDE,

    b.CNTY_NAM_PRMY,

    b.FIPS_ADDL_CNTY_1_CDE,

    b.CNTY_NAM_1,

    b.FIPS_ADDL_CNTY_2_CDE,

    b.CNTY_NAM_2,

    b.FIPS_ADDL_CNTY_3_CDE,

    b.CNTY_NAM_3,

    b.FIPS_ADDL_CNTY_4_CDE,

    b.CNTY_NAM_4,

    b.DMA_CDE,

    b.DMA_NAM,

    b.CBSA_CDE,

    b.CBSA_TYP,

    b.MSA_DIV_CDE,

    b.CSA_CDE,

    b.CMSA_CDE

    T_ZIP_CODE a, P_GEODATA B where a.zip_cde = b.zip_cde

    and CURRENT_DATE < ZIP_CDE_END_DTE

    record COUNT - 41979

    Select

    b.ZIP_CDE,

    a.ZIP_CDE_STRT_DTE,

    b.TLPHN_AREA_CDE,

    b.POP_LVL_CDE,

    b.PMSA_MSA_NECMA_CDE,

    b.FIPS_PRMRY_CNTY_CDE,

    b.CNTY_NAM_PRMY,

    b.FIPS_ADDL_CNTY_1_CDE,

    b.CNTY_NAM_1,

    b.FIPS_ADDL_CNTY_2_CDE,

    b.CNTY_NAM_2,

    b.FIPS_ADDL_CNTY_3_CDE,

    b.CNTY_NAM_3,

    b.FIPS_ADDL_CNTY_4_CDE,

    b.CNTY_NAM_4,

    b.DMA_CDE,

    b.DMA_NAM,

    b.CBSA_CDE,

    b.CBSA_TYP,

    b.MSA_DIV_CDE,

    b.CSA_CDE,

    b.CMSA_CDE

    T_ZIP_CODE a, P_GEODATA B where a.zip_cde <>b.zip_cde

    and CURRENT_DATE < ZIP_CDE_END_DTE

    record count = 1773815507

    Thank you!

    3058870 wrote:

    Hello

    I do a join on the relational tables (select * T_ZIP_CODE - save 47561 County and SELECT * OF P_GEODATA - number of records 42451) using the below sql # 1 (where a.zip_cde = b.zip_cde) I'm number of records as 41979 and while I am executing sql # 2 (difference of 2 SQL is condition where a.zip_cde <> b.zip_cde) get the number of records = 1773815507

    For SQL # 2 I should get the number of records about 541

    Why? Suppose table A has three lines id = 1,2,3 and table B has 4 lines, id = 1,2,3,4. A.id = b.id condition will return 3 rows. But condition a.id! = b.id will not return 1 row. Why? A.id condition! = b.id will be true for:

    a.ID = b.id 1 = 2

    a.ID = b.id 1 = 3

    a.ID = b.id 1 = 4

    a.ID = b.id 2 = 1

    a.ID = b.id 2 = 3

    a.ID = b.id 2 = 4

    a.ID = b.id 3 = 1

    a.ID = b.id 3 = 2

    a.ID = b.id 3 = 4

    A.ID Yes! = b.id will not return 1, but 9 lines.

    SY.

  • ORA-06533: index beyond County ORA-06512:

    Hello

    I tried to insert the collection of data (below) in two individual tables, when I tried to insert a unique collection of data in two individual tables, it has been introduced.

    But when I tired to insert several collections into two individual tables, I am getting below error.

    Einf is my PLSQL CODE with details of the error,

    could you please give me solution.

    Thanks in advance .

    Set serveroutput on

    DECLARE

    /*

    PL ORG_ADDRESSES_PHONES_TAB: = ORG_ADDRESSES_PHONES_TAB (ORG_ADDRESSES_PHONES_TYPE ('a1', 'c1', 's1', 'p1', 1, ORG_PHONES_TAB (ORG_PHONES_TYPE ('a2', 'p1', 's1', 'e1')));)

    If inserted unique collections

    */

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ------------------------------------------------------------------------          But Below data is not inserting because of multiple collections          ----------------------------------------------------------------------------------------------

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    PL ORG_ADDRESSES_PHONES_TAB: = ORG_ADDRESSES_PHONES_TAB (ORG_ADDRESSES_PHONES_TYPE ("a1", "c1", "s1", "p1", 1, ORG_PHONES_TAB (ORG_PHONES_TYPE ("a2", "p1", "s1", "e1"))), ORG_ADDRESSES_PHONES_TYPE ('a2', 'c2', 's3', 'p4', 2, ORG_PHONES_TAB (ORG_PHONES_TYPE ('d3', 'f3', 'ws3', 're3')));)

    BEGIN

    I'm IN pl. FIRST... LAST pl.

    LOOP

    PL. EXTEND;

    dbms_output.put_line (i);

    dbms_output.put_line ('next': pl (i) .ORG_PHONES.) Next (1));

    PL of YEW. (I) exists, THEN - if the element exists then display

    dbms_output.put_line (' ADDRESS ': pl (i).) ADDRESS);

    dbms_output.put_line (' CITY ' | pl (i).) IN TOWN);

    dbms_output.put_line ('STATE_CODE' | pl (i).) STATE_CODE);

    dbms_output.put_line (' zip_code ' | pl (i).) ZIP_CODE);

    dbms_output.put_line ('PRIMARY_YESNO': (i) pl.) PRIMARY_YESNO);

    dbms_output.put_line ('POSTAL Code': pl (i) .ORG_PHONES (i).) AREA CODE);

    dbms_output.put_line ('PREFIX': pl (i) .ORG_PHONES (i).) PREFIX);

    dbms_output.put_line ('SUFFIX' | pl (i) .ORG_PHONES (i).) SUFFIX);

    dbms_output.put_line ('EXTENSION' | pl (i) .ORG_PHONES (i).) EXTENSION);

    -pl. EXTEND;

    -pl (i) .ORG_PHONES. EXTEND;

    END IF;

    PL (i) .ORG_PHONES. EXTEND;

    END LOOP;

    COMMIT;

    -dbms_output.put_line ('hii');

    end;

    ----------------------------------------

    Failed query see the settings

    Error from line: 3 in command.

    DECLARE

    -declare a variable of type projecttable

    PL ORG_ADDRESSES_PHONES_TAB: = ORG_ADDRESSES_PHONES_TAB (ORG_ADDRESSES_PHONES_TYPE ("a1", "c1", "s1", "p1", 1, ORG_PHONES_TAB (ORG_PHONES_TYPE ("a2", "p1", "s1", "e1"))), ORG_ADDRESSES_PHONES_TYPE ('ta2', 'uc2', 'vs3', 'wp4', 2, ORG_PHONES_TAB (ORG_PHONES_TYPE ('d3', 'f3', 'ws3', 're3')));)

    -How to display the values in the table

    BEGIN - beginning of the main block

    I'm in pl.first... pl. Last

    loop

    dbms_output.put_line (i);

    dbms_output.put_line (' ADDRESS ': pl (i).) ADDRESS);

    dbms_output.put_line (' CITY ' | pl (i).) IN TOWN);

    dbms_output.put_line ('STATE_CODE' | pl (i).) STATE_CODE);

    dbms_output.put_line (' zip_code ' | pl (i).) ZIP_CODE);

    dbms_output.put_line ('PRIMARY_YESNO': (i) pl.) PRIMARY_YESNO);

    dbms_output.put_line ('POSTAL Code': pl (i) .ORG_PHONES (i).) AREA CODE);

    dbms_output.put_line ('PREFIX': pl (i) .ORG_PHONES (i).) PREFIX);

    dbms_output.put_line ('SUFFIX' | pl (i) .ORG_PHONES (i).) SUFFIX);

    dbms_output.put_line ('EXTENSION' | pl (i) .ORG_PHONES (i).) EXTENSION);

    -pl. EXTEND;

    PL (i) .ORG_PHONES. EXTEND;

    end loop;

    COMMIT;

    -dbms_output.put_line ('hii');

    end;

    Error report-

    ORA-06533: index beyond County

    ORA-06512: at line 19

    06533 00000 - 'County beyond index'

    * Cause: A limit index was greater than the number of a varray

    or too big for a nested table.

    * Action: Verify program logic and extend explicitly if necessary.

    1

    ADDRESS a1

    CITY c1

    STATE_CODE s1

    Zip_code p1

    PRIMARY_YESNO 1

    CODEZONE a2

    PREFIX p1

    SUFFIX s1

    E1 EXTENSION

    2

    ADDRESS ta2

    Uc2 CITY

    STATE_CODE vs3

    Zip_code wp4

    PRIMARY_YESNO 2

    You have to LOOP in your table of pl (I) .ORG_PHONES (I)

    CREATE OR REPLACE PROCEDURE myproc AS
    
       pl ORG_ADDRESSES_PHONES_TAB := ORG_ADDRESSES_PHONES_TAB(ORG_ADDRESSES_PHONES_TYPE('a1'
                                                                                        ,'c1'
                                                                                        ,'s1'
                                                                                        ,'p1'
                                                                                        ,1
                                                                                        ,ORG_PHONES_TAB(ORG_PHONES_TYPE('a2'
                                                                                                                       ,'p1'
                                                                                                                       ,'s1'
                                                                                                                       ,'e1')
                                                                                                       )
                                                                                       )
                                                              ,ORG_ADDRESSES_PHONES_TYPE('a2'
                                                                                        ,'c2'
                                                                                        ,'s3'
                                                                                        ,'p4'
                                                                                        ,2
                                                                                        ,ORG_PHONES_TAB(ORG_PHONES_TYPE('d3'
                                                                                                                       ,'f3'
                                                                                                                       ,'ws3'
                                                                                                                       ,'re3')
                                                                                                       )
                                                                                        )
                                                              );
    
    BEGIN
    
       DBMS_OUTPUT.PUT_LINE('First: ' || TO_CHAR(pl.FIRST));
       DBMS_OUTPUT.PUT_LINE('Last: ' || TO_CHAR(pl.LAST));
    
       FOR I IN pl.FIRST..pl.LAST LOOP
    
          pl.EXTEND;
    
          DBMS_OUTPUT.PUT_LINE(I);
          DBMS_OUTPUT.PUT_LINE('next ' || pl(I).ORG_PHONES.NEXT(1));
    
          IF(pl.EXISTS(I)) THEN                       -- if item exists then display
    
             DBMS_OUTPUT.PUT_LINE('ADDRESS  ' || pl(I).ADDRESS);
             DBMS_OUTPUT.PUT_LINE('CITY  ' || pl(I).CITY);
             DBMS_OUTPUT.PUT_LINE('STATE_CODE  ' || pl(I).STATE_CODE);
             DBMS_OUTPUT.PUT_LINE('POSTAL_CODE  ' || pl(I).POSTAL_CODE);
             DBMS_OUTPUT.PUT_LINE('PRIMARY_YESNO  ' || pl(I).PRIMARY_YESNO);
    
             FOR j IN pl(I).org_phones.FIRST..pl(I).org_phones.LAST LOOP
    
                DBMS_OUTPUT.PUT_LINE('AREACODE  ' || pl(I).ORG_PHONES(j).AREACODE);
                DBMS_OUTPUT.PUT_LINE('PREFIX  ' || pl(I).ORG_PHONES(j).PREFIX);
                DBMS_OUTPUT.PUT_LINE('SUFFIX  ' || pl(I).ORG_PHONES(j).SUFFIX);
                DBMS_OUTPUT.PUT_LINE('EXTENSION  ' || pl(I).ORG_PHONES(j).EXTENSION);
    
             END LOOP;
    
          --pl.EXTEND;
          --pl(i).ORG_PHONES.EXTEND;
    
          END IF;
    
          pl(I).ORG_PHONES.EXTEND;
    
       END LOOP;
    
       COMMIT;
    
       --dbms_output.put_line('hii');
    
    EXCEPTION
    
       WHEN OTHERS THEN
          DBMS_OUTPUT.PUT_LINE(DBMS_UTILITY.FORMAT_ERROR_STACK);
    
    END myproc;
    
  • Problem with APEX_APPLICATION. G_F01. COUNTY

    I'm on 5 APEX and trying to loop through the lines of an interactive report with a after submit process Page.

    I added an item hidden in my SQL IR:

    Select empno,

    "' < input type ="hidden"value =" "|" EmpNo | "" "name ="f01">"as "STUDENT_LIST"

    WCP

    I created a button on the page with the Submit Page action

    I create a Page process (Point after Submit - once a page visit) who uses apex_application.g_f01. COUNTY, but for some reason apex_application.g_f01. COUNTY is not defined. So my if LOOP don't process (see code below). Something was changing in APEX5 with apex_application.gxx.count that would prevent this from working?

    DECLARE

    l_dcid emp.empno%TYPE;

    BEGIN

    If apex_application.g_f01. COUNT > 0 then null;

    BECAUSE me in 1... apex_application.g_f01. COUNTING LOOP

    l_dcid: = apex_application.g_f01 (i);

    insert into mytable (DCID) values (l_dcid);

    END LOOP;

    on the other

    null;

    end if;

    END;

    Hi bobmagan,

    First edit this query:

    Select empno,

    '"like"STUDENT_LIST"

    WCP

    to something like this:

    SELECT EMPNO
        , APEX_ITEM.HIDDEN(1,EMPNO)||ENAME AS ENAME
    FROM EMP
    

    As you use a tag of entry in your query above, APEX will not be able to save it with APEX_APPLICATION session. G_FXX berries.

    Reference: See the example of application and treatment of samples given below the API APEX_ITEM. HIDDEN

    Change the column with APEX_ITEM attribute. HIDDEN, display as-> Standard report column

    Reference: If you do not find the column attribute Standard report see the following thread: APEX_ITEM. Question CHECKBOX2 in apex 5

    Finally, change your process of:

    DECLARE

    l_dcid emp.empno%TYPE;

    BEGIN

    If apex_application.g_f01. COUNT > 0 then null;

    BECAUSE me in 1... apex_application.g_f01. COUNTING LOOP

    l_dcid: = apex_application.g_f01 (i);

    insert into mytable (DCID) values (l_dcid);

    END LOOP;

    on the other

    null;

    end if;

    END;

    to do this:

    BEGIN
    
        FOR i in 1 .. apex_application.g_f01.COUNT LOOP
    
           insert into mytable (DCID) values (apex_application.g_f01(i));
    
        END LOOP;
    
    END;
    

    See the example for treatment in documentation APEX_ITEM. HIDDEN api.

    I hope this helps!

    Kind regards

    Kiran

  • backup-County-after-writebehind - how is it useful for a write-back cache?

    We have been consistent 12.1.2 and we use a writeback of a backup-County 1 cache system, and we persist in all the cache entries in the database with a write delay of 2 seconds.

    We stumbled upon this backup-County-after-writebehind element in the "distributed-scheme" scheme, and the recommended value is ZERO for this.

    Our use of the writeback cache is only for store entries / remain, but not to get it from the database, on a lack of cache (no call load() is taken through our store of custom cache).

    The question is - what happens if the cache node (FMV) fails or leaves the cluster. The data in the cache will be lost, because the backup-County-after-writebehind is ZERO? Or the data will be safe because the number of backup is set to 1? 


    If the data is lost because backup-County-after-writebehind is zero, the data will be safe if we define to, say, 1? Otherwise, what is the use of this element, then?

    Please notify.


    Hello

    If you set backup-County-after-writebehind = 1, then it is actually the same as the default 1 backup setting. You would not normally set this value higher than your normal backup account settings, for example, it would be unwise to have backup-count = 0 and backup-County-after-writebehind = 1. As I said the backup-County-after-writebehind setting are mainly so you can sae space of bunch of the cluster that you need not keep a backup if you can retrieve a value from the database.

    If a node falls down or leave the cluster and you have a backup-count = 1 (or backup-County-after-writebehind = 1) then you should not lose data because there will be a backup on another Member of the cluster.

    JK

  • get the rather specific County total

    Hi all

    Need to set out in the report, I did the relationship b/w customer_id (link)

    customer_id:1234

    customer name: Vision Tech

    Order no order_name cost

    ----------   ---------------  --------

    1000 1000 ABC

    1001 CCC 2000

    Order total: 2 Total cost: 3000

    customer_id:1000

    customer name: Tech

    Order no order_name cost

    ----------   ------------------ -------

    DDD 400 300

    4001 EEE 400

    Order total: 2 Total cost: 700

    But is the order Total: 4 Total cost: 3700 for both

    Hi all

    I added the Total Eployees in the 2nd repeat frame the 2nd extensible framework and in that framework extensible in the frame, I put the employees Total analytical column

    and changed the properties of it below

    Number of employees

    -----------------------

    Function: County

    Source: EmpNo

    Reset to: name of the summary of the Group column

  • How the County table script Fund?

    Hi all

    11.2.0.3

    I want to generate the list of counties of table in this format:

    table-nameCounty
    COUNTRY100
    DEPT10
    EMP1000
    JOBS50
    JOB_HISTORY100
    LOCATIONS200
    REGIONS300

    Can you help me the sql statement please.

    Thank you

    pK

    Hello

    Petra-K wrote:

    Hi all

    11.2.0.3

    I want to generate the list of counties of table in this format:

    table-name County
    COUNTRY 100
    DEPT 10
    EMP 1000
    JOBS 50
    JOB_HISTORY 100
    LOCATIONS 200
    REGIONS 300

    Can you help me with the script please.

    Thank you

    pK

    These numbers are the number of rows in each table (in other words, the 'SELECT COUNT (*) FROM countries' output would be 100)?

    If so, and if you're happy with an account may be estimated from the last time statistics were gathered, you can do something like this:

    SELECT table_name
    num_rows
    From all_tables
    Owner WHERE = 'SCOTT '.

    ;

    If you want the exact number at run time, you need dynamic SQL statements.  Here's a way to do it:

    SELECT table_name

    , EXTRACTVALUE (XMLTYPE (dbms_xmlgen.getxml (' SELECT COUNT (*) AS num ")))

    || 'FROM ' | owner | '.' || table-name

    )

    )

    , ' / LINES/LINES/NUM.

    ) AS num_rows

    From all_tables

    Owner WHERE = 'SCOTT '.

    ;

    Whatever it is, you get results like:

    TABLE_NAME, NUM_ROWS

    ------------------------------ ----------

    DEPT                                    4

    EMP                                    14

    BONUS                                   0

    SALGRADE 5

Maybe you are looking for

  • How can I restore my I Pad Notes stored in iCloud

    Recently, all my Notes icloud disappear from all my Apple devices. I use IOS 9.3.2. I tried to turn the Notes market, but it does not help. Does anyone know how files iCloud Notes?

  • brightness

    My monitor on my HP Pavilion Entertainment PC went dim on me. The display will appear as if it is disconnected, but it is not. Any ideas? Thank you!

  • Several questions on Portege M100

    Hello Forgive me in advance if this sounds a bit sketchy but my husband's is the only useful with these things, but his time is limited with work, I thought I'd try and help in advance for when he comes home. I bought a M100 to take with us on our va

  • RESTART THE COMPUTER AFTER BLUE SCREEN

    I use windows 7 64 bit peacefully at the moment sometimes until a few weeks before. My computer reboots intermittently then it display message windows recovery shows the details of the error. Signature of the problem:Problem event name: BlueScreenThe

  • Screen remains black, while all buttons are light

    original title: serious problem with my computer! I'm trying to fix my computer because something is obviously wrong with it and I'm not very good with computers, so I don't really know what I'm doing, and I think I might have messed up even more now