Logic multiply instead of relaxing break

Hi all!

Can someone help me with the meter by another,

I want to produce modulated timebase, otherwise first generate impulses in continuous mode, and another did the same thing, but with a lower frequency.

for example = 20 Hz f1, f2 = 0.1 Hz. The first counter blocked by another, there is no option to stop temporary counter1 where counter2output is in a low state of logic, I want to produce OUT timebase = [ctr1out] [logic multiply] [ctr2out], do not pause.

---

Alexander.

Hi AlexanderRyabov,

If you want to produce a modulated time base, you should be able to do this by connecting the outputs of the 1 meter and 2 meter at the source and the door of a third meter. The low frequency counter would be connected to the door and would act as the signal to toggle meter of high frequency that is connected to the source. The result would be when the impulse of low frequency counter is high, the output of the counter 3 will expose the pulses of the meter high frequency counter 1 and when the pulse of low frequency counter is low, the output of the counter 3 is low for the duration of the door (counter 2) low pulse. This is equivalent to a logical multiplication of signals two against.

Here is a link on how to deliver the outputs of the two counters at the door and the source of a third meter on the map you are using:

http://zone.NI.com/DevZone/CDA/EPD/p/ID/2109

I hope this information helps!

Kind regards

Tags: NI Hardware

Similar Questions

  • How to generate a single Point (On-Demand) edge counting with relaxing break

    I have problem when creating a Labview program to generate a single Point (On-Demand) edge counting with relaxing break illustrated in FIGURE 1 below. I only know how to build counter edge without relaxing break and my program is illustrated in FIG. 2 and gaskets also. Should what changes I make on my program? The DAQ card that I use is 6259 PCI/USB.

    FIG1. Single edge counting with break Point (on request)

    Fig.2 my program to generate the edge without relaxing break

    It is resolved

  • Multichannel relaxing break

    Hello world

    I am a beginner with LabView. I'm able to acquire several analog signal of my PCI 6221 using DAQ Assistant, but my requirement is to measure only all my entries with relaxing break for example I need to acquire data only when my example PFI10 is Hawaii. Whenever the PFI10 is Lo, the break of the measure.

    I found an example to reach the break here. However, it is only for 1 channel unfortunately. I do not understand about the flow, but I tried several times to add another channel to my purchase, but without success. Maybe my knowledge is limited and only able to start the project of the DAQ Assistant, but not this type of project.

    I tried to add another channel to DAQmx create Virtual Channel.vi but he couldn't accept two inputs. Maybe I need some kind of multiplexer?

    If the question above can be done, how do I add another measure DAQx Read.vi inside the while loop?

    Can someone tell me how to add channels (I need at least another 2 analog channels) on this vi? I think, any other user who are in the early phase like me will all benefit your respons.

    Sincere greetings,

    Hague

    Hello

    Found the solution (vi attached). But it is only from 2 channels.

    Kind regards

    Hague

  • DAQmx: With relaxing break pulse blocking

    I have a NI 9401 module in a chassis 9171 and stand at the door of the output of a counter with the release of another counter. 1 meter (the signal to be blocked) generates a 3 Mhz signal and meter from 0 (the door) generates a 10 Hz signal that is sent outside to door pin of 1 meter. I expect this would be counter 1 door signal to produce the 3 Mhz flashes only when the counter 0 is high, but the wiring had no effect on the output of the 1 meter, it has always generated a continuous pulse train of 3 Mhz.  I found that a code is necessary to get a counter to pay attention to the signal to his door pin (this message was particularly useful) and it can be done with the node property relaxing break. After you have configured the node, however, I fell into this error:

    Error-20124 occurred at DAQmx start Task.vi:2
    Lines 4 to 7 of this port are configured for the entry. Cannot configure these lines for output at this time.

    I'm quite puzzled by the present.  The problem seems to come try it designate 5 PFI ('CTR 1 door' on the 9401) as the source of relaxing break.  If anything, I think the error would be that lines 4-7 are configured for output, since these lines are grouped under CTR 1, which is configured as a channel of CO to generate the 3 Mhz pulse train, and the definition of line 5 as the break source changes the configuration on an entry.  Looking for this error in the forums OR and Google isn't pulling up of troubleshooting information.  I tried to create a task to configure line 5 as a separate digital input channel, but then I get the error saying (error-200125) opposite that lines 4-7 are configured for output and cannot be configured at the entrance, to make things more confusing.

    Any thoughts would be appreciated.  I'm afraid I'm missing something obvious about blocking the impulses or CO channel configuration as I continue to read that one of the benefits of DAQmx on Legacy DAQ, is that it makes easier routing signal.  I'm using LabVIEW 2012 (32 bit) with DAQmx 9.5.5 installed.

    Hi agoncalves,

    I took a glance at your VI and I see two immediate problems:

    1. it is not guaranteed that the two tasks will be reserve before the start of each one.  This explains your error and why it seems confusing.  The 9401 is configurable nibble, but you cannot change the direction while the device is being used (why the reserves are important).  The module starts with two nibbles the input value.  Your first task causes an exit so it switches direction on one of them.  When your task is committed (started), it hangs in this configuration.  The second task then also try an output drive, but on the other nibble that is entered and can not be activated because the first task is currently running.  The solution is to use the thread of the error to force the order of execution (or use a flat sequence structure).

    2. you won't run out of problems with your trigger signal unless that connected you to a separate entrance (and put the two trains of pulses on the nibble even).  You can change that by setting the property of canal CO. Pulse.Term. that's if you want to spend your signal through a few circuits external and back in.  If you use the signal directly, you can just use it internally.  By example/cDAQ1Mod1/ctr0InternalOutput

  • DAQmx how to control the level of tension AO paused for a relaxing break?

    I have an application where I need to generate a waveform of a fixed frequency (~ 200 kHz) and the amplitude, but for differing them burst lengths and different lengths of time between bursts. These bursts and these delays are controlled by a line of DIO to generate the relaxing break. I also need to have the output voltage analog voltage controlled between bursts of waveform. I explored using various trigger options, the break seems to be the best solution, but I'm difficult to control the particular point of the end of the waveform during the break occurs to make sure that the break is at the same specific voltage when the wave is hidden. I try to adjust the position of the example 'Analog output Pause for the periodic Signal with regeneration on specimen' but cannot get regular tension during the break I'm after. I use a card Series DAQ. X is there a simple way to pre-set the tension that will be broadcast during the paused state when using a relaxing break? I was not able to find it in the examples or documents. I can't use the code of reference AO set example because it is a software-driven and does not fit into the model of schedule I need to generate.

    Hello

    I don't think there is a way to establish a certain level on the analog output, based on a relaxing break.  I watch using a redeclenchables task analog output and do every hour of beginning to the required voltage.

  • How to build a single Point (On-Demand) edge counting with relaxing break

    Hi, I am building a clock as shown below. It is also called 'Single Point (On-Demand) Edge Counting with relaxing break'.

    "

    I have problem to find the code example. So far, I can only build a counter edge without a controller trigger like below. Could someone help me?


  • Question about relaxing break: multiple triggersources

    Hello

    I have two digital signals I want to use as the source for the start of the break. The outbreak of the break is done with a triggernode. The problem I have is that I can add two sources to the node, but it will not react on both, only one. So I guess it only accepts one signal. The first triggersignal will start recording for an unknown duration. When the first triggersignal falls, the second trigger signal will follow immediately and continues for 5 seconds. Perhaps there is no need to add a second source of relaxation as the time that the signal must be connected is known and follows directly after the first trigger signal. But I can't seem to find a solution for this.

    Another problem I have is that I connect to a frequency of 100 Hz but on my excel file, I find that 500 samples after 10 seconds of recording. IM connecting signals 2 NI9237 and a NI9219. The NI9237 rate is 2000 Hz but I it decimate to 100 samples per second. The NI9219 signals are recorded at 100 Hz and are intact.

    Thank you

    Found my other problem also. I was break trigger with a virtual channel that was constantly on and outside facil (unknowingly). Up to half the time EMS was not be connected. On the front panel, the check light was still green, but I guess he can't follow the signal so fast.

  • Button - ranging from relaxing break time

    Captivate 8.0.1.242 - Windows 7 64 bit - format swf


    I add a button that runs a term action advanced exactly like this post (CP8 - add a replay on a slide button for). I have a 1 minute video CPVC. Now, I want this to exist always replay button, but not pause the slide. I have other buttons on the slide that takes care of pause before dragging the output. But this BACK button comes with a break. Anyway, like any other button, I'm trying to move the break in the timeline using the mouse slip and fall at the end of the timeline around 59 seconds. But whenever I drag beyond the current view threshold line time including 17 seconds when captivate is maxed out, the break dates back to about 3 or 4 seconds in the timeline panel. It's so weird. I don't even need this break and if I try at least to go beyond the length of the video, I am facing this problem.

    problem.PNG

    CP8 stupid Newbie UI! The suspension and the duration are more in the properties panel, but in this Panel of timing:

    I never use the Newbie UI where everything is controlled by CP (I don't like be). Maybe you will see it in the docking station right when you select the button? Or he must go to the window menu, and then select properties for synchronization?

  • Output instead of a break on iOS

    AIR 2.6, tested on iPod 3rd generation, OS version 4.3.2.

    I followed the steps of: http://help.Adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc 9cd0cb - 7ffe.html #WS901d38e593cd1bac1dc3127e12e25ae562d-8000

    My application descriptor file has the following lines in the section iPhone:

    < iPhone >

    < InfoAdditions >

    <! [CDATA [< key > UIDeviceFamily < / key > < table > < String > 1 < / string > < / array >]] >

    <! [CDATA [< key > UIApplicationExitsOnSuspend < / key > < String > YES < / string >]] >

    < / InfoAdditions >

    < / iPhone >

    but it stops again to my application.

    Am I missing something? Any help much appreciated.

    I think that YES has been changed to Boolean keys to remedy this you would simply use or .

  • How to stop the acquisition with a relaxation with the NI PCIe-6323

    Hi all

    I wonder if it is possible to stop data acquisition or pcie-6323 with a trigger pulse the same way that I begin to acquire samples with a finished sample mode trigger pulse.

    Thanks in advance

    M.

    The samplesPerChannel that you can show what the sample clock configuration defines the total number of samples for the acquisition of finishes.  In your case, you will read the data previously triggered so permanently in force this setting really only sets the size of the buffer.  If you want to just be large enough to avoid overtaking (although...) If the window you buy is potentially very short, you might want to explicitly configure the size of the buffer to something bigger and maintain the value of samplesPerChannel down so that the reference trigger can be accepted earlier).

    The numberOfSamples you specify when you start the player defines the number of samples for the next call for reading.  If you can read the small windows of streaming data to avoid having a blocking with a large timeout call.  If you do not want to change the time-out period, it is a property of the DAQStream class.

    The "continuous" examples (e.g. this one) should show how you can read back data asynchronous as it is acquired.  Your configuration looks more like a "continuous" example

    Since you want to start and stop using the same line as the trigger, perhaps an alternative to the evolution of the default read pointer would be to set up a central task of analog input with a relaxing break.  The caveat to this is that the break does not stop at the task and as soon as the line goes back to you will begin to acquire the data again - I would say using a meter to separate groups of samples in the buffer zone continued.  If you wish to purchase multiple windows of data in short succession well, then I would go with that instead to avoid having to restart the task (and potentially Miss samples during the restart of the task).

    Best regards

  • Calculations using Physical Tables Tables vs logical

    It is easy to find an example of when you do not use logical Tables instead physical Tables to create columns of fact in the repository. Any measure like the profit margin (i.e. profit / turnover) must be calculated in the logical Tables, so that the division operation occurs after dimensional aggregations are passed to the physical layer. In the example of (profit / turnover), using physical columns returns an incorrect result, because there first, the division operation, then all these results together in a nonsense value.

    Yes, is there some kind of formula in which the opposite is true, as that would be the logical Tables use return an incorrect result, while the physical tables returns the correct result?

    If this isn't the case, then under what circumstances we want to use the physical Tables instead of the logical Tables? Is there some type of formula that works better with physical Tables?

    Hello

    The physical vs. logical has an impact that you have already described:
    Logic will be first group and then calculate.
    This is the case with many measures just like your example sales/profit.

    Physical will be first place calculate and then aggregate
    For example, you have 2 measures: price per Article and the quantity sold. If you would now like to know how much money you made, you cannot combine these two measures and then multiply:
    Price * quantity = sales
    10 * 10 = 100
    20 * 10 = 200
    30 * 10 = 300
    -------------------------------
    60 * 30 = 1800

    1800 is incorrect and should be 600. If you first do the calculations on a record level and aggregated then it will appear while 600.

    Hope that it made it more clear.

    Concerning

  • Operational incompatibility - Babya logic 2006 with OS Windows 7 Pro 32 bit

    tried to install/run the above music composition app on my new laptop without success; have used the application successfully on many old PC with original operating system (Win 98SE) for a few years & on XP & Vista systems. Babya logic now installs ok, but trying to run on Win 7 Pro 32 bit, get a dialog error: runtime error '339': ' component 'Comdlg32.ocx' or one of its dependencies is not correctly registered: a file is missing or invalid. went online to research similar; recommended: Download this file & put in the folder of Windows start/32: the made - no change. have you tried t.shooting via the program compatibility option in Control Panel, which offered to run on the previous operating system compatible mode & used this to change the settings accordingly. That failed too. have also tried other options t.shoot & read the report when changes failed, which essentially says "incompatible program. is there someone out there who could advise others (aside from recommend download one later v. Babya logic - tried it also, a v. said as for Win 7 - this also failed to run - surely Babya would have developed a v. for Win 7 all platforms)? would greatly appreciate help

    Hello! I am me Babya Logic Pro to work in 7 by copying Comdlg32.ocx in the installation directory root of the program (by default C:\Program Files (x 86) \Babya\Logic Pro) instead of Windows 32. I know that the OP posted this for several years, but for anyone else having this problem, I hope this will help.

  • Quick Q on logical processors on ESXi 4.1

    Hello

    On our server Esxi 4.1, we have 2 x processors quad core (xeon e5640)

    In the VI Client lists:

    processor = 2 Sockets

    cores per socket = 4

    and then the bit I do not understand...

    logical processors = 16

    Can someone explain why the logical processors = 16 and not 8? Someone asked me and I didn't know the answer!

    See you soon,.

    Huw

    Hello

    HT is enabled which is why you see 16 logical processors instead of 8

  • How to generate a printed document with section breaks "continuous" compared with section breaks "next page"?

    When generating a Word or PDF document from HTML Help files a section break 'next page' is used after each topic. How can I get a "continuous" instead of section break?

    I was searching a little more. Here's the deal.

    New chapters will always start on a new page and have an odd or next page break depending on the parameter to start new chapters. If checked, it will be a jump of odd Page, else a Next Page break.

    Subjects of a book will follow the topic of every throw on a framework for the new Page. If checked, each topic is separated by a page break, not a section break. Otherwise, they will be on the same page without any break.

    Subjects not in a book will be followed by a section break.

    So the section breaks are only created for chapters and topics not in a chapter.

    Hope that helps. Please report if you find otherwise.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Create a trigger instead of update several tables in a view

    Dear everybody

    I am trying to create a trigger that updates instead of to day joined several tables in a view, but I can't get my trigger to work. The create view command was as follows:
    CREATE OR REPLACE VIEW VIEW_MI_JOIN_GC
    AS
    SELECT MAP_INDEX.mi_prinx,
           index_type_id,
           original_map_publication_id,
           original_map_sheet_number_id,
           name_of_feature,
           geog_coordinates_id,
           GEOG_COORDINATES.mi_prinx AS "mi_prinx_polygon",
           GEOG_COORDINATES.geographical_coordinates,
           GEOG_COORDINATES.mapinfo_style_row
     FROM MAP_INDEX
      JOIN GEOG_COORDINATES
       ON geog_coordinates_id=GEOG_COORDINATES.mi_prinx;
    The view above connects a polygon table to the table of function names which means that a polygon appears several times in a view, even though one version of the polygon exists in the base table. This means the direct update of view cannot take place, since 1 polygon can appear multiple times in a view. The two original base tables and their columns names are:
    MAP_INDEX
    ---------
    MI_PRINX
    INDEX_TYPE_ID
    ORIGINAL_MAP_PUBLICATION_ID
    ORIGINAL_MAP_SHEET_NUMBER_ID
    NAME_OF_FEATURE
    MAPINFO_STYLE_ROW
    GEOGRAPHICAL_COORDINATES
    GEOG_COORDINATES_ID
    
    GEOG_COORDINATES
    ----------------
    MI_PRINX
    GEOGRAPHICAL_COORDINATES
    MAPINFO_STYLE_ROW
    Relax, I created was as follows:
    CREATE OR REPLACE TRIGGER TRIG_VIEW_MI_JOIN_GC
       INSTEAD OF UPDATE ON VIEW_MI_JOIN_GC
          REFERENCING NEW AS NEW
     FOR EACH ROW
    BEGIN
     UPDATE MAP_INDEX
      SET mi_prinx = :NEW.mi_prinx,
          index_type_id = :NEW.index_type_id,
          original_map_publication_id = :NEW.original_map_publication_id,
          original_map_sheet_number_id = :NEW.original_map_sheet_number_id,
          name_of_feature = :NEW.name_of_feature,
          mapinfo_style_row = :NEW.mapinfo_style_row,
          geographical_coordinates = :NEW.geographical_coordinates,
          geog_coordinates_id = :NEW.geog_coordinates_id
       WHERE geog_coordinates_id = :OLD.geog_coordinates_id;
     UPDATE GEOG_COORDINATES
      SET mi_prinx = :NEW.mi_prinx,
          geographical_coordinates = :NEW.geographical_coordinates,
          mapinfo_style_row = :NEW.mapinfo_style_row
       WHERE mi_prinx = :OLD.mi_prinx;
    END;
    /
    The idea is that when I draw a new polygon in MapInfo and assign him a revised number geog_coordinates_id and the number of mi_prinx_polygon, which are the same, once I have save the view as then it updates the underlying tables. Geographical_coordinates and mapinfo_style_row of map_index table columns are columns with ancient polygon data which while not having currently new data inserted into them, are required for the previous data they contain. These data are currently being added to the geog_coordinates table with other scripts. The idea is that all the data is then read using a view and updates made to the view, triggering instead of relaxing, so data are not duplicated but still visible as if it were.

    When I created first the relaxation above in SQLdeveloper it seems to run constantly. Then my computer crashed, not related to this work, and I lost session because I did not commit it. I was not ready to commit it because I believe that something is wrong.

    I am in the trigger syntax correctly and I go about it in the right way? I want to only update the rows that have changed, that's why I was using: NEWS and: OLD.

    Kind regards

    Tim

    Published by: user467357 on November 18, 2008 18:07
    I modified my script a little because there were a few errors. for example. start and old as old and view name typo

    Something like this->

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:01.78
    satyaki>
    satyaki>
    satyaki>create table MAP_INDEX
      2   (
      3        mi_prinx                    NUMBER(10) not null,
      4        index_type_id                NUMBER(6) not null,
      5        original_map_publication_id  NUMBER(6) not null,
      6        original_map_sheet_number_id NUMBER(6) not null,
      7        name_of_feature              VARCHAR2(80) not null,
      8        mapinfo_style_row            VARCHAR2(80),
      9        geographical_coordinates    SDO_GEOMETRY,
     10        geog_coordinates_id          NUMBER(10),
     11        constraints pk_mi_prinx primary key(mi_prinx)
     12   );
    
    Table created.
    
    Elapsed: 00:00:04.39
    satyaki>
    satyaki>create table GEOG_COORINDATES
      2   (
      3     mi_prinx NUMBER(10) not null,
      4     geographical_coordinates SDO_GEOMETRY,
      5     mapinfo_style_row VARCHAR2(80),
      6     constraints pk_mi_prinx_n primary key(mi_prinx)
      7   );
    
    Table created.
    
    Elapsed: 00:00:00.30
    satyaki>
    satyaki>
    satyaki>CREATE OR REPLACE VIEW VIEW_MI_JOIN_GC
      2  AS
      3  SELECT MAP_INDEX.mi_prinx,
      4         MAP_INDEX.index_type_id,
      5         MAP_INDEX.original_map_publication_id,
      6         MAP_INDEX.original_map_sheet_number_id,
      7         MAP_INDEX.name_of_feature,
      8         MAP_INDEX.geog_coordinates_id,
      9         GEOG_COORINDATES.mi_prinx AS "mi_prinx_polygon",
     10         GEOG_COORINDATES.geographical_coordinates,
     11         GEOG_COORINDATES.mapinfo_style_row
     12   FROM MAP_INDEX , GEOG_COORINDATES
     13   WHERE MAP_INDEX.geog_coordinates_id=GEOG_COORINDATES.mi_prinx;
    
    View created.
    
    Elapsed: 00:00:00.32
    satyaki>
    satyaki>
    satyaki>insert into MAP_INDEX values(
      2                                 &mi_prinx,
      3                                 &index_type_id,
      4                                 &original_map_publication_id,
      5                                 &original_map_sheet_number_id,
      6                                 '&name_of_feature',
      7                                 '&mapinfo_style_row',
      8                                 null,
      9                                 &geog_coordinates_id);
    Enter value for mi_prinx: 1
    old   2:                                &mi_prinx,
    new   2:                                1,
    Enter value for index_type_id: 44
    old   3:                                &index_type_id,
    new   3:                                44,
    Enter value for original_map_publication_id: 5678
    old   4:                                &original_map_publication_id,
    new   4:                                5678,
    Enter value for original_map_sheet_number_id: 356
    old   5:                                &original_map_sheet_number_id,
    new   5:                                356,
    Enter value for name_of_feature: AA
    old   6:                                '&name_of_feature',
    new   6:                                'AA',
    Enter value for mapinfo_style_row: GG
    old   7:                                '&mapinfo_style_row',
    new   7:                                'GG',
    Enter value for geog_coordinates_id: 9
    old   9:                                &geog_coordinates_id)
    new   9:                                9)
    
    1 row created.
    
    Elapsed: 00:00:00.16
    satyaki>/
    Enter value for mi_prinx: 2
    old   2:                                &mi_prinx,
    new   2:                                2,
    Enter value for index_type_id: 55
    old   3:                                &index_type_id,
    new   3:                                55,
    Enter value for original_map_publication_id: 6789
    old   4:                                &original_map_publication_id,
    new   4:                                6789,
    Enter value for original_map_sheet_number_id: 357
    old   5:                                &original_map_sheet_number_id,
    new   5:                                357,
    Enter value for name_of_feature: BB
    old   6:                                '&name_of_feature',
    new   6:                                'BB',
    Enter value for mapinfo_style_row: 10
    old   7:                                '&mapinfo_style_row',
    new   7:                                '10',
    Enter value for geog_coordinates_id: 8
    old   9:                                &geog_coordinates_id)
    new   9:                                8)
    
    1 row created.
    
    Elapsed: 00:00:00.04
    satyaki>
    satyaki>commit;
    
    Commit complete.
    
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>
    satyaki>insert into GEOG_COORINDATES values(&mi_prinx,null,'&mapinfo_style_row');
    Enter value for mi_prinx: 9
    Enter value for mapinfo_style_row: FFG
    old   1: insert into GEOG_COORINDATES values(&mi_prinx,null,'&mapinfo_style_row')
    new   1: insert into GEOG_COORINDATES values(9,null,'FFG')
    
    1 row created.
    
    Elapsed: 00:00:00.07
    satyaki>/
    Enter value for mi_prinx: 8
    Enter value for mapinfo_style_row: GGT
    old   1: insert into GEOG_COORINDATES values(&mi_prinx,null,'&mapinfo_style_row')
    new   1: insert into GEOG_COORINDATES values(8,null,'GGT')
    
    1 row created.
    
    Elapsed: 00:00:00.05
    satyaki>
    satyaki>commit;
    
    Commit complete.
    
    Elapsed: 00:00:00.02
    satyaki>
    satyaki>select * from VIEW_MI_JOIN_GC;
    
      MI_PRINX INDEX_TYPE_ID ORIGINAL_MAP_PUBLICATION_ID ORIGINAL_MAP_SHEET_NUMBER_ID NAME_OF_FEATURE                                                                  GEOG_COORDINATES_ID mi_prinx_polygon GEOGRAPHICAL_COORDINATES(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    ---------- ------------- --------------------------- ---------------------------- -------------------------------------------------------------------------------- ------------------- ---------------- ---------------------------------------------------------------------------------------------------------------
             1            44                        5678                          356 AA                                                                                                 9                9
             2            55                        6789                          357 BB                                                                                                 8                8                                                                                                                 
    
    Elapsed: 00:00:00.09
    satyaki>
    satyaki>
    satyaki>CREATE OR REPLACE TRIGGER TRIG_VIEW_MI_JOIN_GC
      2  INSTEAD OF UPDATE ON VIEW_MI_JOIN_GC
      3  FOR EACH ROW
      4  DECLARE
      5   m_info_svw  varchar2(80);
      6  BEGIN
      7   m_info_svw :=  :NEW.mapinfo_style_row;
      8
      9   UPDATE MAP_INDEX
     10    SET mi_prinx = :NEW.mi_prinx,
     11        index_type_id = :NEW.index_type_id,
     12        original_map_publication_id = :NEW.original_map_publication_id,
     13        original_map_sheet_number_id = :NEW.original_map_sheet_number_id,
     14        name_of_feature = :NEW.name_of_feature,
     15        mapinfo_style_row = m_info_svw,
     16        geographical_coordinates = :NEW.geographical_coordinates,
     17        geog_coordinates_id = :NEW.geog_coordinates_id
     18     WHERE geog_coordinates_id = :OLD.geog_coordinates_id;
     19   UPDATE GEOG_COORINDATES
     20    SET mi_prinx = :NEW.geog_coordinates_id,
     21        geographical_coordinates = :NEW.geographical_coordinates,
     22        mapinfo_style_row = m_info_svw
     23     WHERE mi_prinx = :OLD.geog_coordinates_id;
     24  END;
     25  /
    
    Trigger created.
    
    Elapsed: 00:00:00.20
    satyaki>
    satyaki>select * from VIEW_MI_JOIN_GC;
    
      MI_PRINX INDEX_TYPE_ID ORIGINAL_MAP_PUBLICATION_ID ORIGINAL_MAP_SHEET_NUMBER_ID NAME_OF_FEATURE                                                                  GEOG_COORDINATES_ID mi_prinx_polygon GEOGRAPHICAL_COORDINATES(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    ---------- ------------- --------------------------- ---------------------------- -------------------------------------------------------------------------------- ------------------- ---------------- ---------------------------------------------------------------------------------------------------------------
             1            44                        5678                          356 CC                                                                                                 9                9
             2            55                        6789                          357 BB                                                                                                 8                8                                                                                                                 
    
    Elapsed: 00:00:00.09
    satyaki>
    satyaki>select mi_prinx,mapinfo_style_row from GEOG_COORINDATES;
    
      MI_PRINX MAPINFO_STYLE_ROW
    ---------- --------------------------------------------------------------------------------
             9 FFG
             8 GGT
    
    Elapsed: 00:00:00.07
    satyaki>select * from MAP_INDEX;
    
      MI_PRINX INDEX_TYPE_ID ORIGINAL_MAP_PUBLICATION_ID ORIGINAL_MAP_SHEET_NUMBER_ID NAME_OF_FEATURE                                                                  MAPINFO_STYLE_ROW                                                                GEOGRAPHICAL_COORDINATES(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), S
    ---------- ------------- --------------------------- ---------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------
             1            44                        5678                          356 CC                                                                               HHH
             2            55                        6789                          357 BB                                                                               HHH                                                                                                                                                  
    
    Elapsed: 00:00:00.12
    satyaki>
    satyaki>update VIEW_MI_JOIN_GC
      2    set name_of_feature = 'DD'
      3  where mi_prinx = 1;
    
    1 row updated.
    
    Elapsed: 00:00:00.05
    satyaki>
    satyaki>select * from VIEW_MI_JOIN_GC;
    
      MI_PRINX INDEX_TYPE_ID ORIGINAL_MAP_PUBLICATION_ID ORIGINAL_MAP_SHEET_NUMBER_ID NAME_OF_FEATURE                                                                  GEOG_COORDINATES_ID mi_prinx_polygon GEOGRAPHICAL_COORDINATES(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    ---------- ------------- --------------------------- ---------------------------- -------------------------------------------------------------------------------- ------------------- ---------------- ---------------------------------------------------------------------------------------------------------------
             1            44                        5678                          356 DD                                                                                                 9                9
             2            55                        6789                          357 BB                                                                                                 8                8                                                                                                                 
    
    Elapsed: 00:00:00.08
    satyaki>
    satyaki>select mi_prinx,mapinfo_style_row from GEOG_COORINDATES;
    
      MI_PRINX MAPINFO_STYLE_ROW
    ---------- --------------------------------------------------------------------------------
             9 FFG
             8 GGT
    
    Elapsed: 00:00:00.06
    satyaki>
    satyaki>update VIEW_MI_JOIN_GC
      2     set mapinfo_style_row = 'OOOO'
      3     where mi_prinx = 1;
    
    1 row updated.
    
    Elapsed: 00:00:00.05
    satyaki>
    satyaki>select mi_prinx,mapinfo_style_row from GEOG_COORINDATES;
    
      MI_PRINX MAPINFO_STYLE_ROW
    ---------- --------------------------------------------------------------------------------
             9 OOOO
             8 GGT
    
    Elapsed: 00:00:00.06
    satyaki>
    satyaki>select mapinfo_style_row from MAP_INDEX;
    
    MAPINFO_STYLE_ROW
    --------------------------------------------------------------------------------
    OOOO
    HHH
    
    Elapsed: 00:00:00.06
    satyaki>
    

    Hope this will help you.

    Kind regards.

    LOULOU.

Maybe you are looking for

  • Start my is it safe?

    I get MY check and my private tab no longer appears.

  • I can't have my admin since Firefox Panel

    http://www.easy2resolve.com/ , it comes to my web site, I can not connect to its Board of Directors of mozilla, when I enter my password and user name, show, as its not valid. But I can log in the Admin Panel with the same user name and password of c

  • Database and SQL (data logger)

    Hi all I made the database (see photo) to save my data. Now I want to connect to this database in SQL, but found no example of it on the forum; I read some tutorials but I am little confused with UDL...  Second question is where these data are stored

  • Stylus active Version A02 a winner

    Received today my stylus version A02. I think the 3rd times the charm and we finally have a winner. No clicks hovering and without waiting forever for the table to recognize the stylus. No disconnects for long periods of time no more. Time will tell.

  • Laser Jet Pro 100 color M175NW MFP

    Hello I just bought Laser Jet Pro 100 but have problems to do the installation despite trying several times. Initially, the installation seems to work very well and I was able to print out a few pages until I turned off the printer and turned back on