Add phase to the sinusoidal signal

Hey everyone,
I have issue. I don't knew how can i add phase to the sinusoidal signal? I have two sinusloids whith are of variable frequency (variab. freque. - i suppose that is not a problem for solve my problem). Tension and curant (my two sinusoids) i need delay each other. 
 If anyone can give me help, please. 
Marek 

I thougth you wanted to calculate the delay between the sinuses...
If you want to add a delay, you can just acquire a little more samples and then remove a part of the signal at the beginning of an array/the end of the other.
Is there a problem with your current acquisition? It seems not to be a sinus.
Maybe it would be more convenient if you post your question in the french forum.
Message Edité par Micael_ le 11/05/2010 09:20 AM
Cordialement,
Micaël DA SILVA

Similar Messages

  • How to measure the phase of a sinusoidal signal?

    I need to measure the frequency and the phase of a sinusoidal signal. I tried to use the Advanced Single Tone Measurements.vi but the phase measured in each iteration (each second) keeps changing (the measured frequency is not in integral Hz, so the first point of the next iteration is at a location different from the location of the first point of the current iteration...I guess this is the reason). How can really measure the phase of a signal (not always changing with time)? When I change the phase of the input sinusoidal signal, the measured phase should be changed though.
    I'm using LabVIEW 7.1 and PCI-6110.
    Thank you very much!
    Marlon

    Marlon,
    Without DAQ hardware I cannot run your VI. DAQmx is not supported on my platform (Mac OS X), so I cannot examine your VI in detail.
    1. The AI VI will wait until it has the amount of data specified. So if you are collecting one second's worth of data at a time, it will wait one second before completing. The 50 ms Wait will run in parallel, so it has no effect on the timing in this case.
    2. Continuous AO is possible, depending on the hardware you have. However, I have no experience with implementing it. Since your frequency is such that you do not end the AO data segment at the end of a signal cycle, you need to be careful to avoid discontinuities in the signal sent to the AO.
    3. There is no data dependency between the AI and the AO. It is possible that the AO could run after the AI in any given iteration of the loop.
    4. Your phase reference should be the excitation signal. The best method of evaluating the response of the beam would be to use two sensors, one at the shaker and one at the tip. Then measure the phase shift of the signal at the tip with respect to the shaker signal. If two sensors cannot be used, either measure the voltage sent to the shaker or use the simulated signal that you send to the AO as the reference. In either case you would need to compensate for the response of the shaker.
    5. Consider the phase shift in the filter. The steady state phase shift is about 14 degrees. The initial transient lasts about 5 cycles of the input waveform.
    6. Your simulation sampling rate is 1000 samples/second. While this satisfies the Nyquist criterion for a 379 Hz signal, it does not give you much data to work with for the phase information. If the hardware will handle it, I would go to 10000 samples/second.
    Lynn

  • The measurement of the phase between two sine signals with NI 6251

    Hi, I am working with NI 6251. I need to measure the phase between two sine signals. I used "Tone Measurements" on each signal and then substracted there phases, but the result was  incorrected. Please, help me to solve this problem.

    You should have a look at the Signal Processing VIs
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to find the phase difference between two signals using Hilbert transform

    hi, 
        I am new to LabView.... I am trying to find phase difference between two signals. I sucessfuly found out the phase difference between two predefined waves using single tone measurement. .... But I really want to know how can I measure phase difference between two signals( not predefined... ie we don't know the initial conditions) using hilbert transform or any transformation techniques (without using zero cross detection).. I tried by using hilbert transform based on algorithm... bt I am getting error.... plz help me
    Attachments:
    phase_differece.vi ‏66 KB

    you could try something similar to this, for each table pair that you want to compare:
    SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
      FROM (
            SELECT  COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
          ) DIFF
    UNION
    SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
      FROM (
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
          ) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on.

  • Tone measurement express vi affect the output signal?

    Hi everyone, I am doing a oscilloscope to measure the input signal coming from my analog input of myRIO. I am still new to Labview and I not sure how to implement the tone measurement to measure my signal frequency, amplitude and phase. The first diagram below show the program before i haven't add the tone measurement express vi, the signal get from the waveform graph seem great. However, when i added the tone measurement express vi, the signal seem distorted and unstable. Does anyone know how to solve this problem? Is it the way I implemented is wrong?
    Figure 1: without tone measurement express vi
    Figure 2: with tone measurement express vi

    I would like you to prove the "bug" that you're describing by creating an example that shows the calculated and the expected results. By opening the code of the "Spectral Measurements" Express VI you can dig into the heart of the calculation, and there (in the "ma_FFT Power Spectrum and PS Density no State.vi") you will see that the Power Spectral Density indeed IS calculated by using the formula PSD = (Power Spectrum/(df*Noise Power BW of Window)). See the attached PSD.jpg that shows where the calculation happens.
    The Power Spectral Density is supposed to be dependant of the chosen Window. Please read chapter 5 "Smoothing Windows" in the "La
    bVIEW Analysis Consepts" manual.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    PSD.JPG ‏139 KB

  • Errors in PHASE DIFFEX phase during the CRM 6.0 upg from CRM 5.0

    Hello,
    I am in the process of upgading our CRM systems from CRM 5.0 version to
    CRM 6.0 and having issues at the PHASE DIFFEXPADDE during the upgrade
    right after the DB_ACTION_LOWQ1 phase and ADJUSTCHK being the previous
    phase.
    We are currently at CRM 5.0 dual stack system on Linux X86_64 SLES9 and
    DB - Oracle 10.2.0.2.
    I was able to finish the PREPARE phases on both ABAP & JAVA stacks
    successfully.
    The phase DIFFEXPADDE is failing with a error message in the
    DIFFEXPA.ELG which I have mentioned below. I am also attching few other
    related logs for your reference in the attached zip file
    (DIFFEXPA_logs.rar)
    DIFFEXPA.LOG
    UpgDialog.log
    SAPECCI700.C15
    TP00.ECO
    SAPup.log
    "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ADD ON OBJECTS (DATA)-Export ERRORS and RETURN CODE in SAPECCI700.<SID>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW190 "INDX" "WFMFC_INDTOR_GRP 01 " has no active
    version.
    Long text:
    Cause
    You have tried to export a Dictionary object that has no active
    version. The reason for this probably is that the author of the DD object has forgotten to activate it.
    System Response
    The transport request is not released.
    What to do
    Activate the Dictionary object and repeat the export.
    2EETP200 Export with errors, request will not be imported
    Long text:
    Cause
    The export was finished with errors or terminated (return code >=
    8).
    System Response
    The request is not imported. Instead it is set back to "can be
    changed"
    in the source system.
    What to do
    The export log contains remarks concerning the reason for the
    incorrect
    export. Correct the error and repeat the export.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ADD ON OBJECTS (DATA)-Export ERRORS and RETURN CODE in SAPECCI701.C15
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ADD ON OBJECTS (DATA)-Export ERRORS and RETURN CODE in SAPECCI702.C15
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I am stuck at this step and unable to move forward until I get past
    this error. Please let me know how do I proceed and if you have any
    more questions.
    Would appreciate your early help!
    Thanks in advance!

    I was able to get past this issue by logging in to the client 000 and
    activate the object WFMFC_INDTOR_GRP from transaction SE11.
    Dictionary Object --> Activate from the menu bar. Gave me few warnings
    but did not error out.
    Hence went past the phase and the upgrade is progressing as of now.
    However, can you please confirm if this is a correct fix or do you want
    me to do anything different since I have not reached the MODPROF_TRANS
    phase yet.
    Thanks

  • How to increase the length of the clock signals on NI8451

    I'm using NI8451 to read data from a linear technology ADC chip.
    Using a scope, I found the clock signal only lasts for one byte (8-bit) during the read/write process,
    ie. the clock signal is turned on for one byte period (8 clocks) and then is off for about 10-20us,
    after that, the clock is on again for next byte.
    Is there a way to change the length of the clock signal? In my case, I need about 96 clocks to flush out the ADC data.
    But it looks like NI8451 only can generate 8 clocks one time.
    Any suggestion will be appreciated.

    Hi JHXU, 
    Are you using SPI or I2C? 
    With SPI, essentially the clock stops toggling when there is no more data transmitted. You could try implementing a delay in your data transmission to ensure that the clock runs for time you require. However, to add a delay, you need to use the Advanced 845x SPI functions. In CVI, the command for adding a delay is 
    int32 ni845xSpiScriptDelay ( uInt32 ScriptHandle, uInt8 Delay );
    More information on the SPI Advanced API can be found in the NI-845x Help or in this tutorial. 
    With I2C, I think you would just need to toggle the clock line (SCL) high. There is also a delay function in the Advanced I2C functions that may allow you to do this. 
    Julianne K
    Systems Engineer, Embedded Systems
    Certified LabVIEW Architect, Certified LabVIEW Embedded Systems Developer
    National Instruments

  • How do i split the digital signal for PIP?

    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?

    DcmFD wrote:
    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?
    It is just the nature of beast in that when you add a 2:1 splitter, you will lose 3.5dbm of signal strength (more loss per leg the larger the splitter.. IIRC a 4:1 splitter a is 7 or 7.5 dbm loss.)
    How many splitters do you currently have from the ONT to that STB? Do you have any 4:1 splitters in the path that you could swap with a 3:1 or 2:1 (leaving no open legs)? 
    I will leave it to someone else to recommeand a MOCA amplifier, but that may be you only possible solution. It would have to be a MoCA amplifier, as the STB requires 1150Mhz to receive guide info, etc.. A traditional signal booster typically does not pass frequencies higher that 850-950Mhz. 

  • Better estimation of phase difference between two signals with variable frequency!

    Hello LabView Gurus, 
    Being a power engineer and having just a little knowledge of signal processing and labview, I have been pulling my hair out for the last couple of days to get a better estimation of phase difference between two signals.
    We have two analog voltage signals; 1. sine wave (50Hz ± 1Hz) and 2. a square wave with exactly half of sine wave frequency at any time.
    At the starting point of operation (and simulation/acquisition) both signals will have no phase difference. However, the square wave's frequency changes unpredictably for a just a few millisecond but then it gets synchronized with sine wave's frequency again. This means that the square wave will be phased out from its original position. The task of the labview is to find the phase difference between the two signals continuously.
    My approach to determine the phase difference is to measure the time when sine wave crosses zero amplitude and the time when the very next square wave changes amplitude from zero volts to +ve voltage (I have a 0.5volts threshold just to avoid any dramas from small line noise). The difference between these times is then divided by the time period and multiplied by 360 to get this phase difference in angles. 
    As this part is just a small block of a big project, I can only allow 5000Hz sampling rate each for both signals. I read 500 samples (which means I read data from 5 cycles of sine wave and 2.5 cycles of square wave).
    Now the problem is, as long as the frequency of sine wave stays constant at exactly 50Hz, I get a good estimation of the phase difference but when the frequency changes even a little (and it will happen in the real scenario i.e 50Hz ± 1Hz  and the square wave's frequency is dependent of sine wave's frequency), the estimation error increases.
    I have attached my labview program. From front panel, you can set the phase of square wave (between -180 and 0) and you should see the labview's calculated phase in the indicator box named 'Phase'. Then you can press 'Real Frequency' switch that would cause the frequency to change like it would in real operation.
    You can observe that the estimation error increases after you push the button. 
    All I need to do is to reduce this estimation error and make it as close to the actual phase difference as possible. Any help would be greatly appreciated.
    I am using LabView 2009 for this task.
    The application is for electric machines and the stability/performance of machines under different faults.
    Thank you for reading this far!
    Regards,
    Awais
    Attachments:
    v603.png ‏320 KB
    v603.vi ‏186 KB

    Jeff Bohrer wrote:
    Basic math gives me a bit of pause on this approach.  You are sampling at 50 times the frequency of interest so you get 50 samples per cycle.  your phase resolution is 1/50th cycle or 7.2 degrees +/- noise.  You will need to samlpe faster to reduce phase resolution or average multiple readings (at a time cost that is signifigant)
    Jeff- (Hardly Working)
    I am sampling at 100 times the sine wave's frequency and 200 times the square wave's frequency.  Increasing the sampling rate completely solves my problem. But since I am acquiring several other inputs, I cannot afford a sampling rate higher than 5kHz.
    F. Schubert wrote:
    I'm not a signal processing expert, but here my basic understanding.
    If you simulate sampling with 5kHz and a frequency of 50 Hz (and both are 'sync' by design), you always get an exact 5 periods. Any variation of your signals frequency gives you a propability to get 4 or 6 'trigger' events. That's an up or down of 20%!
    The one measure to reduce such problems is using 'window functions'. They don't fit your current approach (counting instead of a DSP algorithm), so this needs to be reworked as well.
    My approach would be to use the concept of a Locki-In amplifier. You need to phaseshift your ref-signal by 90°. Then multiply your measurement signal with the ref signal and the phase shifted ref signal. The obtained values for x/y coordinates of a complex number. Calculate the theta of the complex number (with the LV prim). Feed this in a low pass filter.
    The trick on this is, that the square wave has harmonics in it, in this you are interested in the second harmonic which is the sine wave.
    To get rid of the effect that the sync between sampling rate and ref signal frequency gives an error, you then can use the window I mentioned above (place it before the lock-in).
    For a design that really plays well, use a producer-consumer design pattern to get the calculations done in parallel with the DAQ.
    I suggest you to check on wikipedia for some of the keywords I mentioned. Go also for the external links which lead to great tutorials and AppNotes on the signal processing basics.
    Sorry, it's not a simple solution I offer and we will have quite some conversation on this forum if you follow this path. Maybe someone else knows a simpler way.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml
    An interesting view. the sine wave can indeed be looked as a second harmonic of the square wave. I will implement your idea and get back to you as soon as I get some results. But since I have very limited knowledge of signal processing, it might take me a while to get my hear around the solution you mentioned.

  • Generating signal from the 5412 which is in sync with the external signal

    Hi,
    I am using the 5412 AWG. An external signal comes from the test unit. I need to generate a signal to the test unit which should be in synchronous with external signal which comes from the test unit. Can anyone help in this?
    Regards,
    Rajashekar

    Hi Rajashekar,
    You could synchronize these two signals by sharing a start trigger and using the input signal from your test unit as the sample clock for the 5412.  There are some considerations when doing this that can be seen in the External Sample Clock Considerations section of the 5412 help linked below:
    External Sample Clock Sources
    If you are using LabVIEW, you can find examples in the Example Finder located at Help >> Find Examples.  The FGEN examples are located at Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Arbitrary Waveform Generation.  You can choose which line to use as the sample clock.  You will also need to add in some triggering.  You can find an example of triggering at  Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Synchronization >>FGEN DAQmx Synchronization.vi.  This is synchronizing to a DAQ card, but you can synchronize to your external signal just the same way, i.e., sharing a start trigger and a reference clock.
    Regards,
    Jim Schwartz

  • Phase Locking the Up and Down Converter Modules

    I am interested in phase locking the 5660 and 5670 modules, but from what I understand...this might not exactly be possible.
    Using the 10MHz references...it seems that I can frequency lock the two together (i.e. - I can eliminate any phase error due to the two LO's drifting away from each other).  However...am I correct in assuming that there is no way to actually access the individual oscillators such that I can remove the phase difference between them?
    For example...if I want to measure the phase added by a DUT....I would have to measure the phase without the DUT...then meausre the phase with the DUT...then look at the relative difference in the two phase measurements (as calculated from the IQ samples).  However, if I were to repeat this measurement by first measuring the phase without the DUT....then turn the generator off...then back on again....then measure the phase with the DUT...I'd expect to get a different answer, since by turning the device on and off, I have no idea or control over the phase relationship between the two devices.
    Is this correct?
    Finally...does simply connecting say, the 10MHz Out of the upconverter, to the Freq Ref IN of the downconverter automatically frequency lock the two together...or do I have to go into LabView and programatically tell the things which reference to use?
    Thanks!
    Brandon

    Hi Brandon,
    You are correct in what you are saying. The PXI-5600 and PXI-5610 Down/Upconverters each have their own synthesizers internally generating the LO signals for the mixers inside, and these LO signals cannot be exported from the modules. For these modules to be phase locked, they would need to share the same LO signals.
    By sharing the 10 MHz reference you can achieve frequency lock where the phase difference between the two modules will stabilize, but the phase difference will not be zero - it will be some unpredictable phase offset which will not be increasing or decreasing (i.e. frequency lock). Whenever the 5600 or 5610 is retuned, the phase difference will also be different.
    With regards to the 10 MHz signal, both use the same component for the reference so it doesn't matter which module you lock to the other as they are equivalent in quality. You do need to make a call in software to lock the destination module to the source module. If you are driving the PXI backplane with the source module, you'll also have to make a SW call to do this. This is very easy though, just look for VIs called Configure Reference Clock or something similar.
    Regards,
    Andy Hinde
    National Instruments

  • Error - add Server to the Server pool - VM Manager/Server 3.1.1

    Hello,
    1) I installed VM Manager 3.1.1 (IP: 192.168.1.51)
    2) installed VM Server 3.1.1 (ovs-5e-94-c1) (IP: 192.168.1.22)
    3) Created a Server pool (Virtual IP : 192.168.1.80) and option Clustered Server Pool unchecked
    4) discovered VM Server moved in the Unassigned Servers folder
    5) created Network 192.168.1.0 with all options checked (Server management, Live migrate, Cluster Heartbeat, Virtual machine, Storage)
    5) but I can't add Server to the Server pool, I get the following error message?
    I understand it may be a problem of unknown hostname, but I don't know what to add to the etc/hosts file on the manager or the server?
    Job Construction Phase
    begin()
    Appended operation 'Server Role Update' to object '85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)'.
    Appended operation 'Server Join Server Pool' to object '85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)'.
    Appended operation 'Server Pool Construct' to object '0004fb0000020000a297adfbe2f44611 (PRQ1)'.
    Appended operation 'Server Pool Virtual IP Configure' to object '0004fb0000020000a297adfbe2f44611 (PRQ1)'.
    Appended operation 'Server Pool Member Update' to object '0004fb0000020000a297adfbe2f44611 (PRQ1)'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (IN_USE): [Cluster] a297adfbe2f44611
    Object (IN_USE): [Server] 85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)
    Operation: Server Role Update
    Operation: Server Join Server Pool
    Object (IN_USE): [ServerPool] 0004fb0000020000a297adfbe2f44611 (PRQ1)
    Operation: Server Pool Construct
    Operation: Server Pool Virtual IP Configure
    Operation: Server Pool Member Update
    Job Running Phase at 12:13 on Tue, Jun 26, 2012
    Job Participants: []
    Actioner
    Starting operation 'Server Role Update' on object '85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)'
    Completed operation 'Server Role Update' completed with direction ==> DONE
    Starting operation 'Server Join Server Pool' on object '85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)'
    Completed operation 'Server Join Server Pool' completed with direction ==> LATER
    Starting operation 'Server Pool Construct' on object '0004fb0000020000a297adfbe2f44611 (PRQ1)'
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_server_pool to server: ovs-5e-94-c1 failed. OVMAPI_4004E Server Failed Command: create_server_pool PRQ1 0004fb0000020000a297adfbe2f44611 192.168.1.80 -1 ovs-5e-94-c1 192.168.1.22 master,xen,utility, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
    Tue Jun 26 12:13:39 CEST 2012
    Tue Jun 26 12:13:39 CEST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
    at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:459)
    at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:385)
    at com.oracle.ovm.mgr.action.ServerPoolAction.createServerPool(ServerPoolAction.java:55)
    at com.oracle.ovm.mgr.op.virtual.ServerPoolConstruct.createServerPool(ServerPoolConstruct.java:137)
    at com.oracle.ovm.mgr.op.virtual.ServerPoolConstruct.action(ServerPoolConstruct.java:55)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.virtual.ServerPoolProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: create_server_pool PRQ1 0004fb0000020000a297adfbe2f44611 192.168.1.80 -1 ovs-5e-94-c1 192.168.1.22 master,xen,utility, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
    Tue Jun 26 12:13:39 CEST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
    ... 30 more
    FailedOperationCleanup
    Starting failed operation 'Server Pool Construct' cleanup on object 'PRQ1'
    Complete rollback operation 'Server Pool Construct' completed with direction=PRQ1
    Rollbacker
    Executing rollback operation 'Server Role Update' on object '85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)'
    Complete rollback operation 'Server Role Update' completed with direction=DONE
    Executing rollback operation 'Server Pool Construct' on object '0004fb0000020000a297adfbe2f44611 (PRQ1)'
    Complete rollback operation 'Server Pool Construct' completed with direction=DONE
    Objects To Be Rolled Back
    Object (IN_USE): [Cluster] a297adfbe2f44611
    Object (IN_USE): [Server] 85:52:39:bc:ec:5f:4c:25:8b:ad:ea:e4:cf:60:a8:70 (ovs-5e-94-c1)
    Object (IN_USE): [ServerPool] 0004fb0000020000a297adfbe2f44611 (PRQ1)
    Write Methods Invoked
    Class=InternalJobDbImpl vessel_id=8065 method=addTransactionIdentifier accessLevel=6
    Class=ServerPoolDbImpl vessel_id=6493 method=addServer accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=lock accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=addServerRole accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=addServerRole accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=addServerRole accessLevel=6
    Class=ServerPoolDbImpl vessel_id=6493 method=addServerInternal accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=setServerPool accessLevel=6
    Class=ClusterDbImpl vessel_id=6499 method=allocateSlotForServer accessLevel=6
    Class=InternalJobDbImpl vessel_id=8065 method=setCompletedStep accessLevel=6
    Class=InternalJobDbImpl vessel_id=8065 method=setAssociatedHandles accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=setCurrentJobOperationComplete accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=nextJobOperation accessLevel=6
    Class=InternalJobDbImpl vessel_id=8065 method=setTuringMachineFlag accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=setCurrentOperationToLater accessLevel=6
    Class=InternalJobDbImpl vessel_id=8065 method=setTuringMachineFlag accessLevel=6
    Class=ServerPoolDbImpl vessel_id=6493 method=nextJobOperation accessLevel=6
    Class=InternalJobDbImpl vessel_id=8065 method=setFailedOperation accessLevel=6
    Class=ClusterDbImpl vessel_id=6499 method=nextJobOperation accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=nextJobOperation accessLevel=6
    Class=ServerPoolDbImpl vessel_id=6493 method=nextJobOperation accessLevel=6
    Class=ServerDbImpl vessel_id=7034 method=nextJobOperation accessLevel=6
    Class=ServerPoolDbImpl vessel_id=6493 method=nextJobOperation accessLevel=6
    Completed Step: ROLLBACK
    Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: create_server_pool to server: ovs-5e-94-c1 failed. OVMAPI_4004E Server Failed Command: create_server_pool PRQ1 0004fb0000020000a297adfbe2f44611 192.168.1.80 -1 ovs-5e-94-c1 192.168.1.22 master,xen,utility, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
    Tue Jun 26 12:13:39 CEST 2012
    Tue Jun 26 12:13:39 CEST 2012
    com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_server_pool to server: ovs-5e-94-c1 failed. OVMAPI_4004E Server Failed Command: create_server_pool PRQ1 0004fb0000020000a297adfbe2f44611 192.168.1.80 -1 ovs-5e-94-c1 192.168.1.22 master,xen,utility, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
    Tue Jun 26 12:13:39 CEST 2012
    Tue Jun 26 12:13:39 CEST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
    at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:459)
    at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:385)
    at com.oracle.ovm.mgr.action.ServerPoolAction.createServerPool(ServerPoolAction.java:55)
    at com.oracle.ovm.mgr.op.virtual.ServerPoolConstruct.createServerPool(ServerPoolConstruct.java:137)
    at com.oracle.ovm.mgr.op.virtual.ServerPoolConstruct.action(ServerPoolConstruct.java:55)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
    at sun.reflect.GeneratedMethodAccessor909.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.virtual.ServerPoolProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at sun.reflect.GeneratedMethodAccessor1118.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: create_server_pool PRQ1 0004fb0000020000a297adfbe2f44611 192.168.1.80 -1 ovs-5e-94-c1 192.168.1.22 master,xen,utility, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
    Tue Jun 26 12:13:39 CEST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
    ... 30 more
    End of Job
    Edited by: user13609132 on 2 juil. 2012 10:38

    Thanks DBagy, it's working fine!
    1) I installed VM Manager 3.1.1 (IP: 192.168.1.51)
    2) installed VM Server 3.1.1 (name: ovs-5e-94-c1) (IP: 192.168.1.22)
    3) Created a Server pool (name: PRQ1 and Virtual IP : 192.168.1.80) and option Clustered Server Pool unchecked
    4) discovered VM Server moved in the Unassigned Servers folder
    5) created Network 192.168.1.0 with all options checked (Server management, Live migrate, Cluster Heartbeat, Virtual machine, Storage)
    Solution: 6) Add to /etc/hosts of the OVM Server the line : 192.168.1.22   ovs-5e-94-c1
    7) In VM Manager: add VM server ovs-5e-94-c1 to Server pool PRQ1 --> Completed.

  • Add user as the apporver in workflow

    Hi,
        I have created workflow for Project. I would like to add a user as a approver by using the following code.
    user = IapiAccountLocator.lookup(session,"noppong_test");
    addApprover(user.getAccountObjectReference(), new CollaboratorApprovalRuleType(0));
    When the document is moved to the phase the document is locked by workflow engine, but there is nothing happen.  i also found the error in the log.
    P.S. If you have an example to add the user as the approver. I'm appreciated if you provide me .
    Daemon-027: EVENT_WORKFLOW_ENGINE (-2147483548, 0)     event_workflow_engine     daemon     com.frictionless.api.common.exception.ApplicationException: This field is required and must have a value.     AssociatedAttribute=WORK_ITEMS - SourceBo=-2144361477:1907:Contract Approval - ValidatingParent=-2144361477:1907:Contract Approval - com.frictionless.api.common.exception.ApplicationException: At least one of the items above is invalid. Mouse over the highlighted area for more details.| at com.frictionless.api.common.exception.ChainedExceptionFactory.createApplicationException(ChainedExceptionFactory.java:90)
    Thank you so much,
    noppong

    Hi Baski,
        Thank you so much for your response. It is so useful for me.
        The issue has been resolved by uising the XPDL template from SAP. I have some question about changing the phase. I have 3 phases as the following :
    1. Draft
    2. Approval -> Workflow is here . Prev phase is Draft and Next Phase is Approved.
    3. Approved
    I added script to change phase in post script on the block activity as following 
    import com.sap.odp.api.common.*;
    if(getApprovalStatus() != DENIED) {
         doc.getIBeanHomeIfc().upgradeToEdit(doc);
         doc.getIBeanHomeIfc().changePhase(doc,"Approved");
    }else{
         doc.getIBeanHomeIfc().upgradeToEdit(doc);
         doc.getIBeanHomeIfc().changePhase(doc,"Draft");
    When the approver approve the document i found the error in backgroud task status as following:
    Stack Trace: Sourced file: inline evaluation of: ``import com.sap.odp.api.common.*; if(getApprovalStatus() != DENIED) { doc.get . . . '' : target exception : at Line: 5 : in file: inline evaluation of: ``import com.sap.odp.api.common.*; if(getApprovalStatus() != DENIED) { doc.get . . . '' : .changePhase ( doc , "Approved" )
    Target exception: com.frictionless.api.common.exception.ApplicationException: You may not transition to the target phase Approved. It is neither a valid next nor previous phase.
    at bsh.BSHPrimarySuffix.doSuffix(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHBlock.evalBlock(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHIfStatement.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at com.frictionless.comp.scripting.ScriptEnviro...
    It seem like the document is automatically changed the phase  to 'Approved' and make the script error, and the document is locked on the Approved phase. I would like to ask you some more questions.
    1. Why does the workflow change the phase automatically? On my understanding the phase should be handled in PostScript by the script
    2. On my understanding the workflow engine will lock the document during the workflow. Why this workflow did not release the lock when the document was changed the phase to 'Approved'.
    Thank you and appreciate your help
    Noppong

  • Is there a difference between the earphone output and the audio output of the docking connector, or is it in fact the same signal ?

    Is there a difference between the earphone output and the audiooutput of the docking connector of the iphone 4, or is it in fact the same signal ?

    One basic difference is that the LTE frequencies each is able to operate on are different. After that, it is pretty much the same phone. Others might be able to add to this.

  • Phase difference from 2 signals(HELP!)

     Hi! I'm having trouble finding accurate phase difference between two signals.. one signal is from the input serial communication arduino and the second signal is a simulated signal. I want to find the phase difference between these two. I've googled a lot and found many similar threads of phase difference measurements, but it won't work.
    The phase angle from the simulated signal is correct but the reading of the phase angle from the input signal keeps changing and I could not find an exact phase angle or phase difference.
    What do you think I should do?

    Doing phase difference measurements using two completely separate sets of hardware is in general a bad idea. You need to think carefully about how to synchronize the acquisition clocks of the computer vs. the Arduino. Better would be to measure your signal and generate your reference using one system, i.e. every time through the Arduino's outer loop, have it measure the voltage and also generate a reference level based on the internal clock, and transfer both to the computer.
    That said, unless you know the signal frequency very precisely a priori, the phase difference between a synthetic reference and a measured signal will inevitably drift with time, at a rate proportional to the difference between the nominal and actual frequencies of the sample signal. 

Maybe you are looking for

  • Installing Exchange 2013 SP1 - Errors MSExchange ADAccess & MSExchange Common

    The topology first: AD-server + Exchange-server What I am trying to do is just install a full version of Exchange 2013 sp1. But the problem is that install wizard freezes on the "initializing setup" page. Also eventviewer gives 2 different error mess

  • Progress bar for unmarshalling?

    Hi all, Can anyone give me an idea on how to track unmarshalling with progress bar. Here is a situation: I'm unmarsalling XML file to get my working object(s). Object obj = unmarshaller.unmarshal(file)Anyway, for big files I would like to present a u

  • How to find system discs for Macbook Pro

    I seem to have misplaced my Macbook Pro 3,1 system discs. I think I may have left them in the box, then got rid of the box. Is there anyway I can get another copy of the discs, or download them from the Apple site? The Machine came with 10.4.8 I have

  • How to create partition in c drive in window7

    hi, I have HP pavilion dv6-Windows 7 home basic 64-bit , ofter recovery we have create partition in C drive but can't farmate. there is shown the facility avail in selected disks. What, i do? Mohan Singh

  • Doubts in interface

    If any data member of an interface ia automatically public, static and final then how we can shadow it in the class which is implementing the interface? interface iTest {      public static final int i = 5;      public void display(); public class TE