Jump to content

Jordan Kuehn

Members
  • Posts

    690
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Jordan Kuehn

  1. 21 hours ago, hooovahh said:

    Oh and lets not forget that some cRIOs now support DAQmx so programming the FPGA part is even more optional.

    From my limited testing the cRIO DAQmx support is fairly limited in speed. Perhaps it will improve, but it did not fit the intended application like I had hoped. By all means give it a try though if you have the hardware for it and I'll still consider it for future applications myself.

    On 4/30/2019 at 8:33 PM, smithd said:

    Default -> run on host

    /...

    To move to the compactRIO you want one or both of these to be true:

    /...

    To push the code from RT down to FPGA you want one of these to be true:

    /...

    Very good points. Another thing I'll mention to customers is that each layer down involves a significant additional software component (aka $$). Not only is the FPGA a different beast (despite improvements over the years) compilation time and iterative development is slow. Like smithd mentioned, it can often be better to spend the money on hardware if applicable.

  2. A good use case is when you encapsulate code in a case structure based on error/no error. Common in SubVIs. The error case will usually have the error wire running straight through, while the non-error case may have many VIs that *do stuff* and don't necessarily align error wires together. I don't usually drop the line back down to the base reference in between VIs, but there are times that I'll put a few in a row, drop back down, and then come back up for another batch. It's purely cosmetic. 

    • Like 1
  3. 5 minutes ago, hooovahh said:

    Oh there are plenty of USB to Serial converters that will show up and work and you can use them using the standard VISA calls.

    From the one project I had with a myRIO I think some USB cameras will work and I think I got a usb to ethernet device to work without installing drivers. I would be surprised if a regular USB to Serial converter would work out of the box on a myRIO, but is theoretically possible.

  4. 38 minutes ago, jmltinc said:

    smarlow,

    I went back to your original example in your second post - the image. It was behaving much like my previous attempts (in this case hiding part of the listbox), so I dismissed it. But, I realized it did behave differently and so I added constants to add width and height to the FP. It seems that with some tweaks it will do what is required. Thank you. Now, I need to see what I was doing wrong in the first place!

    Thank you Hooovahh for your effort. I must not have been clear in my needs.

    John

    Glad you found a solution. I would encourage you to look at Hooovahh's solution again when you have time. There is a lot of value to using splitters/panes vs programatically adjusting/polling when it fits your needs.

  5. 7 hours ago, smithd said:

    There was no CAR for it, and there is still no CAR, because the AE wouldn't escalate unless they could reproduce it.

    Having worked as an AE intern 8 years ago (wow, 8 years??), I'll point out that it's not the AE who won't escalate. It's the PSE or whatever they are called these days. No replication means it's an issue on your end. That was fun to explain to a customer. 

  6. 8 hours ago, MarkCG said:

    probably not graph theory. I highly, highly, highly recommend recommend DSP for scientists and engineers by Steven W. Smith

     http://www.dspguide.com/pdfbook.htm

    if you are working with LabVIEW there is probably something in there relevant to what you are doing.

    Definitely DSP. I don't know the book MarkCG recommended, but understanding the fundamentals of sampling and signal processing is at the heart of most of the use cases of LabVIEW.  Now you can get by with the tools NI has developed for you, but you sound like you are interested in a theoretical knowledge and rightly so! If you can understand the math in a course like this, you've already got most of the more fundamental math disciplines under your belt.

  7. On 1/24/2017 at 10:12 AM, CraigC said:

    Often in vision if a picture is analysed then the original is overwritten / destroyed.  Is it just a case of taking the image reference before the processing and then overlaying the analysis result onto the original Image.  Difficult to explain and I do not have the vision toolit to hand.

    You often have to copy the original image and use one copy for image processing, then overlay the results onto the original Image, not the processed one.

    This should be a bold pop-up for the first 10 times anyone drops a vision VI.  Image wires are references.

    • Like 1
  8. 3 hours ago, ASalcedo said:

    My software has 6 'whiles' so it is using multithreading I guess.

    Thanks.

    I'd suggest that it is fairly likely that you have at least one of your while loops completely consuming one of your quad cores on the original machine, and your dual core atom processor doesn't have a free core to devote.  Look through your different loops and see if one is missing some timing, (e.g. a polling loop that is polling as fast as possible) and add a wait timer to slow it down even just a little.

    • Like 1
  9. To clarify some, you will need to create a build specification under the myRIO target in your Project Explorer using your main myRIO VI, set it as run as startup, build, and deploy.  Then it should be able to run headless and you can run just the Windows VI.  You'll likely need to take into consideration that it won't have anything talking to it unless the Windows VI is running and have it handle that appropriately.  I think this will accomplish what you are wanting.  You will need to rebuild and deploy each time you change the myRIO code.

    On a side note, I really want to get one of these to play with at home.  They are cool little embedded targets with built-in wifi.  Lots of potential!  I had a customer a couple years ago that had a few we used to develop some standalone applications that could be interacted with remotely.

  10. 12 minutes ago, drjdpowell said:

    Anybody used Postgresql?  

    I "helped" with that postgresql question a couple weeks back and got a feel for it.  It was a bit of a learning curve, but didn't seem too bad.

     

    Most of our active systems use an Access DB and I have a library of tools using NI DCT that I use.  I've been playing around with SQLite in my free time and I like what I've seen for local machine applications.  

×
×
  • Create New...

Important Information

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