Filtering random pulses on a FP-SG-140

Hello,
I am a bit of a
newbie when it comes to filtering , I have tested using pt-pt averaging and
median filters but I am hoping that I can reduce noise on the output a little
more.
My system consists
of using a FP-SG-140, FP-RTD-124.  I am doing load cell performance tests (where
I  apply dead weight and temperature). (the FP-SG-140 is set up to filter
60Hz).  I start the application (data is read, a mean pt-pt is appied, the
output is written to a lvm file)... during testing I generally perform ascending
/ decending linearity runs at ambient temperature.... I will then change the
temperature ... a couple of hours later I get zero and full scale load....
reduce the temperature back to ambiet and I perform a zero and full scale load
... and then I finish.  The typical output of the load cells that I am working
with is 0-2.0mV/V.  With no pt-pt filtering I typically get 0.000477mV pulses
(they appear to be random in nature), with mean pt-pt filtering I can decrease
these pulses to get 0.000250mV/V
I have tried to
reduce the noise as much as possible in the system... with that said it appears
as if there are "pulses in data" for short period of times and the rest of the
time the output remains relatively stable.... how can I filter these pulses?  As
it is these pulses which cause the data pt-pt averaging to
"oscillate"....
Is there an example
or another method / labview function that I could use that may improve my
results?
Thank you for your
time

A couple of suggestions:
1) Use the 15 hz filter.  It doesn't sound like you are looking
for anything fast (> 1 hz) anyway and the 15 hz filter will get
rid of more noise than the 60 hz.  We saw a nice improvement with
this.  Note that the update rate is 1.15 s with this filter
so no need to read more often than that.
2) We use an array of readings, usually 5-10 most recent
readings.  When we get a new value it replaces the oldest. 
Next
we run a standard deviation across the N readings collected and identify which of our N readings 'qualify' by being within
'x' standard deviations of the mean.  The value we return to the application is the mean of our qualified readings if
y or more readings qualified; if not, we just return the most recent reading unfiltered.
These two items in combination allow us to approximate the resolution
limit of the sg-140.  Not claiming 16 bit accuracy but we
can see the lsb in our output.
Matt

Similar Messages

  • How do I create random pulse heights for BNC555 pulse generator?

    I am trying to use a BNC555 to create a pulse with a random magnitude. The library given by NI has been great to start, but I cannot seem to take the adjustable pulse height and transform it to a random pulse height. Any ideas? Has anyone seen this done?

    you can take the output from the 555 and run it through a multiply node, with a random number generator applied to the second input (multiplier)
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • How do I create a constant current output with FP-AO-200, It uses an array as an input to the write vi for FP

    If i use a single value in the 1x array, I get a random pulse, Im assuming I need to do an infinite population of the array to give me a dc current? Any ideas

    The array input is supposed to contain a number of elements equal to the number of channels being targetted by the command. For example, if you write to "Channel 0" of a FP-AO-200, then you would have a single element in the array. Likewise, writing to the "All" channel means you need to have 8 elements in the array otherwise you will return error code 32800. The probable cause for you to see a pulse, is if you write a value in one interation of the loop, then on the next iteration write a 0.
    Regards,
    Aaron G

  • How to check an action is complete

    I have some code, seen below, that creates a typing... thing.
    Basically when you start the code, it creates 26 random letter jumbles on screen, each beginning with a different letter of the alphabet.
    You then type these jumbles, one by one, to make them disappear.
    How It works as I have posted it below is that you have to type the first letter twice, but if you have a quick look through you can see there is a (red) commented out line that I want to include in order to delete the first letter first try.
    But it seems that it can't parse the previous action fast enough in order to carry it out.
    Is there a way to tell flash to wait until the previous action has completed before it tries to parse the one at hand?
    var available:int=0;
    var letterCode:int;
    var keyPressed:String;
    var focusWord:TextField;
    var aWord:TextField;
    var wordArray:Array = new Array;
    var wordsFormat:TextFormat = new TextFormat;
         wordsFormat.size = 20;
         wordsFormat.font = "Cooper Std";
         wordsFormat.align = TextFormatAlign.CENTER;
    var centerFormat:TextFormat = new TextFormat;
         centerFormat.size = 100;
         centerFormat.color = 0xFFFFFF;
    for(var i:int = 0; i<26; i++){
         newWord();
    function newWord():void{
         letterCode = 65;
         wordsFormat.color = Math.random() * 0x999999 + 0x444444;
         aWord = new TextField;
         addChild(aWord);
         aWord.defaultTextFormat = wordsFormat;
         aWord.y = Math.random() * (stage.stageHeight-25);
         aWord.x = Math.random() * (stage.stageWidth-100);
         aWord.width = 140;
         testLetter()               
    function testLetter():void{
         if (wordArray.length>0){
              for(var j:int = 0; j<wordArray.length; j++){
                   if (wordArray[j].text.charAt(0) == String.fromCharCode(letterCode))
                        available++
              if (available==0)
                   fillLetters();
              else{
                   available=0
                   letterCode++;
                   testLetter();
         else fillLetters();
    function fillLetters():void{
         aWord.text = String.fromCharCode(letterCode);
         for (var k:int = 0; k < Math.random()*5+3; k++){
              letterCode = Math.random()*26+65;
              aWord.appendText(String.fromCharCode(letterCode));
         wordArray.push(aWord);
         if (i > 24)
              stage.addEventListener (KeyboardEvent.KEY_DOWN, checkKey);
    function checkKey (e:KeyboardEvent):void{
         keyPressed = String.fromCharCode(e.charCode).toUpperCase();
         for(var l:int = 0; l<wordArray.length; l++){
              if (wordArray[l].text.charAt(0) == keyPressed)
                        focusWord = wordArray[l];
    //                    focusWord.replaceText(0, 1,"");
                        stage.removeEventListener (KeyboardEvent.KEY_DOWN, checkKey);
                        stage.addEventListener(KeyboardEvent.KEY_DOWN, deleteText);
    function deleteText (e:KeyboardEvent):void{
         keyPressed = String.fromCharCode(e.charCode).toUpperCase();
         if (keyPressed == focusWord.text.charAt(0)){
              focusWord.replaceText(0, 1,"");
              if (focusWord.length == 0){
                   stage.removeEventListener(KeyboardEvent.KEY_DOWN, deleteText);
                   stage.addEventListener (KeyboardEvent.KEY_DOWN, checkKey);

    var available:int = 0;
    var letterCode:int;
    var keyPressed:String;
    var focusWord:TextField;
    var aWord:TextField;
    var wordArray:Array = new Array  ;
    var wordsFormat:TextFormat = new TextFormat  ;
    wordsFormat.size = 20;
    wordsFormat.font = "Cooper Std";
    wordsFormat.align = TextFormatAlign.CENTER;
    var centerFormat:TextFormat = new TextFormat  ;
    centerFormat.size = 100;
    centerFormat.color = 0xFFFFFF;
    for (var i:int = 0; i<26; i++)
    newWord();
    function newWord():void
    letterCode = 65;
    wordsFormat.color = Math.random() * 0x999999 + 0x444444;
    aWord = new TextField  ;
    addChild(aWord);
    aWord.defaultTextFormat = wordsFormat;
    aWord.y = Math.random() * (stage.stageHeight-25);
    aWord.x = Math.random() * (stage.stageWidth-100);
    aWord.width = 140;
    testLetter();
    function testLetter():void
    if (wordArray.length > 0)
      for (var j:int = 0; j<wordArray.length; j++)
       if (wordArray[j].text.charAt(0) == String.fromCharCode(letterCode))
        available++;
      if (available == 0)
       fillLetters();
      else
       available = 0;
       letterCode++;
       testLetter();
    else
      fillLetters();
    function fillLetters():void
    aWord.text = String.fromCharCode(letterCode);
    for (var k:int = 0; k < Math.random()*5+3; k++)
      letterCode = Math.random() * 26 + 65;
      aWord.appendText(String.fromCharCode(letterCode));
    wordArray.push(aWord);
    if (i > 24)
      stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKey);
    function checkKey(e:KeyboardEvent):void
    keyPressed = String.fromCharCode(e.charCode).toUpperCase();
    for (var l:int = 0; l<wordArray.length; l++)
      if (wordArray[l].text.charAt(0) == keyPressed)
       focusWord = wordArray[l];
       focusWord.replaceText(0, 1,"");
       stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKey);
       stage.addEventListener(KeyboardEvent.KEY_DOWN, deleteText);
    function deleteText(e:KeyboardEvent):void
    keyPressed = String.fromCharCode(e.charCode).toUpperCase();
    if (keyPressed == focusWord.text.charAt(0))
      focusWord.replaceText(0, 1,"");
      if (focusWord.length == 0)
       stage.removeEventListener(KeyboardEvent.KEY_DOWN, deleteText);
       stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKey);

  • Minimum time period for 6602

    I'm using 6602 counter with the application of ND_BUFFERED_PERIOD_MSR with countinuous buffer to measure the time period between the consecutive pulses. If I send in constant time period pulse from frequency generator at 300kHz, the board returns "dataLossError" while 250kHz pulses give no error at all. It means the minimum time period is about 3 to 4 microseconds. However, if I send random pulses at 1kHz average frequency, the card sometimes gives "dataLossError". It seems if there is a single pair of pulses with spacing less than 3 to 4 microsecond, the card gives "dataLossError" although most pulse pairs are separated by a long time. Is that right?
    Thanks,

    I would suggest you use a shipping example to measure your pusles. If I recall from your previous post, you are using CVI. So you could go to Help->Find Examples (see screen shot below) and select an appropriate example.
    Attachments:
    Period Measurement CVI Find Example.JPG ‏107 KB

  • Tween Class: Zoom and Bounce

    Hi, - I need help with getting a series of images to pulse or
    bounce througout the completion of the background audio. The idea
    is similar to Adobe's Flash On. You can view at
    www.developmentspace.net/aspb_revised.html
    Everything is working fine but I'd like to have each image to
    continue to randomly pulse after the animation is complete. The
    Zoom code makes it completely zoom out and back in. I don't want it
    to zoom all the way out - only pulse a little. See attached code I
    used on each image (I'm a beginner so be kind). PLEASE ADVISE
    REVISED CODE TO GET IMAGES TO CONTINUE TO PULSE. THANKSS!!!!

    use the onMotionChanged method of your tween and check a
    hitTest with the ground.

  • 5672 - How to add noise to QAM signal

    Hi everybody,
    I use the 5672 PXIe generator for creating a QAM signal with an user defined constallation set. Since I need continuous streaming I take advantage of the OSP of the 5672. I simply send the low-rate IQ - information symbols and the extensive oversampling and pulse-shaping is performed using the onboard signal processing unit. Everything works well.
    Now, I want to add white gaussian noise to my signal. For my physical understanding, I would have to add the noise samples to the signal AFTER oversampling and pulse-shaping. Since this operation is done in hardware, I can not go this way. What I am doing right now is as follows: I simply add the noise samples to my low rate IQ-information symbols (BEFORE oversampling and pulse-shaping).
    Has anyone an idea, how to overcome this wrongdoing I am aware of?
    Thanks for all replies
    Stefan

    Hi Andy,
    the information symbol rate (which means the IQ rate BEFORE oversampling and pulse shaping) is about 150 kSymbols / sec. As a benefit of this pretty low rate, we are able to generate information symbols continiously including all scrambling and coding operations.
    Actually, your suggestion seems to be the only solution to add white noise to the signal. From my understanding, adding the noise to the information symbols results in loss of the "white" (uncorrelated) property of the noise due to the filtering operation (pulse-shaping).
    Maybe for next generation of signal generator devices of NI: It would be a great feature of the OSP to add impairments like noise to the signal for purpose of testing the performance of receiver devices. Actually, this is the application we run.
    Thanks for your help
    Stefan

  • Labview flow meter display

    Hi all, 
    I have an aquamaster S flow meter with its programming cable, meaning I could change the max. frequency, number of pulses/unit, FSD % etc. I tried writing a program where the labview would take the voltage and convert it to a flow rate. I'm not sure what I'm doing wrong but I could never get the flow rates to match. I tried playing around with the pulses/unit and max frequencies and somehow manage to get a fairly close number but the minute I change the flow rate through the system the flow rate in labview goes all over the place. The range of voltages I get from the meter are 1.5V to 5V. The maximum flow rate I'm expecting in my system is 2.6lpm. 
    Please help !
    Here is the link to the flow meters program menu in case anyone wants to check it out: 
    http://www05.abb.com/global/scot/scot203.nsf/veritydisplay/70da9c6555f9305580256f020025d79d/$File/IM_AMS_QRG_5.pdf

    Aquaman89 wrote:
    Hi all, 
    I have an aquamaster S flow meter with its programming cable, meaning I could change the max. frequency, number of pulses/unit, FSD % etc. I tried writing a program where the labview would take the voltage and convert it to a flow rate. I'm not sure what I'm doing wrong but I could never get the flow rates to match. I tried playing around with the pulses/unit and max frequencies and somehow manage to get a fairly close number but the minute I change the flow rate through the system the flow rate in labview goes all over the place. The range of voltages I get from the meter are 1.5V to 5V. The maximum flow rate I'm expecting in my system is 2.6lpm. 
    Please help !
    Here is the link to the flow meters program menu in case anyone wants to check it out: 
    http://www05.abb.com/global/scot/scot203.nsf/veritydisplay/70da9c6555f9305580256f020025d79d/$File/IM_AMS_QRG_5.pdf
    Are you sure you widget is giving you an analog signal?
    Many of the flow meters I have worked with gave me pulses* that I counted to track the flow rate.
    Ben
    * the interanal cap at the input of a instrumentation amp could be filtering the pulses but because the cap discahrges non-linearly, when you change freq the scaling will be off.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problem in edge separation measurement by using NI PCI 6251 card

    I am trying to measure time delay between two TTL pulses (rising edge of the first signal and falling edge of 2nd signal) generated by two Photo detectors (APD) . These pulses are random pulses. Pulse width is 20ns and height is 2.5 volt at 50 ohm termination. I am using NI PCI 6251 card (M series card) for this job. I have attached my program and DAQ assist settings using for this job to this mail. Problem is   6251 card couldn't detect the pulses from APD. Exactly error shown is
                                                             "Error 200474: specified operation did not complete because the specified timeout expired".
    I have tried by increasing the waiting time but it didn't solve the problem.  I have tested my program with 20ns pulse width TTL pulses which are generated by a function generator, in this case my program worked well and given expected result.[both the signals are from same  function generator and they are synchronized so edge separation measurement gives width of the pulse ] The height (voltage) of the TTL pulse generated by the function generator is 4v at 50 ohm termination. Is this height difference creating the problem? What can be the reason ? Can anyone suggest a better way to do this job.
                                                                                     Thanks in advance
                                                                                                                                                                                                                          Regards
                                                                                                                                                                                                                           surya
    Research student
    Attachments:
    daqassist.jpg ‏71 KB
    edgeseparatio.jpg ‏26 KB

    Hey JmBone,
    It's possible that you are just suppose to send a 32-bit integer to control the 32 valves. The 'byte offset' is probably just there to allow grouping of 8 valves (8 bits as 1 byte). So instead of sending an 8-bit number with some offset, you just send a 32-bit number and only change the bits corresponding to the valves you want to change. It would be easiest to just have a 32-bit binary array in your code for changine the individual valves and then cast that to a U32 integer before sending it to the Set Attributes VI. Maybe I am misunderstanding the manual, but I don't think 'byte offset' is a parameter you are suppose to specify, and is just there to indicate how the valves can be bundled into a single 32-bit value.
    Regards,
    Ryan

  • Random roll over with CO Pulse Ticks

    I'm using the 6036E with a random signal (linear encoder) to measure ticks and trigger analog samples.  I have it setup to count 2 rising/falling edges and have the analog input trigger off of the counter's output.
    The counter is setup for the count pulses.  The input is coming in on PFI0.  The internal output of counter0 is being used for the analog acquisition.
    This works fine except randomly the counter quits working properly.  I setup a while look to look at the counter value which should go between 0-1 in this case (or 0-xxx) when I set the count its counting to a larger # than 2.  This seems to work for some random period of time.  After this, the counter value gets reset to some absurdly large value and hence quits generating pulses.
    Has anyone experienced this, and if so what was the solution?
    Thanks,
    Michael

    Michael,
    Are you using Traditional NI-DAQ (Legacy), or NI-DAQmx? How is it that you are reading the value of the counter? There are certain situations where a read could read off invalid data from one of the counter's secondary registers without disrupting the actual count used in the pulse generation, but these are very rare. It sounds like you are trying to perform continuous pulse train
    generation, with 2 high ticks and 2 low ticks of your source on PFI0.
    Is that correct? If so, could you try out the DAQmx shipping example called "Gen Dig Pulse Train-Continuous.vi", available in the LabVIEW Example Finder (Help->Find Examples). In order to use "ticks" instead of specifying a desired frequency, you will have to change the "DAQmx Create Channel" polymorphic instance to "Ticks." Also, to set the source input to PFI0, you will need to set the "Source of Ticks" in the same VI. Please post back if you have any questions, or if I misunderstood your problem.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • Random Problem: Mail Process 140% in Activity Monitor/1 IMAP Account

    Hello,
    A friend of mine is having some problems with his Mail Account. As stated in the title, the Mail process uses 140% of the CPU as shown in Activity Monitor, but it's a random error, it doesn't happen all the time. I believe he restarts the application to make it go away, as it slows down his computer, and the fan starts making a lot of noise.
    He has:
    OS X Mountain Lion 10.8.4
    Mail 6.5 (1508)/No plugin
    1 IMAP account
    A few thousand emails between the inbox, sent and a few folders
    There isn't any problem with the mail server.
    I've checked his account parameters, they seem fine.
    He can send/receive emails (He told me so, and I've checked by sending a mail from his account to his account).
    Here are some lines from the log files:
        +                         ! 2 -[IMAPMailboxSyncEngine _processResponsesWithMonitor:]  (in IMAP) + 538  [0x7fff8d7a2b95]
        +                         ! : 1 -[IMAPResponse responseType]  (in IMAP) + 15  [0x7fff8d7ac1af]
        +                         ! : 1 objc_msgSend  (in libobjc.A.dylib) + 25  [0x7fff88ae9259]
        +                         ! 2 -[IMAPMailboxSyncEngine _processResponsesWithMonitor:]  (in IMAP) + 393,1057  [0x7fff8d7a2b04,0x7fff8d7a2d9c]
        +                         ! 1 -[IMAPMailboxSyncEngine _processResponsesWithMonitor:]  (in IMAP) + 111  [0x7fff8d7a29ea]
        +                         ! : 1 +[IMAPFramework userAgent]  (in IMAP) + 72  [0x7fff8d79699b]
        +                         ! :   1 objc_sync_exit  (in libobjc.A.dylib) + 23  [0x7fff88aed4e8]
        +                         ! :     1 id2data(objc_object*, usage)  (in libobjc.A.dylib) + 709  [0x7fff88afddc4]
        +                         ! 1 -[IMAPMailboxSyncEngine _processResponsesWithMonitor:]  (in IMAP) + 606  [0x7fff8d7a2bd9]
        +                         !   1 objc_msgSend  (in libobjc.A.dylib) + 25  [0x7fff88ae9259]
        +                         1 -[IMAPMailboxSyncEngine _goWithMessages:]  (in IMAP) + 808  [0x7fff8d7a2520]
        +                         ! 1 -[IMAPMailboxSyncEngine _shouldContinueSyncingWithMonitor:]  (in IMAP) + 73  [0x7fff8d7a2957]
        +                         !   1 -[ActivityMonitor error]  (in CoreMessage) + 1  [0x7fff89ce29fa]
        +                         1 -[IMAPMailboxSyncEngine _goWithMessages:]  (in IMAP) + 1057  [0x7fff8d7a2619]
        +                           1 -[IMAPMailboxSyncEngine isReset]  (in IMAP) + 1  [0x7fff8d79cd57]
      + !           : 548 -[IMAPClientOperation main]  (in IMAP) + 84  [0x7fff8d77cae3]
        + !           : | 547 -[IMAPGateway allowClientOperationThrough:]  (in IMAP) + 369  [0x7fff8d797fd4]
        + !           : | + 546 -[IMAPGateway _allowClientOperationThrough:]  (in IMAP) + 1237  [0x7fff8d798501]
        + !           : | + ! 546 -[IMAPConnection prepareAndExecuteOperation:outWrongState:]  (in IMAP) + 1247  [0x7fff8d7859f5]
        + !           : | + !   546 -[IMAPClientFetchOperation executeOnConnection:]  (in IMAP) + 26  [0x7fff8d778ee2]
        + !           : | + !     546 -[IMAPConnection executeFetch:]  (in IMAP) + 44  [0x7fff8d78b3d1]
        + !           : | + !       538 -[IMAPConnection _responseFromSendingOperation:]  (in IMAP) + 863  [0x7fff8d78ba87]
        + !           : | + !       : 480 -[IMAPConnection _copyNextTaggedOrContinuationResponseForCommand:exists:]  (in IMAP) + 551  [0x7fff8d7867eb]
        + !           : | + !       : | 472 -[IMAPConnection _copyNextServerResponse:]  (in IMAP) + 55  [0x7fff8d78657a]
        + !           : | + !       : | + 281 -[IMAPResponse initWithConnection:error:]  (in IMAP) + 608  [0x7fff8d7af5f8]
        + !           : | + !       : | + ! 270 response_without_tag  (in IMAP) + 237  [0x7fff8d7b166b]
        + !           : | + !       : | + ! : 67 fetch_response  (in IMAP) + 2746  [0x7fff8d7b2b81]
        + !           : | + !      : | + ! : | 44 createFlagsSet  (in IMAP) + 159  [0x7fff8d7b4897]
    + !           : | + !       : | + 137 -[IMAPResponse initWithConnection:error:]  (in IMAP) + 144  [0x7fff8d7af428]
        + !           : | + !       : | + ! 129 -[IMAPConnection(MFPrivate) _readDataOfLength:intoData:error:]  (in IMAP) + 112  [0x7fff8d78ce14]
        + !           : | + !       : | + ! : 126 -[IMAPConnection _readLineIntoData:error:]  (in IMAP) + 53  [0x7fff8d786486]
        + !           : | + !       : | + ! : | 90 -[Connection _readLineIntoData:error:]  (in CoreMessage) + 202  [0x7fff89cf14f3]
        + !           : | + !       : | + ! : | + 90 -[Connection _fillBuffer:]  (in CoreMessage) + 764  [0x7fff89cf1961]
        + !           : | + !       : | + ! : | +   90 -[Connection _readBytesFromSocketIntoBuffer:amount:requireAllBytes:error:]  (in CoreMessage) + 76  [0x7fff89cf1a7b]
        + !           : | + !       : | + ! : | +     89 -[_NSSocket readBytes:length:error:]  (in CoreMessage) + 161  [0x7fff89cd78cb]
        + !           : | + !       : | + ! : | +     ! 50 _handleRequestWithTimeout  (in CoreMessage) + 1717  [0x7fff89cd51a7]
        + !           : | + !       : | + ! : | +     ! : 44 -[NSRunLoop(NSRunLoop) _removePort:forMode:]  (in Foundation) + 460  [0x7fff8eb4513d]
        + !           : | + !       : | + ! : | +     ! : | 40 ???  (in Mail)  load address 0x1024e3000 + 0x45ff  [0x1024e75ff]
    Also, the Activity (in Mail I think) window shows that these lines:
    Inbox/updating cache directory ; Fetching new mail ; Synchronizing with server/Getting unread counts ; Communicating with server/Inbox fetching
    all end up with a red "stop sign" at the end.
    He seems to have the latest version of Mail, so we can't update it, and he doesn't want to properly uninstall/reinstall the Mail program.
    Please, if you have any idea on what we could do.
    Thank you for your help.

    Step 1
    Take this step only if you have more than one incoming mail account, and only some of them are affected by the problem.
    From the Mail menu bar, select
    Mail ▹ Preferences ▹ Accounts
    From the account list on the left, choose one of the accounts that is not giving trouble. Select the Account Informationtab if not already selected, and then uncheck the box marked
    Enable this account
    Repeat with each of the other well-behaved accounts. Don't disable the problem accounts.
    Step 2
    From the Mail menu bar, select
    Window ▹ Connection Doctor
    Click the Show Detail button. A drawer opens. Click Check Again and post the text that appears. Anonymize any personal information before posting.
    Step 3
    If you took Step 1, re-enable the disabled accounts.

  • Pulseaudio: /run/user/ myuid /pulse gets owned by root "randomly"

    Hi,
    I'm sorry I think it's impossible that this hasn't come up yet, but I'm unable to find anything related.
    Since a month or so I have a weird problem with the ownership of /run/user/<myuid>/pulse/*
    From time to time those files get owned by root without any obvious reason I can think of.
    I then get the can't connect to audio bla bla messages when I try to run vlc.
    When the problem appears I just chown <myuser> -R /run/user/<myuid>/pulse/ and everything's fine again.
    Everytime I check pulseaudio runs as my user, I never caught it running as root. I don't understand why those files get owned by root from time to time.
    /usr/bin/pulseaudio --start --log-target=syslog
    /usr/lib/pulse/gconf-helper
    I'm using kde and pulse gets started automatically.
    After logging in everything works fine. It *seems* random to me when this happens, although recently I have discovered that this happens when vlc's output module was set to automatic.
    I've had files playing in vlc, hit the stop button and immediately hit play again which resulted in that error. Hitting stop, changing owner and hitting play worked.
    I then changed audio output module in vlc to pulseaudio and wasn't able to reproduce it since.
    But this still happens from time to time.
    To make sure there are no old strange settings, I've deleted ~/.pulse already but this didn't help.
    I'm sorry that I'm not posting logs since I have no idea where to start looking.
    It would be great if someone could point me into the right direction in order to find out what's happening there.
    Thank you very much!
    Max

    Thanks for your reply!
    I noticed that I mixed things up. Not the contents of /run/user/<myuid>/pulse/* get owned by root, but the "pulse" directory itself.
    I've just done a pacman -Syu. Let's see if it happens again

  • Have iphone5 & ipad 3 with Outlook Exchange 2003 emails. Random emails aren't delivered to my IOS devices but appear on my PC. Using no filters or rules. Is there a fix?

    Have iphone5 &amp; ipad 3 with Outlook Exchange 2003 emails. Random emails aren't delivered to my IOS devices but appear on my PC. Emails have no attachments nor am i Using any filters. Is there a fix?

    Does anyone have any input here? The tech team at work just stonewalls me when I tell them I have an iPhone and being able to check my emails was one of the main deciding factors in getting one for me.

  • IPhone 5 randomly vibrates in pulses

    I only notice this when I am in bed but every 3 sec- 6min my iphone will vibrate in a quick succession of 1-4 buzzes it will then stop and then 3 sec- 6 min later it will do it again.

    I think I figured it out, my power cable has 3 others cords plugged in and sometimes when it buzzes the battery icon changes from charging to blank and it only happens when it's charging. So I think it's because I don't have enought volts to run all 3 cables and it switches on and off.

  • "PCI Configuration" terminates ethernet connection, randomly.

    Mavericks 10.10.1,  Macbook Pro Retina (Mid 2012), Thunderbolt Ethernet Adapter.
    Found my network connection (en4) dropping randomly and found a few different reasons in console for this.
    I've tried:
    setting a location in network preferences
    removing thunderbolt adapter in network settings and adding it again
    removing thunderbolt bridge
    rebooting computer
    keeping the system awake by using it - still goes down while using it (clearly not a 'sleep' issue?)
    changing thunderbolt sockets
    testing another thunderbolt ethernet adapter
    Console info below. Any help would be much appreciated, this is a really frustrating problem.
    Here is one event in the Console, showing the link going down due to "PCI configuration":
    (i've highlighted the link going down in bold)
    16/01/2015 11:26:56.000 am kernel[0]: ASP_TCP Detach: Reply queue not empty?
    16/01/2015 11:26:56.610 am com.apple.backupd[1158]: Ejected Time Machine network volume.
    16/01/2015 11:27:29.000 am kernel[0]: Google Chrome He (map: 0xffffff803c583780) triggered DYLD shared region unnest for map: 0xffffff803c583780, region 0x7fff92e00000->0x7fff93000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
    16/01/2015 11:27:53.000 am kernel[0]: Google Chrome He (map: 0xffffff803ebd4690) triggered DYLD shared region unnest for map: 0xffffff803ebd4690, region 0x7fff92e00000->0x7fff93000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
    16/01/2015 11:28:52.825 am SystemUIServer[243]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc
    16/01/2015 11:29:36.121 am DesktopServicesHelper[877]: notify name "com.apple.filecoordination.dump_request" has been registered 40 times - this may be a leak
    16/01/2015 11:29:37.000 am kernel[0]: [ PCI configuration begin ]
    16/01/2015 11:29:37.000 am kernel[0]: [ PCI configuration end, bridges 12, devices 17 ]
    16/01/2015 11:29:37.000 am kernel[0]: AppleBCM5701Ethernet [en4]: willTerminate - offline
    16/01/2015 11:29:37.122 am configd[26]: bootp_client_bind_socket_to_if(en4, 9): setsockopt IP_BOUND_IF failed
    16/01/2015 11:29:37.122 am discoveryd[51]: Basic Network GetExtendedFlags ioctl failed Device not configured
    16/01/2015 11:29:37.122 am configd[26]: DHCP en4: RELEASE transmit failed
    16/01/2015 11:29:37.125 am discoveryd[51]: Basic Network GetExtendedFlags ioctl failed Device not configured
    16/01/2015 11:29:37.131 am networkd[127]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
    16/01/2015 11:29:37.132 am configd[26]: network changed: v4(en4-:192.168.1.198) DNS- Proxy-
    16/01/2015 11:29:37.136 am discoveryd[51]: Basic WABServer NetResolverEvent no resolvers, resetting domains
    16/01/2015 11:29:37.136 am discoveryd[51]: Basic Bonjour stop listening on en4
    16/01/2015 11:29:37.000 am kernel[0]: smb2_smb_parse_change_notify: smb_rq_reply failed 60
    16/01/2015 11:29:37.000 am kernel[0]: smb2_smb_parse_change_notify: smb_rq_reply failed 60
    16/01/2015 11:29:37.000 am kernel[0]: smb2_smb_parse_change_notify: smb_rq_reply failed 60
    16/01/2015 11:29:37.000 am kernel[0]: smb2_smb_read_write_async: smb_rq_reply failed 60
    16/01/2015 11:29:41.833 am com.apple.iCloudHelper[1238]: objc[1238]: Class FALogging is implemented in both /System/Library/PrivateFrameworks/FamilyCircle.framework/Versions/A/FamilyCircl e and /System/Library/PrivateFrameworks/FamilyNotification.framework/Versions/A/Famil yNotification. One of the two will be used. Which one is undefined.
    16/01/2015 11:29:41.839 am com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    16/01/2015 11:29:42.140 am netbiosd[1077]: network_reachability_changed : network is not reachable, netbiosd is shutting down
    Here is a similar situation (ethernet going down) but a different trigger (apparently?):
    16/01/2015 3:41:09.000 am kernel[0]: pci pause: SDXC
    16/01/2015 3:41:36.000 am kernel[0]: PM response took 1998 ms (27, powerd)
    16/01/2015 3:41:36.000 am kernel[0]: ARPT: 288540.420526: AirPort_Brcm43xx::powerChange: System Sleep
    16/01/2015 3:41:36.000 am kernel[0]: ARPT: 288540.420532: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
    16/01/2015 3:41:37.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 3:41:37.000 am kernel[0]: AppleBCM5701Ethernet [en4]:        0        0 memWrInd fBJP_Wakeup_Timer
    16/01/2015 3:41:38.000 am kernel[0]: AppleThunderboltNHIType2::waitForOk2Go2Sx - retries = 86
    16/01/2015 5:04:00.000 am kernel[0]: Wake reason: RTC (Alarm)
    As an overview of down/up events, this is a filtered view for "link" in the console, showing when the ethernet link going up and down last night while I was asleep:
    15/01/2015 11:04:23.757 pm com.apple.backupd[14541]: Copied 186 items (12.6 MB) from volume Macintosh HD. Linked 8558.
    15/01/2015 11:17:22.000 pm kernel[0]: en4: attached with 4 suspended link-layer multicast membership(s)
    15/01/2015 11:17:26.000 pm kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,2301,0c01,0200,c5e1,3800]
    16/01/2015 12:12:58.705 am com.apple.backupd[14832]: Copied 959 items (22 MB) from volume Macintosh HD. Linked 9314.
    16/01/2015 1:21:48.047 am com.apple.backupd[14954]: Copied 179 items (12.8 MB) from volume Macintosh HD. Linked 7713.
    16/01/2015 2:10:19.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 3:10:21.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,2301,0c01,0200,c5e1,3800]
    16/01/2015 3:10:32.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 3:34:00.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]
    16/01/2015 3:34:00.000 am kernel[0]: AppleBCM5701Ethernet [en4]:        0        0 Linkup - sending up wakeup packet
    16/01/2015 3:34:52.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 3:40:32.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]
    16/01/2015 3:41:37.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 5:04:07.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]
    16/01/2015 5:08:36.823 am com.apple.backupd[15061]: Copied 144 items (12.7 MB) from volume Macintosh HD. Linked 7781.
    16/01/2015 5:09:52.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 6:34:56.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]
    16/01/2015 6:35:59.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 7:36:03.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]
    16/01/2015 7:37:01.000 am kernel[0]: AppleBCM5701Ethernet [en4]: Link down (womp enabled, proxy 1379)
    16/01/2015 8:22:17.000 am kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en4, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0c01,0200,c5e1,3800]

    I think I've solved the problem.
    The thunderbolt bridge was re-added to my config and I thought it would never go away. So I'd left it there. Problem still existed.
    Then I randomly thought to remove it again. Now the problem hasn't yet returned. If it does, I'll post back here.

Maybe you are looking for