Master slave system with a que, que is changed without reason

I have two while loops, the first is to receive button events. These are then send to the other loop which controls a machine. But the case 'LogControl' should loop during execution. This works but a variable which is set, PowerState which can be PowerOn and PowerOff is changing during the states. The led should stay on. But instead it starts blinking.  I cannot find where the state is set to PowerOff.
It should do: State: LogControl, PowerOn -> State : LogControl, PowerOn.   But instead it does: State: LogControl, PowerOn -> State : LogControl, PowerOff ->  State : LogControl, PowerOn 
Attachments:
MasterSlaveTest.vi ‏22 KB

It looks like you are building a State Machine (nice), but you don't seem to understand how to do it properly.  You also don't seem to understand how to use the Event Structure with Booleans.
Your State Machine appears to have the following States:  Start, Log Control, Stop, Power On, Power Off, Timer On, Timer Off.  You should probably add an additional State, Initialize (which you start in).  This will be rendered as a single Enum called State.  Note that these "State Machine States" are not necessarily the same as what I'll (mis-)label the Status of your system -- you have three Status indicators, one having three values of "Start", "LogControl", and "Stop", and two Booleans, "Power" and "Timer".  
We'll come back here in a minute, but first, the Event Structure.  This is used to "signal an Event", which here will be to place a State on the State Queue.  Booleans used this way should be set to Latch when Released (I notice yours are Latch when Pressed).  If you place the Control (say, Start) inside the Event that reads it (e.g. "Start": Value Change), when it is read, the "Latch" property will make it reset, converting it from an On/Off switch to a Momentary Push Button, something you might find more useful.
Your Slave (the While Loop) now only needs a single Case Statement.  For example, the Start: Value Change Event puts Start on the Queue.  The Slave "sees" the Start State and does whatever is appropriate (probably it puts Timer On on the Queue, followed by putting LogControl on the Queue).  Note that if you have Status indicators (such as "Power", "Timer", "State") that need to be initialized, you can put Initialize on the Queue just after you Obtain the Queue, outside the Master or Slave.
If you reorganize your code this way, you will probably find out that there are States that you don't need (and don't want) -- I suspect "LogControl" is one of these.
BS

Similar Messages

  • Using cRIO Profibus master/slave module with Siemens device. Looking for GSD file

    Using cRIO Profibus master/slave module with Siemens device. Looking for GSD file. Would NI or Siemens be able to provide this?

    Hey Kurt,
    For Profibus, only the slave needs to be defined with the GSD file, so you would likely get that from Siemens if their device is acting as the Slave in this setup. If you are using the NI Profibus module as a slave, then the GSD is automatically included with the driver.
    Take a look at the following article for more info on how to use the included GSD file.
    CompactRIO PROFIBUS DP:
    http://download.ni.com/support/softlib//embedded%20networks/NI-Industrial%20Communication/profibus/n...
    Regards,
    Ryan

  • Master-Slave design Implementation

    Hi,
    I am trying to design a master-slave system with the following attributes:
    1. Linux Master box having all the Java code.
    2. At least two Windows XP Professional Slave boxes (no Java code on any of these)
    Front end screens on Master would contain a text fields for IP Address and Java program to be executed. On a click of button, the slaves (who's IP Address was entered in the Master screen text field) would get the request to execute the given Java program, a given number of times. Once executed, each slave would turn the results in to the master via a file. After all the slaves have turned in their results, Master would consolidate the results, work another program on the results and re-delegate tasks to the slaves. The steps would stop iterating only when an exit criteria specified by the program has been met.
    If we were to restrict all code to only the master box, what could be the lucidly possible ways to achieve this design?
    Thanks!

    You will need some machanism to send the programs to slaves atleast temperarly in order to be executed there.
    Or you will have to provide a vay for the programs to access the required respurces (files , ect..) in the slaves and let the programs run in the master.

  • How to implement Master-Slave relation

    i have no idea of how to implement a master slave relation, with jdbc i mean if i select "123" from a field in one table, all others fields in another table with the same value in the same field are selected...

    I am certain that this has nothing to do with JDBC. Your query should take care of it. Read: http://www.w3schools.com/sql/sql_join.asp

  • Configuring two digitizers in master/slave

    Cross-posted from the Labview forum.
    Running WinXP Home and Labview 7.0 Express.
    I'm
    considering attempting a master/slave configuration with a PCI-5112 and a
    PCI-5122 that I have on the same motherboard so I can have four channels
    running simultaneously. Is this worth pursuing? Specifically, I'm
    wondering if there will be any sort of compromise in performance
    because of the different specs of the two models.
    Also, is there anything special I need to do hardware-wise to get this running?
    In Labview, how would I go about doing this?
    Thanks in advance for your help.

    Hi RaySun,
    Here's a VI that will work and takes the following steps.  I am working on getting it posted to the official Developer Zone site:
    1.- Choose the constants that will be used for input clock source depending on the board type. The PXI 10MHz back plane is used for PXI boards.
         For PCI boards the master exports the clock and the slave receives it.
    2.- Open a session to each of the digitizers.
    3.- Configure the vertical parameters for each of the digitizers. Both are configured to the same input range.
    4.- Configure the horizontal parameters for each of the digitizers. Both will run at the same rate and acquire the same number of samples.
    6.- Configure an analog edge trigger on the master digitizer.
    7.- Export the stop (reference) trigger from the master to RTSI 1.
    8.- Configure the slave digitizer to have a digital trigger on RTSI 1. It will trigger of the master's exported stop (reference) trigger.
    9.- Query the pipeline delays from the master and slave, add them, add an additional specified delay, and set the slave trigger delay. The additional delay can
         be modified to line up the two waveforms.
    10.- Initiate the slave digitizer first. This is required since we want the slave to be waiting for the trigger when the master sends it. Initiate the master digitizer second.
    11.- Fetch the waveforms from both digitizers and merge them so they can be displayed on the same graph.
    12.- Check for errors, and stop if any occurred. Also stop if the "Stop" button is clicked.
    13.- Reset the digitizers to free all the lines used for synchronization. Close the session and display any errors that might have occurred.
    Here's the example that should get you going, in LabVIEW 8, 7.1, and 7.0 versions (since I had to save down from 8 to 7, might as well provide them all)
    Now, to save them down from LabVIEW 8, the links to NI-SCOPE VIs may have been broken, so you may need to replace those VIs, but you should be able to see which ones go where by looking at the context help over them.
    Thanks,
    mike
    Message Edited by Berto on 03-23-2006 01:11 PM
    Message Edited by Support on 03-23-2006 01:20 PM
    Attachments:
    5112_5122 Synchronization-LV7.0.vi ‏238 KB
    5112_5122 Synchronization-LV8.0.vi ‏120 KB
    5112_5122 Synchronization-LV7.1.vi ‏262 KB

  • What software do I need to download from apple to support Logitech Alert 750n Indoor Master System with Night Vision

    What software do I need to download from apple to support the - Logitech Alert™ 750n Indoor Master System with Night Vision?
    Thanks
    Graham

    Contact Logitech and ask them what the system requirements are...

  • Master/Slave Settings?

    Hello Everyone. I need a little guidance here. The original HD in my B&W, Rev 2, is a Maxtor 6.03GB, ATA, Model 90648D3. I have it partitioned, running Classic and OS 10.2.8. I also have a second SCSI drive, a Quantum Atlas 35GB that I've been using as storage but it's almost full. I decided to get a large HD so I recently purchased a Seagate Cheetah 73GB Ultra-2 SCSI. The drive is an 80 pin but came with a 68 pin SCSI adapter. i thought that the two SCSI drives, with different IDs of course, would work so I installed the drive, thinking that since it was SCSI that I wouldn't have the Master/Slave issue, however I can't boot from the new drive at all. I've tried everything, short of standing on my head, with no success. I would really like to have classic on one of the drives and Tiger on the other but the drives only show up when I reconnect the Maxtor and boot from it. Does anyone know what the problem is here?
    As always, any help is always appreciated! Thank you.

    Ummm,
    Look like you did all the step correctly, but do you use an upgrade card?, because I saw it on your specs at the bottom of youe thread that "B&W G3 .. upgraded to G4", if that is so you are out of luck base on this page :
    http://www.apple.com/macosx/techspecs/
    Maybe somebody would have a trick to install it using emulator software like xfacto or else, but I haven't try that and I heard it will chunk or disable some of Tiger feature, so what is the point of using Tiger if it is half a man it used to be..
    Try to use your original processor first to install the system and after that, restart while pressing the mouse to pop the installer disk out, and press option to give you the option for start up disk. if you are too late, just restart again (after you take the installation disk out) by pressing the reset button or pull and plug back the power cable (not recommended) and hit option key until it give you start up disk option.
    IF it still not coming up, maybe tiger doesn't support either your hd or scsi card for boot up.
    Hope it help now.

  • What DQS column locations & DQ master/slave settings do I pick in 10.1 EDK?

    I am attempting to duplicate the FPGA synthesis flow using XST and ACE to boot Solaris on a Digilent board. I encounter some steps, warnings, and errors listed below that are not covered in the documentation I have. In following section 6.2 of the DV Guide,
    after first running
         rxil -device=XC5VLX110 sparc
    I opened the ML505 project that I found in the Release 1.6 location at $DV_ROOT/design/sys/edk/system.xmp using XPS 10.1 (required to be 9.1i or later), which updated the project (I believe from EDK 9.2 in OpenSPARC 1.6) to the current release, including some manual updates required to be made because of incompatible cores as described in file Version_Changes.log:
    The following files will be modified:
    system.mhs
    system.mss
    The following changes will be made:
    Core microblaze 7.00.b will be replaced by 7.10.a
    Core plb_v46 1.00.a will be replaced by 1.02.a
    Core mdm 1.00.a will be replaced by 1.00.b
    Driver emaclite 1.11.a will be replaced by 1.12.a
    The following changes need to be made manually by the user:
    Core xps_ethernetlite 1.00.a needs to be replaced by 2.00.a
    Core mpmc 3.00.b needs to be replaced by 4.00.a
    Core clock_generator 1.00.a needs to be replaced by 2.00.a
    In following the next step:
    XPS 10.1 „³ Hardware „³ Generate Bitstream
    I get warnings and errors in the XPS log file:
    Check port drivers...
    WARNING:MDT - PORT:IWAIT CONNECTOR:ilmb_LMB_Wait -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 196 - No driver found. Port will be driven to GND!
    WARNING:MDT - PORT:DWAIT CONNECTOR:dlmb_LMB_Wait -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 232 - No driver found. Port will be driven to GND!
    WARNING:MDT - PORT:bscan_tdo1 CONNECTOR:bscan_tdo1 -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\mdm_v1_00_b\data\mdm_v2_1_0.mpd line 197 - No driver found. Port will be driven to GND!
    WARNING:MDT - PORT:I_ADDRTAG CONNECTOR:ilmb_M_ADDRTAG -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 194 - floating connection!
    WARNING:MDT - PORT:D_ADDRTAG CONNECTOR:dlmb_M_ADDRTAG -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 235 - floating connection!
    WARNING:MDT - PORT:FSL0_S_CLK CONNECTOR:ccx2mb_0_to_microblaze_0_FSL_S_Clk -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 332 - floating connection!
    WARNING:MDT - PORT:FSL0_M_CLK CONNECTOR:microblaze_0_to_ccx2mb_0_FSL_M_Clk -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\microblaze_v7_10_a\data\microblaze_v2_1_0.mpd line 337 - floating connection!
    WARNING:MDT - PORT:bscan_tdi CONNECTOR:bscan_tdi -C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\mdm_v1_00_b\data\mdm_v2_1_0.mpd line 190 - floating connection!
    Constructing platform-level connectivity ...
    ERROR:MDT - IPNAME:mpmc INSTANCE:DDR2_SDRAM PORT:MPMC_Clk0_DIV2 -
    C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\mpmc_v4_00_a\data\mpmc_v2_1
    _0.mpd line 2158 - ASSIGNMENT=REQUIRE is defined in the MPD. You must specify
    a connection in the MHS.
    ERROR:MDT - IPNAME:mpmc INSTANCE:DDR2_SDRAM PARAMETER:C_MEM_DQS_IO_COL -
    C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\mpmc_v4_00_a\data\mpmc_v2_1
    _0.mpd line 197 - ASSIGNMENT=REQUIRE is defined in the MPD. You must specify
    a value in the MHS.
    ERROR:MDT - IPNAME:mpmc INSTANCE:DDR2_SDRAM PARAMETER:C_MEM_DQ_IO_MS -
    C:\Xilinx\10.1\EDK\hw\XilinxProcessorIPLib\pcores\mpmc_v4_00_a\data\mpmc_v2_1
    _0.mpd line 198 - ASSIGNMENT=REQUIRE is defined in the MPD. You must specify
    a value in the MHS.
    The sourceless connector error disappeared after I made the selections:
    Xilinx Platform Studio > System Assembly View tab > Ports tab > DDR2_SDRAM > MPMC_Clk0_DIV2 > Make External
    For the two remaining parameter errors I can choose:
    Xilinx Platform Studio > System Assembly View tab > Configure IP...
    Interface tab > Memory Interface Generator (MIG) Settings tab >
    PDF Datasheet button leading to documentation of the parameters
    and
    C_MEM_DQS_IO_COL
    C_MEM_DQ_IO_MS
    For the ML505 board, what do I choose as a column location of left/center/right (00/01/10) for each of 8 DQS pins?
    What do I choose as a value of master/slave (1/0) for each of 64 DQ pins?
    A different top level block
    rxil -device=XC5VLX110 iop_fpga
    results in
    XST ERROR : Could not open $DV_ROOT/design/sys/iop/iop_fpga/xst/iop_fpga.flist at $DV_ROOT/tools/perlmod/rxil,1.1 line 196.
    Edited by: sparcMT1 on Dec 15, 2008 9:04 PM

    Hi sparcMT1,
    I'm not sure what the problem is. When we read in the 9.2 project into 10.1, it updated cores with very few problems.
    One thing you can try is to do only the automatic updates. For example, even though XPS says that "these changes need to be made by the user", just leave the MPMC with version 3.0. I'm looking at one of our projects, and it seems that we did just that.
    formalGuy

  • How to make two standalone oracle databases into master/slave relationship

    i'm not talking about RAC...
    is there any way to make two oracle databases into master/slave relationship? one is hot one is cold, when the hot one is down, the cold one automatically picks up? and of course two databases are in sync all the time.
    any experience?

    DataGuard is an enterprise edition feature.
    You could roll your own standby database by cloning the production system to a backup server and writing scripts that copy the archived log files from the primary to the standby and that apply the archived logs on the standby. Of course, the transactions that had been applied to the primary that were still in the primary's redo logs would be lost if the primary were to fail. DataGuard provides options to keep the standby more closely in sync with the standby to reduce or eliminate that risk, which is one of the reasons that it's an enterprise edition feature.
    If you're on Windows, Oracle FailSafe may also be something to look at.
    Justin

  • Master/Slave Server is not reachable

    We have standalone server install, but then I go to System->object finder and try to search something: i got the following error:
    "Master/Slave Server is not reachable"

    This typically indicates a problem with the System Identity User. Go to Common Services > Server > Security > System Identity Setup. Re-enter the username and password, and make sure the username points to an account with full access to all LMS applications and tasks.

  • Installing Multiple Operating Systems with grub and Arch Linux

    NOTE: Please keep in mind that there are many different ways to achieve this same result using various loop and ramdisk methods, read this with a separate window to jot down your comments and suggestions... this is ongoing for me so any help would be appreciated!
    Read the full article at Install Multiple Os without cds
    This is my first post and I plan on making this topic an official HOWTO with www.tldp.org.
    I have been into the computer security scene since 1990, but I realized that I had very little experience with the various LInux, Unix, and alternative Operating systems out there.
    I have a CD-RW drive but being a struggling computer security researcher I had no money for blank cd-recordables.  What follows is how I managed to install various operating systems on my computer (1 hard drive) without having to burn to a CD the ISO and then boot from that.
    I first partitioned my 120GB harddrive into 10 partitions, the 2nd partition is a small swap and the last partition is extra large because it holds all the ISO images..
    I then wrote a small shell script to automatically download (I love wget!)  the following.
    OpenBSD
    IpCOP
    Libranet
    Arch-Linux
    Fire
    Local Area Security
    Packet Master
    Devil-Linux
    FreeBSD
    Knoppix
    Helix
    Gentoo
    Yoper-Linux
    NetBSD
    RedHat
    Slackware
    The script also downloaded Installation manuals and md5 checksums.. (let me know if I should post... its pretty unsophisticated
    I installed Slackware (personal favorite) on hda1 using my last blank CD-R, note that I do not have a separate boot partitino.  (Should I?).  I also installed grub on the MBR.  I love grub, if you read through the man pages and all info you can find about grub, you can learn a whole lot.  Grub has much more features and capability than lilo, even though lilo comes installed by default with slack.
    I organize my kernel situation as follows...  In my /boot directory, I mkdir KERNEL, CONFIG, MAP, INITRD and that is a good way for me to keep my kernels and everything organized..  Another good way is a separate dir for each new kernel. 
    Since Arch-Linux is a solid distro, I'll use that as a first example.
    Here is the Arch-Linux section of my shell script
    goge Arch-Linux
    $w http://puzzle.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.iso
    $w http://unc.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.md5sum
    $w http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html
    md55
    cat arch-0.6.md5sum
    md5sum arch-0.6.iso
    md55
    The first thing to do is to mount the downloaded ISO image so we can use it as if it were an actual CD.
    mount -t iso9660 -o ro,loop=/dev/loop0 cdimage /mnt/cdrom
    Where cdimage= the ISO image.   EX. /usr/local/src/ISO/Linux/Arch-Linux/arch-0.6.iso
    This mounts the iso as /mnt/cdrom.
    Next you need to copy /mnt/cdrom to a separate partition for the booting process.  So mkfs.ext2 /dev/hda9.  ( I prefer reiserfs or even XFS to ext but if you use something other than ext2 you could run into some problems because some of the installation kernels and initrds don't include support for reiserfs and so can't recognize the files.  Although you could use mkinitrd to create a new initrd with reiserfs support, that might be pushin it IMO...   I use the 9th partition consistently for this.  I know there is a "right" way to copy the /mnt/cdrom files so everything stays the way it is supposed too, using tar or cpio, but I'm lazy so I just do cp -rp.   
    (What is the tar or cpio commands to copy with correct permissions etc??)
    So you mount the 9th partition as whatever, say /mnt/hd and then copy the files.  Now what?
    Now edit your /boot/grub/menu.lst file to include the specific options to boot arch-linux installation. 
    A good idea is to find the isolinux.cfg file somewhere on the distro cd, this will tell you what to include in the menu.lst.
    Here is the section in my menu.lst
    title Arch Install
    root (hd0,8)
    kernel /isolinux/vmlinuz load_ramdisk=1 prompt_ramdisk=0 root=/dev/rd/0
    initrd=/isolinux/initrd.img
    This should be self-explanatory.  The root (hd0,8) is pointing to partition 9.  So the rest of the commands start from partition 9. 
    When you experience problems, remember you can always edit the grub boot options by typing 'e' and then edit the section.  Also, a good idea is to include several variations in your menu.lst so you can easily try other ways to boot efficiently.  And, remember to read up on all the installation guides that come with your distro, specifically, hard-disk installs. 
    There are special cases, Gentoo, has a semi-new compressed filesystem called squashfs.  BTW, this is AWESOME, so check it out.  It has to be compiled into the kernel, so some work is in order, but use this recompile to optimize your kernel.  You can get the squashfs patch for almost any kernel.  I use the latest stable 2.6 kernel.  Squashfs is incredible and although I don't think you need it to install from ISO, you do need it to expand the livecd.squashfs filesystem that comes with the cd.
    Heres a sample Gentoo section from my menu.lst
    title Gentoo Install
    root (hd0,8)
    kernel /isolinux/gentoo root=/dev/ram0
    initrd=/isolinux/gentoo.igz init=/linuxrc acpi=off looptype=squashfs loop=/livecd.squashfs cdroot vga=791 splash=silent
    A nother' tip is the shell that is provided if you experience problems, typically busybox or ash.  The key tools to get you going from here is mount and chroot.  Sometimes you will need to manually create a simulated file system and then chroot into it.  For instance, you might have to create boot, etc, bin, directories on the target partition. 
    I generally install each OS onto the next partition (careful of the logical partition) and add it to my menu.lst after install.  A good idea is after installation, copy the kernel and initrd(if there is one) to the slackware(or whatever) boot partition on hda1.  I copy kernels to /boot/KERNEL/ and initrd's to /boot/INITRD, then menu.lst is more organized...
    You then need to add an updated section to your menu.lst (just comment out the install section for later)
    Here is the finished arch-linux section from menu.lst
    title Arch Linux 6
    root (hd0,2)
    kernel /boot/vmlinuz26 ro root=/dev/hdc3
    This doesn't use my convenient boot/KERNEL/vmlinuz26 as you can tell by setting the root to partition 3.
    ***NOTE: Make a backup of MBR using dd and save to floppy, also backup the partition table to floppy, using cfdisk or parted.  And boot disks (I use 1 with grub, and 1 with slack, and tomsbootdisk) will invariably come in handy.  Tomsbootdisk is recommended, and make the grub boot disk when you install grub.  install to floppy.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The final result after some fun experimenting, is when I boot, I have a cool grub boot screen come up with the option to boot into whatever OS I want, this is handy for multiple reasons.  One good thing to do after this is to port scan and vuln scan each OS, after you update of course.  Write this stuff down and you will know the weaknesses/strengths of the various OS's. 
    I can boot a custom Firewall, snort, or multiple honeypots using this procedure, as well as a graphical kde environment with a kernel optimized for graphics and my processor/architecture, or an environment devoted to forensics or even an environment suitable for programming.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    P.S. Some of the cooler alternative operating systems are BeOS 5, EOS, ER_OS, V2_OS, and my personal favorite Menuet.  Menuet is 100% assembly graphical operating system that fits on a floppy.  Its f'in money!
    This should be a good enough example to get you started, this kind of thing should be learned and not just copied... Knowing how to do this stuff could prove to be exceptionally useful...

    Start by reading all the articles built-in on your Mac - Help > Mac Help, search "printer sharing."
    http://desk.stinkpot.org:8080/tricks/index.php/2008/04/how-to-print-to-a-cups-se rver-from-mac-os-x/
    http://www.macosxhints.com/article.php?story=20080324224027152&query=share%2Bpri nter
    http://members.cox.net/18james/osxprintersharing.html
    http://ubuntuforums.org/archive/index.php/t-56940.html

  • Integrating MDMP and Unicode systems with IDoc interfaces

    Hi,
    We are working on integrating SAP R/3 6.20 (MDMP) with SAP PI 7.0  SP10 (Unicode) system.  The source will send MATMAS or CLFMAS IDocs with Thai / Japanese characters and PI should transform and post it to SAP ECC 5.0 Target system [IDoc to IDoc scenario].
    ( SAP R/3 Legacy 620 - Non-Unicode / MDMP ) |---->  ( XI  - Unicode) ->  (ECC - Unicode)
    Had a look at few SAP notes (745030 ,656350 and 613389)  and it looks like there is no standard way/best practice to handle this scenario. 
    References:
    1.PDF of TECHED Session ID: IM101 Dealing with Multi-Language Garbage?Data – Lessons Learned
    2.SAP Note 745030 - MDMP - Unicode Interface_Solution Overview.pdf
    3.MDMP_Unicode_Transfer_final.doc from SAP Note 745030
    4.SAP Note 656350 - Master Data Transfer UNICODE to MDMP Systems with ALE.pdf
    5.SAP Note 613389 - ALE SAP system group with Unicode systems (Solution-2)
    My understanding per SAP Notes: (Please correct me if I'm wrong)
    a. For MDMP integraton we can't use Standard ALE Config instead we have to use Custom Configuration (IDoc collection setting in Partner profile &Scheduling  RSEOUT002/RSEOUT00_MDMP and use Function module :IDOC_INBOUND_ASYNCHRONOUS_2 ).
    b. The RFC Destinations should use proper logon langauage for correct MDMP IDoc transfer (For sending IDocs with Japanese character, the logon language should be JP).
    c. If we want to transfer IDocs in more than one language we need to create multiple Partner profiles/RFC destinations each with specific logon language.
    Please guide us in integrating these systems if you have done a similar integrations, following are my questions:
    1] Is there any configuration change required at PI layer?
    2] Do we need to install codepages in PI Unicode system for all languages used or Unicode system is capable of handling all the languages?
    3] Is it necessary to install any SAP Add-on package in R/3 MDMP system inorder to support MDMP to Unicode data transfer?
    3] If we want to send MATMAS/CLFMAS IDoc with Thai/Japanese characters from same system, what are the changes required at the Source system?
        (Source may send MATMAS/CLFMAS IDoc with either Thai/Japanese characters but not both of them in a single IDoc)
    4] Can we use regualr ALE & Partner profile settings for handling multi-byte characters or we need to use IDoc collection and RSEOUT002/RSEOUT00_MDMP report for transfer?
    5] Is there any restrictions on the IDoc types (MATMAS,CLFMAS etc) supported in MDMP-Unicode integration solution.
    5] Is there any best practice document available for this scenario?
    6] Do we need to involve SAP AG for MDMP to Unicode system integrations(As per SAP Note: 656350) ?
    Thanks and Regards,
    Ananth

    Hi Ananth,
    as you have already mentioned, you need differents RFC destinations for each language. So you have to make sure, that the IDocs use the right destination according to there content.
    If you have messages from PI to MDMP it is the same, you need different channels with different logon languages as well. You need an identifier in the message, that can be used for selecting the correct channel.
    It should not be a restricting to any IDoc type, but it is not possible to post a message with different languages (which require different codepages) in one IDoc.
    For correct conversion from a non unicode system to unicode, the codepages have to be installed in th OS of the PI server.
    Regards
    Stefan

  • MASTER/SLAVE PATTERN: how to stop slave loop without stop main loop

    Hi All, I am studying the master/slave loop and saw an examples are like this (only master block shows)
    From this case, as I understand, if we click "set" button, slave loop will run. If we click this button again to mak it "Flase", the slave loop will be stopped as well as the main loop will be stopped as well.
    Now if I have a multi-function main loop, I just want to start or stop slave loop when click "set" button, how can I do it? Thank you very much! 

    bhl3302 wrote:
    From this case, as I understand, if we click "set" button, slave loop will run. If we click this button again to mak it "Flase", the slave loop will be stopped as well as the main loop will be stopped as well.
    Your understanding is completely wrong.  There is nothing in the image you show that would stop either loop.  In this situation the "set" button would normally have a latching mechanical action, meaning that when it is pushed, it will stay true until it is read once, at which point it will return to false.  Placing the control terminal inside the event case causes the terminal to be read and resets the button to false.  With a latching mechanical action, there will be only one event generated even though the boolean will change value twice (from false to true, and from true to false).  You'll never have a situation where you push the button once to set it true, and again to set it false.  However, even if the mechanical action is switching, not latching, it still won't make a difference here - the event case does the same thing whenever the value changes, regardless of whether it's true or false.

  • Master-Slave Problem: Please Help

    I am having a problem getting master/slave repositories set up for synchronization.
    My MDM server environment is Solaris with Oracle 10.2 database.
    MDM version is 5.5.41.58 (5.5 SP05).
    I create a repository. I unarchive my data into it. I create a slave repository from it. I go into Data Manager and change the description of one product in the master repository. In the Console, the server log has the following message:
    Master Server failed to log change because of error: The new transaction id is less than the last transaction id. (code 4289454080).
    Has anybody had the same issue? Any clues as to what the problem and/or fix is?
    Thanks in advance.

    Hello Simon,
    Thank you for taking the time to respond.
    The unarchive process involved the following: we have a production catalog running MDM 4.0.58. We had an SAP consultant assist in migrating our catalog to MDM 5.5 SP05. This was done using a local server running Windows and SQL Server. From the Windows MDM 5.5, I made an archive. I transferred it to the Solaris/Oracle environment. Using the Console I did the unarchive.
    One interesting thing to note: when MDM 5.5 SP05 was installed on Solaris, the "Modifications" directory was not created. Initial attempts to synchronize gave a different error. I determined that the directory was missing and had our data center admin create it. He then stopped the MDM server and restarted it. Then I deleted my master and slave repositories and started over. And then got the error referenced above.
    Running the CLIX command gives the following:
    52 for the master and 50 for the slave.
    In the server log, the only errors I see (other than the one about the transaction id's) are when starting the master and slave repositories I see:
    SERVICE 'xxx', SCHEMA 'yyy', ERROR CODE=1002 ||| ORA-01002: fetch out of sequence   Last CMD: SELECT PermanentId, Id, F153, F154, F163, F164, F353, F387, F414 FROM A2i_40
    In the assertion log, there is nothing at the time of creating the slave. When starting the slave, there are many messages relating to accelerators. At the time when I was changing the data in the master, there are messages from A2iIndexedTransactions.cpp (lines 647, 119, 96, and 231).
    If you need any more info, let me know.
    Thanks again for your help.

  • ORA-31694: master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" failed to load/unlo

    Need help... I am importing production export file by schema to QA using this command:
    set oracle_sid=qadb
    impdp system/manager DIRECTORY=DATAEXP PARALLEL=10 DUMPFILE=exp_prod_01.dmp,exp_prod_02.dmp,exp_prod_03.dmp,exp_prod_04.dmp,exp_prod_05.dmp,exp_prod_06.dmp,exp_prod_07.dmp,exp_prod_08.dmp,exp_prod_09.dmp,exp_prod_10.dmp schemas=qaschema logfile=imp.log exclude=statistics
    here is the error shown on the imp.log
    ORA-31694: master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" failed to load/unload
    ORA-02354: error in exporting/importing data
    ORA-39774: parse of metadata stream failed with the following error:
    LPX-00231: invalid character 47 ('/') found in a Name or Nmtoke

    SQL> select comp_name, status from dba_registry where status='INVALID';
    no rows selected
    SQL> select object_type,object_name,count(*) from dba_objects where status='INVA
    LID' and owner like '%SYS%';
    select object_type,object_name,count(*) from dba_objects where status='INVALID'
    and owner like '%SYS%'
    ERROR at line 1:
    ORA-00937: not a single-group group function
    SQL>

Maybe you are looking for

  • In VFX3,error is for GL requires an assignment to a cost object eventhough

    In VFX3, while releasing billing docu for Accounting  error is for GL40000000 requires an assignment to a cost object The below are Checked points : 1.In OKB9 for this cost element  40000000 cost center assignments are there with Business area wise.

  • How to import a picture in java

    hello can annyone help me with my problem, i have tried various ways to import a picture but i cant seem to find the correct way. Can annyone help me with this problem that would be great. You all have my thanks

  • How do i scramble my iphone

    someone took my phone, they know my passcode, can I scramble it so they cant view photos, etc.?

  • Shutting down apps since IOS 7 on iPad 2

    Prior to IOS 7, I was able to shut down "behind the scene" apps that were running. I would do that to enable what I was currently using run smoother. Now, I don't see where you can do that. When I try to do this as before, the screens come up, but no

  • ADFS server pointing to multiple top level domains

    Hi, I have two separate Active Directory Forests setup in my environment (domainA.net and domainB.net) Each forest has a few child subdomains. I would like one ADFS website to allow authentication for both AD forests in my environment. Is there a way