Slow assisatnt DAQ with events

I have a question on the DAQ assistant. I'm currently programming an application automation at least 8 simultenously FOR loops and I use 3 different converters AD / DA. My problem is that when I'm working with the DAQ assistant nor (NI USB 6229) in this program and I communicate between the loops using son of the event (structure), the loop where are elements of DAQ assistant really slowing down. I mean I cycle every 3 seconds, this one is really kill me because everything else is really fast enough and only this one is slow (other two converters AD / DA are ok, they are not OR). Have you any idea where can be a problem and what to do to speed up my request?

Sounds like a race condition, your local variables read an old value, which causes a loop to stop that you start the program. If you use local variables to stop several loops, it is very important to ensure that they are properly initialized at the beginning of the program.

/Y

Tags: NI Software

Similar Questions

  • NEITHER USB-6501-24-line digital i/o (OR-DAQ) with LabWindows/CVI 7.0?

    Hello

    Can I use a recent NI USB-6501-24-line e/s digital (OR-DAQ) with LabWindows/CVI 7.0, although Labwindows/CVI 8.x is required?

    Thank you

    Dayne

    Hello.

    In DAQmx Readme, you can see which version of the CVI are supported by the version of current DAQmx. For a map of 6501, 8.7.2 or DAQmx 8.9.5 versions work.

    Concerning

  • Cannot install McAfee on Windows XP. Errors with "Event Viewer".

    Hello, I am writing on behalf of a client.

    The customer has been in touch with the people of McAfee support for four days and they are still not able to install the antivirus program due to errors with Event Viewer. The people of McAfee asked the customer to reach the MS Support since then, as they say is a Windows problem.

    The event viewer contains errors in the Service Control Manager,

    DCOM, NetDDE.

    That's my problem, put support in for me.  Some fo include errors in the event viewer:

    DCOM got error "the service did not to start or control request in a timely fashion." try to start WSearch service with arguments "" to start the server:

    {7D096C5F-AC08-4F1F-BEB7-5C22C517CE39}

    Details
    Product: Windows operating system
    ID: 7000
    Source: Service Control Manager
    Version: 5.2
    Symbolic name: EVENT_SERVICE_START_FAILED
    Message: The %1 service failed to start due to the following error:
    %2
       
    Explanation

    (SCM, Service Control Manager) could not start the service specified, probably because the service is not configured correctly.

       
    User action

    Do one or all of the following conditions:

    • Check the error information displayed in the message.
    • Check that the service password has not expired.
    • Verify that the service is in the right place.
    • Check that the service is not infected with a virus.
    • To view the WIN32_EXIT_CODE as SCM error when you try to start the program, at the command prompt, type
      application of SC name of the service
      The displayed information can help you troubleshoot the possible causes of the error.

      If the WIN32_EXIT_CODE is zero, SCM did not attempt to start the service because the error was detected first.

       
       
    Version: 5.0
    Symbolic name: EVENT_SERVICE_START_FAILED
    Message: The %1 service failed to start due to the following error:
    2%.
       
    Explanation

    (SCM, Service Control Manager) could not start the service specified, probably because the service is not configured correctly.

       
    User action

    Do one or all of the following conditions:

    • Check the error information displayed in the message.
    • Check that the service password has not expired.
    • Verify that the service is in the right place.
    • Check that the service is not infected with a virus.
    • To view the WIN32_EXIT_CODE as SCM error when you try to start the program, at the command prompt, type

    application of SC name of the service
    The displayed information can help you troubleshoot the possible causes of the error.

    If the WIN32_EXIT_CODE is zero, SCM did not attempt to start the service because the error was detected first.

    There is currently no article for this specific error Microsoft Knowledge Base or an event message. For more information on other technical support options, you can use to find answers online, see http://support.microsoft.com/default.aspx.

    ++++++++++++++++++

    Details
    Product: Windows operating system
    ID: 206
    Source: NetDDE
    Version: 5.0
    Component: System event log
    Message: Listen failed: %1
       
    Explanation

    The computer expected data from another computer, but not the not received. The other computer does not send, or the thread on this computer that listens to the data has encountered an error.

    There is currently no article for this specific error Microsoft Knowledge Base or an event message. For more information on other technical support options, you can use to find answers online, see http://support.microsoft.com/default.aspx.
  • Win 7 slow start - connection with fingerprint reader

    Hello

    I have a T400s (2.4 GHz and 4 GB) with an Intel SSD and WIn 7 RTM with the last drivers beta of Lenovo.

    I have the fingerprint reader enabled for the connection and my startup time of 35 seconds is now shared almost half in the connection of fingerprints and the other half in the rest of the startup procedure.

    Or (the finger) described another way if the machine is turned off and I slide my finger to start the machine, it takes about 17 seconds before the fast logon is indicated.

    Then the machine says 'pending' for 15-20 seconds during which my personal connection icon is flashing by until it ends the connection and almost immediately displays the desktop.

    I am surprised by the very slow connection with my finger already slipped. It would be much faster to turn off fingerprint reader and connect using a password. Someone had this problem and knows how to fix?

    Other problems with the boot, I found (and fixed) is the use of a solid as the Windows background color which, for some reason, costs about 15 seconds at boot time! I also had to reflash the firmware of my SSD to win 10 extra seconds at the beginning of the startup procedure.

    Carpet

    Hello again,

    Sometimes I had to wait several seconds after sliding my finger, to the process of connection of kick. I checked the event viewer on my thinkpad T400 and found the security processes that are at work when loggin. I have excluded them from protection against viruses (Microsoft Security Essentials) and restarted the computer. When the logon screen appeared, I spent my finger and boom, the connection process began immediately.

    Excluded processes are:

    C:\Windows\System32\LogonUI.exe

    C:\Windows\System32\winlogon.exe

    JES

  • Communication problem 6210 hardware DAQ with DAQmx 9.2.3 (Err 88302)

    I would use NEITHER-USB-6210 with DIAdem 11.1 under Win 7 Home Premium. DAQmx software and supplied drivers are version 8.6, but does not support this DIAdem 11.1 (DAC-NOR-DAQ interface did not show any existing signal). So I decided to update software DAQmx on latest version 9.2.3 which should solve this problem. After installation, all previous configuration items, MAX moved well and DIAdem DAC block indicated all signals with success but start of acquisition and measurement is impossible since. After firmwareloader establishes the material connection seems to be running, but any attempt to transfer data or start any function Max raises failurie event-88302 "an internal error has occurred." Anyone help me please?

    Dear Mr. Varga,

    After that the PC was clean from previous installed everywhere DAQ and new installation repeated once more, problem has been resolved and now the system is fully capable to work with DIAdem, as well as with the Net. request.

    Kind regards

    Milos Riha

  • Management events JFXPanel drag a expensive impact on performance with event handlers

    We have a drag event handler, which is a bit expensive, takes something like 20 ms. However, the code must be run synchronously.

    Is no problem in a pure environment of JavaFX, less events drag are created when the CPU load is high.

    However, when they are incorporated in the Swing using JFXPanel, this adaptation doesn't kick in, many events drag is created and the application become slow.

    Is it possible to imitate what JavaFX in the JFXPanel scenario?

    The code below is a stand-alone example that shows what I'm describing.

    Some results I got:

    -eventHandlerSleep = 5 - noswing-128 events > drag

    -eventHandlerSleep = 30 - noswing - > 46 events drag

    -eventHandlerSleep = 5-> 136 events drag

    -eventHandlerSleep = 30-> 135 events drag

    {code} import java.util.Arrays;

    Javax.swing import. *;

    import com.sun.glass.ui.Robot;

    Import javafx.application.Application;

    Import javafx.application.Platform;

    Import javafx.embed.swing.JFXPanel;

    Import javafx.event.EventHandler;

    Import javafx.scene.Scene;

    Import javafx.scene.input.MouseEvent;

    Import javafx.scene.layout.BorderPane;

    Import javafx.stage.Stage;

    public class DragHandlingTester {}

    private static long EVENT_HANDLER_SLEEP = 30;

    Public Shared Sub main (String [] args) {}

    for (String arg: args) {}

    If (arg.startsWith("-eventHandlerSleep=")) {}

    EVENT_HANDLER_SLEEP = Long.parseLong (arg.split ("=") [1]);

    }

    }

    If (Arrays.asList (args).contains("-noswing")) {}

    Application.Launch (JavaFXDragHandlingTestApp.class, args);

    } else {}

    new SwingDragHandlingTestApp();

    }

    }

    public static class SwingDragHandlingTestApp {}

    {SwingDragHandlingTestApp()}

    JFrame frame = new JFrame();

    final JFXPanel fxMainPanel = new JFXPanel();

    Platform.runLater (new Runnable() {}

    @Override

    public void run() {}

    DragTestScene dragTestScene = new DragTestScene();

    fxMainPanel.setScene (dragTestScene.createScene ());

    }

    });

    frame.setDefaultCloseOperation (WindowConstants.DISPOSE_ON_CLOSE);

    frame.getContentPane () .add (fxMainPanel);

    frame.setSize (800, 600);

    frame.setVisible (true);

    }

    }

    NotInheritable public class JavaFXDragHandlingTestApp extends Application {}

    @Override

    {} public void start (point primaryStage)

    primaryStage.setWidth (800);

    primaryStage.setHeight (600);

    primaryStage.setX (0.0);

    primaryStage.setY (0.0);

    DragTestScene dragTestScene = new DragTestScene();

    primaryStage.setScene (dragTestScene.createScene ());

    primaryStage.show ();

    }

    }

    public static class DragTestScene {}

    private int Queens = 0;

    public createScene() {} Scene

    New Thread (new Runnable() {}

    @Override

    public void run() {}

    try {}

    After 1 second, drag the mouse through the window

    Thread.Sleep (1000);

    Robot robot = com.sun.glass.ui.Application.GetApplication () .createRobot ();

    robot.mouseMove (50, 50);

    robot.mousePress (1);

    for (int i = 20 & lt; 700; I = i + 5) {}

    robot.mouseMove (i, 50);

    Thread.Sleep (10);

    }

    robot.mouseRelease (1);

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    }

    ({. start()});

    BorderPane borderPane = new BorderPane();

    borderPane.setOnMouseDragged (new EventHandler() {}

    @Override

    public void handle (MouseEvent mouseEvent) {}

    Drag Queens ++;

    try {}

    Thread.Sleep (EVENT_HANDLER_SLEEP);

    } catch (InterruptedException ignored) {}

    }

    System.out.println ("number of events slide:" + drag);

    }

    });

    new back stage (borderPane);

    }

    }

    }

    {code}

    Yes, it is a known problem or expected, even if I don't remember the JavaFX bugs filed on this issue. JFXPanel is known to have some different problems with the sending of the event, such as Swing and live JavaFX on two threads. Drag-and - drop are required to be synchronous, so we enter a nested event loop while sending events to the Swing DND to JavaFX. It is the source of performance issues that you observe.

  • Password problems and the slowness of IMAP with BTYahoo

    After changing POP IMAP, I experience slow responses (including Thunderbird does not) and repeated messages to change my password. My work around is to remove all the password stored in Thunderbird, close and re - open Thunderbird, enter my existing password and get Thunderbird to save him. Also, I have to enter my password when sending emails. After this Thunderbird works well (but very slow to get new emails) for a few days. Then I get a message that my password is not accepted and to enter a new password - which none are accepted. My impression is that this message occurs when Thunderbird updates draft records, sent or deleted from the server. Encryption with the server synchronization problem?
    When things work, on the opening of Thunderbird the new e-mail list is displayed but cannot be opened for some time. During this wait, Thunderbird does not not msg occurs if I try another action such as moving a slider to see an old email.
    Any suggestions on how to solve my problems?
    Tony Carmona

    TonyCaporn said

    After changing POP IMAP, I experience slow responses (including Thunderbird does not) and repeated messages to change my password. My work around is to remove all the password stored in Thunderbird, close and re - open Thunderbird, enter my existing password and get Thunderbird to save him. Also, I have to enter my password when sending emails. After this Thunderbird works well (but very slow to get new emails) for a few days. Then I get a message that my password is not accepted and to enter a new password - which none are accepted. My impression is that this message occurs when Thunderbird updates draft records, sent or deleted from the server. Encryption with the server synchronization problem?
    When things work, on the opening of Thunderbird the new e-mail list is displayed but cannot be opened for some time. During this wait, Thunderbird does not not msg occurs if I try another action such as moving a slider to see an old email.
    Any suggestions on how to solve my problems?
    Tony Carmona

    It turns out that my problem was due to an interaction of the Thunderbird and McAfee antivirus. That has been fixed to be scanned and attached to an incoming mail causing Thunderbird does not Msg. Power analysis of attachment of the fixed e-mail off my problem
    Tony Carmona

  • Satellite A200-1TW - slow performance even with a SSD HARD drive

    I replaced the HARD drive of 160 GB for a Seagate Momentus XT 500 GB and even a Samsun 830 256 GB SSD, but my HARD drive performance is very slow.

    How can I increase the performance of my HARD drive?

    I have 4 GB of RAM and I am using Windows 7 Home.

    What do you mean exactly by the slow HARD drive performance.

    As far as I know the laptop supports a SATA I (1.5 Gbit/s / 150 MB/s) the HARD disk controller.
    Even if you would upgrade the laptop with a SSD drive that supports 3 Gbps, the controller could slow performance.

  • Extremely slow printing wireless with HP Photosmart Premium C309g-m

    I see extremely slow print speeds when printing from a Mac or a Windows XP system on a new printer HP Photosmart Premium C309g-m wireless. The printer starts printing immediately when I request a print, but it only prints one line. It will take about 15 minutes then to print the rest of the page, each print after a very long break line. Print demo page doesn't exhibit this problem, only documents of programs such as Word 2008, Safari, and Firefox (I tried firefox on PC and Mac) are affected.

    If I connect to the printer via a USB connection it prints very well, so this problem seems to be the only wireless printing.

    Printer: HP Photosmart Premium C309g-m
    Computer: Mac mini (late 2009 model) (also tried a Windows XP laptop, by comparison using the latest drivers from the HP website)
    OS: Mac OS X 10.6.2 with all available updates installed
    Method of connection: cable Ethernet connection to the router wireless
    Printer drivers: version 2.2.1 (Apple provided, drivers HP never installed as system comes with 10.6)
    Wireless router: Apple TimeCapsule (early 2009) 1 TB, honing a/d and modes of b/g on 2.4 and 5 GHz. TimeCapsule is in transition as the DSL modem handles DHCP service mode
    Encryption: WPA2 Personal, no MAC filtering or hide the SSID.

    IP addressing scheme: all addresses are distributed by the server DHCP without reservation of any kind

    The TimeCapsule is sitting three inches from the printer and the printer indicates the complete signal. Connecting the printer to the wireless network and setup of the printer on the Mac went off without a hitch. Only when you print a test document discover us the problem. The wireless network will behave as expected when you access Internet from Mac and Windows devices (tested with a laptop computer Dell XP and a MacBook with OS X 10.6.2), so I don't see any problem with the wireless network together.

    Attempt to use:
    1 reboot and power off, wait, restart the computer
    2 reset the print subsystem, the printer off and on again and reinstall the printer

    3. disconnect the power to the printer and let it sit for several minutes before trying to print wireless.

    None of them worked.

    I don't know exactly what is happening... I'll have to think about.

    Looks like you're running with the current configuration.

    Can we call this resolved?

  • Blue screen with event report guid ABCE23E7-DE45-4366-8631-84FA6C525952

    Hello world

    first of all sorry for my English!

    For a month, I have a few questions, but this time, it happens more often.
    I have a BSOD (blue screen of death) and I checked in the collection of events and I saw different interesting events

    System

    -Supplier

    [Name] Microsoft-Windows-WER-SystemErrorReporting
    [Guid] {ABCE23E7-DE45-4366-8631-84FA6C525952}
    [EventSourceName] Error checking

    -EventID 1001

    [Qualification] 16384

    Version 0

    Level 4

    Task 0

    Opcode 0

    Keywords 0 x 80000000000000

    -TimeCreated

    [SystemTime] 2009-12 - 13 T 10: 39:41.000Z

    EventRecordID 95204

    Correlation

    -Execution

    [ProcessID] 0
    [ThreadID] 0

    Channel system

    Computer LAMOJETTE

    Security

    -EventData

    param1 0x0000008e (0xc0000005, 0 x 00000000, 0 x 00000000, 0xaccb4a9c)
    param2 C:\Windows\MEMORY. DMP

    I tried to look for solutions on google, but there are a lot of different problems. So can you help me on this please?

    Hello

    In most cases it of difficult to say what it might be
    The BSOD may appear due to hardware or software problem.
    In many cases that the BSOD can occurs because of memory problems

    I recommend the RAM modules.
    There are many free memory diagnostic programs that could help you check the memory.
    If possible, try to replace the RAM with new modules

  • Slow start upward with the Satellite P300 - 18 M (PSPCCE)

    This question has already partly been requested, however, I would like to ask everyone this question specifically:

    -What someone knows a slow start at the top with the P300 - 18 M?

    Please, even if your computer starts correctly, I would appreciate a response, so I can see if it's a problem with all of these machines, or if there is a problem with mine.

    By starting slowly, I mean that:

    After the vista screen "Loading" and "Orb" appear:

    http://vistasupport.MVPs.org/images/install_vista/Vista%202%20copy.jpg

    http://www.WindowsReinstall.com/WinVista/images/Image57.gif

    I get the screen below, for 2 minutes:

    http://farm4.static.Flickr.com/3033/2853070854_91b4b7dcfa_b.jpg

    I tried to disable ALL startup at startup (using MSCONFIG)

    Pourraient people please share their experiences with the P300 - 18M

    Thank you, Jack

    Hello

    Check it please my ad - http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=134947

    Good bye

  • very slow 5 GHz with router R7000

    Hello

    I use the R7000 router at my house for some time. Since the beginning of the speed on the 5 GHz band has been very slow. First I thougt it might be a problem with my Iphone, but now I see that Iphone, Ipad and my laptop have severe speed restrictions when you use the 5 g network. With the 2.4, I get download aof 8Mbit, with 5 g speeds no thant more than 1 Mhz.

    Any suggestions? I always used the current firmware, but sees no difference. There is not other 5 GHz networks in the House (I've already checked).

    Thank you

    Christine

    Others have had problems with channels 5 GHz with the version of the firmware you have, they seem to have luck in fact revert to the previous version, 1.0.4.28. You can get it here downloadcenter.netgear.com/en/product/R7000

    A beta firmware is available, you can find the info here https://community.netgear.com/t5/Nighthawk-WiFi-Routers/R7000-firmware-v1-0-5-44-limited-release/m-p...

  • Can I synchronize list XCP DAQ with my analog input data data?

    Hi all

    "I use ' ECU M & C" for measurement of a computer data using the XCP DAQ list. "The data is read at the sampling frequency I put in ' MC DAQ initialize.vi. This works well.

    I want to associate this data with my DAQmx device measures. Is it possible to synchronize the clocks of the sample (by RTSI?) in the same way, it would be with DAQmx CAN synchronize data?

    Material: NO PCI-CAN/2 & OR PCI-6229.

    Thanks for any input.

    PJ

    Hi PJ,.

    Well, I think I understand now, I don't know why I DINA see this before. It is not possbile to do this with the ECU Measurement and Calibration Toolkit, sort of XCP DAQ, is not something that you are able to do.

    Best regards

  • Remiain data in buffer with event VISA

    Hello

    I'm trying to use the VISA event to read data from a serial port. I created a simple VI to test this (see attachment).

    1. I initialize the port and the event

    2. in a while loop: whenever I press a button 'help' of the order is sent to my Board of directors who responds with some help instructions, which should be to trigger a series of events and lines to be read.

    The event is on the characters of the term. The strange thing is that whenever I press the help, I get 'event 5' or 5 printed lines, not all 8 lines that are actually sent by the Board of Directors. If I then press 'help' once again, the 3 remaining lines (2 news since the last aid application) are read on the VI. I don't understand what is happening?

    I tried to change the length of the max queue (which has no effect, if it is set to 1 or 100).

    I tried to change the timeout of 50ms, but also it has no effect.

    I don't know that the Board of Directors came out the right commands, I read this in a terminal.

    If I jump the functionality of the event (just read the bytes to port), I can get out all the lines as expected, however I had other problems with this approach and would really like to fix this with an approach to the event. Also, I would like to understand what is happening... I would be grateful for the advice!

    Best,

    Maria

    Do NOT use the bytes to the Port for this.  Just set the number of bytes to read if something really high.  The VISA of reading stops when the stop character is located.

    In addition, I'm actually just make a separate loop that does nothing but read from the port.  No VISA necessary event.  Let just wait times occur on playback VISA if nothing comes.

  • Slow right click with after Windows update

    Hi all, I have an annoying problem. He has been doing progressively worse in recent weeks. Since the update to Windows 8.1, I had little other than problems. She added a few features useful, but other than that made things worse in general.

    Initially, the problem was barely perceptible at all. I give you right click on a media file and sometimes, perhaps a second longer than usual to bring up the contextual menu. During the last two weeks, he has me longer and longer. Initially, it was mainly only when the right on a multimedia file. I noticed a big change when I tried to rename songs and movies last weekend. When it took 5 seconds to bring up the menu. Since yesterday, who went up to 8 seconds and I also started seeing it when right-clicking on any files, applications or games. Anything really. Another weird thing, every now and then after I right click, he would wait for 8 seconds, the screen would be off almost as if it refreshes and nothing would happen. Sometimes he would even move icons return to their 'default' places before moved me to them. That is an another annoyance. This has NEVER happened before I updated to 8.1.

    I have the HP Eny 15-j063ei

    8.1 Windows 64-bit

    8 GB RAM

    1 TB HARD DRIVE

    17 - basic 4700MQ 2.4 GHz

    740M 2 GB GeForce

    I've seen a few people mention when Googling for options, but before I tried something important, that I just wanted to know here if anyone has it or knows how to solve this problem. Brief cool down the laptop everything and starting from scratch.

    Hi Gan_Javi,

    I understand that you have a problem with a slow right click on your HP Eny 15-j063ei. I'll try my best to help you with this problem.

    Here is a document for troubleshoot slow right click context Menu in Windows 7/8 (the steps will be the same for 8.1), which deal with the problems you are having.

    I hope this information can help, please let me know how it goes or if you need further assistance.

    Take care and have a nice day!

Maybe you are looking for

  • TdmsProperty throws InvalidOperationException

    Hey all,. I have the following line of code that throws an InvalidOperationException TdmsProperty SampFreq =new TdmsProperty (m_SampleFreq, TdmsPropertyDataType.Double, temp [2]); I checked that I call the manufacturer correctly and match it with the

  • My scanner on the MF4370dn does not work with Windows 8 or 8.1.

    I have a Canon MF4370dn which the scanner part has not worked since I was a computer with 8 windows and will not work at all since I downloaded windows 8.1 right. I rebooted tools scanner, tried the Presto! PageManager supplied with the oomputer. I d

  • Create backup password

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! I want to create a password backup disk.  When I get to "insert disc" my laptop will not recognize the DVD player to allow me to continue.  I ha

  • When I try to save my movie to a DVD, MovieMaker closes unexpectedly

    My movie plays well in Movie Maker, until I try to record a DVD.  About a third of the way through Movie Maker closes, puts a yellow exclamation mark on some of the video files and says Movie Maker does not format or the files are corrupted.  These a

  • Configure downloadable ACLs

    Hi all I have configure 802. 1 x with ACL downloadable on IOS version 12.2 (52) SE and 12.2 (55) SE4, I found that there is a different behavior. On 12.2 (52), I need to create a default ACL and apply to the ACL on the interface. On 12.2 (55) SE4, th