Inspections running in parallel with VBAI via ActiveX

Hello

I would like to integrate VBAI inspections in our high level LabVIEW application. However, due to the limits of performance, I need to use all 4 cores of the computer processor. I investigated the possibilities of inspections by ActiveX VBAI running. If I understand correctly, at the same time I can have only one target connected and the target can have only one open inspection. This means running parallel inspection is not possible. Am wrong me or is there anyway how to achieve parallelism?

EDIT:

To make it clear, I want to talk to the local target (PC).

Vladimir

Hi Vladimir,.

It turns out that it is indeed expected behavior. The only thing I can recommend is to somehow combine inspections into one (using logic in the State where machine).

Tags: NI Hardware

Similar Questions

  • instruments running in parallel with a slight twist

    Hello, first post here. I am very new to labview (less than 2 weeks) and I'm currently learning C++, so I don't have a ton of experience shows. I work with a research group in a summer internship, and I am currently working on writing the code for a ferromagnetic ressons experimentation. Currently, my code is at a point where everything works fine except for my diet. I use the official drivers, the problem is that these drivers turn great as a standalone since they can operate continuously. When I use the driver in my code it starts to run, and because he technically never ends until I have to turn it off, it keeps the rest of my code to run, which means that I get no data collection.
    How can I use the live feed during execution of the rest of my code for the measures? I need the events you want to synchronize in this order:
    frequency set

    game power (intensity)

    read the voltage

    read x and y values

    read teslameter

    new set of current

    read the voltage

    read x and y values

    read teslameter

    etc.

    Thank you in advance.

    -Kike (keekay)

    If the existing VI has stop code (and should be), it's one of the things that you must change.  Usually in such cases you would only break VI in three parts. The first manages initialization. It will be outside your loop or int that an initialization of the State of a state machine and only runs once. the next section simply defines the power supply output pararmeter (s). It can be called multiple times inside the loop that you pass by the current range. The last part is a stop VI. It defines the output to zero (or other value), disables the output and puts an end to the communication with the power supply.  It will be after the loop or in a State of the state machine downtime.

    Often, it is quite easy to create these three screws because you can simply copy and paste the relevant parts of the original VI.

    Lynn

  • Have Windows 7 running on Parallels Desktop with a Mac. Get "setup.exe is not a valid Win32 application" when trying to download a program with Windows Explorer. I can download from these sites with Vista and XP with other computers.

    Have Windows 7 running on Parallels Desktop with a Mac. Get "setup.exe is not a valid Win32 application" when trying to download a program with Windows Explorer. I can download from these sites with Vista and XP with other computers. Now, I can't download the programs that are supposed to solve the problem! including FoxFire

    Try to download from this site:

  • Running Powershell script with ESXCLI commands via a scheduled task in Windows 2012 does not work.

    I'm trying to run a powershell script of a scheduled task in Windows 2012. The script calls the commands ESXCLI and ends with success (exporting to a CSV file) but the file has no data inside.  If I run the script manually without the scheduled task file has all the I expect to exit.

    I wonder if there is a framework with Powershell or a PSSnapin I need to add to the script for it to run via a scheduled task.  Has anyone done this before with the ESXCLI commands?

    panhvr - you may to something.  The process account that I use to run this script has only read-only access in vCenter.  I logged on the server I am running these reports with the process ID and tried to run the script.  He gave me errors indicating permission to perform the operations of esxcli was denied.

    I think we found the culprit!  I'll have this process ID in vCenter rights upward.

    Thank you all!

  • With the help of DAC for running no BIApps infa jobs n 2 EP running in parallel

    Hello

    We already have configuration BI Apps prod environment using DAC, Informatica and OBIEE 11 g for one of our customers.

    Now, we want to check the possibility of using the DAC for the execution of BIApps no informatica related jobs.
    (That we had only a week of the execution plan of DAC weekend and Informatica and DAC are inactive most of the time during the week)

    Customer wants a separate new small datamart be configured which meet the requirements of statement for different departments and has no links of kinship or any link with existing BI Data Warehouse applications.

    I just wanted to check if it will violate the license terms (if we use CAD to workflows not BI Apps and run another EP)?

    In addition, the DAC Build 10.1.3.4.1 is capable of running two parallel execution plans?

    We have heard long back that two parallel feature EP will be lunched in the version 11g CAD. Pointers or new in this space?

    Thanks in advance,

    From what I remember, you cannot load a 'distinct' DB instance that is NO OLIVIER. If you create a small custom datamart on the INSIDE of the OLIVIER exitsing schema, then it is acceptable. However, if you use DAC (no matter if its plan one or two plans) to load a NON-OBIA target, this may violate the license agreement. You need a self-contained separate license for Informatica and use the planner of Informatica tool. If you want to use DAC, ensure that your target is inside the DW OBIA.

    Pls correct brand...

  • 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


  • Prerequisites for reentrant SubVIs to run in parallel

    Hello!

    In my VI, two clones préallouées of a Subvi, I thought I would go in a separate thread of each. Just this sub - VI contains a reference to a double and it increments. The two clones ran in parallel, but not in separate threads. For comparison, I did a Subvi, which does not have a reference - these clones run each in own thread.

    I noticed this watching the CPU usage: in the first case, has been used as a single core in the second respectively two sons were used.

    (1) I wonder what are the prerequisites for a Subvi to run effectively not only in parallel, but in fact in separate threads?

    (2) is there a way to discover during compilation which (Tufts) parts of a VI run in parallel, and SubVIs get making their own thread of execution?

    For reference: the execution is slow. If I understand correctly, the GUI is running in its own thread, so no interfering only not with the SubVIs that multiply references. I think that there is also no locking a reference readings and writings to a reference should be very fast. Is this correct? If so, why is this slow running?

    Thanks for your replies

    Marco

    (The test computer has a Quad-Core with Hyperthreading, using LabVIEW 2012SP1)

    One thing I know is if you have any manipulation of the UI elements.

    In the case you use a reference to a UI element user and properbly using the property node to insert data.
    This limits LabVIEW for your sub vi of in the UI thread.

    If you have transferred the values on the queue to a vi that manages all the user interface controls, then only that vi will be in the UI thread.

    Who is?

  • Comparison of the data in the new thread in parallel with the hand

    I have a file of main sequence. Overall, I got a call from sequence that initializes an oscilloscope and returns to the hand. Next main action, I have the user turn on power supply and confirm with a popup message. My question is now, I need to create a new thread before action "light food" for the oscilloscope intercepts all overloads and continues to record. So if this is the case, what I'm trying to do is:

    Call sequence Initialize oscilloscope

    Call sequence oscilloscope Fetch

    Message Popup, power supply turns on, confirm with "OK".

    -Now, since the user disabled on food, I need compare all data, even while the user turns on the power and clicks "OK" and after.

    So, I need an oscilloscope running in parallel and by comparing data during execution of the main sequence. Any help would be appreciated.

    The type of call sequence step has an option of a sequence of sub in a new thread.

    Call sequence Initialize oscilloscope

    Sequence oscilloscope Fetch call (call in a new thread and it will acquire signals until it gets a signal to stop to the main following)

    Message Popup, power supply turns on, confirm with "OK".

    Delay if necessary

    Set the signal to stop the thread close.

    I hope this helps.

  • To simultaneously run 2 AGG with webform HBRs planning executed save

    AGGHello,

    My users are planning on the same form Web Budget-> FY16 and forecasts-> FY15 (on the columns so no need to change the POV online form)

    Currently, calc rule execution is sequential first, agg forecasts-> FY15 then Budget-> FY16

    You know something to launch an AGG simultaneously on 2 slices with a HBR or distorting executed planning on recording characteristic of the webform?

    (We tested by running separate 2 Calc Script at the same time and this tweak can enable us to significantly reduce the elapsed time of calc)

    Thank you!

    Hello

    I do not think that HBR, you have an option to create a sequence and have several rules of the sequence run in parallel as you GestionnaireCalc. Another good reason to use the Calc Manager!

    How is the performance if you fix simply on estimates of FY15 FY16. If forecasts-> FY16 have not given it should be almost as fast, especially if you have a parallel computing enabled in your script.

    See you soon

    JM

  • Upgrade to esxi 6 - running in parallel 5.5 versions Enterprise

    Hello together,

    We want to improve our Enterprise 5.5 to 6.0 Enterprise environment more.

    Can we run in parallel business with Enterprise 6.0 5.5 more ESXi hosts.

    or

    We can add the license keys for the company more than 5.5 to existing hosts without any configuration problem, then

    upgrade the esxi hosts to 6.0?

    Thank you

    There is no problem, but I recommend to keep this scenario only during migration.

  • Concurrent program is not running in parallel

    Hello

    There is a simultaneous custom program that must be run in order, sometimes and sometimes it should be able to run in parallel. The program was defined initially to be incompatible with itself and it is used to run only in sequence, as planned, but when the incompatibility with the self has been deleted or disabled can still, he runs in the order but does not run in parallel. What could be the reason?

    As a temporary solution, I tried to remove the simultaneous program and recreate and defined without any inconsistency and it works in parallel. But it won't help the incompatibility could be switched on/off often enough and recreate the simultaneous program every time is not a good idea.

    Thanks in advance.

    Kind regards
    RAM

    There is a simultaneous custom program that must be run in order, sometimes and sometimes it should be able to run in parallel. The program was defined initially to be incompatible with itself and it is used to run only in sequence, as planned, but when the incompatibility with the self has been deleted or disabled can still, he runs in the order but does not run in parallel. What could be the reason?

    The CM has been revived after doing the above?

    As a temporary solution, I tried to remove the simultaneous program and recreate and defined without any inconsistency and it works in parallel. But it won't help the incompatibility could be switched on/off often enough and recreate the simultaneous program every time is not a good idea.

    Whenever you toggle incompatibilities, please make sure that you bounce the CM.

    Establish rules of incompatibility for Custom Reports [107224.1 ID]

    Thank you
    Hussein

  • Running in parallel to the interfaces

    Hello. In the package of the ODI, I can locate my interfaces and join each two of them in two lines: 'ok' (successful) and "ko" (unsuccessful). So I get a sequential execution of these interfaces. How can I make ODI run in parallel?

    To do this, create a scenario for each of the interfaces (right button of the mouse on the interface, generate scenario) and drag the scenario on the package, and not the interface. This will give you a script to execute tool, which you set to execute asynchronously. run each of the interfaces and then use an OdiWaitForChildSession tool to wait for the complketion of the child sessions. If only some of the tasks that you run asynchronously are on the critical path, you can use tags when you start the executions and the tool of waiting. For those who are on the critical path, give a keyword CP. The tool to wait, wait with the key word CP.

  • I can't connect to my surface 3 running windows 10 with my i phone 5 hotspot.

    I can't connect to my surface Tablet 3 running windows 10, with my phone I 5 personal reactive.

    Can you check with other devices if the hotspot works otherwise OK?

    Won't be "passing the ball", but it might be worth your effort to try to get support on this issue on the forums of MS Surface support...

  • You need to pass arguments to the Sub - VI which runs in parallel to the main vi.

    Please help me.

    I can pass arguments to a subvi using "call-by-reference-node" but the sub - vi will not work in parallel.  I can also run my sub - vi in parallel using "invoke the node", but then cannot pass arguments.  I can't understand how to merge these two concepts.

    When I open the reference VI, I specify the strict type, using call-by-reference-node.  When I use call node, I don't specify the type.  It seems that specifying the type strict guard screw run in parallel, but also seems necessary to pass arguments.

    I apologize for my absence of a deeper understanding of this and appreciate any help you can give me.

    Chris

    You must invoke 'Ctrl Val.Set' node.

  • When will come out parallel with a new update to work with Apple OS Mountain Lion

    When will come out parallel with a new update to work with Apple OS Mountain Lion

    Since it is an Apple product, contact Apple.

Maybe you are looking for

  • Apple

    In previous IOS, I could choose my Apple in my TV when using the apple tv from streaming video and mirroring. Unfortunately in the new IOS only mirroring is available. Could you please help me in this issue.

  • Cannot find where the cookies in control 38.0.5

    I am running Firefox 38.0.5 and received a warning from Wordpress I need ed to enable cookies. Unfortunately, all configuration options have changed and I can not find anywhere the cookies and the setting is without a doubt is no longer under the pro

  • Cannot find it referred to as Addon: recommendation for a similar option? "It's an add-on Firefox called Web Canvas (with methodology).?

    Dear support team for the modules: I'm trying to locate this called addon for a canvas of the Web. Location of referral sources: http://www.artistcareertraining.com/storage/ACT-WebBanner2011-1.jpg This is a paragraph of the article:This is an add-on

  • Time Capsule loses connectivity

    I read several threads about people having problems with their wifi and their Time Capsule.  Son as: Problem WiFi fall on Time Capsule However, my problem seems to be just a little different and I was wondering if anyone had any ideas on what is the

  • U8 array used in digital form with 0.1 Hz for each array index

    Hello I am trying to write a code that allows me to output an array of 36'000 U8 values to an NI USB-6009 digital output. The problem starts as soon as I try to set the clock should be 0.1 Hz send me 3600 seconds on my 36 k samples. Looks like it's n