How to define a trigger to start a switch scanning task

I am writing a program in LabWindows/CVI using DAQmx library which handles PXI-2567 card. I have created a new switch scanning task, by the function DAQmxSwitchCreateScanList, that uses the specified scan list. I would like to start this task synchronously with the signal generated on one of trigger line. I thing, that this is possible using DAQmxSetTrigAttribute function where I can define the trigger type to start the task. Unfortunately, it only allows setting the type of trigger but is not clear for me, how can I set the source and edge type for the signal which will start the task.
Best regards,
Miroslaw Koziol

Hi Ion,
Below I will try, most clearly as I can, present a problem which I was struggling.
I have a system that consists of 3 PXI modules: PXI-4461, PXI-6653 and PXI-2567. One digital-to-analog channel on PXI-4461 generates sinusoidal signal which supply my DUT. I need to measure 2 voltages on DUT by one analog-to-digital channel on PXI-4461 (I know that PXI-4461 has 2 analog-to-digital channels but for various reasons such an approach cannot be applied). Each of the voltages must be measured by the integer number of periods and it has to be done continuously (for example 8 periods of one voltage and 8 periods of second voltage and so on). Therefore, a DDS on PXI-6653 is used to generate the signal which frequency is integer times smaller than the frequency of the supply signal. This signal is routed through the trigger line to PXI-2567 and controls the switch which alternately joins the measured signals to the analog-to-digital channel of PXI-4461.
The signal on DA channel must be generated continuously so this task is started and does not stop until the application is closed. Moreover, the generation is started synchronously with the rising edge of the signal generated by the DDS on PXI-6653. It is easy to start this task synchronously to the signal generated by the DDS because on PXI-4461 module a specialized trigger line for analog outputs exists.
The measurements done by the AD channel on PXI-4461 are started and stopped by the user of application. The start has to be done synchronously with the DDS signal. This is also not a problem because on PXI-4461 module a specialized trigger line for analog inputs exists. Unfortunately, I do not know how to start a switch scanning task in the same moment of time when the measurement task is started. If I do not do start these two task together I do not know which voltage samples I receive in my application.
Therefore, I need to know if is it possible to assign a trigger line to start the switch scanning task and set the source and edge type for this signal.
Best regards,
Miroslaw Koziol

Similar Messages

  • How to define financial year to start in November and end  in October

    Hi,
    I am trying to build a report with following columns
    Resort, Month, YTD Rooms, LY YTD Rooms.
    Filter on Year==2010
    The above measures
    YTD=Year to date rooms
    LY YTD = Last Year Year To Date Rooms
    The results would be
    AF, Jan-10, 300, 350
    AF, Feb-10, 200, 280
    Now for this client the financial year, starts in November, therefore their year should be Nov-09 till Oct-10.
    How can set the Year to be from november to October with a timestamp function?
    Thanks and Regards
    Giuliano

    Here's an idea you might want to try in the Presentation Layer base solely on what you shared so far:
    Assuming that the report will always be run in the "current year" as you have in your example, than this should work:
    1) Put a dummy column in your report with this CASE statement:
    CASE WHEN Table.Month ((LIKE 'JAN%' OR Table.Month LIKE 'FEB%' OR Table.Month LIKE 'MAR%' OR Table.Month LIKE 'APR%' OR Table.Month LIKE 'MAY%' OR Table.Month LIKE 'JUN%' OR Table.Month LIKE 'JUL%' OR Table.Month LIKE 'AUG%' OR Table.Month LIKE 'SEP%' OR Table.Month LIKE 'OCT%') AND (Table.Year = CURRENT_YEAR)) OR ((Table.Month LIKE 'NOV%' OR Table.Month LIKE 'Dec%') AND (Table.Year = CURRENT_YEAR - 1)) THEN 1 ELSE 0 END
    Put a filter on this column and set it to 1.
    2) Add another filter on CURRENT_YEAR and CURRENT_YEAR -1.
    NOTE: In my example, CURRENT_YEAR is a repository variable you should have (name could be different, but it should be in number format).
    The way this works is that the second filter filters your report overall on all data for "this year" and "last year." The first filter works with the data within this potential two-year period. Within this time frame, you want the data, for the months of Jan - Oct, where the year = current year and (which in logic, uses the logical operand "OR"), you want the data for the months of Nov - Dec when the year = current year minus 1. This filter will filter out Jan - Oct of "last year" and Nov - Dec of "this year," leaving you with the time period you are looking for.
    Play with the syntax, cause I didn't build this one, but it should work.

  • How to trigger the start  of activity in BPM Studio 10.3

    Hi
    I am new to BPM Studio 10.3.1.
    I have configured two External Resources
    1)J2EE Application Server: Giving details of the application server on which my JMS Queue resides
    2)JMS Messaging Service: Giving details of the JMS Queue
    I want to trigger the start of BPM process/ activity execution when a message arrives on the configured JMS Queue from an external system.
    How will I be able to listen to that queue?
    Similarly, I would also like to know the steps to post a message to JMS through the activity in BPM Studio.
    Is there any document available that helps in configuring the External Resources other than the Studio Reference guide and User guide.
    Can anyone please help on this?
    Thanks

    I don't know if this is exactly what you're after when you wan't to start an 'activity' with a JMS message,
    If you're searching for a way to start the process, this might be your solution:
    String procId = process.id;
    *// Load the JMS Message in the argument holder*
    m_begin.load(xmlText : message.textValue);
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    *// Set the arguments which are sent with the new instance*
    *Any[String] argsIn;*
    argsIn["beginArg"] = m_begin;
    *// Specify the process in which the new instance should be created*
    ProcessInstance.create(processId : procId, arguments : argsIn, argumentsSetName : "BeginIn");
    If you wan't to notify an instance which is in a Wait activity, you can use this:
    *// Putting the message in the paramaters*
    *Any[Any] params;*
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    params["waitArg"] = m_wait;
    *String instId = {instance ID};*
    Notification.send(instanceId : instId, activityName : "WaitActivity", argumentSetName : "WaitIn", parameters : params);
    -----

  • How to define custom event and how to trigger the defined event

    hi,guys
    hurry issue....................hope get help.
    I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
    thank you so much.
    question detail:
    1.for java portlet ,how to define custom event.
    2.how to trigger this event.
    3 about the data,may be sometime need to transit Biz data.
    auctully,I just want to implements between two portlets communicate.
    for example:
    existing portletA,portletB.
    portletA is a list,like:
    A AA <button>
    after I click this buttom,then portletB will be effect,it means they are interact with each other.
    does anybody hit this issue before,if you solved pls share me .
    thank you for you help....

    Hello,
    Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
    From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
    import javax.portlet.ActionResponse;
    import javax.portlet.ActionRequest;
    import javax.servlet.http.HttpServletRequest;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
    HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
    portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
    To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
    <netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
    <netuix:invokeJavaPortletMethod method="processCustomEvent"/>
    </netuix:handleCustomEvent>
    </netuix:javaPortlet>
    </portal:root>
    Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
    public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
    The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
    Kevin

  • How does the WF trigger for a PO

    Hi!
    The buyer creates a PO in ME21N, and completes release 00. Release 01 happens through workflow for PO release.
    My question is, once the buyer completes 00 release, how does the Workflow trigger? Is there any event that triggers the PO release WF? If yes then where can I see this information?
    Thanks,
    Anwar.

    go into SPRO
    Materials Management|Purchasing|Purchase Order|Release Procedure for Purchase Orders|Define Release Procedure for Purchase Orders
    <b>Release Groups
    <i><b>Release Codes
    </b></i> this one decide if you should trigger the workflow or not.
    Release indicator
    <i>Release Strategies</i>
    Here you setup how the release should work </b>
    Workflow
    When this is done the following template should start. WS20000075
    Hope this helps
    best regards erik

  • How to setup "Stop Trigger"?

    There’s a signal(only persist a few seconds) to be measured.I use a digital trigger to start the measurement,but the question is:how to config a digital trigger to use its falling slope to stop a test?
    The DAQmx’s function to config a “stop trigger” is called “Reference trigger---DAQmxCfgDigEdgeRefTrig”,which means set up a trigger in finite samples(to set up preSamples count, and the “postSamples”can be auto caculated using “samples per channel” minus “preSamples”.----What does postSamples mean?When then pre-defined slope comes ,the measurement stops,isn’t it? ).
    But I want to acquire the data continuously,not stopping until received the digital trigger signal’s falling slope. So before the trigger singal’s falling slope comes,I don’t know how many samples I might have acquired.
    What’s more,the “reference trigger” doesn’t support “continuously measurement”,it supports only “finite measurement”.So,when the samples reaches the sample count defined in “DAQmxCfgSampClkTiming”,while the falling slope have not come yet, then the measurement might stop. how can I set up the “stop trigger”?
    If there is a way to config this trigger,then the total sample count might exceed the “samples per channel” count,how can I detect when buffer is full?Should I write a cycle to detect the buffer status(using the function “DAQmxGetReadTotalSampPerChanAcquir”)? Would this kind of detection slow down the sample speed?
    ^_^^_^

    There’s a signal(only persist a few seconds) to be measured.I use a digital trigger to start the measurement,but the question is:how to config a digital trigger to use its falling slope to stop a test?
    The DAQmx’s function to config a “stop trigger” is called “Reference trigger---DAQmxCfgDigEdgeRefTrig”,which means set up a trigger in finite samples(to set up preSamples count, and the “postSamples”can be auto caculated using “samples per channel” minus “preSamples”.----What does postSamples mean?When then pre-defined slope comes ,the measurement stops,isn’t it? ).
    But I want to acquire the data continuously,not stopping until received the digital trigger signal’s falling slope. So before the trigger singal’s falling slope comes,I don’t know how many samples I might have acquired.
    What’s more,the “reference trigger” doesn’t support “continuously measurement”,it supports only “finite measurement”.So,when the samples reaches the sample count defined in “DAQmxCfgSampClkTiming”,while the falling slope have not come yet, then the measurement might stop. how can I set up the “stop trigger”?
    If there is a way to config this trigger,then the total sample count might exceed the “samples per channel” count,how can I detect when buffer is full?Should I write a cycle to detect the buffer status(using the function “DAQmxGetReadTotalSampPerChanAcquir”)? Would this kind of detection slow down the sample speed?
    ^_^^_^

  • How workflow is getting trigger when you click order

    Hello Friends,
      I would like to know how bus2121 Saved event trigger when click Order button in Web?
    thanks,
    John.

    Hi John,
    When a user orders a shopping cart. This triggers the SAVED event, which starts the approval workflow. The system analyzes the start conditions in Customizing.
    There is information here on which workflow the system should start under which conditions. Each workflow represents an approval process (single-level or multi-level) or is defined in such a way that no approval is necessary.
    If approval is required, the system goes through the corresponding approval procedure. The user can meanwhile change or delete the shopping cart. The shopping cart can take on the following statuses:
    Not accepted
    Approved
    Deleted
    Changed
    You can further process a request via a subworkflow.
    If approval is not required, the system sets the status to Approved and immediately starts the subworkflow.
    Users receive a work item. Before the shopping cart can be further processed, they have to accept the rejection of items (or not, as the case may be).
    After the shopping cart is released, the system calls the spooler. This transfers the shopping cart to the backend system or creates a purchase order locally in the Enterprise Buyer system.
    This is how a workflow triggers.
    With regards,
    mahesh

  • How to start two or more tasks at the same time?

    Hi all,
      I have few tasks setup to send analog and digital output to different channel with buffer and given sampling rate. I need to precisely control the timing of samples output to each channel. But if I start the task in labwindows
        DAQmxStartTask(taskHandle1)
        DAQmxStartTask(taskHandle2)
        DAQmxStartTask(taskHandle3)
    they actually not start at the same time since they are exectued in sequence. I wonder how much time delay will be if I start each task in sequence. Also, is it possible to have 2 or more tasks started at the same time?
    p.s. I think it will be easier if I could bind different channels to a single virtual channel but I don't think it is possible to create a signle virtual channel with analog channel and digitial channel.

    RobertoBozzolo wrote:
    I had success in doing something similar on the input side by sharing the same sample clock across the tasks with:
    DAQmxCfgSampClkTiming (DigitalTaskHandle, "/Dev1/ai/SampleClock", 1000, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 1000);
    In my application I had the power to have the same acquisition speed on all tasks, so that the sample clock could be same on all of them.
    The conceptual framework is this one (pay attention to the step order):
    Setup your AO task
    Setup your DO task
    Set the DO task to share the AO sample clock with the instruction given above
    Start the DO task (IMPORTANT: it must precede the AO task start, so that DO task is started but does not generate samples)
    Start the AO task
    If you have different sample speed on the tasks, I suppose an alternative is to use a start trigger sharing some digital signal among them. I have seen examples that use a separate counter output as a start trigger.
    Thanks a lot. It gives me a good information, I think that will help. I am encountering another sitution, if task1 is analog output with continuous samples with rate 100000 samples/second and task2 and task3 are a single digital sample (i.e. write only 1 sample to one digital line). In task1, I write continuous samples and there will be a spike (of 2.2V) at the time 1.2ms after the task started. And I want to write to the digital channels (task2 and task3) at 0.2ms before the spike was set in task1. In this case, there is only one sample written to DO task, so how does it work to use the sample clock source?
    In your last suggestion, we could use tirgger but how does it help? Is there any example I can follow? Thanks.

  • How may I automatically stop and start Mail services at a set time please

    Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
    Cheers, David ( a realy newbie when it comes to administering OS X server)

    launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
    So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
    /Library/LaunchDaemons/local.postfix.stop.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.stop</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>stop</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>1</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    and /Library/LaunchDaemons/local.postfix.start.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.start</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>start</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>4</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
    I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down?

  • How to define data-sources-alias.xml to use Oracle data source

    Hi,
    I created Oracle jdbc Data Source named "MYDS" in Visual Admin.  I added the alias = MYDS_ALIAS.  I set the Initial Connection to 2.  On the Monitor tab, I see a green line running across the screen.  The datasource MYDS is connected to the Oracle.
    Now, I would like to define "data-sources-alias.xml" to use MYDS.
    When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
    I followed the link --> How to point data-source-aliases.xml to another Datasource
    and my data-sources-alias.xml is now:
    <data-source-aliases>
         <aliases>
              <data-source-name>$</data-source-name>
              <alias>BRANCH50DS</alias>
         </aliases>
    </data-source-aliases>
    The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
    1) How to define data-sources-alias.xml to use Oracle data source?
    2) I found the link (SDA Deployment error) talking about "sda-dd.xml".  How to create "sda-dd.xml" and make it use substitution variables "MYDS"
    Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [003]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
    <!PATTERN[sdmcl20051220205339.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Dec 20, 2005 3:53:39 PM  Info: -
    Starting deployment -
    Dec 20, 2005 3:53:39 PM  Info: Loading selected archives...
    Dec 20, 2005 3:53:39 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
    Dec 20, 2005 3:53:40 PM  Info: Selected archives successfully loaded.
    Dec 20, 2005 3:53:40 PM  Info: Actions per selected component:
    Dec 20, 2005 3:53:40 PM  Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: Saved current Engine state.
    Dec 20, 2005 3:53:40 PM  Info: Error handling strategy: OnErrorStop
    Dec 20, 2005 3:53:40 PM  Info: Update strategy: UpdateAllVersions
    Dec 20, 2005 3:53:40 PM  Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
    Dec 20, 2005 3:53:40 PM  Info: Software type of SDA: J2EE
    Dec 20, 2005 3:53:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Info: Begin of log messages of the target system:
    05/12/20 15:53:40 -  ***********************************************************
    05/12/20 15:53:41 -  Start updating EAR file...
    05/12/20 15:53:41 -  start-up mode is lazy
    05/12/20 15:53:41 -  com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
                              at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
                              at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
                              at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
                              at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
                              at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
                              at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
                              at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
                              at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
                              at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
                              at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
                              at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
                              at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
                              at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
                              at java.lang.Thread.run(Thread.java:534)
    05/12/20 15:53:41 -  ***********************************************************
    Dec 20, 2005 3:53:41 PM  Info: End of log messages of the target system.
    Dec 20, 2005 3:53:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Dec 20, 2005 3:53:41 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 20, 2005 3:53:41 PM  Error: -
    At least one of the Deployments failed -

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • How to define an itab based from a structure inside a class

    Hello Experts,
    How can I define an internal table based from a structure that
    is declared inside a class?I want to define it in the START-OF-SELECTION event.
    I'll create a scenario below:
    *       CLASS lcl_main DEFINITION
    CLASS lcl_main DEFINITION ABSTRACT.
      PUBLIC SECTION.
        TYPES: BEGIN OF t_vbak,
              vbeln TYPE vbak-vbeln,
              erdat TYPE vbak-erdat,
              ernam TYPE vbak-ernam,
              auart TYPE vbak-auart,
              kunnr TYPE vbak-kunnr,
              vkgrp TYPE vbak-vkgrp,
             END OF t_vbak.
    ENDCLASS.                    "lcl_main DEFINITION
    START-OF-SELECTION.
    *Here i want to define an internal table based from the structure T_VBAK.
    Hope you could help me out here guys. Thank you and take care!

    .

  • How to define the memory leak in stability test

    Hi
    Usually, we run our system with 70% CPU load for 72 hours for stability test (on solaris 10), because some plugin of our system is using mtmalloc, and we use prstat to monitor the memory of each plugin. But because of the complex memory usage of our application, we don't know when the application will use the Max memory, and because of the "mtmalloc", the memory showed by "prstat" will not released but continually increased.
    So fro the test point of view, there is the risk of memory leak, but actually, there may be no memory leak, so my question is how to define the memory leak in such condition.

    kevin wrote:
    Thank you for the input and all the info.
    isn't java heap the same as memory allocated to the java process in my weblogic
    starup script ?The heap is sized by the -Xmx and -Xms parameters you pass on the java
    command-line. The permanent generation is separate.
    >
    let me also download jprobe and try to run it and see what it gives me.
    I'd start by running with -verbose:gc. I'd want to know whether you're
    running out of heap or permgen space.
    -- Rob
    kevin
    Rob Woollen <[email protected]> wrote:
    Unfortunately memory leaks are not fun to track down even with tools.
    I'd first suggest determining whether you're running out of space in
    the
    permanent area (where classes are loaded), or you've exhausted the java
    help space.
    I'd start by adding -verbose:gc. Look at the gc messages right before
    you hit the OutOfMemoryError. If there's plenty of space left, I'd
    suspect you're running out of perm space. Search these newsgroups and
    the web for MaxPermSize, and you should see plenty of info.
    If you're running out of java heap, tools like jprobe and OptimizeIt
    are
    helpful. If you can tell me a little more about your application and
    how you're testing it, I can offer some more tips.
    -- Rob
    kevin wrote:
    Iam new to JAVA and weblogic. I have an application that runs out ofmemory time
    and again.
    please let me know how to pin point this problem and moreover, howto interpret
    or understand that there is a problem. I have downloaded JPROFILE tool,but it
    is very confusing to understand what is goin on in this tool.
    If somebody can let me know how to interpret and understand the memoryleak, that
    will be great !!!
    thank you.

  • Hardware digital trigger to start stop continuous analog acquisition

    Hi I have seen the following example to use digital trigger to start and stop for finite number of samples. The example names is (DigitalStartandStopTrigger.vi)
    in this example Reference Digital edge is used to stop acquisition but if I change to  continuous then Reference Digital edge stops and show an errir. Could you please let me know how can I use hardware digital trigger to start stop continuous analog acquisition. An example would be really great
    many thanks

    HI tintin_99,
    The way that example works (by modifying the read position of the buffer) essentially performs the same operation that the continuous samples mode does. That is to say, it is already a continuous acquisition.
    The article below explains this in more detail, and the reasoning behind specifying buffer size manually and other tricks used. You may have already visited it in order to get the example VI, in which case it may be worth another read over.
    http://digital.ni.com/public.nsf/allkb/BA775B0E445BFA79482571FE0032CCEB
    Kind Regards,

  • How can i make trigger with basler camera GIGE 659x494 - 70 FPS and I/O terminal block

    Hi all,
    How can i make trigger with basler camera GIGE 659x494 - 70 FPS and I/O terminal block

    Frank,
    If you are wiring an isolated power output to the EVS you will need to apply a power supply to the terminal block.  This is mentioned in the "wiring isolated power output" section of the EVS getting started guide located here.  The guide references the EVS user manual which provides a pinout of the d-ub connector in table 2-11 of the manual located here.  For more information on the camera settings you need to set on the Basler camera please see the user manual of the camera you refrenced here.
    To provide power to the camera you can purchase a power cable for the camera.  Rather than a power cable, since you want to also do triggering, you will want a Trigger and I/O Cable instead which is part number 779985-01 as seen on this product page.  The I/O cable would allow you to wire the trigger lines to the terminal block as well as the power lines.
    David A
    National Instruments
    FlexRIO Product Support Engineer

  • New to FrameMaker ~ How to define elements?

    I'm new to FrameMaker and was hoping somebody could help me. I've just uploaded a huge document from Microsoft Word into FrameMaker and I'm having issues with elements. Does anybody know how to define an element for the entire document? When I go into "element validation" on the side toolbar, I keep getting notices that my entire document is undefined.
    Hope this made sense! Thanks in advance!

    Hi Jen, Russ's advice is sound, but do you know that you *need* structured FM?
    If so, then that structured model should be known by your org and you should have a structured template (an existing FM doc with structured content will do...)
    You then need to create the conversion table (you've done that) and start assigning to the structure model you were given in the structured template.
    If you don't have any structured content or a structured template, you're probably working harder than you have to.
    If you do have those things, then you'll need to understand your structure model (either the EDD or element definition document or the DTD, the Document Type Definition). That will be critical to understanding what the conversion document is supposed to do.
    Finally...if this is the only document you have to convert, you may find that you're working really hard to do something you are not likely to do again. You might want to consider contracting out, as it may save you money, and will definitely save you time.
    -Matt
    BTW, if you're looking to learn all of this, we offer classes in Str FM Authoring, EDD Creation, Conversion, and Structured App Development...

Maybe you are looking for