CGRA Clones run in series - sometimes

Well, I am observing something that makes no sense, and maybe someone has seen this before. I hope I just missed something trivial.

  • I have a preallouee clone reserve screws
  • I use the call and collect, method
  • I use 0 x 100 and 0x40 for the flag "options".
  • I have my clone live defined as shared clones.
  • I'm reusing the only VI ref so no queue a request to the loop of the root. (Except the first).

We run IO traces to solve a problem without a report, and we save messages to trace IO at the start of each clone, and when each clone ends the execution. (Kind of a sanitized version of the DETT)

In an hours-long term, I see the clones run in series in the IO route. You will run out and the next will be run in and out, as if they run just a loop for. There are no reentrant dependencies inside each clone of VI, but in the past, I've seen the clone screw executed asynchronously as expected.

Why these VI clones would be run in series sometimes? Has anyone another considering that happen?

I have used this method many times and never seen this behavior.

On LabVIEW 2012, (we will upgrade later, but this isn't an option now)

Thank you

Jim

Well, it's weird.

We ran the code on the stand this morning and everything is asynchronous. The only thing I changed was this:

Before:

Before, each clone I asking the clone name, simply to score when the clone has done things in the log of the IO.

After:

Turns out that when you use the Ref unique with the node of the CGRA, the CloneName property does not work.

The CloneName property returns an empty string. He fired something valid under normal circumstances. Why it did not work for the previous series, I don't know.

So, instead, I used the following to label every clone in the i/o trace log:

Once I switched to the method 'after', everything seemed to run asynchronously. Clones start together, negotiate not reentrant resources and end at various times as expected.

It seems probably crazy, but that's what I'm observing. Is it possible I inadvertently did something subtle that has restored the asynchronous behavior? Of course, but I don't know what it could be.

The symptoms he look like me not I must have Goofed and specified indicator of bad options, but I triple checked this flag and it has not changed for the last round which was completed successfully.

It's probably one of those things... I'll never really know why he did what he did.

Tags: NI Software

Similar Questions

  • reading and writing series sometimes works, sometimes expires

    I use the series on the VIs VISA to acquire data through an instrument.  After you have configured the port, I have send the instrument the order "AZK" followed of a newline (string hex "2A 61 7A6B 0D").  This brings the instrument to trasmit data.  When I do this in Hyperterminal with the same port settings, it works every time when I repeat the command as quickly as I can without any problem.  When I start my VI in LabVIEW, sometimes it works and sometimes it isn't (work maybe 25% of the time).  When it works, the data are displayed in an indicator very quickly.  When it doesn't work, I get a timeout error (10 seconds).

    I think the data string is ~ 330 bytes; Since I'm troubleshooting, I have it reduced to 20 bytes in order to ensure that the reading series is not waiting for more of bytes.  I also tried to extend the timeout, but it doesn't help.  Thinking this was maybe timing, sequence, or buffer related, I also tried to write and read in frames separated from one frame of the sequence and also tried an initial framework with clear VISA to clear the buffers before writing and reading, but none of this has helped.

    Any ideas why this might work a while but not others?

    I have attached a VI that I use to try to get this working.  (Note some data, the analysis of operations, as well as the VISA read a previous VI, but they have not been configured for this instrument of entry again and only the input string of reading indicator is significant at this time).

    If I can't get this to work, my rescue is rule automatically the instrument on trasmit on a certain frequency (like 1 sec) and acquire these data.  I was able to do this successfully with another device series.  But I wanted to be able to have LabVIEW to control the timing of transmission data as this unit has this capability.

    Thanks for any help.

    You can try adding a delay between characters like Hyperterminal does.

    And please don't say that you use the continuous run button. That would be a mistake.

  • Windows 8 upgrade clone running with the unspecified error message

    Windows8 key upgrade to purchase online and download and run the upgrade of windows, do not progress after estimating the time and display message unspecified error. A contacted the HP Support and support of Microsoft, but both, explained the problem with the safety of home network and the bulkhead firewall norton. But no not resolved after you turn off the fire wall. Using windows 7 64bies

    Norton is a small program, an inconvenience that will not go away and likes to pretend he is disabled or uninstalled when it really isn't.

    If Norton is at fault, then it should be removed using Norton Removal Tool to make sure that it is not really there and conflicting. Disabling/uninstalling standard medium is not enough.

    Download the appropriate software suite tool and run it to completely remove the offending software. Once that is done, try to run the update.

  • When running Windows 7, sometimes it is upward. He began to bring out the drop-down list (right click).

    I even disabled my mouse and it keeps refreshing the menu.  It becomes impossible to restart or shut down my computer.  Once I did a hard reset all is well again.

    Hello

    Were there any changes made on the computer before the show?

    Method 1:

    Try restarting your computer in safe mode and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Method 2:

    See the article and run the Troubleshooter:

    Open the troubleshooter of Performance

    http://Windows.Microsoft.com/en-us/Windows7/open-the-performance-Troubleshooter

    Method 3:

    Try to run Microsoft Safety Scanner for any malware or spyware infection and check if it helps.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 4:

    Try updating the keyboard and mouse drivers and check if it helps:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • How to automatically run an order of series

    Hello

    I'm brand new on Labiew. I did a vi as attaché to the reader one shoot-syringe and rotary valve, and it worked fine. what it does is send command whenever I click on the button "pump" or "valve".

    But now I want to run a series of commands automatically, for example, #1 à #2 valve, #3, and #4 to pump, pump pump of order total orders etc. will be around 10. I wonder what is the best way to carry it out.

    Thank you very much

    Make a (a typedef) cluster that contains for example information on the time and the type of order (I assumed you don't want different time controls)

    Make an array of these "clusters of command" (or a queue, find out more about QMH) and stream to a state machine that emits orders at the right time.

    If you are new to any of these concepts, learn about the documentation free before you start:

    https://www.NI.com/getting-started/LabVIEW-Basics/

    Moreover, you don't need the outside while loop. Instead, perform the shutdown affects a case in the structure of your event and the stop wire terminal to be true in the case of stop button.

  • Connecting series of camera link vi - simple program does not

    I have a program very simple, attached here.

    The command, 'PAG' that is sent via IMAW series write must return a bunch of text describing the parameters of the camera. Every time that it runs, the series read times out.

    I looked through several examples showing how to use the functions IMAQ series write and read series, including several discussions here, but I have yet to find anything to indicate where I have gone wrong.

    Please take a look and tell me what you think. Thanks in advance.

    Installation program:

    Windows 7

    LabVIEW 2011

    Acquisition card NI PCIe-1427

    DALSA 1 M 30 camera, Camera Link

    Hello

    Did you check the syntax of the command, you must send with your digital camera?

    Each supplier of the camera has its own syntax.

    Sometimes, you just add a newline at the end of your chain command.

    Hope this helps

    Kind regards

  • HP Pavilion 6 computer running slow

    Hi guys

    My laptop Pavilion dv6 HP with Windows 7 home premium o/s started running really slow sometimes. I run C Cleaner regularly and drive C is only half full. What happens is that when I type if I pause for a second or two and then re - start typing the cursor stops moving and then he jumps in life and all the typing is displayed. Then it wokrs OK for awhile until I stop again, and then he may or may not have the delay. It's really frustrating because you don't know what he's doing or when he's going to do. I do a lot of photo editing and the same thing is happening and is frustrating evenmore. Can someone suggest what I can do to fix the problem

    Thank you

    Hi David

    I had the assistance of a computer store. Not only the computer that is running pecularly but I got a message that the wireless network could not be found. It turns out that the problems were related and that there are bad sectors of hard disk which meant wireless has stopped working. I now have a new hard drive and all problems are gone. They have DVRs, been able to clone the old drive hard so that all my files are always available to me. Anyway thanks for your suggestions. I think that you know the problem was with the hard drive and you were right.

    Concerning

    Peter

  • LabVIEW FPGA SPI accident - SPI OR IP address for example - R series OR

    Hello

    I am trying to run the series R - sample project NI SPI FPGA Simulation.lvproj that comes with the SPI IP OR on a real FlexRIO FPGA SMU-7976R target with an attached digital adaptation NI 6581 B Module. The example is for a PCIe-7841R but I wore during my target FPGA, follow these steps and made additional changes to try to make it work with my set-up. I learned that FlexRIO FAMs CLIPs do not work with nodes in office had so I know I can't simulate the project originally planned so I will try to use FPGA to e/s node host side (open FPGA vi reference) to implement the actual hardware.

    My first question concerns my configuration of the adapter module e/s and selection. I added the IO Module (NI 6581 B: NI 6581 B channel) for my project and selected the channels as shown in the table below. I have a real physical hardware connection as described below using two NI SHC68-C68-D4 cables and a break-out Board.

    I changed the names as well:

    I selected these DIO channels because I wanted the DDCA connector to be the master and the DDCB connector to be the slave. In addition, in this CLIP every eight channels of i/o has a write enable signal. I have not used the Port configuration because I needed 4 available DIO channels and I saw DIO0-3. Is my logic of selection of channel vs correct Port here?

    Following the same strategy that examples FlexRIO/NI6581B, I changed the FPGA.vi to include initialization outside of timed loops:

    And in the Host.vi I have a node reference FPGA and wired loops of feedback accordingly:

    When I compile the FPGA and try to run Host.vi LabVIEW inevitably crashes with Crash Reporter below and must restart:

    Does anyone know what I'm doing wrong here? My guess is that it has something to do with the CLIP/IOModule. Any help is appreciated.

    Thank you

    Scott

    Hi Scott,.

    I suspect that the problem might be related to the fact that your node open FPGA VI reference is in the while loop and trying to open a new FPGA reference at each iteration.
    If you move outside of the while loop, it does not solve the crash?

    On channel vs port question, your logic seems reasonable to me, but I recommend to try it since this feature could depend on device.

  • How can I set a series of measure of time?

    Im trying to run a series of temporary measures, that should be done every 5 cm, how can I solve this kind of test?

    If you ask a better question, you can get a better answer.

  • 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?

  • How to navigate in a running block diagram which is used in a high school?

    I have a Subvi called Servo.vi which is called several times (cloned) in my application. The façade of a selected Servo.vi is placed in a secondary school in my Main.vi so that Servo.vi can be controlled from the front panel. When the Main.vi is running, if I use the block diagram of Main.vi to access a clone running of the Servo.vi and double click it, LabView 2010 navigates me to the secondary running at Main.vi, instead of a separate Panel. But I am not able to show the block diagram of the cloned since high school running in Main.vi Servo.vi.

    How to navigate a diagram of block a VI clone running that runs in a high school?

    Main.VI - Servo.vi:1

    |

    -Servo.vi:2

    |

    -Servo.vi:3

    dbaechtel,

    Have you tried this ?

  • HOW to run a batch file in BACK 6.22?

    I wrote a batch file that works fine in the Windows command prompt, but I would like to be able to run after POST in the BACK. I copied my code AUTOEXEC. BAT file that runs automatically; However sometimes with syntax errors when it reaches the call control and the rest.

    echo. This script is counting the # of POSTs.
    echo. The POST # value is saved in TEST.txt.
    echo.
    
    call:myPOSTTest
    
    for /f "tokens=* delims=" %%x in (A:\TEST.txt)  do echo POST# %%x
    
    echo. &pause&goto:eof
    ::--------------------------------------------------------
    ::-- Function section starts below here
    ::--------------------------------------------------------
    
    :myPOSTTest    - here starts my function identified by its label 
    
    set var=0
    
    if EXIST A:\TEST.txt (
         for /f %%x in (A:\TEST.txt) do (set /a var=%%x+1)
    )
    
    echo %var% >> A:\TEST.txt
    
    goto END
    
    :END
    
    

    Thank you

    Hello

    Many of us being volunteers do not have the expertise to help.  Refer the question to the TechNet Script Center.

    Script Center

  • Autorun Clone Popup

    Sorry to ask this question because yesterday I thought I got it running but only for a single process.  If I click on the button "Run B", it should open B.vi:1 (clone), click on it again it will open to B.vi:2 (clone), for B.vi:3 (clone), etc...  All 3 of them should run automatically at the same time, but the best I can do is a single process execution where LV must wait for the first clone to complete execution before I can run the second clone.  Which is really defeat the purpose of parallelism.

    This method allows me to open several clones but them does not at the same time:


    Although this method defeats the purpose of concurrency:

    So my question is how do I get all B.vi (Clones) running at the same time, a simple click of a button?

    Please note that the example environment TCP which came with labview works only if you do not want popup.  I want to create several popups in VI even so that my end users can monitor what is happening in the process.  So I have a VI to tweak if I need to upgrate somethings.

    The clone that you launch a 'B' vi stops running when you close the reference.  Run it with active debugging and execution of follow-up allowed to see for yourself.

    You must wait for the reference until vi 'A' is done.  If you expect vi B be running after vi one stops and goes idle, setting auto-dispose to true and do not close the reference.

  • When I run fix it says jt execution date is disabled

    When i run micrusoft fix sometimes disabled withdata execution. How to activate it

    Hello

    You should be able to fix this in the properties of the computer.
    1. Click Start.
    2. Right click on my computer.
    3. Click on properties.
    4. Click Advanced.
    5. Running, click settings.
    6. Click the Data Execution Prevention tab.
    7. Click on "turn on DEP for all programs and services except those that I choose."
    8. Click on 'Add' and browse the hotfix Executable file it app.
    Please let me know if it helps!
  • I am looking for a software that will help me to clean up my computer and get rid of the files that are basically take place and causing my computer to run slowly.

    My computer is running slowly. Sometimes, when several programs are open the computer will just restart. I ran a free program offered by Gateway but do not know if the program does what it says it will and I don't want to pay for something that probably just convinced bridge their product works and gateway could recover a kick to it people buy.

    Hello

    I suggest that you click on the link provided below to optimize Windows XP computer for better performance.

    Slow PC? Optimize your computer for peak performance

    http://www.Microsoft.com/athome/Setup/optimize.aspx

    Note:

    Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost

Maybe you are looking for