Calendar - insert multiple records by account number/length of

Hello

I would write a process allowing to insert multiple rows in a table. I think it should be a LOOP statement, but I don't know how in the APEX.

I got a simple form with the following page:

P2_Calendar_ID-> hidden field, populated by standard processes to Get PK to generate IDS again for the insert statement

P2_Name-> text field

P2_Date-> Date picker field

P2_Duration-> numeric field

The user name (P2_Name), choose a date (P2_Date) and type in a number (P2_Duration) and send the form. Here, I need the above mentioned process of pl/sql.

I think that first of all it must be created a loop to generate the Dates of the picked a (P2_Date) and increment the date by the number (P2_Duration), and store dates in the variable. Then there should be another loop to insert the number of records in a table, so it has inserted the same number of rows depending on the number in P2_Duration and with the dates increment according to the P2_Duration.

Name of the CALENDAR table after columns:

Calendar_ID-> number)

Name-> varchar2

Date-> Date

Example of what the user will fill in the form above:

P2_Name-> Vladimir

P2_Date-> may 9, 2014

P2_Duration-> 3

It must be created the following lines in a table CALENDAR:

Date name Calendar_ID

1 Vladimir may 9, 2014

2 Vladimir 10 may 2014

3 Vladimir may 11, 2014

Of course the Calendar_ID is generated by the standard Get PK process, which might need to be included in the loop... I think so.

Thank you for your help.

Best regards

Vladimir

PS: I use the APEX Version: Application Express 4.2.5.00.08

Hi Vladimir,.

Simply create a process on submit more info here: 8.5 Page understanding the process , with your touch as a trigger and add the code in this document, similar to the below I would say: and you can just get rid of the hidden element calendar_id

Thank you

DECLARE

DATE OF T_DATE;

BEGIN

FOR DATEINC IN 0.TO_NUMBER(:P2_DURATION) - 1 LOOP

T_DATE: = TO_DATE(:P2_DATE,'DD-MON-YYYY') + DATEINC;

INSERT INTO CALENDAR (CALENDAR_ID, NAME, DATE) VALUES (CAL_ID_SEQ.nextval,: P2_NAME, T_DATE);

END loop;

END;

Tags: Database

Similar Questions

  • Insert multiple records in a form with checkboxes

    Hello

    I need to insert multiple records in a database of a form using Coldfusion and am stuck - it works correctly when inserting one record at a time. Basically, the user will choose their name of the employee (EmployeeID) in a dynamic list, then several session (open) numbers that represent classes of training.

    When I try and select several check boxes, I get this error:
    "The number of query values and destination fields is not the same."

    The boxes of the open field are not dynamic, as you can see-how use CFLOOP or any other method to allow several checkboxes be selected, and all open documents is entered into the database on a form?

    I used server behaviors Dreamweaver 8 to create the form - which is limiting I know but I'm not a coder. I hope I can add code here to do things correctly function.



    ----APPLICATION CODE------------------------------------------------------------------

    <!-get employee names->
    < cfquery name = "rsDisplayEmployee" datasource = "FormationRH" >
    SELECT *.
    OF tblEmployees
    ORDER BY LastName ASC < / cfquery >
    <!-->-->
    <! - insert Records - >
    < cfset CurrentPage = GetFileFromPath (GetTemplatePath ()) >
    < cfif IsDefined "(FORM. MM_InsertRecord") AND the FORM. MM_InsertRecord EQ 'form1' >
    < cfquery datasource = "FormationRH" >
    INSERT INTO tblEnrollments (open, EmployeeID)
    VALUES)
    < cfif IsDefined "(FORM. Open") AND #FORM. Open # NEQ "" > "".
    #FORM. Open #.
    < cfelse >
    NULL VALUE
    < / cfif >
    ,
    < cfif IsDefined "(FORM. EmployeeID") AND #FORM. EmployeeID # NEQ "" > "".
    #FORM. EmployeeID #.
    < cfelse >
    NULL VALUE
    < / cfif >
    ) < / cfquery >
    < cflocation url = "2.cfm" >
    < / cfif >
    <!-->-->

    --------FORM CODE-----------------------------------------------------------------------

    < form action = "" < cfoutput > #CurrentPage # < / cfoutput > "id = 'form' name ="form"method ="POST">"
    < table width = "100%" border = "0" cellspacing = "0" cellpadding = "4" >
    < b >
    < td width = "100%" > < h2 > < strong > select an employee name < facilities > < / h2 > < table >
    < /tr >
    < b >
    < td > < select name = "EmployeeID" >
    < cfoutput query = "rsDisplayEmployee" >
    < option value = "#rsDisplayEmployee.EmployeeID #" > #rsDisplayEmployee.LastName #, #rsDisplayEmployee.FirstName # < / option >
    < / cfoutput >
    < / select > < table >
    < /tr >
    < /table >
    < h2 > < strong > select training class < facilities > < / h2 >
    < table width = "600" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td width = "227" valign = "top" > class < table >
    < td width = "373" valign = "top" > < input name = "Open" type = "checkbox" value = "937" / >
    Date < table >
    < /tr >
    < b >
    < td valign = "top" > class < table >
    < td valign = "top" > < label >
    < input name = "Open" type = "checkbox" value = "936" / >
    < / label >
    Date < table >
    < /tr >
    < /table >
    < br / >
    < input type = "submit" name = "Submit" value = 'Sign Up!' / >
    < input type = "hidden" name = "MM_InsertRecord" value = "form" >
    < / make >

    "Add a line" I want to say that, for each of the checkboxes selected in your form, the code will be to insert a new record in the database table. Sorry I probably didn't phrase it very well.

    so, no, the code does not need to wrap around each element. Instead the code examines the form.fieldnames variable (form.fieldnames, which is a list separated by commas of all fields defined in the form, is automatically submitted to each form submission - you don't have to define yourself somehow) and for each selected checkbox will insert a new record in your table with the check box selected and selected value the value of the id of the employee.

  • Insert multiple record Oracle forms 6i/9i / 10g

    Hello

    How can I insert multiple record using a tabular view as an oracle.

    what I use for loop?

    can someone help me? I have kindda stuck in this problem...


    Scenario:
    I have 5 display of last_name text_item and I put 4 names on it...

    If I use Insert, it only get the 4th name I drove...

    question:
    How can I put them all together?

    I build the block manually.

    Not a very good idea, I think, but if you really want to do it this way, you will need to loop through the records:

    first_record;
    <>
    loop
       insert into ....
       exit when :system.last_record = 'TRUE';
       next_record;
    end loop record_loop;
    
  • Insert multiple records in a database using the DB adapter and stored procedure

    Hi all

    I want to insert multiple records in a database using a stored procedure. I wanted to insert these records using a data adapter and data adapter must be called by a mediator.

    Can anyone suggest me some ideas if it's possible with capabtilities OOB in SOA suite or not?

    Thank you for your help in advance.

    Thank you
    Shiv

    The trick is in the stored procedure. You must use a data type that will handle multiple records I use varray. An example can be found in this post.

    Re: Mutiple calls to AppsAdapter (pl/sql) when the payload has multiple records

    When you read the procedure stored in the db adapter wizard looks and xsd / xml if you have maps accordingly.

    see you soon
    James

  • Insert multiple records in a query from a loop

    Hello

    Im am seriously struggling with something here...


    PROBLEM:
    I want to insert multiple records of checkbox in my db...
    A simple insert statement inserts the 1 record...

    How can I insert all records?

    For example: 10 family names must be inserted at the same time...

    Check my code...


    PLEEEASE, im really craving for help!

    Thank you. Worked perfectly!

  • to insert multiple records in another table

    Hi all;

    How can I increase the number of records in the table?

    SQL > insert into tab2 to select * From tab1;

    Enter tab2 to select * From tab1

    *

    ERROR on line 1:

    ORA-00926: lack of keyword VALUES

    Hi try this...

    Insert in tab2 select * from tab1

  • Insert multiple record Oracle forms 6i

    Hi all

    I have a single column of field Field1, button, in the form TEXT_ITEM1.

    After giving the sales order number in Field1, when should press us the button, the items (item_code) shown in the TEXT_ITEM1.

    I went through the discussion Insert several Oracle forms 6i, 9i/10 g recordbut did not exactly how to write the loop button when button pressed.

    first_record;
    <<record_loop>>
    loop
      insert into ....
      exit when :system.last_record = 'TRUE';
      next_record;
    end loop record_loop;

    My request for the loop is.

    Select RI_ITEM_CODE from OT_REQ_ITEM

    Where REQ_NO =: field1;

    Please suggest

    Thanks in advance.

    Kind regards

    Afzal.

    Forgive me if I am oversimplifying this, but why not just base your block of data to the table: XXTABLE.  Then, you just put your form in design query (F7). Enter the value of 1122 in the area of the INVOICE_NUM and selects Execute Query (F8).  Then forms does all the work to extract and display the records without having to write code to do this.  This saves you having to write the code to perform and DML as well because the forms will take care of the Insert, Update and Delete automatically when your users click on save or press F10 (if I remember correctly).

    If you must absolutely query and display your data manually, then you cannot use the standard SELECT INTO method because it will only show 1 record.  You need to loop through your recordset and to manually edit the records in your block after you assign a value to the line.  For example:

    
     /* Sample Button Code */
    DECLARE
      v_invoice_num NUMBER := BLOCK.TEXT1;
    
      CURSOR Get_Items (p_invoice NUMBER) IS
      SELECT INVOICE_NUM, ITEM_CODE
      FROM XXTABLE
      WHERE invoice_num = p_invoice;
     BEGIN
      GO_BLOCK('BLOCK');
      CLEAR_BLOCK(NO_VALIDATE);
    
      FOR rec in Get_Items(v_invoice_num) LOOP
      :BLOCK.INVOICE_NUM := rec.invoice_num;
      :BLOCK.ITEM_CODE := rec.item_code;
      Next_Record;
      END LOOP;
     END:
    

    I really don't like this method, but it could work.

    Craig...

  • Insert multiple records in the single form

    Hi all

    I met already insert many rows into a table using ADF BC. The solution is in the following thread

    Re: How to create several new lines in the Table of the ADF?

    However,.
    The above solution is useful when you want to enter new values as well as all the table entries is displayed.
    What can I do if I don't want all values in the table, but just a page 'AddEntries' where I can only add new lines without going through the table entries is displayed.

    As,

    Say a form has 5 rows

    Each line has empId, eMailSlNo, send attributes

    EmpId is the same for all 5 recordings but emailId is different.

    EmpId eMailSlNo plus the PK.

    empId generated by the sequence.

    Now, on presentation of the form, I want all five records to be inserted.

    (can I use ADF form instead of the table of the ADF for the ViewObject in this case. I tried ADF form but I could only insert 1 plug at the same time).

    I use 10.1.3.4

    Help, please.

    Thanks in advance,
    Shri

    Published by: newtoOTN on December 29, 2009 18:02

    Shri salvation,

    ADF form is intended for the single insert/update. For multiple insert/update/delete using the collection as table UI is preferred. I guess your db table or table design INTERFACE default (in my opinion but I do not know your usecase entirely, so I guess might b wrong).

    I would say,

    -make EmpId as PK
    -have another table to store EmpId (foreign key), emailSiNo, email
    -Having the relationship of the master / detail between the British Colombia ADF db tables.
    -Create master / detail UI and on the selection of the master, view the details and if no record is found does not add files and commit.

    See these examples:
    http://www.Oracle.com/technology/products/jdev/tips/Mills/MasterDetailSync/Master_Detail_Synchronization_in_ADF_Faces.html
    http://andrejusb.blogspot.com/2007/06/create-edit-and-delete-operations-in.html

    Hope it makes sense.

    ~ K

  • Inserting multiple records of a QofQ?

    I do (yet!) an application for the parents to sign up for more information of the school of their child and giving them the opportunity to choose more than one year by using the checkboxes. I am of the grading as a string, then their analysis in different grades available and then query the db to see if subscription E-mail/school/grade already existing. If there is not, I would like to add to the db. Using CFDUMP, I've verfied that I extract the correct records for Add.

    I have appended to the query that selects records to add, then on my current INSERT query (choking on "INSERT") - I tried to put in square brackets the CFWACK INSERTION, but that no longer works. The error is "query of queries syntax error; INSERT met ".

    I have it!

    I had to change the allocation in the dbtype cfquery query to datasource = schoolnotices = INSERT.

    THANK YOU all for your advice. I learn loads and getting better with smaller on the way more problems as big as that. :)

  • How can I insert Multiple, subtitled Figure the number in FM9 (PC)?

    Greetings,

    I'm a technical writer for 18 years who has not touched FrameMaker since version 6.02 (about 10 years ago) and I don't remember much except for its great complexity. Now I find myself in a new job, where I sometimes have cause to use FM9 on a Dell laptop. Most of our material is produced using Adobe ID, but if a customer sends us something on the FM band, then refer to them in this format, if they so request. So, for the case that concerns us...

    I am to convert a technical manual of third-party of 'their' FM version based on our company available. Copy the graphic images of their manual to ours presented, surprisingly, a few problems. But now I have to add captions to graphics. Here's how I tried to do so far.

    I use the text block and the toolbar icon to create a block of text under each graph. I enter my text (for example, "Widget X"), Center my text in the framework using the paragraph Designer, highlight and select Caption in the pulldown paragraph tag. Then I click on 'apply '. Ok. The format is knows I'm in Chapter 2, because the first legend came out as "Figure 2-1: Widget X". So far so good.

    But now, when I try to add a caption in the following figure, Widget Y, I always 'Figure 2-1'. It is will, and of course I can't change it manually. I can not even highlight. What I will say is 'Figure 2-2'. And I want the caption to read "2-3". And so on.

    I am open to completely change my approach to zero if need.

    Help me, people from the forum, you're my only hope!

    -Shadow

    The numbering is not increment, because place the graphic in a block of text like that takes away those of the flow of current (i.e. each block of text acts as a separate entity).

    There are several ways that you can accomplish what you want. I'm assuming that the graphics are in anchored frames and are designed to flow with the rest of the content (if not, then you are any approach is involved).

    1. Enter the anchored now frame the chart legend text blocks. You will need to adjust the size of the had to adapt to the text of the legend.

    2. using a table with two rows of construction. The chart is placed in the first cell and the legend in the second cell.

    3. simply insert the figure of legend in a properly designed legend paratag after paragraph now framework anchored for the chart. No need for another block of text.

  • Insert multiple rows in a database

    Hello
    I worked on a project that takes a JMS queue xml document and inserts the data into db. But the problem here is that there may be any number of data sets. I use EPCO for my work, but no matter what I do, the data is not simply inserted. Could you any body please help me? Here is an example of the message that I'm trying to insert as the XSD for the JCA and entry documents.

    XSD for JMS Message:

    <? XML version = "1.0" encoding = "windows-1252"? >
    < xsd: Schema container = "http://www.w3.org/2001/XMLSchema".
    xmlns = "http://www.example.org".
    targetNamespace = "http://www.example.org".
    elementFormDefault = "qualified" >
    < xsd: element name = "canonical" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "order" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "data" maxOccurs = "unbounded" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "rowCode" type = "xsd: String" / >
    < xsd: element name = "productNumber" type = "xsd: String" / >
    < xsd: element name = "attributeType" type = "xsd: String" / >
    < xsd: element name = "attributeCode" type = "xsd: String" / >
    < xsd: element name = "transactionType" type = "xsd: String" / >
    < xsd: element name = "timestamp" type = "xsd: DateTime" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >


    JCA XSD:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < xs: Schema targetNamespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertData" xmlns = "http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertData" elementFormDefault = "qualified" attributeFormDefault = "qualified" xmlns: XS = "http://www.w3.org/2001/XMLSchema" >
    < xs: element name = "OrderDataCollection" type = "OrderDataCollection" / >
    < name XS: complexType = "OrderDataCollection" >
    < xs: SEQUENCE >
    < xs: element name = "OrderData" type = "OrderData" minOccurs = "0" maxOccurs = "unbounded" / >
    < / xs: SEQUENCE >
    < / xs: complexType >
    < name XS: complexType 'OrderData' = >
    < xs: SEQUENCE >
    < xs: element name = "prodnum" type = "xs: Decimal" / >
    < xs: element name = 'attrtype"minOccurs ="0"nillable ="true">
    < xs:simpleType >
    < xs:restriction base = "XS: String" >
    < xs:maxLength value = "20" / >
    < / xs:restriction >
    < / xs:simpleType >
    < / xs: element >
    < xs: element name = "attrcode" minOccurs = "0" nillable = "true" >
    < xs:simpleType >
    < xs:restriction base = "XS: String" >
    < xs:maxLength value = "10" / >
    < / xs:restriction >
    < / xs:simpleType >
    < / xs: element >
    < xs: element name = "transtype" minOccurs = "0" nillable = "true" >
    < xs:simpleType >
    < xs:restriction base = "XS: String" >
    < xs:maxLength value = "1" / >
    < / xs:restriction >
    < / xs:simpleType >
    < / xs: element >
    < xs: element name = "ordertime" type = "xs: DateTime" minOccurs = "0" nillable = "true" / >
    < / xs: SEQUENCE >
    < / xs: complexType >
    < / xs: Schema >

    Input samples:

    <? XML version = "1.0" encoding = "windows-1252"? >
    < ProductData >
    < header >
    < rowCode >: < / rowCode >
    < interfaceCode > H6D9J7 < / interfaceCode >
    < createdOn >
    < date >
    < year > 2011 < / year >
    < month > 05 < / month >
    < day > 23 < / day >
    < / date >
    < time >
    < time > 02 < / time >
    < minute > 05 < / minute >
    < seconds > 11 < / seconds >
    < / time >
    < / createdOn >
    < description > Front Shop of the attributes of FMS to JDA PMM < / description >
    < / header >
    < body >
    < data >
    < rowCode > D < / rowCode >
    < other > 0004567 < / productNumber >
    < attributeType > MIMI < / attributeType >
    < attributeCode > CCCCCCCjjj < / attributeCode >
    < transactionType > A < / transactionType >
    < timestamp >
    < date >
    < year > 2011 < / year >
    < month > 02 < / month >
    < day > 19 < / day >
    < / date >
    < time >
    < time > 02 < / time >
    < minute > 05 < / minute >
    < seconds > 11 < / seconds >
    < / time >
    < / timestamp >
    < / data >
    < data >
    < rowCode > D < / rowCode >
    < other > 0004567 < / productNumber >
    < attributeType > TTTTTT2 < / attributeType >
    < attributeCode > CCCCCCjjj2 < / attributeCode >
    < transactionType > A < / transactionType >
    < timestamp >
    < date >
    < year > 2011 < / year >
    < month > 02 < / month >
    < day > 19 < / day >
    < / date >
    < time >
    < time > 02 < / time >
    < minute > 05 < / minute >
    < seconds > 11 < / seconds >
    < / time >
    < / timestamp >
    < / data >
    < / body >
    <>footer
    < rowCode > Z < / rowCode >
    < interfaceCode > H6D9J7 < / interfaceCode >
    < numberOfRows > 000000000002 < / numberOfRows >
    < / footer >
    < / ProductData >

    I will be really grateful if someone can help me. Thank you.

    Check below link it may help you

    How to insert multiple records using the single DB adapter

    Thank you
    AJ

  • Several box insert as multiple records

    I'm relatively new to ColdFusion. It's the simplicity, as well as Dreamweaver insert/update/delete assistants, have helped build clean enough applications for database insertion, recovery and deletion and display.

    However, I have to be able to insert several selections of boxes as multiple records in a table, and I am running into problems. I guess this sort of thing is the premise of virtually any shopping cart out there, but I can't seem to find any good information on in my 'develop with CFMX manual' or my "Kit of Construction CFMX Web App" book or on the web also. (The only examples for the page of the form or the action page are a static box!)

    The basic premise of what I'm trying to achieve:

    The user is able to select different items in several boxes. (ITEM_ID)
    This selection is associated with the user. (CUSTOMER_ID)
    The selection is associated with a point in time as a year. (INSTANCE_ID)
    These identification numbers that must all be inserted in a 3 column table expecting integers for ITEM_ID CUSTOMER_ID and INSTANCE_ID

    Example of FORM values that would be passed: (147,148,149, 23445, 4) = (3 ITEM_IDs, CUSTOMER_ID and INSTANCE_ID)

    Typical error on presentation to insert action page: Number of columns in reading / writing does not equal the number of values (which is normal, I am gathering several values via checkboxes).

    How can I insert each box is selected as a separate record in the table?

    Such as:
    (147, 23445, 4)
    (148, 23445, 4)
    (149, 23445, 4)

    My Code:

    Form:

    < are method = "post" name = "form2" action = "process_form_action_page.cfm" >

    < table >

    < cfoutput query = "Stored_Procedure1" >

    < b >
    < td > < input type = "checkbox" name = "ITEM_ID" value = "#Stored_Procedure1.ITEM_ID #" > < table >
    #Stored_Procedure1.ITEM_TITLE # < td > < table >
    < /tr >

    < / cfoutput >

    < /table >

    < input type = "hidden" name = 'CUSTOMER_ID' value = '#CUSTOMERS. CUSTOMER_ID #">"
    < input type = "hidden" name = "INSTANCE_ID' value = '#INSTANCE. INSTANCE_ID #">"
    < input type = "submit" value = "Insert record" >

    < / make >


    «"" "Action page:»»"»


    < cfquery datasource = "ORDERS" >

    INSERT INTO PRODUCT_CUSTOMER (ITEM_ID, CUSTOMER_ID, INSTANCE_ID) VALUES)
    < cfif IsDefined "(FORM. ITEM_ID") AND #FORM. NEQ ITEM_ID # "" > "".
    #FORM. ITEM_ID #.
    < cfelse >
    NULL VALUE
    < / cfif >
    ,
    < cfif IsDefined "(FORM. CUSTOMER_ID') AND #FORM. NEQ CUSTOMER_ID # "" > "".
    #FORM. CUSTOMER_ID #.
    < cfelse >
    NULL VALUE
    < / cfif >
    ,
    < cfif IsDefined "(FORM. INSTANCE_ID") AND #FORM. QNE INSTANCE_ID # "" > "".
    #FORM. INSTANCE_ID #.
    < cfelse >
    NULL VALUE
    < / cfif >
    )

    < / cfquery >
    < / cfif >

    Thank you!

    I'm not not to take good advice. If I was a bit too "hard", I'm sorry... but at least I finally got a good response.

    I realized what I wanted anyway. (Sabaidee, yours was the closest answer you to what I later came up with.) Thanks for the effort, I appreciate it. I will certainly implement your logic of to check if the box is checked).

    What I came up with a solution:





    147
    148
    149



    INSERT INTO MyTABLE (CUSTOMER_ID, ITEM_ID, INSTANCE_ID)
    VALUES (' #Form.CUSTOMER_ID # "," #Form.INSTANCE_ID # "," #Checked_ITEM # ")

    If all of the check boxes are selected, the data is inserted as:

    147, 23445, 4
    148, 23445, 4
    149, 23445, 4

    (I realize that there is much more that can be embellished in the form page and the page of the processor).

  • Reading time to fetch multiple records vs. single record

    Hi all

    I have an application where I need to get several records, I use an SMU-5185, and basically, the problem is that it takes too long to retrieve multiple records, I did a test to measure the time it takes for the reading of the hole 32 MB of data and results.

    Parameters:

    Records to Fetch = 8192 (maximum 1 page = 4 KB, 8192 Records = 32 MB)

    Fetch time = 1100 ms

    Records to Fetch = 1

    Samples to Fetch = (2 ^ 25-1500) = 32MB

    Fetch time = 70 ms

    So, I want to know why it takes more time to get the multiplerecords if both are reading the same amount of data? Is there something I can do to decrease the recovery time?

    Thank you

    Hi Rodrigo,

    In fact, I think that the rate of release should be out of the equation, as in the while loop I wait until the end of the acquisition,

    You're absolutely right, I apologize for this oversight.

    I'm you test your code and see several times (about 930ms) Fetch when only pick a channel.  As soon as I specified two channels, the recovery time is an order of magnitude smaller (around 90ms).  Change the sampling frequency, fetch timeout and record length do not seem to affect this disparity in the order of magnitude.

    So to reiterate:

    In the case of single record , changing from one channel to both channels double recovery time.  It's what I expect.

    In the case of multi recording , changing from one channel to both channels decreases the time of recovery by an order of magnitude.  I don't think that.

    Furthermore, when I test in the example shipping niScope EX Acquisition configured standard I do not see this effect.

    (1) can you confirm that, in the case of multi account for your tests, you see that the recovery time reduced when you specify two channels instead of one?

    (2) can you confirm that you are not able to replicate that in the example Acquisition set up ?

    I have tabled a CAR 350194 to address this behavior more with R & D, but unfortunately I can't promise a timeline for the resolution.  I recommend at this stage unless you change Acquisition is configured when you set up your code instead of starting from scratch.  Support at home OR you can call at any time to check the condition of this CAR.

    To answer your question of why a use case takes more time than another, it will take more time to study according to the guidelines of this CAR.  We have already mentioned there is some overhead involved with multi-record fetch, but whether or not the time more or less long you see are good times is something that R & D will have to answer.

    Please let me know if you can confirm what I see by testing.

    -Andrew

  • I recorded the wrong number and I cannot remove it.

    Hi all

    I signed recently a number in Skype to Go, which is the number of mobile phone of my boss (I thought I'd save the number I wanted to call, not my own number).

    It is the Canada and I'm at the Chile.

    I can't delete his number to record my own number. The option does not exist.

    Can someone help me? I'm afraid without deleting the Canadian number, I registered I'll never be able to use Skype to go.

    You can record up to 20 different phone numbers which are allowed to call a Skype To Go number in particular

    Since there is also a PIN associated with your Skype To Go number, you will be able to call from any phone number, as long as the PIN is used (the PIN is not necessary when calling phone number saved as Skype should see the display of the number you're calling your Skype To Go number)

    to access and manipulate the list of entered numbers:

    1. sign in to your account on Skype.com

    2. click the button of Skype To Go

    3. click on edit (right of your Skype To Go existing number)

    4. change the details associated with this issue (the name of the contact, type, country, and phone number)

    5. put "closest position" up-to-date information if necessary

    6. click on manage right of "Registered phones.

    7 Add numbers or change as required

    8. you are welcome

    Kind regards
    Neil

  • 5152. multiple record acquisition forever

    Is it possible to do a multiple record acquisition on the 5152, which itself will be automatically retrigger forever?

    I have currently a multiple record acquisition implemented to acquire 256 records, but the external triggers (using the TRIG BNC of input) are so close together that the software cannot rearm the coverage in time for the next acquisition, and some triggers are missed.

    For example, we are capture 8000 samples to 2 MS/s, if every record is 4 ms in duration. The external trigger occurs at the beginning of all of the records, with a period of 4 ms, so I essentially continuous. Each 256 files (about once per second), the LabVIEW VI transfers data in memory, he wrote on the disk, it displays on the front panel, etc, then re - the scope for the next acquisition of weapons. It would be ideal that the scope can be configured for the immediate release of an another multiple record acquisition (preferably in hardware), so that it could acquire in parallel with LabVIEW treatment files and write data to the disk.

    Any thoughts on how I might accomplish this?

    Hi Schrockwell,

    There is no way to make a Multi-Multi Record Acquisition.

    What you want to do, the short answer is Yes - there is a way to introduce within the finished construction of the API OR-SCOPE, but you should make sure that

    1. you must enable more Records than available memory

    2. you must set the number of records in very huge.  Since this value is an Int32, theoretically, the more important you can set avalue of about 2.15 billion (2 ^ 31-1).   After that, you must stop and restart your acquisition.

    The total time that the acquisition will continue for is:

    = Total number of records [#] acquisition [s] Total time / Trigger rate [Hz]

    3. Finally, you should make sure that you can endure the flow in your PXI/PCI bus, and you have designed your code effectively to support this.

    Two important things I noticed is that you decide to display data on a chart, and you write on a disc.  View data in a graph will lead your program last much longer the complete loop iteration - instead, try rΘcupΦre without display data.  Secondly - if you write to a disc, you must use queuesto do.

    If you already do this, then the question of highest level, it's whether or not you are supplying data on your digitizer.  If so, you must work around this problem so that there is no backlog of data.  The extraction flow (data transferred in your program using the Fetch function) must be equal to your Flow of Acquisition:

    Acquisition flow [B/s]

    = Number of samples per registration type [Sa/REC/WAV] * rate [Hz] * resolution digitizer [bytes / his]

    (Since the 5152 is a 8-bit digitizer, the resolution of your digitizer is 1 b/sample).

    If you can compare your speed of recoveryand who then subtract the acquisition flowcalculation, then you should see a number (in B/s) which reflects the speed at which you are supplying data.  For an acquisition to keep forever, this number must be virtually zero.

    I hope this helps,

    -Andrew

Maybe you are looking for