USB-2009, Task.Timing.ConfigureSampleClock fails

I work with a USB-2009 and want to write a byte array to the digital output using DigitalSingleChannelWriter.WriteMultiSamplePort.   The following c# code illustrates what I'm trying to do.  An error occurs when ' task. Timing.ConfigureSampleClock' is performed and the message below.

I read the documentation of NOR-DAQmx .NET.  It does not specify what are the classes and/or function should not be called on the USB-2009 so I don't know whether or not the "ConfigureSampleClock" can even be used in this situation.

Can someone tell me or provide me with sample code that shows how a byte array can be sent to the digital output on the USB-2009?  If the USB-2009 is not designed for that, then that would also be helpful to know.    If your example is only for analog output, then I think it would be just as good.  I am able to output a successful single byte, one at a time, on the line of digital output... but not a byte array.

Thank you

Ian

===============================

Code example

Note the following object instances:

"Simulator" simulates a wave with an amplitude of 255 square

"deviceID" manages the the string ID of the USB-2009

int x = - 1;
Byte [] waveData = new Byte [Simulator. Count];
{foreach (Double sample in the Simulator)
waveData [++ x] = Convert.ToByte (sample);
}

using (task task = new task ("myTask")) {}
task. () DOChannels.CreateChannel
deviceID + "/ port0."
"myPort."
ChannelLineGrouping.OneChannelForAllLines
);

task. Timing.SampleTimingType = SampleTimingType.OnDemand;
task. () Timing.ConfigureSampleClock
String.Empty,
samplingRate,
SampleClockActiveEdge.Rising,
SampleQuantityMode.FiniteSamples,
Simulator. County
);
task. Control (TaskAction.Verify);

DigitalSingleChannelWriter writer = new DigitalSingleChannelWriter (task. Stream);
writer. WriteMultiSamplePort (waveData, true);

} / / using (task task = new Task()) {}

===============================

Error message generated by executing the line "task. Timing.ConfigureSampleClock':

NationalInstruments.DAQmx.DaqException: The requested value is not supported for this property value.

Property: NationalInstruments.DAQmx.Timing.SampleTimingType
You asked: NationalInstruments.DAQmx.SampleTimingType.SampleClock
You can select: NationalInstruments.DAQmx.SampleTimingType.OnDemand

Task name: myTask

State code:-200077

to nNIMSSAIL100.StatusObserverT<><>otNetApi > >. CheckWithName (StatusObserverT<><>otNetApi > *, tCaseInsensitiveBasicString\,_STL::allocator\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)

at NationalInstruments.DAQmx.Timing.set_SampleTimingType (SampleTimingType value)

at NationalInstruments.DAQmx.Timing.ConfigureSampleClock (String signalSource, Double rate, SampleClockActiveEdge activeEdge, SampleQuantityMode sampleMode, Int32 samplesPerChannel)

at Test.MainForm.testNINetLibrary_Click (Object sender, EventArgs e) in C:\Users\XXXXXl\Documents\Visual Studio\Projects\Digital IO - test\MainForm.cs:line 197

Hello Ian,

The error you see is because you try to cinfigure a sample clock that is not actually present.  The USB-6009 case is completely timed software (which means that the values are updated based on your loop rates and the speed at which your computer can change).  It seems that you are calling the right to property, the error message seems a bit misleading.  We can consider the issue to see if it's something that needs to be corrected.  Normally, the timed SW just requests do not configure a sample clock.  Here's an exit code only once, so do not hesitate to repeat just update you need.

int main (void)
{
error int = 0;
TaskHandle taskHandle = 0;
data uInt32 = 0xffffffff;
char errBuff [2048] = {'\0'};
Int32 wrote;

/*********************************************/
DAQmx Configure Code
/*********************************************/
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "port0/Dev1", "", DAQmx_Val_ChanForAllLines));

/*********************************************/
Starting code DAQmx
/*********************************************/
DAQmxErrChk (DAQmxStartTask (taskHandle));

/*********************************************/
DAQmx write code
/*********************************************/
DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

Error:
If (DAQmxFailed (error))
DAQmxGetExtendedErrorInfo (errBuff, 2048);
If (taskHandle! = 0) {}
/*********************************************/
Stop DAQmx code
/*********************************************/
DAQmxStopTask (taskHandle);
DAQmxClearTask (taskHandle);
}
If (DAQmxFailed (error))
printf ("error DAQmx: %s\n",errBuff); ")
printf ("end of the program, press the Enter key to quit\n");
GetChar ();
return 0;
}

Tags: NI Hardware

Similar Questions

  • Size of USB data acquisition 2008/USB 2009

    We have several USB 2008 Renault in my company, and we plan to go to a USB 2009. We use them in some regions of space is counted rather however, and I was wondering if there is a difference in the physical size of 2009 compared to the 2008 USB USB.

    Thank you

    There is no distinction between 2008 and 2009. Could you be confusing a with a 6 2 and talk about the 6008 and 6009? If so, the dimensions are in the User Guide , which is something that comes with the units.

  • HP USB and wireless Lan update failed to install

    my USB hard drive can not be found and I noticed the Intel USB 3.0 extensible host controller FAILED to install the software update and also the Ralink Wireless network driver update / LAN also failed to install, I tried other USB hard disks, and they can also be seen, whats the fix for this please Thank you

    Well, it's different, I went to the control panel and found find and solve problems and clicked on it and went to the configuration of a device and ran the troubleshooting and it says problem found hardweree changes could not be detected...? which is weird, but Defected said... and it seems to work fine now, I listened to 2 and 1/2 hours of music and watcthed 2 complete movies and it seems to work fine now so there was me but still pretty strange thing that can happen thank you for your help and all who responded ) soon )

  • Unknown USB device (device application descriptor failed) Code 43

    my internal cam has stopped working, I worked on almost everything what I found in the internet

    disabled drivers and restarted

    uninstalled the usb ports on the Device Manager and rebooted again

    I get this error message in the Manager of devic

    name:

    Unknown USB device (device application descriptor has failed)

    Device status

    Windows has stopped this device because it has reported problems. (Code 43)

    A request for the USB device descriptor has failed.

    Geographical area:

    Port_ #0001.Hub_ #0004

    Status:

    Device USB\VID_0000 & PID_0002\6 & e2f2cee & 0 & 1 had a problem starting.

    Driver name: usb.inf
    The class GUID: {36fc9e60-c465-11cf-8056-444553540000}
    Service:
    Lower filters:
    Upper filters:
    Problem: 0x2B
    Status: 0x0

    Hi waly,.

    Thank you for the information. I suggest that you unplug all USB connections and refresh your laptop. Then try to use your webcam. I think that the problem with the USB connection that gives you the error and not your webcam. Here is a document on how to update your PC to solve problems (Windows 8).

    If you are still experiencing a problem with the webcam and then one of the documents in the previous post should help now. Any stage of document Windows 8 will be the same for Windows 8.1.

    I'm also including this document how trouble Code 43 errors that will help determine which USB product causes the error to appear.

    I hope that this information help, please let me know how it goes.

    Good luck and have a great day!

  • tasks timed inside the loop

    I have a program that has multiple tasks, and I want to work at different frequencies inside the loop.  I wonder what is the most effective way to do this?

    I read on several tasks running button push-based or events, but have not found much of the timed tasks.

    Is the loop timed the best way to go with this?  Have a loop timed for each required task?

    I have attached a vi corrupt that shows what I'm trying to do.

    I'm sure there is an easy solution, but want to find more effective this way.

    Thank you

    For a simple task like this, just turn the loop at the faster pace, you need and perform other tasks to integer multiple of it.

    Here's a simple project (LV 8.6)

    (Of course you have serious problems with stolen memory, as you grow berries of infinite sizes in the uninitialized shift registers. Which must be fixed too).

  • "Timed out, failed to connect to BrowserLab" error

    Hello

    I've seen some posts with this error but no real solution. I use the version of Dreamweaver CS6 5842 on Windows 7 x 64. I can connect to BrowserLab and URL of the sample preview very well.

    When I use the BrowserLab in DW Panel, however, and select Preview, my default browser (Chrome) launches, connects, and then I face the blank screen of default BrowserLab. Meanwhile, the group is sitting there saying «Launch BrowserLab»... "and seems to ignore that he threw it with success. The Panel in DW gives finally upward, showing the error "failed to connect to BrowserLab, Timed out," and a nasty red dot.

    I am in a large enterprise environment and cannot circumvent the authenticated proxy system - because of problems in the past with some software more alumni who is not proxy aware. Could be the cause of this error? All other programs (including Adobe Application Manager) that I use are able to request credentials and access the Internet successfully.

    Is that what I can do to use BrowserLab with Dreamweaver?

    Sorry to see Adobe give you the runaround "restart".

    I had exactly the same issue as yours, even if I was connected to the service. Then realized I was on windows, using Chrome which has its own shell separate from those installed in system flash.

    What worked for me was connecting BrowserCam via IE.

  • Multiport USB - C map update install Fail

    I just brought a new MacBook 2016 with a multipart USB - C adapter.  I try to install the update of Multiport USB - C adapter.  After you run the installation program by pressing the "restart" button on the Panel of final Installer menu at the top of the Office bar disappears and the computer does not restart.  I am able to select and run programs of the docking station, but never restarts the computer and the menu bar never returns.

    I have read and followed the instructions online for the installation program.  Any suggestions would be greatly appreciated.

    Thank you!

    The guarantee gives the right to the free phone support for the first 90 days of ownership.

  • Task Scheduler service fails, so I am unable to defragment my hard drive.

    original title: Task Scheduler service does not start

    OK, I have some stability issues with my new win 7 OS and I want to remedy. to do this, I would like to solve any potential problems which can cause my system crashes.

    I check the logs and noticed that the Task Scheduler service is not running. for newspapers of sistem registry errors and i cannot defragment my hard drive.

    So how do you start the Task Scheduler service? When I press the Start button service, I get an error. This is a perforated Cap.

    http://I27.Tinypic.com/2rp4mm8.PNG

    Try to do a repair installation;
    1. Insert the DVD of Windows 7
    2. restart your computer
    3. When asked if you want to boot from your DVD player, do it.
    4. Select your language, click Next.
    5. click on "repair your computer".
    6. Select the operating system you want to repair.
    Andre Da Costa http://adacosta.spaces.live.com http://www.activewin.com

    I don't have the possibility to repair the operating system or select one as you suggested in step 6. I have and here is a picture of the dialog box http://www.sevenforums.com/attachments/tutorials/1010d1227511616-startup-repair-repair.jpg

    EDIT: Here is the solution I found: http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/0c438376-1486-4ae4-9847-2de7a8767f27

  • Recent task pane shows failed these last duties from May 14

    I tried in vain to rehabilitate a number of blades there is the May 14 almost 3 weeks and then again may 26. The task is not at the time. They are always shown as being cancelled by the user in the window recent tasks under the status column.

    Is it possible to purge this detail of the recent tasks window.

    Restart the virtual center service.  It's annoying, but it works.

    -KjB

    VMware vExpert

  • Integration of OM for task inventory vCenter fails for a host

    Hello.

    I've updated my plugin for integration of OM to 1.7 2.0. I have three hosts 5.5 ESXi and vCenter 5.5 device.

    The analysis of the inventory on one of these three hosts fails. I did the changes on the hosts and the inventory, used to work for guests when I used the plugin version 1.7. During testing of connection profile I get not all errors and information iDRAC identification and credentials to the host with green checkmarks on all hosts, including the one who gets the failure of the inventory scanning.

    When you look at the newspapers I see a lot of security-messages and then "cannot get an IP iDRAC for host {0}" and "failure of the inventory for host 1 of 3".

    Any suggestions?

    Because we support 5.5 with 1.7 install it must have been new for the hosts and vCenter.    OMSA can sometimes get messed up during upgrades. Please verify that this host is consistent in the compliance Wizard in the full desktop client. In addition, you can verify that you are a build 61? If you are on build 59 try to switch to the current 2.0 version. Change the path of update to linux.dell.com/.../latest

    • Run the update
    • This update, you will have to build 2.0.0.1262
    • After the update, lack of movement to the original path to ensure you'll see future updates.
  • How can I set up a digital input task to read continuous samples?

    I am trying to create an exclusively digital task that will make digital readings at a rate timed by the material using a PCIe-6509. However, when I try to put the task timing as follows (which works on a PCIe-6509), I get the following error:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: NationalInstruments.DAQmx.Timing.SampleTimingType

    Required value: NationalInstruments.DAQmx.SampleTimingType.SampleClock

    Possible values: NationalInstruments.DAQmx.SampleTimingType.OnDemand, NationalInstruments.DAQmx.SampleTimingType.ChangeDetection

    Task name: DigitalInputTask

    State code:-200077

    The relevant parts of my code are:

        public class DigitalInputReader: IDisposable
    {
    public DigitalInputReader()
    {
    dataReadyHandler = new System.AsyncCallback (DataReadyEventHandler);

    daqmxTask = new DigitalInputTask();
    daqmxTask.Configure (Globals.NI);

    daqmxTask.Control (TaskAction.Verify);
    daqmxTask.Control (TaskAction.Commit);

    daqmxReader = new DigitalMultiChannelReader (daqmxTask.Stream);
    }

    public class DigitalInputTask: task
    {

    public DigitalInputTask(): {base ("DigitalInputTask")}

    public virtual void Configure (NiConfiguration niConfig)
    {
    <= niconfig.digitalinputs.count="" -="" 1;="">
    {
    String physicalChannelName = niConfig.Device + "/ port" + niConfig.DigitalInputs [i]. Port.ToString () + "/ line" + niConfig.DigitalInputs [i]. Channel.ToString ();
    String nameToAssignToChannel = niConfig.DigitalInputs [i]. Name;

    DIChannel ch is this. DIChannels.CreateChannel (physicalChannelName, nameToAssignToChannel, ChannelLineGrouping.OneChannelForEachLine);
    c. InvertLines = niConfig.DigitalInputs [i]. InvertLines;
    }
    var signalSource = "";
    This. Timing.ConfigureSampleClock (signalSource, Globals.MachineSettings.SampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples);// Globals.MachineSettings.SamplesPerChannel);
    }
    }

    The last call to Task.Timing.ConfigureSampleClock, it's which throw errors.

    Of the options available, or SampleTimingType.OnDemand or NationalInstruments.DAQmx.SampleTimingType.ChangeDetection provide the same precisely timed calls that I am familiar with the analog input interruptions.

    How is it possible in a digital task?  I mean, it seems that I could set up another task to do call by material for the production of a clock signal and use the ChangeDetection synchronization mode, but this seems a bit complicated for what should be easy to do.  What Miss me?

    Update: I thought about it.  You cannot call ConfigureSampleClock when the digital input card is a device of 650 x, because these devices have any automated examples of clock.  They are configured to run in mode default finite samples.  You must make all sample synchronizing with these devices in the software.

    Be cautious, however, because the .NET timers ensure they put any faster than their scheduled interval.  In practice, they are usually 5 to 10 ms slow by tick.  This means that if you want to read samples every 100 ms by sample clock, you'd end up reading all 108 ms samples.  All counters based on the elapsed time and number of samples would be away after a few seconds of it.

    Instead, you must do one of four things: write a doggone driver that runs in ring 0 and interfaces with the PCIe card in the required interval (i.e. on NC, not you, in practice), tolerate the inclination of the clock, use a multimedia timer as an interruption audio or video that is more likely to respond to the correct interval, or , my solution, an accurate clock allows you to set the interval of the timer.  I wrote the following code to the timer:

    var CorrectiveStopwatch = new System.Diagnostics.Stopwatch();
    var CorrectedTimer = new System.Timers.Timer()
    {

    Interval = targetInterval,
    AutoReset = true,
    };
    CorrectedTimer.Elapsed += (o, e) =>
    {
    var actualMilliseconds =;

    Adjust the next tick so that it's accurate
    EG: Stopwatch says we're at 2015 ms, we should be at 2000 ms
    2000 + 100 - 2015 = 85 and should trigger at the right time
    var StopwatchCorrectedElapsedMilliseconds = newInterval +.
    targetInterval-
    CorrectiveStopwatch.ElapsedMilliseconds;

    If we're over 1 target interval too slow, trigger ASAP!
    <=>
    {
    NvelIntervalle = 1;
    }

    CorrectedTimer.Interval = NvelIntervalle;

    StopwatchCorrectedElapsedMilliseconds += targetInterval;
    };

    I hope this helps someone.

  • Multi-channel AI program 6008 USB in c#

    I am writing a program in c# to collect data of voltage.

    I want to allow the user to toggle the channels they wish to collect of (up to a maximum of 4), refers to the number of samples and the sampling for each frequency and write the log to a file of PDM. I think Task.AIChannels.CreateVoltageChannel call four times to create the four channels and Task.Timing.ConfigureSampleClock four times to set up the sampling parameters individually.

    Similar threads seem to indicate that a single channel of AI must end sampling before another channel of AI could begin. Is this true? My method would work?

    You right about that, there is only a single clock controlling the task, so there is no possibility of setting the channels at a different pace, and the API would use a final which has been set up.

    A common practice when different high sampling rates are required is to sample the fastest rate required for all channels and then "decimating" data for slower channels, so you can get the number of samples that you expect.

  • Relationship between the samples through the second rate and sampling

    I was wondering if someone could clarify the relationship between the samples through second rate and sampling.

    I have USB6008 and USB6363 of the tips that I work with in Measurement Studio.

    For the nec USB6008 entry differential (up to four channels of HAVE), if I put a sampling frequency to 8192 samples per second, and I updated 2048 samples per channel with:

    Task.Timing.ConfigureSampleClock ("", 8192, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, 2048)

    Am I right in assuming that:

    • through the 4 analog inputs 8192 samples will be collected every second
    • 2048 samples will be taken by way of analog input for each scan
    • The time between two successive data points is 1/2048 seconds (about 0.5 ms)

    Hi DKIMZEY,

    The help page for the "Timing.ConfigureSampleClock method" should have a hypertext link to the page "Sample clock" in NOR-DAQmx help, that contains this text: "this sample clock sets the interval of time between samples. Each tick of the clock starts the acquisition or the generation of one sample per channel. "When the sample clock frequency is 8192, then the time between two successive data for a single channel is 1/8192 seconds. The time between the data points on two adjacent channels is controlled by the clock to convert, which can be controlled independently on most devices (up to a point).

    Brad

  • Could not find the ORA error behind this failed task

    Hi friends,

    In the part of the load, I got a task that failed following two as
    SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive
    SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive
    I found the log file for the task that has failed two above to the location (D > orahome > 10gR3_1 > bifoundation > dac > Journal)

    For, SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive I found the newspaper below
    All Task Batches
         Preceding Actions
              ------------------------------
              SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              ------------------------------
              
              
              2012-07-30 16:17:12.625 SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template has started.
              
              
              Running Custom Sql list SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
    
    Source: "BIAPPS"
              Tables:
                   W_GL_ACCOUNT_D
                   W_ORA_GLREVAGGR_F_TMP
                   W_ORA_GROUP_ACCOUNT_NUM_D_TMP
                   W_ORA_GL_REVN_GL_F_TMP
    
    Target: "BIAPPS"
              Tables:
                   W_GL_REVN_FS
    
    Default retries for this custom SQL is 1.
    
    executing sql (Truncate:W_GL_REVN_FS:BIAPPS)
    TRUNCATE TABLE W_GL_REVN_FS
    
    "Truncate" for W_GL_REVN_FS succeeded on "BIAPPS"
    
    Succeeded
    
    
              
              Successfully executed : SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
              (Number of retries : 1)
              
              Commands executed : 
              SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
              2012-07-30 16:17:12.75 SDE_ORA_Stage_Reverse_GLRevenueFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template has finished execution with Completed status.
              ------------------------------
    
         Truncate Batch
              ------------------------------
              TRUNCATE TABLE:W_GL_REVN_FS
              ------------------------------
              
              
              2012-07-30 16:17:12.828 TRUNCATE TABLE:W_GL_REVN_FS has started.
              
              
              Successfully executed : TRUNCATE TABLE:W_GL_REVN_FS
              
              (Number of retries : 1)
              
              Commands executed : 
              TRUNCATE TABLE W_GL_REVN_FS
              
              2012-07-30 16:17:12.828 TRUNCATE TABLE:W_GL_REVN_FS has finished execution with Completed status.
              ------------------------------
    
         Informatica Session Batch
              Upon Failure Restart Actions
                   ------------------------------
                   TRUNCATE TABLE:W_GL_REVN_FS
                   ------------------------------
                   
                   
                   2012-07-30 16:17:12.828 TRUNCATE TABLE:W_GL_REVN_FS has started.
                   
                   
                   Successfully executed : TRUNCATE TABLE:W_GL_REVN_FS
                   
                   (Number of retries : 1)
                   
                   Commands executed : 
                   TRUNCATE TABLE W_GL_REVN_FS
                   
                   2012-07-30 16:17:12.828 TRUNCATE TABLE:W_GL_REVN_FS has finished execution with Completed status.
                   ------------------------------
              ------------------------------
              INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_GLRevenueFact_DiffManDerive:(Source : FULL Target : FULL)
              ------------------------------
              
              
              2012-07-30 16:17:12.843 INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_GLRevenueFact_DiffManDerive:(Source : FULL Target : FULL) has started.
              
              
              
              ANOMALY INFO::: Error while executing : INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_GLRevenueFact_DiffManDerive:(Source : FULL Target : FULL)
              MESSAGE:::
              Irrecoverable Error
              pmcmd startworkflow -sv Oracle_BI_DW_Base_Integration_Service -d Domain_BIAPPS -u Administrator -p **** -f SDE_ORA11510_Adaptor  -lpf D:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\\BIAPPS.BIAPPS.SDE_ORA11510_Adaptor.SDE_ORA_Stage_GLRevenueFact_DiffManDerive.txt SDE_ORA_Stage_GLRevenueFact_DiffManDerive
              Status Desc : Failed
              WorkFlowMessage : 
              =====================================
              STD OUTPUT
              =====================================
              
              Informatica(r) PMCMD, version [8.6.1 HotFix6], build [319.0622], Windows 32-bit
              Copyright (c) Informatica Corporation 1994 - 2009
              All Rights Reserved.
              
              Invoked at Mon Jul 30 16:17:39 2012
              
              Connected to Integration Service: [Oracle_BI_DW_Base_Integration_Service].
              Integration Service status: [Running]
              Integration Service startup time: [Sun Jul 29 10:41:49 2012]
              Integration Service current time: [Mon Jul 30 16:17:39 2012]
              Folder: [SDE_ORA11510_Adaptor]
              Workflow: [SDE_ORA_Stage_GLRevenueFact_DiffManDerive] version [1].
              Workflow run status: [Failed]
              Workflow run error code: [36331]
              Workflow run error message: [WARNING: Session task instance [SDE_ORA_Stage_GLRevenueFact_DiffManDerive] failed and its "fail parent if this task fails" setting is turned on.  So, Workflow [SDE_ORA_Stage_GLRevenueFact_DiffManDerive] will be failed.]
              Workflow run id [2233].
              Start time: [Mon Jul 30 16:17:18 2012]
              End time: [Mon Jul 30 16:17:24 2012]
              Workflow log file: [D:\Informatica\PowerCenter8.6.1\server\infa_shared\WorkflowLogs\SDE_ORA_Stage_GLRevenueFact_DiffManDerive.log]
              Workflow run type: [User request]
              Run workflow as user: [Administrator]
              Run workflow with Impersonated OSProfile in domain: []
              Integration Service: [Oracle_BI_DW_Base_Integration_Service]
              Disconnecting from Integration Service
              
              Completed at Mon Jul 30 16:17:39 2012
              
              =====================================
              ERROR OUTPUT
              =====================================
              
              Error Message : Unknown reason for error code 36331
              ErrorCode : 36331
              EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
              
              com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:183)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:411)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:586)
              com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
              java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              java.util.concurrent.FutureTask.run(FutureTask.java:138)
              java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              java.util.concurrent.FutureTask.run(FutureTask.java:138)
              java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
              java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
              java.lang.Thread.run(Thread.java:619)
              
              (Number of retries : 1)
              
              pmcmd startworkflow -sv Oracle_BI_DW_Base_Integration_Service -d Domain_BIAPPS -u Administrator -p **** -f SDE_ORA11510_Adaptor  -lpf D:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\\BIAPPS.BIAPPS.SDE_ORA11510_Adaptor.SDE_ORA_Stage_GLRevenueFact_DiffManDerive.txt SDE_ORA_Stage_GLRevenueFact_DiffManDerive
              
              2012-07-30 16:17:40.109 INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_GLRevenueFact_DiffManDerive:(Source : FULL Target : FULL) has finished execution with Failed status.
              ------------------------------
    
         Analyze Table Batch
              ------------------------------
              ANALYZE TABLE:W_GL_REVN_FS
              ------------------------------
              Not Executed
              ------------------------------
    For SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive I found the newspaper below
    All Task Batches
         Preceding Actions
              ------------------------------
              SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              ------------------------------
              
              
              2012-07-30 16:17:12.703 SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template has started.
              
              
              Running Custom Sql list SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
    
    Source: "BIAPPS"
              Tables:
                   W_ORA_AR_XACTS_GL_F_TMP
                   W_ORA_ARAGGR_F_TMP
    
    Target: "BIAPPS"
              Tables:
                   W_AR_XACT_FS
    
    Default retries for this custom SQL is 1.
    
    executing sql (Truncate:W_AR_XACT_FS:BIAPPS)
    TRUNCATE TABLE W_AR_XACT_FS
    
    "Truncate" for W_AR_XACT_FS succeeded on "BIAPPS"
    
    Succeeded
    
    
              
              Successfully executed : SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
              (Number of retries : 1)
              
              Commands executed : 
              SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template
              
              2012-07-30 16:17:12.968 SDE_ORA_Stage_Reverse_ARTransactionFact_DiffManDerive:PRECEDING_ACTION:"Truncate Target Table" template has finished execution with Completed status.
              ------------------------------
    
         Truncate Batch
              ------------------------------
              TRUNCATE TABLE:W_AR_XACT_FS
              ------------------------------
              
              
              2012-07-30 16:17:13.0 TRUNCATE TABLE:W_AR_XACT_FS has started.
              
              
              Successfully executed : TRUNCATE TABLE:W_AR_XACT_FS
              
              (Number of retries : 1)
              
              Commands executed : 
              TRUNCATE TABLE W_AR_XACT_FS
              
              2012-07-30 16:17:13.0 TRUNCATE TABLE:W_AR_XACT_FS has finished execution with Completed status.
              ------------------------------
    
         Informatica Session Batch
              Upon Failure Restart Actions
                   ------------------------------
                   TRUNCATE TABLE:W_AR_XACT_FS
                   ------------------------------
                   
                   
                   2012-07-30 16:17:13.0 TRUNCATE TABLE:W_AR_XACT_FS has started.
                   
                   
                   Successfully executed : TRUNCATE TABLE:W_AR_XACT_FS
                   
                   (Number of retries : 1)
                   
                   Commands executed : 
                   TRUNCATE TABLE W_AR_XACT_FS
                   
                   2012-07-30 16:17:13.0 TRUNCATE TABLE:W_AR_XACT_FS has finished execution with Completed status.
                   ------------------------------
              ------------------------------
              INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_ARTransactionFact_DiffManDerive:(Source : FULL Target : FULL)
              ------------------------------
              
              
              2012-07-30 16:17:13.0 INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_ARTransactionFact_DiffManDerive:(Source : FULL Target : FULL) has started.
              
              
              
              ANOMALY INFO::: Error while executing : INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_ARTransactionFact_DiffManDerive:(Source : FULL Target : FULL)
              MESSAGE:::
              Irrecoverable Error
              pmcmd startworkflow -sv Oracle_BI_DW_Base_Integration_Service -d Domain_BIAPPS -u Administrator -p **** -f SDE_ORA11510_Adaptor  -lpf D:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\\BIAPPS.BIAPPS.SDE_ORA11510_Adaptor.SDE_ORA_Stage_ARTransactionFact_DiffManDerive.txt SDE_ORA_Stage_ARTransactionFact_DiffManDerive
              Status Desc : Failed
              WorkFlowMessage : 
              =====================================
              STD OUTPUT
              =====================================
              
              Informatica(r) PMCMD, version [8.6.1 HotFix6], build [319.0622], Windows 32-bit
              Copyright (c) Informatica Corporation 1994 - 2009
              All Rights Reserved.
              
              Invoked at Mon Jul 30 16:17:39 2012
              
              Connected to Integration Service: [Oracle_BI_DW_Base_Integration_Service].
              Integration Service status: [Running]
              Integration Service startup time: [Sun Jul 29 10:41:49 2012]
              Integration Service current time: [Mon Jul 30 16:17:39 2012]
              Folder: [SDE_ORA11510_Adaptor]
              Workflow: [SDE_ORA_Stage_ARTransactionFact_DiffManDerive] version [1].
              Workflow run status: [Failed]
              Workflow run error code: [36331]
              Workflow run error message: [WARNING: Session task instance [SDE_ORA_Stage_ARTransactionFact_DiffManDerive] failed and its "fail parent if this task fails" setting is turned on.  So, Workflow [SDE_ORA_Stage_ARTransactionFact_DiffManDerive] will be failed.]
              Workflow run id [2236].
              Start time: [Mon Jul 30 16:17:19 2012]
              End time: [Mon Jul 30 16:17:24 2012]
              Workflow log file: [D:\Informatica\PowerCenter8.6.1\server\infa_shared\WorkflowLogs\SDE_ORA_Stage_ARTransactionFact_DiffManDerive.log]
              Workflow run type: [User request]
              Run workflow as user: [Administrator]
              Run workflow with Impersonated OSProfile in domain: []
              Integration Service: [Oracle_BI_DW_Base_Integration_Service]
              Disconnecting from Integration Service
              
              Completed at Mon Jul 30 16:17:39 2012
              
              =====================================
              ERROR OUTPUT
              =====================================
              
              Error Message : Unknown reason for error code 36331
              ErrorCode : 36331
              EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
              
              com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:183)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:411)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
              com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:586)
              com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
              java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              java.util.concurrent.FutureTask.run(FutureTask.java:138)
              java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              java.util.concurrent.FutureTask.run(FutureTask.java:138)
              java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
              java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
              java.lang.Thread.run(Thread.java:619)
              
              (Number of retries : 1)
              
              pmcmd startworkflow -sv Oracle_BI_DW_Base_Integration_Service -d Domain_BIAPPS -u Administrator -p **** -f SDE_ORA11510_Adaptor  -lpf D:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\\BIAPPS.BIAPPS.SDE_ORA11510_Adaptor.SDE_ORA_Stage_ARTransactionFact_DiffManDerive.txt SDE_ORA_Stage_ARTransactionFact_DiffManDerive
              
              2012-07-30 16:17:40.453 INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_Stage_ARTransactionFact_DiffManDerive:(Source : FULL Target : FULL) has finished execution with Failed status.
              ------------------------------
    
         Analyze Table Batch
              ------------------------------
              ANALYZE TABLE:W_AR_XACT_FS
              ------------------------------
              Not Executed
              ------------------------------
    But the error, I couldn't analyze the exact ORA error of the foregoing two session that does not. Can you friends, help me with the cause of this error so that I can recitfy this inorder to errors for my task failed to run correctly.

    Thanks in advance.

    Kind regards
    Saro

    means that 'If this task fails that be parent' if the session fails, you're in the failure of the workflow state. DAC knows only the workflow state.
    If you run the workflow in WFM, mark the task as completed in DAC.

    Tasks of children (Drop, Create, Informatica) DAC-> current Run-> in the lower pane, select all tasks, and then click the Details button
    a pop window shows the list of tasks if exists elsewhere only a task will show you that is task Informatica.

    Right-click on the task-> update records-> (the State of the list Select)

    Hope this helps

  • Tasks of installation of WSUS 2012 Server Message fail - access denied

    I couldn't find the right place to post this.

    I have a Windows Server 2012 who was executed on this WSUS.  One day, it just stopped to receive updates.  Several attempts to make it work again failed, so I uninstalled WSUS and re-installed.  WSUS installs correctly, but the post installation tasks continue to fail.  I tried to install via powershell without success.  I went to group policy (Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights\Log on as a service) and added IIS_WPG, NETWORK, NETWORK, SERVICE, NT SERVICE\ALL SERVICE SERVICE.  Then did a gpupdate/force.  I specifically gave full control in the folder C:\Windows\Microsoft.NET\Framework64\v4.0.3019\Temporary ASP.NET to the SERVICE NETWORK.   The error I get now is:

    Event code: 3007
    Event message: a compilation error occurred.
    Event time: 2016/06/23 07:31:55
    (UTC) event time: 2016/06/23 12:31:55
    Event ID: 7150e54112dd403b852971e0b2c83eea
    Sequence of events: 3
    Occurrence of the event: 1
    Event detail code: 0

    Application information:
    Application domain: / LM/W3SVC/1730635009/ROOT/SimpleAuthWebService-43-131111587152150914
    Confidence level: full
    Application virtual path: /SimpleAuthWebService
    Application path: C:\Program Files\Update Services\WebServices\SimpleAuthWebService\
    Name of the computer: SERVER-NAME-HERE

    Process information:
    Process ID: 14732
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: HttpCompileException
    Exception message: (0): error CS0016: could not write to file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\simpleauthwebservice\6bf9185a\5130e9bc\App_global.asax.3ioozbcx.dll' - output ' access is denied. '
    at System.Web.Compilation.AssemblyBuilder.Compile)
    at System.Web.Compilation.BuildProvidersCompiler.PerformBuild)
    at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult (Boolean isPrecompiledApp)
    at System.Web.Compilation.BuildManager.CompileGlobalAsax)
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled)
    to System.Web.Hosting.HostingEnvironment.Initialize (ApplicationManager appManager appHost IApplicationHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)

    The name of specific file App_global.asax.3ioozbcx.dll does not exist at this place, I guess because the NETWORK SERVICE does not have access.  However, just for fun. I made sure that NETWORK SERVICE has full control for this folder, and - trial - I gave everyone full control this folder.   I still get the error.

    Please help as I have come to an end.  I'm ready to set up a new server and install WSUS on that.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it

Maybe you are looking for