Starting up two Instances at a time from SAP MMC

Hi ,
      In our scenario I have installed two instance(DEV& QTY) on a same hostname ,so I have to start the each instance subsequently with the above procedure to up the services.
     Is it possible to start the instance QTY also along with the DEV ,instead of again doing "startsap" for QTY separately..I hope my question is clear now.
We can get this scenario on an AIX & Oracle machine by making mentioning the SID's in listener.ora
Any script or settings change to be done somewhere on MSSQL 2005 & Windows 2003 to attain this scenario?
Thanks in advance

Hello Daniel,
this thing can be done in one case
suppose you have taken a reboot of the server,then we can automate the starting of both the servers
This can be done by changing the startup of SAP services from manual to automatic through services.exe.then after an outage both servers will start automatically
Hope it helps
Rohit

Similar Messages

  • How to send report output to  two  detinations at a time from command line?

    Hi ,
    how to send my report to two detinations at a time from command line i.e FILE and Mail ?
    i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
    i want to send my report out put two destinations at a time insted of running two times.
    thx in advance.....
    raghu

    hello,
    did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
    regards,
    the oracle reports team

  • Need to start a program in Oracle System (External) from sap program

    Hi guys,
         I need to start a program in another oracle based system from sap program by writing native sql statements.
    Does anyone have idea how to do this.
    Rgds,
    Ram

    Hi,
    Here is another sample for procedures.Kindly reward points by clicking the star on the left of reply,if it is useful.
    Code Sample for writing a procedure with input and output parameters
    REPORT zzz_jaytest.
    * Getting the regno and total as input parameters
    PARAMETERS : p_regno(10) TYPE c DEFAULT 'R1000',
                               p_total     TYPE i.
    data : v_total type i.
    * In this procedure, we are updating the total of a regno given as input.
    * Here two parameters used in the procedure are input parameters.
    * We are updating the record of regno entered in selection screen and
    * adding the total entered to the already existing total. We have to give semicolon
    * for the statement inside procedure.
    exec sql.
    CREATE or replace PROCEDURE PROC1 ( p_regno in char, p_total in number )
    IS
        BEGIN
          UPDATE stu_det SET total = total + p_total where regno = p_regno;
        END;
    endexec.
    * This is the code to execute the procedure for update.
    * While executing the procedure, the parameter variable should be
    * preceded with colon  :
    EXEC SQL.
      EXECUTE PROCEDURE PROC1 ( in :p_regno, in :p_total )
    ENDEXEC.
    * In this procedure, we are selecting the details for the regno entered
    * as input. Here p_regno is input parameter and v_total is used as output
    * parameter. So that we can use the retrieved value of v_total in our
    * ABAP program
    exec sql.
    CREATE or replace PROCEDURE PROC2 (p_regno in char, v_total out char)
    IS
        BEGIN
          select total into v_total from stu_det
                             where regno = p_regno;
        END;
    endexec.
    * This is the code to execute second procedure.
    EXEC SQL.
      EXECUTE PROCEDURE PROC2 ( in :p_regno, out :v_total )
    ENDEXEC.
    write : / 'Total of ', p_regno, ' is ', v_total.

  • Starting local J2EE engine from SAP MMC

    I am trying to start my local J2EE engine using SAP MMC.  However, when I select the start option, the DB no longer starts automatically.  I can manually start the DB, select start, and the engine will start.   Previously, I could select start and everything would just come up.
    Can anyone tell me where the disconnect is occuring?

    Hi,
    If you have an add-in installation then you can try to stop the java system by stopping the java dispacther by stopping the j2ee process.You can just try restarting the java system using SMICM.You can check whether the data base services are set to auto start or need a manual start.
    Reward points if helpfull.
    Regards,
    Vamshi.

  • Dispatcher stopped from Sap mmc

    Hi everyone,
    I am new to Abap , while working in Abap sap mmc got error Dispatcher has stopped .
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        ECC
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    75
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        3888
    Thu Jun 05 09:32:11 2014
    kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    length of sys_adm_ext is 572 bytes
    *** SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3888) [dpxxdisp.c   1237]
    Thu Jun 05 09:32:12 2014
      shared lib "dw_xml.dll" version 75 successfully loaded
      shared lib "dw_xtc.dll" version 75 successfully loaded
      shared lib "dw_stl.dll" version 75 successfully loaded
      shared lib "dw_gui.dll" version 75 successfully loaded
      shared lib "dw_mdm.dll" version 75 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Thu Jun 05 09:32:16 2014
    *** WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0146.qqq.nxst) took 4 seconds
    Thu Jun 05 09:32:23 2014
    *** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 7 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5273]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >gcecc62_ECC_00                          <
    DpShMCreate: sizeof(wp_adm) 18304 (1408)
    DpShMCreate: sizeof(tm_adm) 3994272 (19872)
    DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
    DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm) 528064 (1048)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm) 0 (72)
    DpShMCreate: sizeof(vmc_adm) 0 (1440)
    DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm) 48
    DpShMCreate: SHM_DP_ADM_KEY (addr: 05D30040, size: 4653368)
    DpShMCreate: allocated sys_adm at 05D30040
    DpShMCreate: allocated wp_adm at 05D31E40
    DpShMCreate: allocated tm_adm_list at 05D365C0
    DpShMCreate: allocated tm_adm at 05D365F0
    DpShMCreate: allocated wp_ca_adm at 06105890
    DpShMCreate: allocated appc_ca_adm at 0610B650
    DpShMCreate: allocated comm_adm at 0610D590
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0618E450
    DpShMCreate: allocated gw_adm at 0618E490
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0618E4C0
    DpShMCreate: allocated wall_adm at 0618E4C8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Thu Jun 05 09:32:24 2014
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1623]
    Thu Jun 05 09:32:25 2014
    ***LOG Q0K=> DpMsAttach, mscon ( gcecc62) [dpxxdisp.c   11586]
    Thu Jun 05 09:32:26 2014
    DpStartStopMsg: send start message (myname is >gcecc62_ECC_00                          <)
    DpStartStopMsg: start msg sent
    Thu Jun 05 09:32:27 2014
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    Thu Jun 05 09:32:30 2014
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 75
    Release check o.K.
    Thu Jun 05 09:33:06 2014
    *** ERROR => W0 (pid 2472) died [dpxxdisp.c   14241]
    *** ERROR => W1 (pid 2544) died [dpxxdisp.c   14241]
    *** ERROR => W2 (pid 2560) died [dpxxdisp.c   14241]
    *** DISPATCHER EMERGENCY SHUTDOWN ***
    This is the error am facing pls anyone help me Experts,
    Thanks,
    Ravi

    Hello Raviram,
    in dispatcher developer trace file dev_disp is written:
    Thu Jun 05 09:33:06 2014
    *** ERROR => W0 (pid 2472) died [dpxxdisp.c   14241]
    *** ERROR => W1 (pid 2544) died [dpxxdisp.c   14241]
    *** ERROR => W2 (pid 2560) died [dpxxdisp.c   14241]
    *** DISPATCHER EMERGENCY SHUTDOWN ***
    It means dispatcher went down after workprocesses went down. Please check files dev_w0, dev_w1,...
    in the same directory (X:\usr\sap\<SID>\DVEBMGS<xx>\work). There should be a reason why your
    SAP ABAP system is not going up.
    One of the reasons can by that database is not reachable. If you have Oracle, check if Oracle listener
    is running. Check in operating system service OracleSID112TNSListener.
    Other reasons can by a lack of virtual memory. Check size of your paging file. Usually you need at least
    4GB RAM and 8GB page file.
    Regards,
    Andrej

  • Unable to start Oracle 10g instance on boot time (CentOS)

    Hi all,
    I am trying to automate oracle instance start-up on boot time. I have created /etc/oratab and /etc/init.d/dbora files. Also, all the links for run-levels 2,3,4 are set. My machine boots in run-level 3. While I can start the database manually, after the system has booted, I am not able to automate the instance start-up at boot time. Following is the error, I get:
    oracle: /oracle/bin/lsnrctl: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory
    I know that normally this problem occurs due to LD_LIBRARY_PATH variable problem. So, I have set the following in /etc/init.d/dbora file.
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    System-config (uname -a):
    Linux centos4-db-us-01 2.6.9-67.ELsmp #1 SMP Fri Nov 16 12:48:03 IST 2007 i686 i686 i386 GNU/Linux
    Any help on this issue is highly appreciated.
    Thanks,
    Varun.

    Here it is:
    <code>
    ORA_HOME=/oracle
    ORA_OWNER=oracle
    export ORA_HOME
    ORACLE_SID=wlctp01
    export ORACLE_SID
    ORACLE_HOME=/oracle
    export ORACLE_HOME
    LD_LIBRARY_PATH=/oracle/lib
    export LD_LIBRARY_PATH
    LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
    export LD_LIBRARY_PATH_32
    PATH=$ORACLE_HOME/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
    export PATH
    LD_ASSUME_KERNEL=2.4.19
    export LD_ASSUME_KERNEL
    EDITOR=vi
    export EDITOR
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    echo "Starting oracle instance."
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart >> /var/log/oracle
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" >> /var/log/oracle
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut >> /var/log/oracle
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop" >> /var/log/oracle
    esac
    </code>

  • Can only import one or two songs at a time from a cd into itunes

    Please help. I had a new hard drive put into my imac flat panel g4. When I try to import music from a cd into itunes it closes or freezes itunes after one or two songs have been imported.

    hmmmm. do you have any other USB 2.0 peripherals plugged in to the PC?
    if so, try (experimentally) disconnecting them prior to a sync. (sometimes power drain through one port can affect an ipod connection on a different port.)
    any improvement in sync performance if you try that?
    love, b

  • MBP 17" intel core 2 duo 2.4ghz 4 Gb ram needs to be started and restarted at least 3 times from when it is shut down before properly running.

    On the first couple of attempts it freezes just as it has almost fully loaded the desktop. Then needs to be restarted by holding start button and the process repeated a couple of times at least.
    Any ideas Why?

    How much free space on the HD?  If less than15%, OSX is cramped for "play room" to perform tasks, such as buffering program data at startup.  All of the processes starting up at the same time could overload "too little free space".

  • How-To allow records with Overlapping Time from SAP R/3

    Hi guys,
    Made reference to SAP Note 336229.
    Maintained my Transfer Rules of <b>Data Source 0HR_PA_PA_1</b> to <b>Info Source 0HR_PA_PA_1</b> and all is green! Unfortunately, still <b>NO</b> data and error IDOC message is " <i>The data request was a full update. In this case, the corresponding table in the source system does not contain any data</i>."
    "<i>The extractor of the DataSource reads the master data tables of the Employee (0EMPLOYEE) and person (0PERSON) InfoObjects and makes changes to these time-dependent attributes available as headcount changes</i>"...<b>says SAP</b>
    Info Object person (0PERSON) works!!!, however Info Object(0EMPLOYEE) is giving me problem whereby <b>in SAP R/3</b> Data Source (Employee - Education and Training) 0EMPLOYEE_0022_ATTR <u>allows</u> time overlapping of records, <b>BUT BW</b> generates an error " The time interval ['99991231'/'19930104'] & (from/to) for the data records 46 and 47 overlaps in characteristic 0EMPLOYEE "
    For example, lets assume there is Employee X with the following entry in SAP R/3.
    Begin Date||| End Date ||| SubType
    01.09.2003||| 01.09.2004||| Professional Cert.
    01.09.2003||| 01.09.2006||| Degree
    SAP R/3 allows this overlapping of time records however, BW does NOT. How can I tackle this overlapping issue in SAP BW?
    With much appreciation!

    Hi guys,
      Please assist to resolve this.
      I attempted to assigned 0DATETO and 0DATEFROM to my attributes of 0EMPLOYEE, but it gives me the following error
    <b>  Characteristic 0EMPLOYEE: Attribute 0DATETO cannot be used w. time-dependent attribte</b>
    <b>  InfoObject 0DATETO cannot be used as an attribute if attibutes already exist that are time-dependent. Attribute 0ANSALARY is such an attribute. A field in the InfoObject 0DATETO is automatically generated in the master data table.</b>
      Once again, what I want is to be able to allow the Records with HighDate in R/3 into my BW Cubes.
      Please please assist !

  • Tax Audit file (Taxware) is updated real-time from SAP

    This is an issue when there are server issues, disaster recover, or any connection issues. I do not see a way in RFYTXDISPLAY to control the update.  Does anyone know how to make it so that the updates to external tax audit file is done in batch instead of real-time?

    What release of SAP are you on?  In some older releases, SAP provided update programs to do what you ask.  If SAP is down, there are no transactions and no taxes to update.  If Taxware is down, the updates are queued in SMQ1.  You can, once Taxware is up, release all the updates.

  • NSP Disappeared from SAP MMC

    Hi All
    I have successfully installed the ABAP sneak preview. It was running fine. I even setup the developer key. Everything was working fine. Now i tried to run a BSP application as suggested from the below weblog.
    /people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp
    After setting the profile parameters, its asked to stop the NSP server and restart the machine. I did so and thats it, when i logged back in and opened the SAP Management Console to start the ABAP sneak preview NSP server, i didnt find it. All i can see is SAP Systems and the whole tree below it is disappreared.
    Any help appreciated.
    Thanks
    Sasi

    hi sasidhar,
    when you closed the mmc, did it ask you if you want to save your settings to mmc or update to a newer version of the mmc?
    i had the same issue like you on an earlier installation when i answered either question with yes. it simply destroyed my mmc settings. i was even able to reproduce this at that time.
    the only solution for me then was to look through the installation archives and find a template again.
    regards,
    anton

  • HOW to update real time data from sap to other application?

    We have two option of passing data from sap to other system.
    1. web service
    2. through idoc.
    can anyone tell me advantages & disadv. of these two options.
    Which scenario shd we use web service & idoc.
    How is idoc triggerred.?
    Is it only through user exit?
    Kindly suggest any other ways for interacting with a 3rd party system which does not use a file.

    Dear Libin,
    IF you are using sap sytem as a sender then its better to use idoc's. Actually both systems (idoc and webservice) have there own advantages and disadvantages. Look up sdn for more info.
    My personal choice would be idoc since with webservices you would need special tools like xml spy or altova and the skill to analyze and run those tools.,, its a little tedious..
    Rgds
    joel

  • Jcontrol.exe in SAP MMC turns "GREY" after start.--- Urgent

    Hi, I am facing one problem with SAP J2EE engine.
    In SAP MMC all services are green, only "Jcontrol.exe" is  Grey. I restarted the server several times but every time it starts and then just becomes "GREY" Below is the description of "Developer Trace" which I have copied from SAP MMC console.
    Any help in this regards would be highly appreciated. It is urgent.
    Thanks.
    Ashish Patel.
    JStartupStartJLaunch: program = D:\usr\sap\DNW\JC00/j2ee/os_libs/jlaunch.exe
    -> arg[00] = D:\usr\sap\DNW\JC00/j2ee/os_libs/jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\DNW\SYS\profile\DNW_JC00_dgntwas
    -> arg[02] = -DSAPINFO=DNW_00_bootstrap
    -> arg[03] = -file=D:\usr\sap\DNW\JC00\j2ee\cluster\instance.properties
    -> arg[04] = -nodeName=bootstrap_ID3314950
    -> arg[05] = -nodeId=-1
    -> arg[06] = -syncSem=JSTARTUP_WAIT_ON_3148
    -> arg[07] = -jvmOutFile=D:\usr\sap\DNW\JC00\work\jvm_bootstrap_ID3314950.out
    -> arg[08] = -stdOutFile=D:\usr\sap\DNW\JC00\work\std_bootstrap_ID3314950.out
    -> arg[09] = -locOutFile=D:\usr\sap\DNW\JC00\work\dev_bootstrap_ID3314950
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=D:\usr\sap\DNW\SYS\profile\DNW_JC00_dgntwas
    -> lib path = PATH=C:\j2sdk14209\jre\bin\server;C:\j2sdk14209\jre\bin;D:\usr\sap\Python\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\usr\sap\DNW\SCS01\exe;D:\usr\sap\DNW\JC00\exe;D:\usr\sap\DNW\SYS\exe\run
    -> exe path = PATH=C:\j2sdk14209\bin;D:\usr\sap\DNW\JC00\j2ee\os_libs;D:\usr\sap\Python\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\usr\sap\DNW\SCS01\exe;D:\usr\sap\DNW\JC00\exe;D:\usr\sap\DNW\SYS\exe\run
    [Thr 3152] Wed Aug 23 15:01:34 2006
    [Thr 3152] *** ERROR => invalid return code of process [bootstrap_ID3314950] (exitcode=-2) [jstartxx.c   1433]
    [Thr 3152] JControlExecuteBootstrap: error executing bootstrap node [bootstrap_ID3314950] (rc=-2)
    [Thr 3152] JControlCloseProgram: started (exitcode = -2)
    [Thr 3152] JControlCloseProgram: good bye... (exitcode=-2)
    ==========================================

    Hi,
    Try this:
    1.Stop all SAP instances
    2.Stop the DB
    3.Stop the listner
    Logoff, and logon to the server as <sid>adm
    then:
    1.Start the listner (dos window ---> lsnrctl start)
    2.Start the DB
    3.Start the SAP Instances
    It should start correctly now.
    Kind Regards
    Ian Henderson

  • Data migration from SAP to Oracle

    Can any one suggest best possible method for migrating master and transactional data from SAP to Oracle.
    Please suggest methods to get data in text file from SAP.

    Best approach would be to use Electronic Data Interchange (EDI) outbound from SAP inbound to Oracle. There are two widely used standards in EDI messages - ANSI X12 and EDIFACT; I'm pretty sure the Oracle system will be able to accept one of the two standards or both.
    In my last message, when I asked if Oracle is able to receive and process IDocs, I actually meant if Oracle will be able to accept and process EDI messages. IDocs are containers of the EDI message i.e. a data container - their formats are SAP proprietary formats which will not make sense to your target system (Oracle). EDI has been around for many years and is the standard way of electronically exchanging business documents between computer systems of business partners, using a standard format over a communication network.
    In regards to your question - I'm not really sure if you want to send master/transactional data real-time from SAP to Oracle or want to transfer the historical data i.e. download from SAP tables (thru SE16 - this will download the field labels as well) into text files and then upload it to Oracle by using a custom program which reads/maps the files then posts the transactional data/updates master data tables in Oracle as required by that system. So let me know as much details as possible.
    It would be nice to show appreciation by rewarding points.
    Cheers,
    Sougata.

  • Trigger two FPGA instances at same time

    I have some basic FPGA code that transmits data bits over a serial bus (RS485),  The code is written so that it waits in the first state of a state machine in a single cycle timed loop.  Upon a certain trigger, it starts reading a FIFO containing data and sends the data out on a Tx line.  It does this until all bits are send then it goes back to the first state to wait for the next trigger.  The trigger is needed because windows has to fill the FIFO first before the FPGA can start sending.
    I need two instances of this code running because I have two com busses (one is redundant).  So I am using the FPGA code as a subvi and I wrote a main FPGA vi to call two separate instances of the subvi in parallel.  A regular windows vi writes to the FIFOs for Tx and reads FIFOs for Rx.  No problem so far.
    The trick is that I have to start both transmissions within 200nS of each other (yes, nanoseconds).  Windows will write to both FIFOs in parallel, but the timing is 4uS apart, too long.  I tried setting up a boolean flag in the FPGA subvi, but windows can't write to the subvi control directly.  FPGA won't allow it (the Write function is greyed out).  I tried using a FIFO for a flag, but the problem is a race condition.  One of the instances will read the FIFO first and wipe it out.  The other does not get to read it.  I need one common trigger point to be used by both subvi instances.
    My final solution was to use a memory in the FPGA subvi and a numeric control in the main FPGA vi.  Windows write to the numeric control,  It can because the control is in the main FPGA vi.  Inside the main FPGA, I run a timed loop that looks for the numeric to be other than zero.  If so, it writes the value to the memory location used by the FPGA subvi.  After some time, the main writes a zero back to the memory to prevent the subvi from starting up again, and it writes a zero to the numeric to reset it.  The whole thing repeats, waiting for windows to write to the numeric again for the next transmission.
    I had to do it this way because sometimes I want to transmit on both busses, and sometimes just one or the other.  Numeric values are used to determine which to transmit on.  Now the transmissions start at almost exactly the same time, 1 or 2 nanoseconds apart.  But the trigger process seems very far fetched to me.  I was wondering if there is a better solution.  I'm pretty new to FPGA.
    - tbob
    Inventor of the WORM Global
    Solved!
    Go to Solution.

    tbob wrote:
    Basically I did the same thing using FPGA Memory.  From windows I write to a numeric control which resides inside the FPGA Main vi.  In the FGPA main, I write to the Memory.  Inside the FPGA subvi, I read the memory and decode the value to either use one or the other or both busses.  After fooling with this for some time, because the Read Memeory needs to use a shift register (probably due to it taking an entier clock cycle), I got it to work.  Both busses trigger at the same time.  I guess it really doesn't matter if I use a FIFO or if I use Memory.  The main issue is that I have to write from Windows to the FPGA Main, and then from the FPGA Main to the FPGA subvi.  Then the timing is exact as far as the subvi is concerned.
    There are a couple of advantages to using two FIFOs over your approach.  First, you don't need the shift register for the memory location.  Second, you don't have to worry about which VI is responsible for clearing the memory location, nor do you run the risk that one of your subVIs will execute twice, or not at all, if the memory isn't cleared at the right time.  Perhaps most importantly, you'll save yourself space on the FPGA because you won't need arbitration - the extra code that gets added when two parts of the FPGA try to access the same resource at the same time.  In your case, both instances of the subVI access the memory block concurrently, so the FPGA compiler adds extra logic to prevent conflicts.  If you only read the memory block in one place and only write it in one place (the read and write can be in different loops or subVIs) there's no need for arbitration.  By using two FIFOs you can keep them independent and avoid the conflict resolution code.  See the help for "arbitration" for more details.

Maybe you are looking for