(audio) maxBlip returned as zero!!!!!

Hi,
I'm using the Exporter Sample and in the audio code SDKFile.cpp "prMALError RenderAndWriteAllAudio(exDoExportRec *exportInfoP) " there is a line that gets maxBlip.
It's coming back as ZERO when I feed AME with an avi file with 5.1 AC3. Ahhhhh.... why?
// The lesser of the value returned from GetMaxBlip and number of samples remaining
lRec->sequenceAudioSuite->GetMaxBlip (audioRenderID, lRec->frameRateTicks, &maxBlip);
if (maxBlip == 0)      <<<<<<<<<<<<<<< I added this check{                           <<<<<<<<<<<<<<< I added this check   
// Serious Problem.<<<<<<<<<<<<<<< I added this check
return malUnknownError; <<<<<<<<<<<<<<< I added this check
} <<<<<<<<<<<<<<< I added this check
if (maxBlip < samplesRemaining)
else
samplesRequestedL = maxBlip;
samplesRequestedL = (csSDK_int32) samplesRemaining;

Ah. I think I found it…AME has a decode problem.
The source file is AC3 5.1 and plays just fine in Windows Media Player.
Here is AME’s (CS5.5) source data-mining and the “Stereo” mistake…
I guess I need to find another 5.1 test file to do my testing.
Zac, etc I can email you the 2.2Mb file if you want.

Similar Messages

  • Error saving map. Stored procedure returned non-zero result BizTalk Bug

    Hallo all
    MSDN is reporting this Bug.
    "Error saving map. Stored procedure returned non-zero result." error message when you deploy the BizTalk Server 2010 applications in BizTalk Server 2010 Administration Console"
    http://support.microsoft.com/kb/2673264/en-us
    I am having this problem in BizTalk 2013. Is this correct? or I am doing something wrong..
    This error occured as I was about to deploy BizTalk application from Visual studio 2012 to BizTalk 2013.
    If this bug is available in 2013, where can I get a fix for it..
    Thanks in Advance
    AKE

    Hi AKE,
    Fix for this bug in BizTalk Server 2013 is not publicly available yet. Only option to get the fix for this bug is to contact:
    http://support.microsoft.com/contactus/?ws=support
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • Return with zero value

    Dear All
    Plz see below comments of Sujay.. can any one tell me is there any other sollution for that? plz note, while i am trying to use 501 MVT with ZSPR there is no FI doccument generated but if i use ROH material, then fi doc generated with value.. why and how it is happening?
    plz advice
    Subject: Re: maintaining spares returned
    Message: As per your mentioned specification what i see is  material type ZSPR is a valuated material, so in that case if you doing reverse movement 202 wrt 201 then it should cancel the effect of 10.00 RS, which the system is doing correctly.
    Now coming to your question if you want to return the material to your respective store without any valuation, then why don't you do 501 movement.
    BR

    thanks for clarification.
    however it will not change the answer in general.
    return from user departments are usually done with 202 movement, 501 is usually used for receipts from external vendors without having a PO.
    In any case the movements will be valuated with the price in the material master, if the material type is quantity and value managed.  
    There is only one option to return at zero value: make the field fo external valuation in the movement optional, and try then to enter a zero manually while executing the movement. This will post the movement with no value and reduce the MAP of the material accordingly.
    But this is pretty dangerous as you will not really have a control about the use of this field, any user can enter any value and will effect the material prices.

  • Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.

    I am using VS 2012 and BizTalk 2013 and attempting to deploy an application to BizTalk when I get these errors:
    Error 47
    at Microsoft.BizTalk.Deployment.Assembly.BtsMap.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsArtifactCollection.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    0 0
    Error 49
    Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    Error 46
    Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    I also tried to Import a MSI file from our test environment to see if that would work...got the same errors.  After spending hours (not kidding) looking for an answer, all I could find is that a hotfix would work.  So, I got the hotfix from Microsoft
    Support and applied it then rebooted.  Still getting the same errors.  I'm absolutely at a stand still.  Interesting that I got this application to deploy yesterday and then the next time I deployed it I started getting these errors.  I'm
    ready to pull my hair out!
    Is there an answer for this out there somewhere?  Any help would be appreciated.
    Thanks,
    Dave

    Hi Dave,
    Which hotfix have you applied? I don't think a hotfix of this issue is available for BizTalk 2013 yet. You should create a
    support ticket with Microsoft to get a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Bytes at serial port returns allways zero value

    hello, in my code don't works Bytes At Port as I'm expexting. Program receieves data normally, but Bytes At Port return allways zero.
    2nd problem: It is possible to use VISA Read in both of parallel loops ? Purpose of my first loop is sending commads and I want to evaluate synchronous answers imediatly in this loop. Second loop receieves and evaluates asynchronous data flowing from the measurement device when measurement is acitivated.
    Thanks.

    You're sort of answering your first question with your second question. In the first loop the Bytes at Port is meaningless, unless you are intending to use it to perform a read in there. However, since you're reading in the second loop (incorrectly, by the way - more on that later), then there's nothing in the buffer, so you'll get zero.
    You can read in as many places as you want. Whether or not it makes sense to do is a different story. It depends on how the data is coming over the serial port. If the instrument you're talking to is sending data continuously, but "sneaks" in a response to a command between two messages, then you obviously don't want to be reading the response to the command in your second loop. The serial port is just one pipe. It's up to you to determine where the data belongs. Furthermore, you can't be guaranteed of getting all of the bytes at once, which means you might read, say, part of the "asynchronous" message, then get the rest in the next iteration as well as the responsed to a command you sent. As far as the Bytes At Port is concerned, it just sees a bunch of bytes. It doesn't know that, for example, the first 2 are the remainder of the asynchronous message, and the rest are the response to the command. Does the instrument not have something in the communication protocol to  allow you to distinguish?
    As promised, the way you're doing the read: You are setting up the configure VI to disable the termination character, yet you are wiring a termination character. Which is it? Do you want the read to stop at the termination character, or not? If you don't use a termination character, then you need to use Bytes At Port so you know how many bytes to read. You have that property node in the second loop, but you are not using it. Instead you are wiring a constant of 1000 to the VISA Read. This will only work if you have termination enabled. But you don't. See the problem?

  • My iPhone automatically changes the audio level to max/zero

    Hi all. I have a problem with my iPhone audio level. When I'm listening to music with my head phones on, my iPhone sometimes changes the audio level max or zero all by itself.  When I try to decrease/increase the sound, it continues to increase/decrease until sound reaches to the max/zero. Restarting the iPhone stops the audio level change. But this does not solve problem once and for all. It happens time to time, but it is becoming somewhat irritating.
    Anyone have a solution for this? I've checked the internet, but couldn't find anyone have this problem. I guess I'm the only one who has this problem. Thanks in advance.
    BTW, my iPhone is 6 plus & its iOS version is 8.1.3 (12B446). Although I has been happening since I bought it in December

    I wanted to update this post. I realised a something new with the issue and found a way that I can temporarily solve it without restarting the iPhone. Right before it happens, an orange blinking light appears on the empty (white) side of the sound level at the music player. I marked that area on the photo below, although I couldn't managed to capture that orange blinking light. If I change the sound level via buttons, sound goes to max or min (depending on my button choice). Unplugging and re-plugging headphones don't affect this. After re-plugging, blinking continues. But if I unplug my headphone, then close the music player from double tapping the home button & restarting the music player, turns it it to normal. Even my sound level stays the same, at the level I configured before this issue starts happening.
    A remainder, this issue only happens after I start listening to music with my headphones. Same thing with speaker never happened. I hope this message make you all understand my issue better. I also hope that there is a solution

  • Volume slider returns to zero at bootup.

     I have an HPE-477c running 64bit Win 7.Everytime I reboot my the PC, the volume control slider (Realtec High Definition Audio Mixer) is at zero.   After re-boot , I adjust the volumn slider to midway, but next time I reboot is back to minimum.  Is there any fix for this?  
    This question was solved.
    View Solution.

    Hi kpdandjad,
    That is odd. I don't think I've seen this issue before. Obviously some audio software is changing your volume at boot or Windows isn't "remembering" where you set it before closing down. You may want to try updating the audio driver to the latest driver from Realtek. Here is a link to their download site:
    http://152.104.125.41/downloads/
    Select "High Definition Audio Codecs", accept the agreement, and then download and install the driver for your OS.
    I hope this helps. Let us know how it goes.
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • RUN_REPORT_OBJECT returns server_name_0 (zero job id)

    When run_report_object is called, it returns the server name with an '_0' (underscore zero) appended to the end. Example: my_server_name_0
    I presume that's where the job is is supposed to be, but what does 0 (zero) mean?
    Should it be returning the server name too? That's cumbersome, to say the least.
    Environment: 11g Forms calling 11g Reports, currently Forms being developed on Windows workstation to be deployed to Linux, Reports already deployed on Linux/Unix with a type of load balancing

    It's not even making an entry into the Reports Server Group Queue Status jobs list.Stupid of me: if you get job id 0 it's not even making it to the reports server. But the fact that you can go the the server's website means that it is up and running.
    Since rwclient doesn't work either: are you sure the server name is exactly the same as the one you used for accessing the website?

  • Returning a ZERO on Slow-Moving Item without transaction

    Hi all,
    Via a multi-provider, we have implemented several slow-moving item in our reports, eg we return all the value of some dimensions whether we have transaction or not on these dimension values.
    Now for dimension value for which we have no transaction it returns in Bex an empty result on the key figure instead of a zero, is there a way to force BW to put a zero on a slow-moving item without any transaction?
    Thanks in advance for your assistance
    David

    Hallo
    FI you go to the Query Designery --> Property Display than you can cusotmioze how to display the zero. You probably have the option Zero Values Display as Blank.
    I hope this can help you
    Mike

  • CVP studio Audio elements return immediately?

    (CVP/ICM 8.5, comprehensive, using CVP studio)
    This may be a dumb question, but is it normal for CVP studio Audio steps to enter and exit immediately? I have the issue where if I have a queue loop with just audio steps, it produces a log file like this:
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,newcall,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,ani,9191234567
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,areacode,919
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,exchange,636
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,dnis,2101
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,uui,NA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,iidigits,NA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,callid=A6259096FDEA11E08654CF2A44831DBA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_dnis=2101
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_ani=9191234567
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,CVP Subdialog Start_01,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,CVP Subdialog Start_01,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.132,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,exit,done
    [ and so on]
    The PleaseHold1 and 2 prompts are about 7-10 seconds, and the music ones are 30 minutes each. These acutally play, and to the caller it sounds like everything is working well, except the CVP call server is over there blowing up the logs...like 60KB of new data every second per call. I ran a http client debug on the VXML gateway and it appears that it just keeps making repeated requests for the data. This seems to happen on every audio step across all of the scripts that I have, except I never noticed it because they have elements besides just audio steps that seem to cause it not to be an issue. The logs seem to only blow up like this if I have a loop in CVP with just audio steps.
    The only workaround I've found is to run through the loop once, return to ICM, then re-invoke it.
    Robby

    Try using getdigit to play the prompt and music file with interdigit timeout as 1 sec and number of retries as 1. This would avoid all the logs. However, it will add 1 sec delay, which would be certainly unnoticed.
    Manoj Anantha

  • Ridiculous Audio distortion returning audio from Audition

    Working in Premier Pro CC (not 2014), sometimes it happens once a day that I'd send audio to Audition, edit it and save it, and then when I return for playback in Premiere, it explodes in my ears with the most ungodly distortion, at FULL volume.
    I cannot explain what a foul mood that puts me in (thankfully not sitting with a client), because of how severely painful it is when you're working with headphones and suddenly it blows up with the sound of Zeus' thunder clapping fart bombs, right in your ears. Adobe CC doesn't come with hearing insurance, does it?
    All grumbles aside, this problem requires me to quit Premiere and open the same file, after which everything works normal, including the send-around via Audition. It works for a day, like it worked yesterday, and then today for some reason did it again.
    I know I'll be advised to upgrade to CC 2014, and I have, but I've had too many times that it started too slowly or crashed, which is why I'm using the older CC version. I'll figure out the 2014 issues on another time, but I've been told numerous times that the older Premiere CC was updated to resolve this distortion issue, and yet I'm still experiencing it.
    Any solutions to this problem anyone know of?

    It probably won't make any difference as FCE only references the audio file that's on your hard drive. When you import a song you only tell FCE (create a file path) where to find it.
    Regarding changing applications mid stream, not a wise idea, even though it will probably work OK going to FCP. Be best to complete the current project then make the jump.
    Al

  • No Records to Return but Zero is added

    Post Author: joep
    CA Forum: Formula
    I have a formula that if there are no records to retun that crystal places a zero in my results (must be for placement). if there are no records to return I would like it move onto the next caculation and not place the zero. Here is the formula.
    if isNull({NAME_WITH_AGE.AGE}) then agenotprovided := agenotprovided + 1    else if ({NAME_WITH_AGE.AGE} in 0.00 to 19.00) then age10 := age10 + 1    else if ({NAME_WITH_AGE.AGE} in 20.00 to 29.00) then age20 := age20 + 1    else if ({NAME_WITH_AGE.AGE} in 30.00 to 39.00) then age30 := age30 + 1    else if ({NAME_WITH_AGE.AGE} in 40.00 to 49.00) then age40 := age40 + 1    else if ({NAME_WITH_AGE.AGE} in 50.00 to 59.00) then age50 := age50 + 1    else if ({NAME_WITH_AGE.AGE} in 60.00 to 69.00) then age60 := age60 + 1     else if ({NAME_WITH_AGE.AGE} in 70.00 to 79.00) then age70 := age70 + 1    else if ({NAME_WITH_AGE.AGE} in 80.00 to 89.00) then age80 := age80 + 1    else if ({NAME_WITH_AGE.AGE} in 90.00 to 99.00) then age90 := age90 + 1    else if ({NAME_WITH_AGE.AGE} in 100.00 to 109.00) then age100 := age100 + 1
    Sample of results
    0-19     0
    20-29    0
    30-39   1
    I'm trying to have the just the 30-39 return show and not he 0-19 and 20-29.
    If anyone could help me it would be greatly appreciated.
    Thanks
    Joe

    Post Author: joep
    CA Forum: Formula
    I have used this formula but it supresses the whole section and there are results that don't equal zero that I need to show as I mentioned in my pervious posting here are some samples of my results.
    0-19   0
    20-29  1
    30-39  0
    I'm looking to supress the return results of 0-19 and 30-39 and only the 20-29 result. Each result is being caculated like this
    WhilePrintingRecords;
    numberVar age10;
    Any more help would be greatly appreciated.

  • JMS Server Current Count returns value "ZERO" always

              Hi,
              I have created two JMS Server in the WLS 6.0 Console but still the "CurrentJMSServerCount"
              value returns "ZERO".Am reading the values thro JMX Runtime MBeans.Let me wanna
              know whether any way to get the non zero values.
              Any suggesstions / tips are welcome
              Warm Rgds,
              Bala
              

    Did you remember to set the target for each JMS server? I think you will also
              need a restart.
              Bala Subramanian wrote:
              > Hi,
              > I have created two JMS Server in the WLS 6.0 Console but still the "CurrentJMSServerCount"
              > value returns "ZERO".Am reading the values thro JMX Runtime MBeans.Let me wanna
              > know whether any way to get the non zero values.
              >
              > Any suggesstions / tips are welcome
              >
              > Warm Rgds,
              > Bala
              

  • Oracle sqcode returns "0" (Zero)

    Hi all ,
    Can any one please tell me what is the error number 0 in pl/sql.in which situvation it will popup ?
    Thanks in advance ,
    Sanjeev.

    If no exception has been raised, SQLCODE returns zero and SQLERRM returns the message: ORA-0000: normal, successful completion.
    Rajuvan.

  • Average Value Returns as Zero

    I'm trying to take a few readings from an oscilloscope. I made a simple VI to test all of the parameters for the oscilloscope and make sure that everything was working before implementing the oscilloscope in a much more elaborate VI. I want to have voltage at a certain level (say, 2 V) then take a reading from the oscilloscope, add that value as a new element in an array. After doing this 100 times the VI will add the average value to a spreadsheet and then increase the voltage (to 2.05 V or something) and take 100 more measurments and average/record them. I was able to take ten sets of 100-sample averages and write them to an array (see notbroken.png) on one file, but when I try to do it in the real program (see broken.png) I check my spreadsheet and each entry is "0.000." Note that I've also created a program that controls the power supply independently and verified that I know how to control it properly; in fact, the only non-zero column is the one which reads the voltage that the program is telling the power supply to output. 
    I've literally written out each step that my "not broken" program does to find the average value and then done the same for the broken program and I can't find a single discrepancy. Any and all help would be greatly appreciated!
    Solved!
    Go to Solution.
    Attachments:
    broken.png ‏53 KB
    notbroken.png ‏42 KB

    vweltin wrote:
    I've literally written out each step that my "not broken" program does to find the average value and then done the same for the broken program and I can't find a single discrepancy. Any and all help would be greatly appreciated!
    Here's an exact analysis.
    Both of your programs are broken, but the one with the FOR loop iterates only 10 times, thus you get arrays with one nonzero value (the last one) when the loop terminates. (Just because the average is nonzero, does not mean it is correct!)
    Your code with the while loop iterates 11 times, but your array only has 10 elements, meaning that in the last iteration you try to replace an element that does not exist and the array remains at all zeroes.
    In both programs, there will never be more than one non-zero element in the array.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for