Multiple Instances of task

I use the analog 6343 OR DAQ to create 4 outputs. I created a tiny generic wrapper class to encapsulate a single output channel. The class contains an instance of a

Object NationalInstruments.DAQmx.Task . So, I'll have four instances of the Task class (as opposed to the creation of a single task with four AOChannels object). Is there (performance or other) drawback of this approach?

Output rate 100 Hz. the target, 1 GHz Win 7 Embedded platform.

Thank you.

Hello

There's that one analog output on a timing engine Board series X, this means that you can have a single AO running task in time.

If your four tasks are not supposed to operate concurrently then it would work.

Here is a good link to see what features of the chip of STC 3 which is also used in the X-series cards. (Link is for Gen2 cDAQ, but both use STC 3):

http://digital.NI.com/public.nsf/allkb/5E0B829E50ADE1BC86257AC50062B2D2?OpenDocument

Kind regards

Klas Andersson

AE, NISW

Tags: NI Software

Similar Questions

  • multiple instances of internet explore in my task manager

    Why are there multiple instances of internet explore in my task manager when I open only one page?

    Hello

    IE uses smaller instances of itself to support tabs and correction of errors and it is normal for IE8. In fact
    It uses far fewer resources as well as the opening of 2 or more instances to access several pages. If you
    Open several tabs, and then still more small instances of Internet Explorer will be opened to support these tabs and error correction.

    So basically, everything is normal.

    Multiple Instances of iexplore.exe run when using Internet Explorer 8
    http://www.Winhelponline.com/blog/multiple-instances-of-iexploreexe-run-when-using-Internet-Explorer-8/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Multiple Instances of the Application to access the same DAQ hardware

    I have a relatively simple application that reads from a device of data acquisition (OR-9205 connected to NI WLS-9163) wireless.  I would like to run multiple instances of the executable, but I get the error-201105 (resource reserved) as soon as the DAQmx task starts on the second instance.  Each instance tries to acquire different channels of the same DAQ hardware.  Is this a problem with the data acquisition device, or DAQmx in general?  Thank you.

    -Joe

    Hey Joe,

    Unfortunately, you can only one type of access channel with each program.  For example, you might HAVE a program access and another use AO, but you can't have two programs different AI the same access card.  It is common among all of the DAQ hardware to NEITHER.

  • Explorer 8 opens multiple instances of rundll32.exe when closing

    When I close Explorer 8, rundll32.exe opens multiple instances and memory in the Task Manager go to more than 800,000 for each instance. After running this ram computer and virtually lock up the computer. If I stop the process, everything works normally until I opens and closes Explorer 8. It is repeatable and consistent.

    I use Vista Business, 4 concerts, Dell Latitude D830. Rundll32.exe have searched and found only one instance... located in C:\Windows\System32. I ran several programs of virus and malware and can't find any problems. Register is also good.

    I had similar problems with changing app crash of video files in a folder list to views of large icons.  I sent a problem report and in return had a fix, I unfortunately deleted after it corrected my problem.   I had to go to the command promp
    and in C:\Windows\System32 I had to modify the command that has been something like the pointed out below.

    Fault Module name: Mpeg2Parser.ax
    I think that if you send an error report that you receive a solution.

    It's because of the problem I had.
    Product

    Windows host process (Rundll32)

    Problem

    Stopped working

    Date

    18/06/2009 15:58

    Status

    More information

    Signature of the problem

    Additional information about the problem

    Bucket ID: 376914080

    Problem event name: APPCRASH

    Application name: RunDLL32.exe

    Application version: 6.0.6000.16386

    Application timestamp: 4549b0e1

    Fault Module name: Mpeg2Parser.ax

    Fault Module Version: 1.2.0.79

    Timestamp of Module error: 38e280dd

    Exception code: c0000005

    Exception offset: 00006210

    The system version: 6.0.6001.2.1.0.768.3

    Locale ID: 2057

    Additional information 1: fd00

    More information 2: ea6f5fe8924aaa756324d57f87834160

    Additional information 3: fd00

    Additional information 4: ea6f5fe8924aaa756324d57f87834160

  • Multiple instances of rundll32.exe in Windows 7 Premium using all RAM - no viruses detected by MSE but PC runs slowly

    Processor: AMD Athlon (TM) 9750 Quad-Core 2.40 GHz

    4,00 (3.75 usable) GB RAM

    System: 64 - bit OS with Genuine Microsoft Windows 7 Premium (purchased separately with distributor online PC)

    At startup, there are three instances of rundl32l.exe with no path name Image displayed in the Task Manager.

    The three were separated from the PID of 1624, 1634 and 1644.

    None has an associated user name.

    Used private working memory is listed as 128K, 344K, 520K.

    Commit size is listed as 1, 036 K, 1 864 K and 1 940 K.

    List page 717, 1 731, and 2 044 defects

    Note that the following persons have no associated user name, until I log in as an administrator:

    Csrss.exe, nwsvc.exe, until I log in as an administrator, date at which all are listed as belonging to the user of the system.

    There are two instances of csrss.exe after I login as an administrator to monitor the system.

    Note that as soon as I open MSIE (worm: 9.0.8112.162421 64-bit Edition |) Update: 9.05 (KB2647516) | Encryption level: 256-bit)
    The use of the RAM dropped to 1.04 BG of the GB available total 3.75, jumped but still once 3.14 GB and the balloons of the use of network.

    as soon as I logged as administrator.  There are multiple instances open for svchost.exe attributed to the system, network and Local Service.

    Since I use MacAfee and Microsoft Security Essentials and have found a problem, I wonder if there is a virus that creates multiple

    run32dll.exe and this according to the capacity of detection of these two programs.

    You know, it's more difficult to follow all the news - just to get a response.  I've restored as soon as possible, has got rid of the programs and the remains, then reinstalled MSE and updated, and, Yes, the computer is updated and better now with the improvement of power, video card and without an easy way to trace this information (you know a feature of Windows that would follow easily everything you ask?) - it seems a big eater of real-time , for questionable results.  I thought that Windows 7 Ultimate would have included more administration tools just to log on and view, copy, paste, rather than the back-and-forth necessary to fill out a form that is as unique as it is not shoot all the tools.  I see that much info required users, and where is the forensic tools easy to use a computer owner should have?  Malware authors certainly use them.  The average owner must be at least as good a handle on reports on what's happening, everything down to the core.

    Any tips?

  • Multiple instances do not have parallel job using scripts on Windows Server

    Hi all

    I download after effects template on my site, the user came and download the desired content.

    I'm updating the model using scripts with the content of the user and then video rendering and therefore user get video with his text/images uploaded etc.

    its working perfectly when I update a unique model, but when multiple users come at the same time, then they need multiple instances of sequels

    so I opened multiple instances of after-effects by using "m" with after having shortened the effects

    fdsfsf.PNG

    After looking at the windows Task Manager, there are two instances, but the problem is

    one continuous instance and the other stop, at the end of the trial the second still paused state

    dfdffdf.PNG

    I need 2.3 4 or any case to work in parallel without pause/stop

    I am using windows server 2008 R2 with installed XAMP

    It's a Setup completely unsupported in first place and you will be difficult to find someone who can help you. Probably, you will need to create separate shortcuts / files in batches and run them in separate instance contexts. AE itself always detects running instances and reuse.

    Mylenium

  • Creating multiple instances of a custom taskflow: how?

    I use JDEV 11.1.1.5.0 and we use WebCenter PS4.


    Our previous developer created a calendar countdown / count down timer. When I try to create a copy of it from within Web Center Mashup > task flow page I have a few problems:

    1. If I change the settings of task flow, such as the title or the time format (minutes, hours, or days are the options) - these changes do not appear on the page itself. He always uses the same values as the original task flow that I copied from.

    2. I've noticed that in the Page Fragment and the definition of the taskFlowId Page points to "/ WEB-INF/ScheduleWidget #ScheduleWidget. Id = "' is the same for each completed copy of the original workflow."


    What I would do, is to have the ability to create multiple instances of this workflow even at the breast of a single space, but right now they are the only things that stop to occur.

    Hello

    JavaScript does not have workflows and so is not isolate the invocations to son. Bottom line is that your use of JS must be improved.

    Actually what you are calling a single JavaScript function, which will exist only as a single instance on the page. What you need to do is rather than for each call JS workflow, you must create a separate JS object that is then used with this workflow. Ultimately you would have as many instances created JS object as task on one page (at the moment you don't have that, and instead, you use a single variable). As I see it, what you have to do is

    -for starting workflows, call JS in Java (or a region controller)
    1. create a new object ' cdtime ($(this) new.attr("id"), ' ${pageFlowScope.counterDate} ");
    2. register the object in a variable of page with a key identifying the workflow as it is used with/for the
    -Workflow then use you the client listener to access the timer for this workflow. For example, you can pass an argument to the JS function so that he knows which instance of timer for your registry level JS page object (probably a map)

    Frank

    Published by: Frank Nimphius, February 23, 2012 10:33

  • How can I hide/show toolbar again operate independently on multiple instances of firefox?

    I run two instances of firefox.exe. One for the left monitor and one for the right. There is a toolbar that I want to see on the right screen, but I don't want to see it on the left screen. This used never to be a problem, but it is now. It seems as if well now why show/hide toolbars are inextricably linked, and by changing or watching a toolbar on a single instance simultaneously causes the exact change even on the other open instance. I'm hoping that it could be a simple solution to this effect in the subject: config, however, I would rather not tamper with these settings until I'm sure that settings with the fix for this particular problem.

    Thank you for your attention and for taking the time to read this post.

    Sincerely;
    DC

    Toolbar settings are common to all windows open in this instance of Firefox.
    I don't know if there is an extension that allows to fix this dependent window, so you can check the website of modules.
    If you can't find one then you would use a second instance with its own profile.

    You can add - no.-distance to the command line to open another instance of Firefox with its own profile and run multiple instances of Firefox at the same time.

  • Question about multiple instances of Thunderbird running at the same time

    I read that when you start Thunderbird by clicking on its icon or the shortcut must only load once, even if you click on it several times. It should be just a window of TB. If I click on the shortcut/TB desktop icon, it behaves like that. I can click several times and that a single TB window will open and be active.

    However, if I run the 'quick launch' TB on my windows 8.1 (or no matter what windows) taskbar, I get mulitple TB windows to open, as much as I want. So if I click on TB icon in the quick launch once, I get a single instance of it. Twice, I get two, and etc. In the quick launch any program behaves like that. He starts programs with a single click and launch again and again.

    Only, I click it once and get an instance which is good and how it should be. But this behavior with the quick launch is ok? It must do this not with Thunderbird? Thank you.

    There is usually no advantage by running multiple instances of Thunderbird, unless specifically do you these race with different profiles. In practice, if they are allowed to use the same profile, the first Thunderbird should should acquire the profile and therefore block the others, although this may not become apparent until you try to salvage something, for example, a message, or to change certain settings.

    Your multiple Thunderbird work successfully? They all show the same mixture of accounts, folders and address books? Can all or part of them save and make changes?

    If this is the expected behavior, (i.e. some "typical" windows) I do not like; He does not play well with profile blocking and I think that lead to problems.

  • Firefox does not work for multiple instances of the SAME user account on Windows Multipoint Server 2011

    We have a PC HP of MulitSeat MS6200
    It runs Microsoft Windows MultiPoint Server 2011 (which seems to be a twisted version of Windows 7)
    It is implemented in a laboratory of computer science and students connect you using their account for shared room - IE multiple instances of the same user accounts are currently running on the PC at the same time.
    The first student to run Firefox can work with it without a problem.
    However, when another student try to start firefox they get the following message:
    Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Cannot start Firefox using a profile that is already used by someone else.
    Each Firefox instance needs its own profile or you will get this error message.

    Use-no.-line switch remote control to open another instance of Firefox with its own profile and to different instances of Firefox running concurrently.

  • running multiple instances of VBAI does not work

    Hello everyone,

    We are 4 common examples of VBAI at the same time. Recently, he had to copy it (because production is doubly).

    With our first system, we have no problems when you try to run multiple instances of VBAI. This time, however, it does not.

    Our system:

    • 4 cams: Allied Manta 201

    • camera is triggered (rising edge) separately, but almost simultaneously.

    • Four port NIC (with the right driver :-))

    • 4 ports and our on-noard port are bridged.

    • computer: intel I5 (4 cores)

    • License to run Vision Builder 2012.

    • Programmed with Vision Builder HAVE 2012.

    • Interface programmed in c# (receives images of the relevant info 4 programs and displays on the screen).

    Action taken:

    • Test with our program that opens 4 instances of VBAI. Result: 1 single instance opens.

    • Removed our bridge a connected our cams on a switch. Result: 1 single instance opens.

    • Open VBAI 4 VBAI-programs directly (but separately). Result: Each program opens and is fully working.

    • Open 2 programs at the same time (with VBAI). Result: Fist opens and is equipped with the work. At the opening of the second program, that we get error messages saying that it is not possible to connect with our camera.

    • The test above was created with:

      1. The cam connected to our network card 4 ports.

      2. The cam connected through a switch.

    • I have also written 4 simple programs (just enter a period followed by image)

    • With these programs, I tried the above test (VBAI 2 hours and run both programs at the same time). Same problem: 1programs starts, the error messages when opening a second program.

    I have the impression that it's a network problem, but what bothers me is that, when the bridge, I don't see a difference with our another computer that works on our original assemblyline. When you work on a referral that our parameters are the same as on a computer that does not have a network card 4 ports. The computer (and liked)) allows us to run multiple instances.

    Any thoughts?

    Any help would be greatly appreciated. I'm sure I'm missing something obvious here, but I don't really see.

    If you need more information about something, let me know.

    With sincere friendships.
    Tom Declercq


  • Multiple instances of VBAI

    I know that we can now acquire multiple cameras in VBAI (thanks!).  However, in my view, what to do so leads to very complex control sequences.  It doesn't look like VBAI has fully embraced parallelism for anything other than the FTP transfer.  What should I do if I have 5 cameras GigE each needs to be raised, and where it is possible that two can be triggered at the same time?  Can I run multiple instances of VBAI on a single PC (hey, it's multi-core)?  I predict that the current response is to use LabVIEW, but VBAI is especially LabVIEW... right?

    I want to retain only the simple, single camera, inspections on the PC.  Running multiple instances of VBAI would allow me to devote an instance for each camera without worrying about what's happening on TSF the other 4 (or more).

    No, I have not tried to do it again.  Currently, I am out of town and away from my vision laboratory.  I thought that if this is possible, it is worth mentioning to the public and if it is not, then, it is worth noting in R & D.  The system I'm imagining would be a future version of a system, we finished just where we had 4 NI Smart Cameras and a GigE camera.  The question is on what to do if all 5 GigE cameras.  Don't worry, we still love the SmartCams!

    On a sequence of validation.

    Dan press

    PrimeTest Automation

    Hey Dan,

    Good question! VBAI supports the acquisition of several cameras, even if they are triggered at the same time. We have a flag in the acquisition stage that allows to specify if you want to wait as the following picture or purchase immediately. Thus, in the case simple two cameras triggered at the same time, you will have an initial state who tried to acquire the camera 1 and if there was a timeout he loop back and try again using the wait for the flag of the next Image. When an image is acquired, you know that the other camera was triggered, so you transisition to another State who acquires the camera 2 with an immediate flag, since we know that the image is already there. You can use the image select to switch between the two images, so it is possible, but not necessarily the cleanest. Even if you had two VBAIs simultaneously, synchronizing is not trivial to make sure you weren't inspect imageN camera1 and imageN + 1 on camera2, but perhaps this would not be the cause of your system. In any case, we don't currently support multiple inspections VBAI operating simultaneously on a system, but it is certainly a feature that we know.

    Thanks for your series of validation,

    Brad

  • get all the screws in memory on multiple instances of application LabVIEW

    I try to get references to all of the screws in memory on multiple instances of LabVIEW application. Specifically, I'm trying to get the VI Refs screw (and their subVIs in memory) in another Explorer of projects at design time. (The other screws do not work.) For example, if you are only interested in VIs in the current instance of App (read the Project Explorer), you can use the following code:

    However, if you have multiple projects open, how can you get the references VI to the screw in the other project? It seems to me that it would be an another App Ref, but I guess I don't know how to get this reference. I'm assuming that if I could get this reference, I could use it in the same way as above for the list of App.AllVIs.

    Any help/clues would be appreciated. Thank you.

    I just tried the code below.  It runs in a single project; I have also open a second project with more than 300 screws and it opens a reference to each one without any error.  Are you the application instance reference wiring open Reference VI?

  • Update loop under Vi of hand / run multiple Instances

    Hey everybody,

    If I want to keep my code as modular as possible so that I can see any sub or VI.

    One of the SUB vi is permanently offices incase another output is detected. I don't want to make this mark on the main level because I don't want a huge loop in my main.vi and you won't worry about sending shift register valuse to my Subvi for him to function.

    Essentially, I have designed this subroutine Vi and am now trying to constantly be driven from a main.vi

    This hand is simply.

    Cluster of entry--> Sub VI

    Void VI retains a loop waiting for a change request action. Unfortuantely when I change the vale in main.vi the avlues in Subvi don't update. I guess that makes sense, in C, for example when you call Returns you need to wait until the end of the function call to update. Yet, as Labview is so strongly focused on taking SUB vi to do almost everything for you, I can't imagine labview is not able to update these values. I looked around and the answer seems to be global variables. I really don't want to use the because my application will become very big, but I'll use them if I need to.

    Unforunately, when I tried to use my global variable thing, it didn't work.

    1. global Var = Cluster

    2. it's in the Subvi both the main VI.

    3. when I run my code the global variable is not up-to-date on both front sides when I change one of them. I'm doing something wrong?

    A few comments.

    • You have not included the global variable
    • If you want to run multiple instances of the Subvi in parallel, it must be reentrant.
    • As the Subvi is interactive, it must be configured to display the front panel when it is called, otherwise there is no way to stop it ever.
    • All your time loops needed little expects. They have no need to turn as fast as the CPU allows, all other processes of hunger.
    • "Go to under control" is extremely complex and crawling with weird stuff like an ant farm.
      • The shift register must be initialized to avoid surprises (but you probably don't have it all)
      • Your loop runs one time too many.
      • Avoid the stress points, such as the structure of the case.
      • You can replace this whole thing with for example a table of threshold, no need to loop. (see image below).

    Good luck!

  • How can I play multiple instances of video to classic media player in Windows xp help, that I could do so some time! It has to do with the codec? If yes what codec plays multiple instances?

    How can I play multiple instances of video (no problem reading of 12 movies at the same time, at the opening of the 13th film the problem only starts), the classic use of media player in windows XP? I was able to do all the time! It has to do with the codec?
    If yes what codec plays multiple instances of Media Player Classic in windows XP?
    I get the same problem with VLC all that needs to be checked on preferences is checked in the two VLC & MPC!

    Hello

    Multiple instances of Media Player is not supported in version 7 and greater.

    · What version of Windows Media Player you have installed?

    · Are instances that you are referring to the bodies shipped?

    · You use any third-party software to run multiple instances?

Maybe you are looking for