Wait (ms) - NI KnowledgeBase article example

I am reading http://digital.ni.com/public.nsf/allkb/12B2EA9AD5B265AD86256257004DD8E2
which is suppose to explain the difference between the Wait (ms) function and the Wait Until Next ms function.
I am having a hard time understanding the example given for the Wait (ms) function.
The text talks about 15 ms and 5 ms, yet I don't see anything with the numbers 15 or 5 in the two WHILE loops.
Would someone shed some light on this?

They've probably just updated the vi example since making the description and not updated the description. 
The wait(ms) is literally just a pause. For the top loop I have 10ms wait in the flat sequence structure, and 3ms outside of the while loop. 
Because the waits are seperated by the flat sequence, they can run independantly and therfore (near enough) start at the same time. Since they start at the same time, the 3ms will finish first (because smaller wait).
The while loop cannot finish the iteration until everything is completed, therefore the top while loop takes 10ms as it is the last thing to complete. 
If this still isn't helping, delete one of the loops and put really large wait times, then click higlight execution. Then look at the flow of data and see how things progress (may help to wire the ouputs to something, just so you can see data flow out and therefore the wait functions finishing). 

Similar Messages

  • Why is there no Knowledgebase article for the just-released IE11 update KB3025390?

    The KB link shown in the Windows Update page for my Windows 7 x64 Enterprise machine does not find a page for that KB article. What exactly are we patching? What is it supposed to fix?
    Dr. Technical Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke

    Hello from japan, I've been in trouble, just like you. (jp-Forum)
    In my case, Windows 7 + Access VBA + IE11, also an Access Denied in a frame after installing the KB3025390, and it resolved with uninstalling.
    I made a reproducible prototype;
    [test.vbs]
    Set objIE = CreateObject("InternetExplorer.Application")
    objIE.Visible = True
    objIE.Navigate "(full path)\hello.html"
    WScript.Sleep 3000
    '******* It works good
    objIE.Document.All("btn1").Click
    objIE.Navigate "(full path)\frameset.html"
    WScript.Sleep 3000
    '******* it will fail "Access Denied" after installing the KB3025390
    objIE.Document.Frames.Item("frame1").Document.All("btn1").Click
    [hello.html]
    <html><body>
    <input id="btn1" type="button" value="Hello" OnClick="alert('Hello World')">
    </body></html>
    [frameset.html]
    <html><frameset rows="20%,*">
    <frame id="frame1" src="hello.html">
    <frame id="frame2" src="about:blank">
    </frameset></html>
    Please help us, thank you.

  • Re: BlackBerry Technical Solution Center Knowledgebase Articles: Blackberry Playbook

    hi there !
    Dont suppose you can help me with the resetting of my bb id pass word can you1
    ta

    I can!
    Please read this article from the public knowledge base:
    Article ID: KB26361 How to reset a BlackBerry ID password
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Photoshop Elements Organizer 11 crashes due to deadlock in the thread wait chain when creating thumbnails for *.mts (AVCHD) files

    Hi,
    the Elements Organizer 11 creates a deadlock in the wait chain when generating thumbnails for more than a handful of MTS (AVCHD) files.
    After importing AVCHD files from my Canon video camera, the organizer using default settings always crashes. I was able to narrow down the problem to be caused by thumbnail generating.
    After deactivating the automatic generation of thumbnails, the organizer does not crash any more upon launching .
    Of course, working without thumbnails is not very practical. The next resort is manual trigger of thumbnail generation by selecting "update thumbnail".
    If I manually trigger updating of thumbnails for files one by one, then it works for quite many files before crashing again.
    Selecting thumbnail update for multiple files at once has a much higher likelihood to crash.
    This does not seem to be related to particular file contents: a file that leads to crashing once may be flawlessly get a thumbnail created at the next attempt.
    The Windows event report looks as follows (German language Windows):
    Name der fehlerhaften Anwendung: PhotoshopElementsOrganizer.exe, Version: 11.0.0.0, Zeitstempel: 0x505e9f67
    Name des fehlerhaften Moduls: msvcrt.dll, Version: 7.0.9600.16384, Zeitstempel: 0x52158ff5
    Ausnahmecode: 0xc0000005
    Fehleroffset: 0x00009919
    ID des fehlerhaften Prozesses: 0x13c8
    Startzeit der fehlerhaften Anwendung: 0x01cfb676145d0c54
    Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Adobe\Elements 11 Organizer\PhotoshopElementsOrganizer.exe
    Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\msvcrt.dll
    Berichtskennung: b8817e29-2269-11e4-bf2d-10bf487f7b28
    Vollständiger Name des fehlerhaften Pakets:
    Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
    Occasionally, a different module is listed as erroneous instead of msvcrt.dll.
    My questions:
    - has anyone experienced the same problem?
    - is this a known issue with Organizer 11?
    - is the issue solved with Organizer 12?
    I have Premiere Elements 11, Photoshop Elements 11 installed and not experienced any other issues with these applications.
    Playback of said AVCHD (*.mts) files works flawlessly, i.e. I do not have any codec or performance issue on my PC.
    Deactivation of anti-virus software has no significant effect. I have excluded video directories from scanning anyways.
    Have deactivated face recognition, visual search and smart tagging in the organizer.
    Have also disabled hyperthreading in the BIOS.
    Using Windows XP compatibility settings for PSE somewhat improved the stability, but did not completely eliminate crashes.
    Additionally, it signnificantly slows down thumbnail generation and a progress indication window becomes visible during thumbnail generation, which is barely noticable in native Win 8.1 mode.
    Officially, Elements 11 is compatible with Windows 8.1.
    There is a knowledgebase article related to Elements 6, which recommends to disable multi-threading and to enforce execution of Organizer on more than one core.
    This reduces the problem a little bit, but thumbnailing more than a handful of files still leads to crashing.
    By means of the task manager, I analyzed the wait chain of the process PhotoshopElementsOrganizer.exe:
    Every time the fault occurs, it is caused by a deadlock in the wait chain.
    For example:
    PhotoshopElementsOrganizer.exe (PID:6440) Thread: 6540
    -- PhotoshopElementsOrganizer.exe (PID:6440) Thread: 5932
    ---- PhotoshopElementsOrganizer.exe (PID:6440) Thread: 6540
    PhotoshopElementsOrganizer.exe (PID:6440) Thread: 5932
    -- PhotoshopElementsOrganizer.exe (PID:6440) Thread: 6540
    ---- PhotoshopElementsOrganizer.exe (PID:6440) Thread: 5932
    Regards
    Oliver
    Microsoft Windows 8.1 Pro, 64bit, 6.3.9600 Build 9600
    Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz,
    16 GB RAM
    AMD Radeon HD5450, 1GB
    256 GB SSD,  Crucial M4-CT256 (Windows, Application, Swap and Temp files), NTFS
    1.8 TB HDD, WesternDigital, WD2002FAEX-007BA0, NTFS  (media store)

    Hi,
    I'm experiencing the same problem after importing MTS files.
    When you said that you unisntall all other codec, what do you mean?
    Codec Inside element software?
    I have desable the automatic thumbnail and it still crash.
    I'M running the software and trying to import more video files and the program keep crashing during the process of selecting the files in the directory to be imported.
    i went in my windows 7 journal and here is the error.
    System
    Provider
    [ Name]
    Application Error
    EventID
    1000
    [ Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2014-08-31T19:36:04.000000000Z
    EventRecordID
    244366
    Channel
    Application
    Computer
    Ordi-Denis
    Security
    EventData
    PhotoshopElementsOrganizer.exe
    11.0.0.0
    503fdd1d
    MSACM32.dll
    6.1.7600.16385
    4a5bda4e
    c0000005
    00004d91
    1634
    01cfc552c927dce5
    C:\Program Files (x86)\Adobe\Elements 11 Organizer\PhotoshopElementsOrganizer.exe
    C:\Windows\system32\MSACM32.dll
    0b097e53-3146-11e4-a14e-bcaec51a14f7
    Please i need help since Adobe is not helping us.

  • Examples for canopen library

    Im new to the canopen and even can.
    I have purchased a NI high speed xnet card and the canopen libarary and installed them with xnet 1.
    Ive struggled with this so far and believe a better background might help.
    I cant seem to find any examples to run for canopen, or even a general guide for CAN.
    Generally NI is really good at giving basic tutorials to read and hello world type examples.
    Even an example i cant run, but shows what the parameters are being passed for and why would be great.
    The goal is to be able to send a command to get a position of an amplifer, and then read it back.
    Preferibly with PDO as there are timing constraints.
    I did find a few examples in the userforum, in llb format, but they were just sub sections of program.
    I really need to see the entire working program, even if it does smething very simple.
    thanks
    Message Edited by jimmyinct3 on 11-01-2009 03:06 PM

    Jimmy,
    The NI-CAN Hardware and Software Manual gives a comprehensive overview of the CAN protocol and how to interface with NI hardware using the NI-CAN API.
    This KnowledgeBase article describes where to find the examples that ship with the CANOpen LabVIEW Library.
    To clarify your interface options, keep in mind that you are using the newer XNET hardware. This means that to use your card, you have the choice of using either the:
    1. new NI-XNET drivers and API
    2. or the NI-CAN drivers + NI-CAN Compatibility Layer + NI-XNET drivers
    Since you wish to use the CANOpen LabVIEW Library, you are using the second option as it is built on the NI-CAN interface. This means you need to ensure you have the latest NI-XNET drivers and NI-CAN drivers in order to work with the CANOpen LabVIEW Library for your device.
    Peter Flores
    Applications Engineer

  • Why can't visual basic 6 load CWDAQ.OCX in the example programs? I am using the latest Measurement Studio 6 and VISTA OS.

    Can someone help me with getting controls to work with Visual basic 6 in an Vista environment?  I cannot get the examples to work that use the CWDAQ.OCX control.  I did a search on my computer and the file is not even there.  What functions are in CWDAQ.OCX?  Is there a descriptions of what functions are included in this control and other controls?  It is not obvious where to find these descriptions. 
    I did install Measurement Studio 6 with all the options for Visual basic 6.
    I am new to programming NI cards with visual basic so any help in getting me started will be greatly appreciated. 
    I need to talk to a PCI-6110 card in visual basic 6.  I would like to preprogrammed the D/A fifos, store to two analog inputs simutaneously, and use some of the digital I/O.  Can someone direct me the direction as to what controls I need to use?
    Thanks in advance for any help or guidance. 
    Tony

    Hi Tony,
    So the reason you can't find the CWDAQ.OCX ActiveX controls in VB 6.0 in Vista is because that is a Tradtional DAQ (legacy) control meant to work with the Traditional DAQ Driver.
    The Tradtional DAQ drivers aren't officially supported in Windows Vista (KnowledgeBase 4FDH4MZN: Traditional NI-DAQ (Legacy) for Windows Vista OS) and so the CWDAQ.OCX controls don't get installed.
    However, the good news is that the PCI 6110 is a newer card that uses our newer driver, NI-DAQmx. DAQmx is supported in Vista and you can communicate to your card from VB 6.0 using DAQmx in Vista.
    There are several examples that show you how to communicate using DAQmx in VB 6.0.
    These can be found in:
    <Users>\Public\Documents\National Instruments\NI-DAQ\Examples
    This is also mentioned in the following Knowledgebase article:
    KnowledgeBase 47CCSQ5B: NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations
    Also, the DAQmx functions are documented in the following locations:
    Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C API Visual Basic 6.0 Help
    Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C Reference Help
    Hope this helps!!
    Message Edited by Jervin_J on 06-05-2008 02:58 PM
    Jervin Justin
    NI TestStand Product Manager

  • How to kill TCP-IP Listen or Open Connection while they are waiting to connect?

    We have an application that acts as a control panel for a customer's device.
    It connects to the device using TCP-IP.
    It can be configured to connect as a server (listener) or as a client.
    The user of this applicaiton must have the ability to disconnect from the device and point and connect to a different device at a different IP and port.
    When the user tries to connect to a device but can not (the device is not ready or the IP address is wrong) he wants to abort the connection, change the settings then restart the attempt to connect.  
    How do I stop the TCP-IP Listen or TCP-IP Open Connection VIs?  We typically use a timeout of a couple seconds and this is a long delay for a respond to the operator when he wants to abort the connection attempt.

    Thanks for the quick response. 
    I was hoping there was a more elegant Labview solution that may work for both the wait on listen and the connect VI.
    I tried to close the wait on listener by closing the ref from the create listener.
    That works.  See attached picture. I use a queue to send the abort message.  The wait on listen state will be blocked until either a connection is made or an abort message is sent via the queue.  If a message is sent, the dequeue vi unblocks and causes the listener reference to close which will kill the wait on listen VI.  If a TCP-IP connection is made it will close the queue reference which will kill the dequeue vi.
    I guess for the TCP-IP connect VI I can:
    A. Use a couple second time out that is tolerable to the operator if then abort the connection attempt. (like you suggested)
    or
    B. Create a VI with the TCP-IP Open Connection VI in it.  I can launch that VI dynamically and wait until done (invoke node Run VI with Wait Until Done set to true).  If a connection is made it will finish and I will read the outputs using an invoke node (Ctrl Val.Get).  If it needs to be aborted, I will abort the VI using an invoke node (VI Abort).
    Attachments:
    Wait on listener with Abort example..JPG ‏265 KB

  • What is measure of "Waits" value in AWR Report?

    Event
    Waits
    %Time -outs
    Total Wait Time (s)
    Avg wait (ms)
    Waits /txn
    SQL*Net more data from dblink
    406,747
    466
    1
    184.13
    db file scattered read
    28,659
    330
    12
    12.97
    SQL*Net message from dblink
    30,115
    254
    8
    13.63
    log file parallel write
    21,021
    177
    8
    9.52
    Hi All
        As below example, I have question What is measure of "Waits" value in "Wait Events" section in AWR report?
        Because "Waits" value is high but "Total Wait Time (s)" is low. example "SQL*Net message from dblink" has 30,115 "Waits" but "Total Wait Time (s)" less than "db file scattered read" has 28,659 "Waits".
        Could you please explain more about "Waits" value?
    Thank you
    Hiko

    taohiko wrote:
    Event
    Waits
    %Time -outs
    Total Wait Time (s)
    Avg wait (ms)
    Waits /txn
    SQL*Net more data from dblink
    406,747
    466
    1
    184.13
    db file scattered read
    28,659
    330
    12
    12.97
    SQL*Net message from dblink
    30,115
    254
    8
    13.63
    log file parallel write
    21,021
    177
    8
    9.52
    Hi All
        As below example, I have question What is measure of "Waits" value in "Wait Events" section in AWR report?
    It's simply a count ... of the number of times the system had to "WAIT" on the specified event.
        Because "Waits" value is high but "Total Wait Time (s)" is low. example "SQL*Net message from dblink" has 30,115 "Waits" but "Total Wait Time (s)" less than "db file scattered read" has 28,659 "Waits".
    Look at "AVG wait time".    In the one case, there were fewer occurrences of the event, but the average wait time per event was greater.
    If I buy 3 hamburgers and pay $1000 each
    or I buy 500 hamburgers and pay $1.00 each,
    why do 3 hamburgers cost more than 500 hamburgers?
        Could you please explain more about "Waits" value?
    "Waits" is the number of times the system had to wait on the named event, during the sampling period.
    "Total Wait Time" is the total time (measured in seconds) spent waiting on all occurrences of the specified event, during the sampling period.
    "Avg" wait" is the average time (measured in milliseconds) spent on each occurrence of the specified event, during the sampling period.
    It seems pretty self-evident.  You count how many times something happens (waits), you measure the time spent doing that something (total wait time), and you divide the total time spent (total wait time) by the number of times it happened (waits) to find out the average time spent on each occurrence of that something.   
    Thank you
    Hiko

  • Waiting on unknown threads to finish

    I have made the ExecutionService class, and now i have a small problem. The point of the class was to split the job normally done by one thread into as many as possible. Now, i need the thread that called executeInstantly/waitToExecute to wait until the requested task(s) are done, and there are no more tasks to process. What would be the best way to implement that? Note, only one thread will be adding to the Queue of tasks, and its the same one that needs to wait on them to finish.
    package jad.util;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.BlockingQueue;
    public class ExecutionService {
        public ExecutionService() {
            runnableTasks = new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE);
            initializeExecutors(Runtime.getRuntime().availableProcessors());
        public ExecutionService(BlockingQueue<Runnable> blockingQueue) {
            runnableTasks = blockingQueue;
            initializeExecutors(Runtime.getRuntime().availableProcessors());
        public ExecutionService(final int NUM_THREADS, final int MAX_JOBS) {
            runnableTasks = new LinkedBlockingQueue<Runnable>(MAX_JOBS);
            initializeExecutors(NUM_THREADS);
        private final void initializeExecutors(final int NUM_THREADS) {
            for (int i = 0; i < NUM_THREADS; i++) {
                createNewExecutor();
                ++numThreadsRunning;
        private final Runnable getPermTask() {
            return new Runnable() {
                @Override
                public void run() {
                    Exception ex = null;
                    try {
                        while (continueRunning) {
                            getNewTask().run();
                    } catch (InterruptedException e) {
                        (ex = e).printStackTrace();
                    } catch (Exception e) {
                        (ex = e).printStackTrace();
                    } finally {
                        if (ex != null) {
                            createNewExecutor();
        private Executor createNewExecutor() {
            return new Executor(getPermTask());
        private Runnable getNewTask() throws InterruptedException {
            return runnableTasks.take();
        public boolean executeImmediately(Runnable task) throws Exception {
            if (!continueRunning) {
                throw new Exception("ExecutorService instance is shut down");
            return runnableTasks.offer(task);
        public void waitToExecute(Runnable task) throws InterruptedException, Exception {
            if (!continueRunning) {
                throw new Exception("ExecutorService instance is shut down");
            runnableTasks.put(task);
        public void shutDown() {
            continueRunning = false;
            Runnable emptyTask = new Runnable() {
                @Override
                public void run() {
                    return;
            for (int i = 0; i < numThreadsRunning; i++) {
                try {
                    waitToExecute(emptyTask);
                } catch (InterruptedException e) {
                    System.out.println("Could not shut down!");
                    e.printStackTrace();
                } catch (Exception e) {
                    e.printStackTrace();
        private int numThreadsRunning = 0;
        private volatile boolean continueRunning = true;
        private BlockingQueue<Runnable> runnableTasks;
    class Executor {
        public Executor(Runnable task) {
            Thread t = new Thread(task);
            t.setDaemon(true);
            t.setName("Executor service thread");
            t.start();
    }Edited by: Jadz_Core on Aug 6, 2009 9:36 PM

    You would use a java.util.CountDownLatch if you only wanted to wait for the tasks currently executing and waiting in the queue (for example, there would be no tasks added AFTER the waiting began). I think this is suitable for your situation since you said there would be just one thread adding to the queue.
    Pseudocode:
    class ExecutorService {
        private volatile CountDownLatch counter = new CountDownLatch(Integer.MAX_VALUE);  //start countdown latch at really high values
        private AtomicInteger activeThreadCount = new AtomicInteger(0); //keep track of threads actually working
        private BlockingQueue queue; //keep waiting tasks
        class PermTask implements Runnable
            public void run()
                while (!shutdown)
                    Runnable task = queue.take();
                    activeThreadCount.incrementAndGet();
                    try
                        taskToRun.run();
                    finally
                        activeThreadCount.decrementAndGet();
                        counter.countDown();
        public void waitForTasksToComplete()
            int totalTasks = queue.size() + activeThreadCount.get();
            counter = new CountDownLatch(totalTasks);
            counter.await();
        }This would take a bit of cleaning up, for instance you have to protect the activeThreadCount and the counter so that the values don't change in the middle of some work (a ReadWriteReentrantLock might work nicely here - the PermTask would acquire Read Locks so they don't block each other. The wait... method acquires a Write lock to it waits for Reads to finish, and blocks more Reads until it is done). But it should get you started.
    Edited by: stevejluke on Aug 7, 2009 7:01 AM

  • 90 day wait to re download songs I just bough but didn't download??

    I just bought an album on iTunes but the two songs I really wanted didn't download and a message pops up when I try to re download them and says I have to wait 90 days or something??? Please help I didn't just spend $10 to wait 90 days

    The following article should help:
    http://docs.info.apple.com/article.html?artnum=93015

  • Wait() vs sleep()

    This is a purely general question, I was wondering which is better to use: sleep() or wait()?

    Use sleep() if you just want to wait for some time,
    for example if you want to wait before you retry to
    create a socket connection when the first try failed.
    This is wrong. Never use sleep when you are using synchronization, it could cause deadlocks. Instead, use wait as wait will release all your locks and thus reduce the chance of deadlock. Remember that your thread may be holding locks that you are unaware of so it's best to wait (not sleep).
    Use wait() if you want to synchronize multiple
    threads, for examplw when one thread has to wait for
    the resutl of another thread. >
    So fi you have only one thread ( and i assume that
    have you never written a multithreaded app) just use
    sleep() adn forget wait(). They might look similar but
    serve quite different purposes.
    Java is multithreaded by nature, it's impossible to write a non-multithreaded application in java as there are at least a few threads ( finalizer thread, GC thread, your main thread). And any non-trivial java program will have at least 2 threads. Any java application that uses swing has at least 7 threads. So you must expect that your code will be run in multiple threads and thus sleep is not a good choice.
    I don't think that using sleep should be recomended because it doesn't release locks.

  • More Robust Documents in Knowledgebase?

    The Knowledgebase document format seems to be extremely rudimentary.  Many of the most useful Knowledgebase articles may need to incorporate diagrams/screenshots, hyperlinks to other documents, attach addl reference docs/files, etc.  There's not even any ability, at least that I see so far to setup some sort of categorization in order to organize the documents into an appropriate hierarchy!?
    I would guess someone looking to build a robust documentation and online help system within Spiceworks must have run into this challenge before.  Is really the only potential solution is to add a hyperlink in the User Portal to a third party application that has a better feature set?
    This topic first appeared in the Spiceworks Community

    You'll get discussion here, but you're only talking to other users. To file an official request with Adobe, go to Adobe - Feature Request/Bug Report Form

  • A Freeze-up that I can't fix.

    Ok, so I have been having a problem that appears similar to the lookupd problem that many people have discussed here and on other Mac forums. I have a brand new Dual 2.3 G5, and it has worked fine for a week and a half, performing with wonderful speed all the usual graphic design and video work that my G4 laptop has been doing up till now.
    Then yesterday, the system froze when I tried to bring maximize iTunes from the dock. I was running what usually constitutes "too many programs" at the same time, and so I figured I had found the performance peak. Manual power shutdown was my only option.
    Since then, the problem has persisted, sometimes waiting for a while before locking up, sometimes locking up in the middle of the startup screens. It doesn't correspond to any program in particular. Sometimes there are some graphical 'artifacts' that appear on the screen when the lockup occurs, but not always. The cursor still works, and cycles between the pointer arrow and the spinning beach ball of Death, depending on how many "frustration clicks" I give it. If I press the 'eject' button on the keyboard, the tray opens after about 10-20 secs, or sometimes immediately. If the dock or any maximizing function is occuring at the crash, it freezes in place. I also hear a quiet but high-pitched whine from inside the tower as the moment of the crash, which continues uninterrupted until the machine goes to sleep. Did I mention that it can still go to sleep and wake up, based on the timing set in Energy Saver? ***? What kind of crazy crash can do all that, I ask!
    I removed the two 512 cards of 3rd-party RAM. I ran the Hardware test - everything checked out OK. I reinstalled OS 10.4 onto one of the partitions of my second internal hardrive, and booted from that. At first, it worked ok, then I walked away for a few mintues, and it had frozen again upon my return. I restalled the OS on the original factory HD, first with the "Archive and Update Accounts" option, which kept all my software and User accounts in place, and then when the problem continued, I tried a full Erase and Install on the HD.
    IT STILL FREEZES.
    After reading the lookupd forum and getting thoroughly confused by the fun scripting lingo, I tried unplugging the Ethernet cable after the crash occured, which seems to help unfreeze the system in the case of the lookupd bug. Didn't help. Tried rebooting without the network connected at all. No dice. I get about 5 to 20 seconds of functioning Mac, and then the crash occurs, so I can't even check my console logs.
    I can't figure it out. The only thing I can think of right now is that it has something to do with the latest updates. On the last reinstall, I immediately installed all the Software updates. It made it through this process...and then the crashes begin again. I may try the reinstall once more to see if this affects the problem. I just concerned now about how many times I've manually had to powerdown the machine today - something like 15 to 20 times, and I've never made it to a 'natural' shutdown command, except when Hardware test is done telling me that I have no problems.
    I haven't contacted Apple yet, but will once their customer support is open again tomorrow.
    Help! And thanks in advance.
    Leon

    Hi, Leon —
    Edit: and Frank — glad to see your post! (Once I'd finally posted my loquacious message...)
    Please accept a warm welcome to Apple Discussions! Sorry it's under these circumstances. . . you must be feeling very frustrated.
    From what you've described so far, I haven't really heard evidence to support conclusions about lookupd, "the performance peak," "something to do with the latest updates," or a "fried motherboard." Sounds like in your frustration, you've tried quite a few "solutions" unsuccessfully, and are trying to think of ~anything that may explain things.
    "What kind of crazy crash can do all that, [you] ask!"
    More on all that in a moment. . .
    Leon, my first thought is to suggest that you contact AppleCare immediately at
    (800) 275-2273 — and be prepared to be patient, spending whatever time may be necessary to work through a number of steps with the AppleCare tech. Although you may have read some participants expressing skepticism about this approach — my personal experience with AppleCare support has been outstanding.
    The main reason I suggest this to you at the outset of posting is that I believe your situation warrants a more step-by-step, interactive supporting relationship than is easy to provide here, given the delays and Gee-I-wish-I'd-asked-that limitations of an online forum. If the problem(s) aren't solved during your initial conversation, you'll be given a case number for use at an Apple-Authorized Service Provider (AASP — limited to authorized hardware problems) or for future reference. If the problem persists, your subsequent call(s) may be forwarded to higher-level support folks.
    That said, let me make a few comments about my previous statements, as promised.
    Imho, the troubleshooting steps you've described sound as if you may benefit from a slightly more calm, organized, step-wise, and logical approach to diagnosis and attempts at "fixes." The first thing I recommend is that you pause, take a really deep breath, think (and note) very carefully about everything that you had done and observed before "the system froze when [you] tried to bring maximize iTunes from the Dock." As a few examples: any new or modified peripheral connections, cards, etc.? is your second internal HD new, or recently moved from your G4? had you just migrated some of the "usual graphic design and video work" from your "G4 laptop"? have you utilized Activity Monitor &/or your console logs to provide data correlating to the time(s) when problematic behavior began and ensued? etc.
    From my own experience, taking the time to review the thought processes expressed in KnowledgeBase Articles 25392: Isolating issues in Mac OS X, 25398: Mac OS X: How to troubleshoot a software issue> and 4299: Application Issues and Basic Troubleshooting (and some of their links) may be very helpful — it can be difficult for all of us to keep everything in perspective when faced with such problems. Some parts of Article 106464: Your Mac won't start up in Mac OS X may also be pertinent.
    A few final points. You've mentioned "crazy crash(es)," leaving me wondering . . .
    Are there <Application name>.crash.logs accessible using Console in either ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter that correspond to any of the behaviors you've described? (Check the time stamps on entries vs. your recollections/observations.) How about panic.logs in /Library/Logs/? If you closely monitor the processes in an Activity Monitor window, do/have any showed up in red typeface — indicating they're "hanging" — and what are they?
    Leon, I hope some of my suggestions are useful to you. Hang in there!
    Good luck!
    Dean
    Message was edited by: Dean Pahl

  • How-to set pre-specified time for amplitude measurement vi?

    In acquiring data at 100 Hz, I'm writing this to file while using the Amplitude & Level measurement VI to decide when the data has peaked. I've built arrays to accumulate the data but I don't see a simple timing scheme to continue this for one or five minutes.
    This is a GPIB instrument read over a GPIB-USB-B adapter in LV 7.0 running on Windows XP Pro. The computer is a Pentium 4, 2.4 GHz, with 512 MB RAM.
    Attachments:
    Input_fluke_with_peak_array_2620.vi ‏329 KB

    So I do not have the Fluke or the driver to see how your code runs. From what LabVIEW tells me with the wire size, it looks like you are reading one point at a time from the instrument. You will need to address this so you can get useful data. It is not that reading one point at a time is bad--it just slow. Often it is more desirable to collect more than one point at a time to get a fixed dt between the points. I would focus on seeing the data in a graph first.
    Once you are able to get the data comming in a numeric array then you can focus on termiating the acquistion when a peak is found. There are several ways to define a peak. You can say it is a point that is larger than the surrounding points but this will only show a local maximum. Noise will often cause a peak to be undesirably found. Another method for peak detection takes in account hysterisis. This says that if a high value is n units higher than later points, it must have been a peak. Look for hysterisis on NI's site for a better description. Another method for peak detection says that any values above x is a peak. This is useful if you want to collect data that is rising until 6V. LabVIEW has some VIs for peak dection on arrays. I recommend playing with them but remember you will need to decide what works best in your application.
    Now that you have data in the form of an array and a way to analyze it, you are in business. Well almost. How much time can elapse between aquiring data and analyzing it. If it is not critical, you can aquire 1000 points, analyze it, determine if you need to aquire more (use a while loop) and iterate or not. If the timming is more critical then you can use a model for VIs where there are two while loops in parallel. In one loop, you can aquire data and feed it to a queue. This allows data to be transfered to the second loop that can dequeue the data and analyze it. When the analysis indicates the data acquision loop can be triggered to stop when it returns with data. This method allows for data to be streamed off the device as fast as possible and then later processed in another loop while the VI is waiting for more data. It is very slick and difficult to code. Look in the LabVIEW shipping examples for queue to see examples of queue use. This data processing loop can write to file as the data is avaliable (slow) or it can save the data and write to the file at one time once the peak has been detected (fast). You can even add logic to only write data up to the peak. (the ease of this depends on how to detect the peak).
    I do not know if I have helped or not. It is a lot of stuff to consider. I recommend looking for a simmilar example program. This can really jumpstart any project. Look in the shipping examples and use the advanced search page. I cannot say enough good things about how well that searches NI's site for example programs, knowledgebase articles, discussions, etc.

  • Establish a connection through RF modem's on client & server side & to set up PPP communication for data transfer

    hi
    can any1 over here help me out in how to establish connection between 2 RF modem's for data transfer , between client & server USing LABVIEW?
    I want to establish a connection between 2 PC's through  RF modem on client & server side & to set up PPP communication for data transfer.
    (I have tried data transfer through RS-232 using TCP/IP whn the 2 PC's are connected over ethernet... which is working.
    I also tried connecting loopback cable between 2 PC's COM port & geting data transfer using VIsa configure serial port & other visa functions  ... which is working)
    can u guide me how to establish connection between 2 RF modem's using LABview?
    & how does the data transfer take place between 2 RF modems through RS-232?
    is it using TCP/IP?
    If you got any links to go abt this issue do send me related links .. or any examples .....
    I am currently using Labview version 8.
    Waiting in anticipation.. reply ASAP..
    thanking you
    Regards
    Yogan..

    Howdy yogan,
    Maybe you could clarify a few things for me, and we'll see how we can help ya. TCP/IP protocol occurs through an ethernet connection; RS-232 communication occurs through an RS-232 serial connection, typically through a cable that has a DB9 connector on both ends. Do you mean that the RF modems in question have the option to communicate via RS-232 and/or via TCP/IP ethernet? Specific information like the manufacturer of your RF modems, the model number of your RF modems, and how you connect the modems to the PC would enable us to give you more efficient support.
    You can check our Instrument Driver Network (IDNet) to see if a plug-and-play/IVI driver already exists for your RF modem. (You'll need to know its manufacturer and model number.) In the case that you do find an IDNet driver for your modem, you can use this KnowledgeBase article for instructions on how to use the driver.
    Another excellent resource to consider is the NI Example Finder. You can access this within LabVIEW by navigating to Help»Find Examples and then searching for serial or TCP/IP examples.
    Message Edited by pBerg on 03-10-2008 04:35 PM
    Warm regards,
    pBerg

Maybe you are looking for

  • Capacitive keys no longer working after windows 10 update

    greetings i updated my Nokia Lumia 520 , from windows 8.1 to windows 10, but the windows ,and the back capacitive buttons are no longer working, however the search button is responding. since these are the main navigation keys, i cnt do anything to u

  • Linking FTP to Balance Score card

    Dear All, We have an application server ( FTP) that we are using for BW Flat File data upload. I want give the link of the file from this application server to Balanced score card measure in Report and link tab. How can I do it ? This is a urgent req

  • Theme 11, live scope for dynamic action not working in IE

    Hello all, I use theme 11, and I have a dynamic action on page 0 that fixes a region width, because it is too long to match the page width. I set the Event Scope to "live" because the region is a report and it has many rows and pagination is needed.

  • Firmware update on N95 8GB

    I have tried updating my software as i heard that the rotation application comes automatically with the update. However after trying to update using PC Suite, it says that Vista isn't currently supported. Anyone know a way around this at all?

  • I do not have a "launch in touch" setting in the file menu, where is it?

    Hello, I just downloaded Firefox 28.0 Beta and I do not have a touch setting option in the file menu. I am using Windows 8.1 on an Acer R7-571. I have the new orange tile on my home screen but it takes me to desktop mode. I cannot see any difference