PCK loopback configuration in NW04s

Hello, my company has a few PCK installations on Unix and Linux machines (NW04s). I am trying to create a loopback scenario. By loopback I mean that the PCK works without an integration server and it sends the messages to itself. I use file sender and file receiver. The sender tries to process the file, but fails. The message is logged in the error log. I get the following error in the error log:
"Exception: no XI receiver agreement configured in PCK for XI message header."
Could it be a configuration problem in the "SAP XI Adapter : XI" service? Any other ideas? On a NW04 PCK it worked fine.
Message was edited by: Ronen Schwartz

Hi Yogalakshmi,
we're trying to upgrade a NW04 to NW04s. We've seen that you're doing this or you've just done it.
Could u give us any information about this?
Thanks in advance,
Xavier

Similar Messages

  • XI PCK loopback scenario

    Hi,
    I've read something about using the PCK in a loopback scenario to develop and test Adapter-Modules on one machine, without having a full XI running.
    Unfortunately I couldn't find any detail information how to do that.
    It would be really nice and helpful if someone could give me some tips how to do that.
    Thanks in advance.
    Regards,
    Frank

    You find this in the online documentation for XI 3.0
    Runtime -> Connectivity -> PCK -> Adapter and Module Development -> Example Adapter and Example Modules -> Configuration Objects for the Adapter Test
    Regards
    Stefan

  • PCK loopback trouble in SP14

    Hi,
    We try to use the PCK to test adapter development. According to help.sap.com you should be able to configure a loopback scenario by setting some xi adapter properties in visual admin, our values are:
    xiadapter.internal devModePCK
    xiadapter.isconfig.url http://localhost:50000/MessagingSystem/receive/AFW/XI
    xiadapter.isconfig.username pckreceiver
    xiadapter.isconfig.password saptech
    When posting messages it indeed tries to post them back to the PCK but we get the following error:
    Transmitting the message to endpoint
    http://localhost:50000/MessagingSystem/receive/AFW/XI using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to invalid content type for SOAP: TEXT/HTML.
    Anybody seen this before?
    rgds Johan Göthberg

    1. did you test the url in browser
    2. does the sap sample adpater's namespace map with namespace in sap xi adapter xi in visual admin?
    3. the jndi is something like deployedAdapters/<adaptername>/shareable/<adaptername>
    the adapter name is the name of your archive, if your archive is myadapter.sda, and your jndi is deployedAdapters/myadapter/shareable/myadapter
    4. can you try the file apdater in pck first
    Message was edited by: Spring Tang
    Message was edited by: Spring Tang

  • Regarding ESS configuration in NW04s

    Hi
    We have already onfigured ESS BP in EP6.0 version.
    Now we are upgrading the version from NW04(EP6.0) to NW04s(EP7.0).
    I want to know whether any changes need to be done in ESS configuration also?
    very urgent thanks in advance.
    Regards
    Yoga

    Hi Yogalakshmi,
    we're trying to upgrade a NW04 to NW04s. We've seen that you're doing this or you've just done it.
    Could u give us any information about this?
    Thanks in advance,
    Xavier

  • SLD configuration for NW04s EP7

    Hello,
    Is there any step by step procedure to configure SLD for NW04s EP7.
    Backend system is ECC6
    *Points will be awarded based on answer

    Mickey,
    Still I am facing problem.Please send me configuration document to the following E-Mail ID
    [email protected]
    I will give you points once I received you E-mail
    Thanks in advance

  • XI Adapter and PCK

    How XI identify Sender system through XI Adapter?
    Foe example I have 2 PCK. I create 2 system PCK1,  PCK2 and 2 sender channels with XI Adapter. Each sender PCK uses different interfaces. Each PCK is configured with receiver channel with XI Adapter (http://server:8000/sap/xi/engine?type=entry)

    Hi Sergey,
    Hava a look at these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/091640a991c742e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/0a1640a991c742e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm
    Cheers,
    Chandra

  • Configure EP into Solution Manager...

    Dear All,
    We are trying to configure EP(NW04s-SPS16) into Solution Manager-7.0(SP16). I was installed SMD Agent in EP-Side. and Deployed LM-Service-17(SMD) in Solution Manager JAVA Stack side..
    After that i was exported JAVA Technical system from EP SLD and Imported in Solution Manager SLD and observed SLD agent is running in SMD Server.
    At this place i strucked. i am not able to get the solution in SMD from SMSY and ABAP connectiviy is not there in SMD and if I run the UPGRADER option i am getting error.
    I am getting confusion to read different different SAP Notes and improper guides.
    Any one please suggest one proper source about configuration settings in EP side for SMD Agent,SLD,RFC Connections etc and Configuration settings in SMD Server(SOLUTION Manager side),UPGRADER,ABAP Settings,SOLMAN SLD side,etc all.
    Kind Regards
    Sudhakar

    Thanks Samuli,
    I tried it..its working for solman but in my ECC (NW 7.31) its not working for web dynpros. Its going to hostname:8001 port and not redirecting to webdispatcher.
    Pleae let me know if I am missing something.
    Thanks & Regards,
    Satyabrat

  • AutoStart/AutoStop NW04s Portal on Windows 2003

    Hi All,
    I'm looking to configure my NW04s Portal's to autostop during maintenance windows for offline backups and autostart when finished.
    Most of the threads I have seen are for EP6 and do not seem to be applicable as my NW04s Portl's do not have a jcontrol_<system #>.pfl or start_<system #>.pfl. I have also seen threads that identify go.bat working together with services.ini but the only go.bat files that I have on my system are used for Visual Admin ans JSPM.
    Any example scripts or documentation would be great.
    Thanks!
    Dana

    Hi,
    Portal can started and stopped via startsap and stopsap commands via Command Prompt.
    STARTSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
    STOPSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
    Those exe's can be found under Drive:\usr\sap\<SID>\SYS\exe\run
    So you have to create a batch file (backup_offline.bat) and configure them like below:
    Following is for an offline Windows backup. To configure a  bks file for automatic Windows backup, please search Google with "automated windows backup" or "ntbackup bks" strings. Also have a look at ntbackup options.
    You can then schedule this batch file via windows scheduler or other sw.
    backup_offline.bat
    rem **** STOPPING J2EE ****
    stopsap name=<SID> nr=00 sapdiahost=<hostname>
    rem **** STOPPING CI ****
    stopsap name=<SID> nr=01 sapdiahost=<hostname>
    rem **** BACKUP usr\sap ****
    ntbackup.exe backup "@D:\Scheduling\backup_fs_j2ee_online1.bks" /n "backup_fs_j2ee_online%date:-7,2%%date:4,2%%date:-4,4%.bkf created -%date:-7,2%%date:4,2%%date:-4,4%" /d "Set created :%date:-7,2%%date:4,2%%date:~-4,4%" /v:no /r:no /rs:no /hc:off /m daily /j "backup_fs_j2ee_online1" /l:s /f "D:\Backup_Dir\FS_J2EE\backup_fs_j2ee_online%date:-7,2%%date:4,2%%date:~-4,4%.bkf"
    rem **** STARTING CI ****
    startsap name=<SID> nr=01 sapdiahost=<hostname>
    rem **** STARTING J2EE ****
    startsap name=<SID> nr=00 sapdiahost=<hostname>

  • ISCSI loopback on 2012 R2?

    Hey guys, 
    I'm running 2012 R2, and I would love the option to mount a iSCSI target on the iSCSI server itself.
    I think the loopback is the best way to go but can't find any information about that.
    Greets

    Hey guys, 
    I'm running 2012 R2, and I would love the option to mount a iSCSI target on the iSCSI server itself.
    I think the loopback is the best way to go but can't find any information about that.
    Greets
    With Windows Server 2012 (even w/o R2) this is a supported configuration. See:
    Introduction of iSCSI Target in Windows Server 2012
    http://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-of-iscsi-target-in-windows-server-2012.aspx
    Loopback: There
    are cases where you want to run the initiator and Target on the same machine; it is referred as “loopback”. In Windows Server 2012, it is a supported configuration. In loopback configuration, you can provide the local machine name to the initiator for discovery,
    and it will list all the Targets which the initiator can connect to. Once connected, the iSCSI virtual disk will be presented to the local machine as a new disk mounted. There will be performance impact to the IO, since it will travel through the iSCSI initiator
    and Target software stack when comparing to other local IOs. One use case of this configuration is to have initiators writing data to the iSCSI virtual disk, then mount those disks on the Target server (using loopback) to check the data in read mode.
    You need to understand however you cannot just mount single LU with multiple iSCSI initiators and write to it from multiple locations unless you run some sort of an distributed lock (Windows Cluster or lock manager like MetaSAN) or clustered file system
    (MelioFS, SFS etc). You can read more here:
    iSCSI instead of SMB
    http://www.starwindsoftware.com/forums/starwind-f5/trying-clear-this-use-iscsi-instead-smb-t1392.html
    If you plan to use Windows target as a shared storage for cluster then you're again out of luck: it does not do any synchronous mirroring between hosts so is pretty useless. Commercial SAN implementations from the other side can do it just fine. See:
    Virtual SAN
    http://www.starwindsoftware.com/native-san-for-hyper-v-free-edition
    So you'll be able to cluster only two hosts w/o any other hardware with iSCSI one connection in a loopback. Like on the picture below:
    Hope this helped a bit :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • How to setup local loopback for "Oracle 11g Release 2" installtion

    Hi all,
    I was trying to install the Oracle 11g Release 2 on Red hat 6 using Local Loop back configuration, but not able to install..
    The contents of are:-
    /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    and of /etc/hosts are:
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    and
    System eth0 is having setting given below:-
    IPV4 is set to " Automatic(DHCP)".
    IPV6 is set to "ignore".
    If i select system etho0 then host-name gets changed it becomes "dhcppc0".
    i checked it using command host-name. and if i try to install with this configuration then during installation gives error of networking as host-name has been changed to "dhcppc0".
    Please tell me what to do for local loopback configuration
    Am i doing some thing wrong?
    Thanks

    i am using "oracle Release 11.2.0.1.0" but same problem was there with oracle 10g on redhat 5.
    Please tell me how to setup local loopback configuration so that i can use internet as well as oracle on same machine. otherwise for internet use i have to change my system ipV4 to automatic(DHCP). if i change it to automatic(DHCP) then oracle stop its working please tell me solution for both case.
    I can not assign Static IP to IPv4, i earlier post i got recommendation to connfigure Local Loopback , but i am able to setup it.
    what ever the setting i have done are given below:--
    vi /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    vi .etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    #ping localhost
    PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.048 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.073 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.037 ms
    ++++++++++++++++++++++++++++++++++++++++++++++++
    error is------
    [INS-06101]Ip address of localhost could not be determined
    are you sure you want to continue?
    Cause - The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    Action - Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    Summary  - dhcppc0: dhcppc0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    log file lines are:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Using paramFile: /database/install/oraparam.ini
    Checking Temp space: must be greater than 80 MB. Actual 7471 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 3499 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    The commandline for unzip:
    /database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /tmp/OraInstall2012-05-29_05-13-01PM
    Using the umask value '022' available from oraparam.ini
    Execvp of the child jre : the cmdline is /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java, and the argv is
    /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui/lib/linux
    -Doracle.installer.oui_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/database/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=2.6.32-220.el6.i686
    -mx150m
    -cp
    /tmp/OraInstall2012-05-29_05-13-01PM::/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instcommon.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instdb.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/cvu.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oneclick.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/share.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emCfg.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstImages.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/swingaccess.jar::/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ojmisc.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xml.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvm.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvmasm.jar
    oracle.install.ivw.db.driver.DBInstaller
    -scratchPath
    /tmp/OraInstall2012-05-29_05-13-01PM
    -sourceLoc
    /database/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2012-05-29_05-13-01PM
    INFO: Loading data from: jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Loading beanstore from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    SEVERE: Unable to determine a valid IP for the localhost..
    Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
    INFO: Completed verification of target environment.
    WARNING: Verification of target environment returned with errors.
    WARNING: [WARNING] [INS-06101] IP address of localhost could not be determined
    CAUSE: The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    ACTION: Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    SUMMARY:
    - dhcppc0: dhcppc0.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
    INFO: Advice is WITHDRAW
    WARNING: Advised to shutdown the installer due to target environment verification errors.
    INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -3
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    ---------------------------------------------------------------------------------------------

  • ComWrt randomly send twice the same string

    Dear all,
    I have recently ported to a Windows 7 machine an old program which communicates with an Arduino board through (virtual) serial port; the problem is that sometimes (once every about 10 times) the ComWrt function sends the same command to the Arduino board twice; I repeat: in debug mode I "step over" to a call to ComWrt once and I see on the serial line that the string is sent twice! I tried many combination of computers/cvi versions and it seems that the culprit is Windows 7, in fact the exact same program running in two different old xp machines does not show this behaviour and ComWrt seems to run smoothly. Any ideas?
    Thanks and best regards!
    Nicola

    Hi all, now I can update about my problem and its unexpected solution; in the same time I will answer to the last question.
    In order to simplify the problem, and following the first suggestion, I put the Arduino board in loopback configuration (no program running in the board, hardware shortcut of RX-TX pin on the borad) and I run the following code:
    int main (int argc, char *argv[])
    char buffer[30];
    int i;
    if (InitCVIRTE (0, argv, 0) == 0)
    return -1; /* out of memory */
    OpenComConfig(3,"",9600,0,8,1,0,0);
    for (i=0; i<1000; i++)
    DebugPrintf("Run no. %i\n", i);
    ComWrt(3, "\r", 1);
    ComRdTerm(3, buffer, 20, '\r');
    Delay(.1);
    if (GetInQLen(3)>0)
    DebugPrintf("Fail!\n");
    return 1;
    return 0;
    I connected the Arduino board by means of its USB port (which is seen by the computer as a virtual serial port), and it fails. I took also a USB-serial adapter, with pin 2-3 shotcut, and in this case the program runs smoothly: so I can state that it is a problem in Arduino serial port driver (note: I have tried both the last driver 1.6.0 and an old one 1.0.0, but nothing). I tried than to do the same thing with LabView but I used instead the VISA system (because I think it is the only way to use serial port in LW, I'm not expert) and it works! So I can also state that the problem is in the way that ComWrt interacts with the arduino driver in Win7. Than I have also tried using VISA system in LabWindows with the following code:
    int main (int argc, char *argv[])
    ViStatus status;
    ViSession defaultRM, instr;
    ViUInt32 retCount;
    ViChar buffer[MAX_CNT];
    int i;
    if (InitCVIRTE (0, argv, 0) == 0)
    return -1; /* out of memory */
    status = viOpenDefaultRM(&defaultRM);
    status = viOpen(defaultRM, "COM3", VI_NULL, VI_NULL, &instr);
    for (i=0; i<10000; i++) {
    DebugPrintf("Run no %i\n", i);
    status = viWrite(instr, "Test\n", 5, &retCount);
    Delay(0.100);
    status = viRead(instr, buffer, MAX_CNT, &retCount);
    if (retCount>5) {
    DebugPrintf("Fail!\n");
    break;
    status = viClose(instr);
    status = viClose(defaultRM);
    return 0;
    And, surprise!, it works also with the arduino board. So I understand that VISA and ComWrt use the serial port in a very different way!
    To conclude, the initial problem remains unsolved and it seems that the combination LabWindows(ComWrt)+Win7+Arduino is bad; good solutions are: (1) XP instead of 7, (2) USB-serial adapter instead of direct USB connection with Arduino, (3) VISA system instead of direct ComWrt function. The latter seems to me the best alternative.
    Best regards,
    Nicola

  • What is the NI/Labview Limit on Baud Rate for a serial connection? Is 9600 the limit?

    Hello all,
    Is 9600 the max baud rate for LV? I'm currently using a LV RS232 cable in a loopback configuration to test...using 9600..and it works fine.
    What I wil be hooking eventually, they said they'd want to run it at 62,500 due to the crystal on the hardware this will be eventually hooking too.
    I just tried adjusting my baud rate on my loopback set up to 62,500....to see what would happen, and it error'd out.
    I'm hoping this can run faster than 9600...and when searching through the forum posts here...I seem to see things saying that it can......
    Any suggestions or links to info on this?
    Thanks in advance,
    cayenne

    It may be possible to do custom baud rates with standard hardware if you have the right hardware.
    I'm doing some cRIO/EtherCAT programming for an NI-9870 RS-232 module and got to wondering about some configurable properties called "Baud Rate Divider" and "Baude Rate Scaler" and found the following information on this page:  http://zone.ni.com/reference/en-XX/help/370984T-01/lvaddon11/crio-9870/
    Property
    Description
    Baud Rate (write only)
    Sets the target baud rate for the port. If you set the baud rate, the appropriate Baud Rate Prescaler and Baud Rate Divider are set automatically, and are calculated according to this formula:
    BaudRate = 3.6864 Mbps / (Prescaler * Divider)
    Note  The maximum Baud Rate for the NI 9870 is 921.6 Kbps.
    Baud Rate Divider (read/write)
    Specifies the divider for the baud rate as defined by the baud rate equation above. This property is useful for setting a custom baud rate programmatically. Use the C Series Module Propertiesdialog box as a calculator to find the appropriate divider for the desired custom baud rate. This value is an unsigned 16-bit value within the range 4–65535.
    Note  Any values outside of the valid range will be coerced into the range.
    Baud Rate Prescaler (read/write)
    Specifies the prescaler for the baud rate as defined by the baud rate equation above. This property is useful for setting a custom baud rate programmatically. Use the C Series Module Properties dialog box as a calculator to find the appropriate prescaler for the desired custom baud rate. This value is defined as a type def, either 1 or 4. A value of 4 is normally used only for very low baud rates.
    I'm fairly certain that the NI-9870 will work in other non-cRIO backplanes (like the USB-based NI cDAQ-9174) but whether or not it will support these same options in an alternate backplane is unknown to me. If you are interested, contact your NI technical sales person and ask them to get you an answer.

  • Oracle provider Issue in SQL Server 2005

    Hi all,
    On the dev server, I'm using SSAS 2005 (32-bytes) + Oracle provider for OLE DB to access my Oracle Database and it works perfectly.
    On the production server, SSAS 2005 is running on a 64-bytes platform.
    The Oracle client 10.2.0.1.0 (64 bits) has been installed containing the Oracle provider for OLE DB but unfortunately the Oracle provider for OLE DB does not appear in the list in BIDS when trying to create a date source.
    Could someone help ?
    Regards,
    Juan

    After much grief I figured this out and this works for me going from x64 sql 05 on windows server 2003 to x86 oracle 10g on another windows server 2003 box...
    Software Prerequisites
    •     x64 Oracle Client:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winx64soft.html
    •     x64 Oracle Data Access Components (ODAC) http://www.oracle.com/technology/software/tech/windows/odpnet/64-bit/index.html
    •     x86 Oracle Client:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
    •     SQL Server 2005 SP2 (x64):
    http://www.microsoft.com/downloads/details.aspx?FamilyID=D07219B2-1E23-49C8-8F0C-63FA18F26D3A&displaylang=en
    Patch Level Required (As of Thursday, July 31, 2008):
    •     Microsoft SQL Server Management Studio: 9.00.3042.00
    •     Microsoft Analysis Services Client Tools: 2005.090.3042.00
    •     Microsoft Data Access Components (MDAC): 2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
    •     Microsoft MSXML: 2.6 3.0 4.0 6.0
    •     Microsoft Internet Explorer: 7.0.5730.13
    •     Microsoft .NET Framework: 2.0.50727.42
    •     Operating System: 5.2.3790
    •     Oracle Data Access Components (ODAC): 10.2.0.3.00 (64-bit Oracle10g Release 2 ODAC for Windows x64)
    1. install the x64 and x86 oracle clients on the mssql box
    2. install the odac on the mssql
    3. Verify that the registry settings at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTC\MTxOCI
    are correct:
    a.     OracleOciLib = oci.dll
    b.     OracleSqlLib = orasql10.dll
    c.     OracleXaLib = oraclient10.dll
    4. Verify that your tnsnames.ora and sqlnet.ora files have the correct info to connect to the source Oracle 10g (x86) 32 bit source. Note if there is a DNS or other name resolution problem in the environment you may need to change your host entry in your tnsnames file to be the actual I.P. address of the source Oracle box, until the network issue is resolved by the applicable environments network engineer. Additionally, note that if your client tnsnames.ora file is not configured to match the network topology in use, you will have issues… loopback configurations particularly cause grief.
    5. Update Machine.config Add the following binding policy:
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342" />
    <bindingRedirect oldVersion="2.0.0.0-10.9.9.9" newVersion="2.102.3.2" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    6. Save the following as a *.reg file and run it...
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTS\Setup\WizardPath]
    @="C:\\Progra~2\\Microsoft SQL Server\\90\\DTS\\Binn\\DTSWizard.exe"
    7. Save the following as a *.bat file...
    rem Progra~2 is short path name for "Program Files (x86)" and works around an Oracle client bug that doesn't like the ()'s in the path
    start /B "C:\Progra~2\Microsoft Visual Studio 8\Common7\IDE" "C:\Progra~2\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
    8. Save the following as a *.bat file...
    start /B "C:\Progra~2\Microsoft SQL Server\90\Tools\binn\VSShell\Common7\IDE" "C:\Progra~2\Microsoft SQL Server\90\Tools\binn\VSShell\Common7\IDE\SqlWb.exe"
    9. Create a shortcut that points to each of the batch files you just created and only launch BIDS or SSMS from those *.bat files...
    10. create your packages, etc., as normal, but you will not be able to fully test them from BIDS or SSMS because they are 32 bit running in 64 bit o/s...
    11. Create a job with a line similar to the following as a cmdexec type of job...
    "C:\Progra~2\Microsoft SQL Server\90\DTS\Binn\DTExec.exe" /FILE "C:\SomeWidget.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF
    12. your done...
    Best Regards, from a Las Vegas Bohemian...

  • No dialer command under ISDN BRI interface

    Hi all,
    I have a 2901 router voice bundle with 4 ISDN BRI ports and would like to have them bundled under Dialer1 interface. Unfortunately it doesn't give me option for Dialer command under BRI interface as expected. 
    router(config-if)#int bri0/0/0
    router(config-if)#dia
    router(config-if)#dia
                             ^
    % Invalid input detected at '^' marker.
    router(config-if)#dialer
                             ^
    % Invalid input detected at '^' marker.
    router(config-if)#
    I assume it's down to the UC license installed on the device but not sure. Does the ISDN BRI interface behave in different way under this license?
    Pasting portion of "show ver" as well.
    Cisco CISCO2901/K9 (revision 1.0) with 479232K/45056K bytes of memory.
    Processor board ID 
    2 Gigabit Ethernet interfaces
    4 ISDN Basic Rate interfaces
    1 terminal line
    DRAM configuration is 64 bits wide with parity enabled.
    255K bytes of non-volatile configuration memory.
    250880K bytes of ATA System CompactFlash 0 (Read/Write)
    License Info:
    License UDI:
    Device#   PID                   SN
    *0        CISCO2901/K9          
    Technology Package License Information for Module:'c2900'
    Technology    Technology-package           Technology-package
                  Current       Type           Next reboot
    ipbase        ipbasek9      Permanent      ipbasek9
    security      None          None           None
    uc            uck9          Permanent      uck9
    data          None          None           None
    Configuration register is 0x2102

    Hi,
              Snippet of "sh ver" with IOS version is below:
    router#show ver
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(4)M5, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Fri 13-Sep-13 14:59 by prod_rel_team
    ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)
    router uptime is 2 days, 21 hours, 47 minutes
    System returned to ROM by reload at 16:48:03 UTC Mon Aug 18 2014
    System restarted at 16:50:01 UTC Mon Aug 18 2014
    System image file is "flash0:c2900-universalk9-mz.SPA.152-4.M5.bin"
    Last reload type: Normal Reload
    Last reload reason: Reload Command
    The output of trying to type dialer command is in the initial post, I'm also pasting all available commands under bri0/0/0.
    router(config-if)#int bri0/0/0
    router(config-if)#?
    Interface configuration commands:
      aaa                     Authentication, Authorization and Accounting.
      access-expression       Build a bridge boolean access expression
      arp                     Set arp type (arpa, probe, snap), timeout, log
                              options or packet priority
      authentication          Auth Manager Interface Configuration Commands
      autodetect              Autodetect Encapsulations on Serial interface
      bandwidth               Set bandwidth informational parameter
      bgp-policy              Apply policy propagated by bgp community string
      bridge-group            Transparent bridging interface parameters
      carrier-delay           Specify delay for interface transitions
      cdp                     CDP interface subcommands
      clns                    CLNS interface subcommands
      clock                   Configure serial interface clock
      cwmp                    Configure CPE WAN Management Protocol(CWMP) on this
                              interface
      dampening               Enable event dampening
      default                 Set a command to its defaults
      delay                   Specify interface throughput delay
      description             Interface specific description
      dot1q                   dot1q interface configuration commands
      dot1x                   Interface Config Commands for IEEE 802.1X
      down-when-looped        Force looped serial interface down
      encapsulation           Set encapsulation type for an interface
      ethernet                Ethernet interface parameters
      exit                    Exit from interface configuration mode
      flow-sampler            Attach flow sampler to the interface
      full-duplex             Configure full-duplex operational mode
      h323-gateway            Configure H323 Gateway
      half-duplex             Configure half-duplex and related commands
      help                    Description of the interactive help system
      history                 Interface history histograms - 60 second, 60 minute
                              and 72 hour
      hold-queue              Set hold queue depth
      ip                      Interface Internet Protocol config commands
      iphc-profile            Configure IPHC profile
      ipv6                    IPv6 interface subcommands
      isdn                    ISDN Interface configuration commands
      isis                    IS-IS commands
      iso-igrp                ISO-IGRP interface subcommands
      keepalive               Enable keepalive
      line-power              Provide power on the line.
      llc2                    LLC2 Interface Subcommands
      load-interval           Specify interval for load calculation for an
                              interface
      logging                 Configure logging for interface
      loopback                Configure internal loopback on an interface
      mab                     MAC Authentication Bypass Interface Config Commands
      mac-address             Manually set interface MAC address
      macro                   Command macro
      metadata                Metadata Application
      mop                     DEC MOP server commands
      mtu                     Set the interface Maximum Transmission Unit (MTU)
      netbios                 Use a defined NETBIOS access list or enable
                              name-caching
      network-clock-priority  Configure clock source priority
      no                      Negate a command or set its defaults
      ntp                     Configure NTP
      ospfv3                  OSPFv3 interface commands
      pulse-time              Force DTR low during resets
      rate-limit              Rate Limit
      redundancy              RG redundancy interface config
      routing                 Per-interface routing configuration
      sdllc                   Configure SDLC to LLC2 translation
      serial                  serial interface commands
      service-policy          Configure CPL Service Policy
      shutdown                Shutdown the selected interface
      smds                    Modify SMDS parameters
      snapshot                Configure snapshot support on the interface
      snmp                    Modify SNMP interface parameters
      source                  Get config from another source
      tarp                    TARP interface subcommands
      timeout                 Define timeout values for this interface
      topology                Configure routing topology on the interface
      transmit-interface      Assign a transmit interface to a receive-only
                              interface
      trunk-group             Configure interface to be in a trunk group
      tx-ring-limit           Configure PA level transmit ring limit
      vpdn                    Virtual Private Dialup Network
      vrf                     VPN Routing/Forwarding parameters on the interface
      waas                    WAN Optimization
    router(config-if)#

  • Application name for SDA Deployment(Custom Adapter)

    hi Experts,
    I am trying to deploy an SDA file using SDM. I had created an EAR project using NWDS and then converted this into an SDA file using CECLT.
    Now while deploying this file using SDM, it is asking for application name and vendor name. Vendor name i had given while creating SDA file.
    What is the meaning of application name while deploying SDA file?
    Please help if possible! Thanks!
    Mayank

    Hi DDasgupta,
    After you created a web application with a custom host name, if you got a prompt for the user and you may face the following issues:
    There is continuous prompt for the credentials
    HTTP 401.1 error
    This shows that there is a problem with the Loopback configuration. This situation should occur only when we access the application from the server machine.
    For fixing the problem, we have to disable the Loopback value inside the registry.Open the Registry Editor (regedit.exe) and locate the following key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, and create a new Key Value of type DWORD inside
    it and set the value to 1.
    More information, please refer to the link:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-creating-host-name-for-web-application/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Black screen with blinking cursor while trying to boot from Win Install CD

    I'm running Leopard with all updates on a brand new MacBook Pro. I initially had no problems with Boot Camp - the Assistant partitioned my drive, I put in my Vista DVD and hit Start Installation and the MacBook rebooted from the Windows DVD just fine

  • Can't install OS 9 onto G3 slot loading - have restore cd with oS 9.0 only

    I am trying to update my G3 to OS X. I purchased OS 10.0.3, OS 10.1 update and OS 10.1.5 update plus other stuff. I successfully got it all working, airport and all but had when I installed one of the updates I had to install and erase. It therefore

  • Append in FTP Adapter

    Hi All, We have a requirement to use Append function in FTP adapter to write the contents into same file. We are using Append="true" in our FTP WSDl but it was not working. Any help is highly appreciated. Thanks and Regards, Nagaraju .D

  • User device profile change

    Hi, I have a UDP created by 7911 phone type for 400 users, now we are changing the phones to 6945, User will able to login (EM) without issues but  the problem is in 6945 phones but they will not get the additional "4" lines becz their UDP was create

  • TimeStamp application with OSDT.

    Hi. I've tried to make a TimeStamp application with OSDT libraries (osdt_cert.jar, osdt_cmp.jar, osdt_cms.jar, osdt_core.jar, osdt_tsp.jar). I can get timeStamp information like TSA, SerialNumber, etc, but I've a problem when try to save TimeStamp in