Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by shoneill

  1. I my test (After setting all to disable debugging) User Events are second only to Queues and Notifiers. They're 20% faster than Channel (High Speed Stream). And Notifiers and User Events are very close in performance.  Sometimes User Events win, other times Notifiers, depends on which other methods are running concurrently.

    This is in a VM with only 2 cores.

  2. I would always recommend wiring up the output of the read nodes to an array indicator (outside the sequence so that it has no effect on timing).  Compiler optimisations can do weird things when you're not actually wiring up certain outputs.  For example, you're not using the data output of the variant but you are of the map. Not saying it explains the differences, but I've seen things like that wildly affect performance in the past.

    I would look at the code, but I'm currently trying to get 2019 installed in a VM.

    • Like 1

  3. On 5/4/2019 at 4:29 PM, ShaunR said:

    It's a conjugation. I think Americans are the biggest perpetrators especially for "setted". They do other funny stuff like leaving out letters and putting dates the wrong way round :D

    Even God appears to agree with Shaun....

    Mark 1:34 “And he healed many who were sick with various diseases, and cast out many demons. And he would not permit the demons to speak, because they knew him.”

  4. 16 hours ago, rscott9399 said:

    It is simply a test bench to develop and test different functions. This is just the main place to select different VI's you want to test is all.

    Again, i appreciate your help and concerns. I fully agree, im not teaching anyone labview lol im a matlab guy truthfully 

    No problems. I understood from the previous post you were teaching LabVIEW as opposed to using LabVIEW to teach something else.

    All clear now. And either way, the community is always ready to help.

  5. Also, I don't mean to be mean, but are you sure you're in the position to create code to teach people LabVIEW?

    This isn't advanced LabVIEW. If this is the quality of material students will be using to learn LabVIEW it might be best not doing it at all.

    Again, I'm not being mean, I'm being honest (and if anything I'm being diplomatic). Don't you have access to people who have (a lot) more experience in LabVIEW to help you out?

  6. Your sub-VI does not have a loop. It will run once and once only per Event. If you leave the FP of the sub-VI open, you can click on the boolean when it is not running and it will be applied whenever it is run.

    If you want your sub-VI to keep running, it also needs a while loop around it(either in the sub-VI itself or ourside). Just make sure you have a stop criterium for the loop.

    If you go into the properties of the sub-VI you can also set the FP to open when called. This still won't make it keep running, but it will at least make sure the FP is opened.

  7. 18 hours ago, X___ said:

    Sure. But then you cannot move the elements independently. Unless you ungroup, move, regroup.

    A modular object (such as a Graph) should be moveable as a whole, but its components should ideally be moveable individually. I have no idea how NI does that with their native controls, but this is obviously feasible. This is for instance something that was completely destroyed in XControls (an XControlled-Graph is frozen solid if I recall my now forgotten attempts to expand Graphs, unless you rebuild the whole independent component grabing and moving, as I was told by NI).

    Something can't be in a peer group and not be in a peer group at the same time. This is how the LV diagram "Group" works.

    What NI has is a parent-child grouping which is something different.  Not saying this couldn't be an interesting idea, just that it's not comparing apples with apples.

  8. You are setting your offset to 0.001 of a single sample. That's not going to be visible.

    The top value in your clsuter is your offset (zero X value). The second top value is the time spacing between adjacent data points (not the entire length of the plot).

    If you need 100 data points before the trigger, try

    Top: 0.001, Middle 0.00001, Bottom, your data

    You SHOULD use proper timing data.  If your data is recorded at 1MHz, the middle value should be 1/millionth in order to have your X-axis in seconds.

    Please note this also only changes the DISPLAY of your data, it has nothing to do with the data's ACTUAL position relative to your trigger. You need to set up your acquisition properly in order to guarantee that.

  9. 3 hours ago, Aristos Queue said:

    There are no plans to extend LV 20xx capabilities of XControls or anything similar. All work into improving G-based UI components is being done by NXG teams. I and others continue to push requirements to them (such as "let them be included in arrays"). (In case y'all are wondering, my role with NXG is largely "lead user kibitzer". I have worked on various parts of the code base over the years, but at this time, I am 100% tasked with adding features to LabVIEW 20xx, especially language extensions (there are others on my team working on editor improvements). The channel wires and the malleable VIs have been my work; there's a couple new data types in LV 2019 that fill some serious long-standing language holes. And LV 2020 should... well... let's say I'm kind of eager for it.)

    So your job is to make it as hard as possible for NXG to ever catch up with with LV 20xx? 😀

  10. 3 hours ago, Aristos Queue said:

    I don't believe this was ever promised.

    It was listed as part of the roadmap, with the added caveat, that such extension would be available only in C#. I certainly remember it being communicated as the way forward with regard to replacing XControls.  It was certainly used as a carrot, even if the word "promise" is not accurate.

    Then at the CAB in Austin some years back, we were told that won't be happening, that the existing control classes won't be extendable.

    I can't recall exactly who and when, but it was definitely communicated.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.