Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Bryan

  1. Here's another quick and dirty example just using local variables and two separate while loops. I don't like using sequences and local vars in practice myself, but this is just a way to show you a simple way to control parallel loops. It's quirky, but I hope it gives you an idea. There are much better ways to implement parallel loop control and communication, but I just wanted to provide a quick example for you. The "Stop" button is set up to use latch functionality, which isn't compatible with having it used as a local var, so I had to create a separate indicator for "Stop All" to "ho
  2. You're probably going to have to implement a producer/consumer design pattern if you want truly parallel processes. There are many examples of them in the LabVIEW examples. I wasn't sure whether going into producer/consumers was going to be overkill for what you wanted, but you may want to look into going that route based on your description. For simplicity's sake (and my lack of time), and to illustrate what I was talking about in my first paragraph using a timeout case, I've attached a VI (in LabVIEW 2016) that uses the timeout case. The default timeout is -1, which means that the ev
  3. A while loop will not iterate until all nodes within have completed execution. First thing: do you have a "Timeout" event case defined? If not, your loop is going to "hang" and only loop when your "Numeric" value changes. The wire you have currently running to the "timeout" terminal of your event structure is not going to do anything as this defines the amount of time that the event structure "waits' for an event before proceeding via the "Timeout" event case. You'll need to wire a separate constant for your iteration delay (i.e. Timeout value), say: 1000ms. If you wanted these tw
  4. I agree with you, but I still have to run it by them before plugging in anything not provided by the company. You know how large companies can be. Knee-jerk reactions become long term policy and then convincing them otherwise is like talking to a tree unless you have serious pull within the organization, (which I do not). I've sent a request asking if there is an accepted process or if I can get a waiver. If there's no way, then I have to wait for our company-wide VLA to come up to speed... which could be a while. Currently, they are only providing up to LabVIEW 2015 through our engin
  5. I just received the "disks" for our SSP today with LabVIEW 2017 and NXT. I was eager to install and play with it. But, instead of disks, I received a 32GB USB stick. While It's a neat concept by NI, it's a BIG no-no at my company to use USB media sticks that are not explicitly provided by my company for information security reasons. (Anyone remember Stuxnet?) I'm friends with someone in information security, and I can ask if there are acceptable processes/procedures to use the disk, but I'm pretty sure I already know the answer. These are the times when working for the type o
  6. We used to use Visual SourceSafe and built toolkits for our ATE systems to ensure we were running the latest versions of software (and to perform self-checks). My company tried to force IBM Rational ClearCase on our group but I was able to fight them off and am currently using SVN/TortoiseSVN. Funny though, my company has started setting up SVN databases since so many people balked at ClearCase.
  7. We've simulated a generated 0-150VAC 3-phase source before with a NI-6733 and amplifiers, then shifting the phase of each channel to 0°, 120° and 240° respectively. Due to the number of 3-phase signals we were generating to a high-impedance load for that particular setup, it was more cost effective to do it that way than to purchase many AC voltage sources. I was kind of hoping that there was a similar solution for AC current. Perhaps a similar setup using lower voltage and a step-up transformer, assuming the amplifier has enough wattage for each channel. This time however, we're looking at
  8. I've been tasked with coming up with a way to simulate the output of a Current Transformer (CT). Basically, a way to generate a 0-5A AC signal that can be controlled via automation to simulate a total of 15 CTs (simulation of five 3-phase lines). The option of using 15 programmable AC Current sources is currently being kicked around, but space and cost may raise some eyebrows here. Not being an EE myself, I'm having difficulty coming up with a solution. Does anyone have any ideas that they could toss my way? Thanks!
  9. There are three postings on Indeed.com for a Test Engineer at Northrop Grumman in Charlottesville, Virginia. I believe the first one may be for a "new grad". Test Engineer I: https://ngc.taleo.net/careersection/ngc_coll/jobdetail.ftl?job=1195044&src=JB-10200 Test Engineer I (experienced): https://ngc.taleo.net/careersection/ngc_pro/jobdetail.ftl?job=1190027&src=JB-10200 Test Engineer II: https://ngc.taleo.net/careersection/ngc_pro/jobdetail.ftl?job=1190176&src=JB-10200
  10. It really depends on your current situation and your future aspirations with LabVIEW in my opinion. In my case, I let my CLD certification expire a couple of years ago. I've been working for the same company for 13 years and having the certification didn't benefit me in any way aside from being able to prove a level of LabVIEW programming competency and provide a sense of achievement for myself. To date, my reputation as the "resident LabVIEW guru" has been more beneficial to me in my job than having my CLD was. Since my company is always 2-3 LabVIEW versions behind the latest rel
  11. I've been on here for quite a long time. I don't normally post much anymore. I used to be pretty active. Normally I find the answers I'm looking for via searching. I don't get to play with newer versions of LabVIEW very often. The company I work for has a tendency to freeze our programs in time and it's rare that we have the opportunity to move to latest and greatest versions of LabVIEW. So, I don't know much about newer features and functions. This has lead me to allow my CLD to expire a few years ago. I wasn't really "using it" and re-certifying normally lead to me having to do a
  12. I checked out the Exaprom toolkit a bit last week. I agree, it has a lot of really neat features. If I can convince the customer for more time and budget for a better PDF solution than just printing the FPs to a virtual printer to maintain the separation of text and images, I may use the Exaprom kit to do so. Thanks!
  13. Thanks for the clarification! It's nice to know more of what's going on under the hood when LabVIEW sends a FP to a printer. I just assumed that it was automatically doing some sort of OCR. Thinking back, when I generated a PDF with a FP as an image, the OCR wasn't very reliable. That should have clued me that something else was going on instead of OCR. This is really the first time I've had to deal with PDFs and LabVIEW together. I've always wanted to mess with the PDF toolkits for LabVIEW, but in the applications I'm dealing with at work, I haven't really had the opportunity to date
  14. Hey guys/gals. Long time member/infrequent poster here with a PDF challenge to share. I'm working on modifying some old LabVIEW code for an internal customer where reports generated by the compiled EXE are essentially LabVIEW FPs that are printed to a PDF printer. I've been asked to streamline the process by preventing the prompt for filename/location for each report that is "printed", (and there are many) as well auto-generate the PDF filenames. The problem I've run into is that in using the LabVIEW PDF toolkits that I've found on VIPM and NI's website - the FPs are added to the
  15. I still use them quite frequently as I've become the code maintainer for an old LV6.1 / Test Executive ATE system that should have been put out to pasture long ago.
  16. The fact that it made me click on this thread link makes me think of Facebook "click-bait" postings. "She sticks a butter knife in an electrical outlet. The result? I'm SO doing this!"
  17. Look to see if the Pickering card is being detected at a different address/location by the processor when the Keithley is ON vs when it's OFF. You should be able to do it either via NI MAX or a soft front panel of some kind.
  18. @stefanusandika: If I remember correctly, you have to design the VI that you want to be a "service" in such a way that it can be safely aborted when Windows stops it. This would prevent proper shutdown of VI execution and cleanup of references, etc. I haven't created a service using the method, so I don't know if there are techniques that can be used to allow safe shutdown of a VI. I was able to find an NI Article on it, but it does involve tinkering with the Windows Registry. @JamesMc86's nssm method does appear to be something worth a look.
  19. I remember seeing an article many moons ago about creating a Windows Service-like LabVIEW application. It involved using some files like "instsrv.exe" and "srvany.exe" (were these the files you're thinking of ShaunR?) or something of that nature. The only service-like interaction that an app using the method could do would be for Windows to start and stop it.
  20. I've been a LAVA member for quite some time. I actually found my current job through this website back in 2004 (and I'm still employed at the same location). I don't post much, but haven't done as much LabVIEW development in my career as I would like to. So I've fallen behind the curve as far as latest tips, tricks, architectures and methods. I haven't even used the Actor Framework yet, (we're still primarily using LV2010). So I haven't been able to lend much on LAVA as far as advice and help for those using all of these newfangled toys and methods or haven't had the need to seek help
  21. Aside from moving your serial configuration VI outside the while loop, you may want to also add a delay to the loop as well. You may be pounding it with data faster than it can handle them (maybe, I've never had the opportunitiy to play with Arduino). Additionally, how is your Arduino set up to handle termination characters? I didn't see anything in the Arduino code specifying anything other than the baud rate. By default, the serial config VI enables a termination character using a line-feed. I don't know what VB serial configuration defaults are.
  22. With the ambiguity of the question, one could even suggest something as simple as a for loop. Without knowing how similar the 25 operations are (they could be the same operation 25 times with the same data type in/output), I'll "second" ShaunR's post and "third" a state machine.
  23. Glad I was able to help! Actually, I think it was mutual as I think I learned something too. So is only a good address for localhost-type UDP communication then?
  • Create New...

Important Information

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