Need help: performs an attribute-level Validation

Hi refugees,

In the OPS how to perform Validation of the attribute levels?

How to compare the values of two attributes?

My requirement is I Amountfrom and Amountto articles in the area of Table having 10 records...

validation is here amounted to must be greater than the quantity of, so for that I need to perform validation in the class of EOImpl...

To do this, I need to read the value of AmountFrom and compare with AmountTo...

Here, my question is, how to read the value of AmountFrom...

Its urgent...

  1. Please... Give your valuable suggestions...

Thank you

Jaya

It's really nice

In addition, close threads once your problem solved.

Tags: Oracle Applications

Similar Questions

  • Need help with the date of Validation Urgent

    Hello

    We need help in the Validation Date.

    We have 2 fields of Date on the form the Start Date, End Date

    The requirement is: End Date (cannot be more than 30 years as of the start date).

    I wrote after the script on the exit eventof the End Date . But the problem is its calculation of 30 years from the current Date not from the Start Date

    var

    tDate = util.scand (' mm/dd/yyyy', new Date());

    var

    M = tDate.getMonth ();

    var

    D = tDate.getDate ();

    var

    Y = tDate.getFullYear ();

    var

    SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );

    App.Alert (SRes)

    If

    (SRes < = this.rawValue)

    {

    App.Alert ("cannot be greater than 30 years from the start date")

    () xfa.host.setFocus

    ce );

    }

    can someone help me please

    Kind regards

    Jay

    Hello

    You need to get the LCD field javascript and calculate & compare with the future date in date javascript.

    Try the following script.

    var sDate = StartDate.rawValue;
    var wkStartDate = util.scand ("yyyy-mm-dd", sDate);

    nYear var = wkStartDate.getFullYear ();
    nMonth var = wkStartDate.getMonth ();
    nJour var = wkStartDate.getDate ();

    var wkFutureDate = new Date (+ 30 nYear, nMonth, nJour);

    sDate = EndDate.rawValue;
    var wkEndDate = util.scand ("yyyy-mm-dd", sDate);

    If (wkEndDate.getTime () > wkFutureDate.getTime ()) {}
    xfa.host.messageBox ("cannot be more than 30 years from the start date");
    xfa.host.setFocus (this);
    }

  • Added a Zoom Plugin jQuery and needing help to add attributes to the evolution of the poplet images.

    Hey BC community, I looking for a little help with some jQuery / javascript. Overall, I have a plugin to zoom like forcing me to add a data attribute to the image I want to add the zoom effect on. This isn't a problem, but I poplet images that I've adjusted to fill again the big picture. html() rather than the default light box.  The Zoom plugin I use requires a data attribute to be added to all the images I want to have the ability to zoom attached to. I wrote jQuery that adds the attribute data on the original image which is to fill the big image container, but whenever I change the following poplet image, I lose the zoom effect. I hope that makes sense... lol I'm still a javascript / jquery newby.

    Here is the work currently underway. Figure which may help understand the situation better. Here is the site

    I just want to add zoom to any poplet effect is enabled by adding the attribute data and the new file extension required for the expansion of the resolution. Again, please excuse the bad jQuery / javascript, I'm still learning!

    Here's my jQuery / Javascript.

    New features of Poplet

    /*===================================================*/

    function poplet (e) {}

    e.preventDefault ();

    var imgURL = $(this) .attr ('href');

    $('#largeimage').html ("< img src ="' + imgURL + ' "> '");

    }

    /*=======================================

    MAGNIFY

    =======================================*/

    $(document) .ready (function () {}

    var addedAttr = "data-magnify-src";

    var addedExtension = '-large.jpg ";

    var originalExtension is $('.productLarge #largeimage > img') .attr ('src').slice(0,-4);.

    var combinedExtension = originalExtension + addedExtension;

    $('.productLarge_#largeimage_>_img').attr (addedAttr, combinedExtension);

    });

    $(function() {})

    Poplets

    $('.productPopletsItem_a').removeAttr ('onclick release);

    $('body').on (' click on ', '.productPopletsItem a', poplet);

    });

    Yes I fixed it, got help from some other forums. Thank you!

  • Need help with an attribute important XML parsing (&gt; 45 MB)

    Hello

    The database version is running on 32-bit Linux 11.2.0.2.

    The response contains an attribute called FileContent which can be as long as 100 MB. (The total response XML is FileContent size + 200 bytes).

    The obligation is to extract the FileContent and load it into a CLOB.

    I use this application to do the same thing:

    -INSERT IN...

    SELECT t.request_id,

    HDR. FILE_CONTENT FROM

    (SELECT resp_xml, request_id

    OF (xmltype (xml) SELECT resp_xml FROM t1 WHERE request_id request_id = 1200134 MESSAGE_TYPE AND = 'RESPONSEXML'))

    t,

    XMLTABLE ((xmlnamespaces (par DÉFAUT «urn: xxx:yyy:zzz:filetransfer')))

    ),

    ' / / GetFileResponse' ADOPTION t.resp_xml

    COLUMNS

    FILE_CONTENT CLOB PATH 'FileContent '.

    ) as hdr

    It works as long as the FileContent is less than 20 MB. When it's no longer what I get:

    ORA-00600: internal error code, arguments: [KGHALP1], [0x0] [] [], [], [],.

    [], [], [], [], [], []

    Until we have upgrade to a higher version of DB, is there an alternative?

    Thank you.

    That works better?

    SQL> create table test_bigtext (id integer, doc clob);
    
    Table created.
    
    SQL>
    SQL> insert into test_bigtext values (1,
      2  ''||rpad(to_clob('X'), 50e6, 'X')||''
      3  );
    
    1 row inserted.
    
    SQL> commit;
    
    Commit complete.
    
    SQL>
    SQL> declare
      2
      3    input       clob;
      4    doc         dbms_xmldom.DOMDocument;
      5    node        dbms_xmldom.DOMNode;
      6    p           dbms_xmlparser.Parser;
      7    istream     utl_characterinputstream;
      8
      9    tmp         varchar2(32767);
     10    nread       integer := 32767;
     11    output      clob;
     12
     13  begin
     14
     15    select doc
     16    into input
     17    from test_bigtext
     18    where id = 1;
     19
     20    -- parse
     21    p := dbms_xmlparser.newParser;
     22    dbms_xmlparser.parseClob(p, input);
     23    doc := dbms_xmlparser.getDocument(p);
     24    dbms_xmlparser.freeParser(p);
     25
     26    -- select & read
     27    node := dbms_xslprocessor.selectSingleNode(dbms_xmldom.makenode(doc), '/root/content/text()', 'xmlns="http://xmlns.example.org"');
     28    istream := dbms_xmldom.getNodeValueAsCharacterStream(node);
     29
     30    dbms_lob.createtemporary(output, false);
     31
     32    loop
     33      istream.read(tmp, nread);
     34      exit when nread = 0;
     35      dbms_lob.writeappend(output, nread, tmp);
     36    end loop;
     37
     38    dbms_output.put_line(dbms_lob.getlength(output));
     39
     40    istream.close();
     41    dbms_xmldom.freeDocument(doc);
     42
     43  end;
     44  /
    
    50000000
    
    PL/SQL procedure successfully completed.
    
  • OK, need help on lists multi-level after all...

    Experts-

    I thought I found a solution to the numbering of the sets in a section, where the top-level step is number 1 after a heading. The test:

    1. Create a paragraph for the high-level steps style (as in a procedure step). I called the style level_2 (sic). It is based on the normal, with some indentation.
    2. Create a paragraph for the 2nd level stage (void) style. I called the style level_3 (sic). It is based on the normal, with some indentation.
    3. Create a multilevel list style, called MLL_style_1
    4. Associate level 2 paragraph style level_2 multilevel list style.
    5. Associate level 3 style list paragraph style level_3 at several levels.
    6. Associate the title 1 level 1 of the multilevel list style.

    The sole purpose of #6 above is to force styles Level_2 numbering is restarted. This seems to work:

    multilevel_list_test.png

    HOWEVER, I noticed a problem and a curiosity:

    • Problem: I don't want no numbering to appear before the header text 1. I can't find a way to make the numbering of level 1 of the MLL_style_1 property be nothing or null. When I delete all the text in space to change the Style, it reverts back to its default value < x >:

    edit_style_field.png

    So, do you have any ideas on how to do to remove the numbering of the heading, OR how to otherwise force the numbering of the first step to be 1.

    • Curiosity: The first element of heading 1 in the first picture above is the first occurrence of this paragraph style in the topic. However, it is auto-number 2. This seems to be due to the presence before the header of the paragraph styles that are associated with lower levels of the multilevel list.

    Any thoughts on why the first heading 1 start at 2?

    Much obliged in advance.

    OK, the question is 98% responded: for an explanation of the behavior of numbering, see the page of Mr. Jha here:

    http://blogs.Adobe.com/TECHCOMM/2009/11/multilevel_list_in_robohelp_8.html

    The last section (restart / continue numbering) explains how to restart list numbering in Mid-list.

    The 2% is the question of the first heading is numbered as 2 if there is no entry list. Support is to see if it is not a defect.

  • Need help - Performance &amp; Tuning

    Hey all,.

    I was wondering if someone could provide all the documents on the Performance and optimization of standards

    Thank you!

    Here are a couple of things worth looking at

    http://communities.VMware.com/servlet/JiveServlet/download/10352-1-28235/vSphere4-performance-troubleshooting.PDF

    but for VI3

    http://www.VMware.com/PDF/vi_performance_tuning.PDF

    and technical guides

    http://www.VMware.com/VMTN/resources/

  • Validation of the attribute levels

    Hello

    I need to perform validation levels attribute between these two fields of type numbers, when the user tab in both areas if size is higher then its size fires and displays a message on the field from waist, well want to tell me how to do this?

    JDeveloper 11.1.1.6.0

    validation.png

    Kind regards

    Peyrot

    Take a look at:

    http://sundarakrishna.blogspot.com/2013/11/ADF-entity-object-entity-level-and.html

  • Speed/performance of my mac mini (mid-2010) is very slow. Need help, consolidate the files, software updates, etc. in order to improve the speed and performance.

    My mac mini (mid-2010) speed/performance is very slow - think of it as a result of letting my kids do "whatever" about it in recent years.  Need help, consolidate the files, software updates, etc. in order to improve the speed and performance.  You will also need to get data out of old PowerBook G4.

    < object edited by host >

    We are users like you.  Search locally by using something like Yelp or similar

    http://www.Yelp.com/search?find_desc=Apple+repair & find_loc = Chicago, + IT & start = 0 & ortby = rating s

    or read a few links which may be relevant on this forum about the slow mac mini

    http://BFY.tw/5C63

  • Need help with slui message with the Validation Code: 50

    OT: need help with the message 'victim' slui...

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 50
    Code of Validation caching online: 0xc004c4a2
    Windows product key: *-* - YMK9F - 7Q3XK-X7D3P
    Windows product key hash: 9WDJkbD1PdUJ + GCdK63bG2yus5g =
    Windows product ID: 00371-702-8613485-06367
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {60986DD4-5ADA-464C-A590-469385BD5D3A} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.150928 - 1507
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {60986DD4-5ADA-464C-A590-469385BD5D3A}1.9.0027.06.1.7601.2.00010100.1.0.048x 64*-*-*-*-X7D3P5S-1-5-21-4040712825-3780279311-4191590923the system manufacturer,System Product NameAmerican Megatrends Inc. 00371-702-8613485-06367 0802 20110601000000.000000 + 000F3A53C07018400FE04090409Central Standard Time(GMT-06:00)03109

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.1.7601.17514

    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, retail channel
    Activation ID: c1e88de3-96c4-4563-ad7d-775f65b1e670
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00212-702-861348-00-1033-7601.0000-1142014
    Installation ID: 022214046070387640229264400212325972472065330163335456
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: X7D3P
    License status: Notification
    Reason for the notification: 0xC004F200 (non-genuine).
    Remaining Windows rearm count: 4
    Trust time: 12/01/2016 11:28:57

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0xC004C4A2
    Beyond: 0 x 0000000000000000
    Event timestamp: 1:11:2016 12:55
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:

    --> HWID data
    Current HWID of Hash: QAAAAAEAAwABAAEAAQADAAAABwABAAEAln3OI0bUDFRsO24dgCKo58SW2JyUY/1mMckmPrb67HxoDsAKMMl2Vg ==

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID consistent: n/a
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC1425 APIC 060111
    FACP 060111 FACP1425
    HPET 060111 OEMHPET
    MCFG 060111 OEMMCFG
    LASRYVITRAGE OEMB1425 060111
    ASPT 060111 PerfTune
    OEMOSFR OSFR 060111
    SSDT DpgPmm CpuPm

    Hello

    Thanks to everyone who responded to my question.

    Turns out it would not activate the system properties page.

    He did, however, turn on the tool online browser without a

    hitch. Yes, problem solved.

    Jon

  • Extended attributes are incompatible - need help urgent please!

    Hello Microsoft Forum,

    I want to keep this short, as I now have serious problems.
    I have Windows 8 Pro, with each update installed.
    I was looking through the net by chance, then the messaging with a friend.
    My friend has design a logo, which he sent via Skype in a .png format.
    When I double click on the logo, the problems started. Everything has become very slow.
    The image does not open and only after 5 minutes of waiting Windows Picture Viewer began to appear.
    The strange thing is, open Windows image viewer my file .wav file music stored elsewhere, not on my desk (the photo was about all this on my desk).
    Image viewer of course could not open the music file.
    So I decided to open the Task Manager, but the error described in the title, "Taskmgr.exe - extended attributes are incompatible" error came, does not let me to open the Manager.
    This also occurs with most of my programs. I get the same error with Regedit, MSconfig and other configuration utilities, and also some programs starts, as Mumble (Murmur Server can, however).
    In fact, all system tools and, more generally, all in need of Admin privilege does not work. Some of these programs give the error message, some simply do nothing at all.
    I'm the admin user and UAC is set to the last row (no notification).
    In safe mode, everything is normal. In addition, disabling antivirus (ESET Smart Security 6) does not solve the problem.
    I followed a few articles I found, which describes the fix from my sound theme on None or default Windows Setup.
    I have, however, never changed anything with my theme, the sound was enabled by default.
    Setting the sound theme "None" did nothing, just like the definition of the theme options.
    Opening to the top of anything with sound (once again a left-click on the icon in the taskbar to bring up the small volume) literally takes ages.
    Right click on the sound opening in the bar of tasks and sounds to change the theme, then takes forever.
    With forever, I hear, I see the labels and buttons to come with 5 second delay between each.
    This is a high end machine with an i7 - 3770K and a Corsair SSD ForceGS, 16 GB @ 1600 MHz RAM and a GPU GTX 670, so normally everything happens at the moment.
    The sound is the only part affected the slow opening of Chrome, Explorer, and some programs that do not work, are at the moment.
    I'm now writing this getting messages of "program does not" and "Incident at sending information" certain programs, in fact utility built into Windows.
    I wish I had of emergency aid, as this is my main work computer
    . I'm missing a few hours of serious work because of this bug, which was published in a 'stable' of Windows version.
    Edit 1: I forgot to mention that I already tried cmd as Admin ' sfc/scannow' option in Mode safe mode (with or without network, cmd does nothing when open as Administrator without mode safe, does not yet show upward) and in the Advanced Restart public services
    Edit 2: I have not installed new hardware or software when this happened in the same State as everything worked.
    I really want to reinstall everything, I hope that a solution to this.
    Edit 3: One of the programs, which frequently closed (I received a message '(program) stopped working' him) is the host of Console window.
    Edit 4: I have disabled all the codecs to start in safe mode, nothing has changed (an article describes install codecs Audacity caused the same problem).
    Edit 5: Now after a second attempt in SafeMode as administrator cmd, command "sfc/scannow" reported an error that the problems have been found, but could not be repaired.
    Edit 6: I also tried (Cmd as administrator in safe mode with network) repair DISM, could not complete because of an error.
    Edit 7: Tomorrow, if I can not find a solution, I'm going to take drastic measures, like restoring to a previous safe point, using the options of recovery and if necessary, even refresh/powerwash/reinstall everything. However, I hope that these measures are not necessary, because they require a lot of time.
    I hope that my question is understandable
    . Excuse me for my arrogant desire to answer, I normally invite people in the forums, but this made my computer unusable work, resulting in some (financial) problems.
    Kind regards
    Richard

    Hi Richard,

    Since the problem started happening when you tried to open the image file that has been sent to you on Skype. There might be a chance that the image file would be infected by the virus, due to which your computer is facing this problem.

    I suggest to run the Microsoft of Networking in Safe Mode Security Scanner and check to see if it helps:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Warning: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

  • Try to install CS4 on macbook pro. "VALID serial number appears as ' not VALID. "Need help.

    Try to install CS4 on macbook pro. "VALID serial number appears as ' not VALID. "Need help.

    Hello

    Please see this link for more details: error of incorrect serial number

    Hope this helps!

  • Need help finding my code of the original key.  Have the update level but need the original.  Can you help me?

    Need help finding my code of the original key.  Have the update level but need the original.

    How did you come to lose?

  • I need help! "An access denied error was returned while attempting to change a service. You may need to log on using an administrator account to perform changes specifice. »

    This is the message I get trying to disable my system startup items Configuration utility. I never had this problem before. I don't have my account and a guest account.

    I need help! Thank you

    A common cause of this is a spyware, Trojan horse or other parasite which means it's time to analyze for all these items. Be sure to include free AVG AntiSpyware in the analysis.

    Then, when you have a clear idea, there are no parasites try TWEAKUI and set the account you want to auto logon.

    Good luck! Please rate me upward if you find my post helpful. Thank you!

  • Need help with Java Script to perform a calculation in the form of Adobe Acrobat Pro 9

    I have a form (test) I created in Adobe Acrobat 9 Pro.

    I need help to create a custom JavaScript, so I can get the desired response.

    1) there are several questions in each group requiring a numeric response between 0-4

    2) there is a total set up field to calculate the sum of the responses of all of the above questions

    (3) the final "score" takes the answer in step 2 above and divide by the total possible response

    Any help to what Java Script I need to fill it would be greatly appreciated!

    I have attached a spreadsheet "" which shows more in detail as are the result of what I used in Excel to get the desired end formulas.

    Thanks in advance.

    Have you tried the "field is the average of:"?

  • Need help with LabVIEW code for motor control.

    Hello

    My name is Sasi. I'm a grad student BME working on my thesis topic of assessment for back pain spine implants. To do this, I'm building a test machine that would apply pure moments of a specimen of the spinal column. I use LabVIEW 8.5 to implement the control of a brushless AC servo motor. My requirement is

    Step 1: Initialize the engine.
    Step 2: Start moving it to a uniform to the right PLAN (this value of RPM too user can enter).
    Step 3: while doing step 2; at the same time read the couple cell data (acquisition of data using Asst.). DAQ o/p is 0 v to 10 V; 0 v is 10 Nm n
    10 v is + 10 Nm
    Step 4: What torque reached + 10 Nm, i.e. 10 V, the engine stops.
    Step 5: from the position where the motor stopped (IE not need to return to the initial position) start moving in the opposite direction to the same
    Uniform rpm as in step 2 at the reading of data in the cells of the couple.
    Step 6: once more what torque reached-10 Nm, i.e. 0 V, the engine should stop.
    Step 7: Repeat "Step 2" to the "step 6' 3 times.
    Step 8: Reset engine position.

    So far, I managed to get the engine to move backward @ a desired vel, the accl, deceleration for 3 cycles before n n. I enclose my code. I have a problem inserting the code for reading DAQmx amidst all this. Can someone help me.

    Thnks,

    Sasi.

    Hi Sonia,.

    I took a quick glance to your problem and I think I have a solution for you.  I certainly agree with the suggestion of the use of parallel loops Lynn.  This will allow the portion DAQmx run uninhibited by the part of the motion, and vice versa.  In addition, you need only perform an iteration of the loop of the movement whenever the voltage level exceeds a threshold.  Thus, by performing an iteration on the code of movement in the same loop are you iterate over DAQmx code, you essentially waste processor.

    I created a VI that should do what you are wanting.  I tested it on me and it works very well.  You have a tweak a few things to apply to your system (such as motion Council DAQmx and physical channel ID, etc.).  I used two parallel loops and event programming.  Basically, the loop of movement starts the engine turns at the specified speed.  Once the engine is running, he expects the DAQmx loop to tell him that the voltage value has crossed the threshold.  When the voltage value exceeds the maximum threshold (I put a value slightly less than 10 to jitter and saturation), the DAQmx loop indicates the loop of the motion that it may end its iteration.  The motion loop stops the motion, causes a reversal and repeats the motion.  Once the movement has begun, he expects the DAQmx loop once again to tell him that a threshold was held, but this time, it's looking for a minimum threshold.  I used "Occurrences" to implement the event programming in LabVIEW.

    I've commented the code pretty thoroughly, so I hope that comments will answer all remaining questions.  The advantage of using programs that focus on the event for this is that you save time processor, and your movement is more closely synchronized with the DAQmx.  Instead of one iteration of the loop of movement as fast as you can, updates every hour, you just put in pause and wait for the other loop to tell you when to start up again.  Meanwhile, the processor doesn't have to worry about an iteration of this loop over and over again.  In addition, when the accident occurs, you catch him immediately, instead of having to wait until the next iteration.  Thus, you are more closely synchronized with the DAQmx code portion.

    I hope this will help you.  Please report if you have any questions about the code or its implementation.  Good luck!


Maybe you are looking for