Jump to content

Bryan

Members
  • Content Count

    234
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Bryan

  1. 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!
  2. 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.
  3. 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 PDF files as images whereas by using a PDF "printer" to print the FP, it appears that an OCR engine is used to break up the FP image into images and searchable text. Having searchable text is what the customer wants to keep if possible. However, with the level of control they're requesting for PDF generation, I'm having a difficult time finding a solution that can be done in LabVIEW and meet all of the requests without changing the report generation scheme from FP "printing" to an actual proper report scheme... which they don't want me to do. I could dig into finding out more details about programmatically controlling their "PDF Printer" from LabVIEW, but I would prefer the application not to be coupled too tightly to a 3rd party application that could change or disappear at any time. (Gov't Contractor). Anyone have any ideas? It would be nice if the available PDF toolkits out there had some sort of OCR function for images if they contained text. If this is too much of a pain to do, I may just have to tell them it will have to be one way or the other. I love LabVIEW programming, so if I can do it I will.
  4. 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.
  5. 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!"
  6. 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.
  7. @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.
  8. 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.
  9. 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. This is possibly just a personal preference, but I prefer LAVA to the NI forums, and I rarely use the NI forums. I like how the smaller community feel is so concentrated with LabVIEW expertise. I wish I would be able to spend more time on here and be one of the regulars like I had been on previous forums in which I was a longtime member, but I just haven't had the need or knowledge to do so. That all being said, I may be on here a little more in the coming months as I've been somewhat asked by one of our company locations to modify a neat LabVIEW application. I've already seen the code and the previous developer was definitely someone I would consider to be a LabVIEW Architect. For all I know, they may be a member on here.
  10. 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.
  11. 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.
  12. Glad I was able to help! Actually, I think it was mutual as I think I learned something too. So 255.255.255.255 is only a good address for localhost-type UDP communication then?
  13. I'm not 100% familiar with UDP, but I'm wondering about the IP address your client is writing to and whether you're wanting to write to a multicast address (224.0.0.0 to 239.255.255.255). I don't think that 255.255.255.255 (FFFFFFFF) is a legitimate address to write to for either TCP or UDP. Or, is that just for your example? If you do multicast, both will need to subscribe to that address (in the range cited above) as Read, Write or ReadWrite.
  14. I've been registered on these forums for a long time, but don't get on here much (I hope to change that). Last flurry of posts I made was probably when I got my CLD back in 2008 (I've been maintaining it). I've since taken the classes to help with taking a CLA test (Advanced Architectures and Managing Software Engineering in LabVIEW), but haven't had the opportunity to apply the knowledge I gained from those classes, so I haven't taken the CLA exam yet. I've wanted to go to NI Week since... well... forever, but every year, my company won't approve budget for me to attend.
  15. Are there any prerequisites to obtaining a CPI? I thought you had to be a CLA before being able to be an instructor.
  16. I haven't received my certificate in the mail yet, but just recently found out that I passed the CLD exam, surprisingly with a much higher score than I received on the CLAD exam. Woo hoo! I just thought I would share that with you all. After a couple of years more of experience and studying up, I may try for a CLA certification.
  17. Thanks guys! Hopefully the CLD will come next year once my company has the budget to send me to take it along with the Advanced course. My ambition is to one day have the CLA certification.
  18. I know it's off topic for this thread, but since I mentioned it in here, I figured I'd post an update. I just got notification that I passed the CLAD exam! Woo hoo! I've been using LV since '99, so I should have been looking at CLD, but I took the free CLAD exam at a nearby seminar. I'm just happy that I finally have a bona-fide certification after wanting one for so long.
  19. Sorry guys... I've been out of the loop for a while. On a personal note, I just recently completed Advanced I and II training and am awaiting my results on the CLAD (free at a NI seminar) and will hopefully be taking the CLD before next year.
  20. Thanks for the reply. I did find the VIs you were talking about... however, I was looking for one for LV 7.1. I'm able to save it for a previous version though. Thanks!
  21. I thought I had some encoding/decoding VIs at one time, but can't seem to find them now. I've done countless internet searches of LAVA and other sites and all I found were links that led to nowhere. Does anybody have any base64 encoding/decoding VIs that they would like to share, or could point me to? I'm also looking for some various checksum VIs, but I haven't searched for them yet as they may be more readily available. For some reason I can't get my OpenG commander to work on my work desktop. I don't know if our IT department has locked down programs from accessing the internet or FTP anymore. It used to work, but when I tried to use it today, it wouldn't work.
  22. Bryan

    LabVIEW and Puppy Linux

    Well, just as an update, I was able to get the RTE to install and work by using the "ldconfig" command after I installed it to update the shared library links. However, my only problem now is figuring out how to create an image that includes the RTE.
  23. Hello again. I know I've dropped off of the face of the planet for a while. Sorry about that. I'm working on something for a project and have successfully been able to install LabVIEW 7.1 development environment for Linux on a machine running PuppyLinux 3.01. My only problem is that I can't get the RTE to work, although there were no reported errors when I installed it. When I try to run my application from a command prompt, like ./myLinuxLabviewApp . I get the following error: Can't load LabVIEW runtime library /usr/lib/liblvrt.so.7.1 libLVMesaGL.so.3: cannot open shared object file: No such file or directory The files are all there under the /usr/local/lib/LabVIEW-7.1 directory with symbolic links in the /usr/local/lib directory. I don't know enough about linux to find out where it's trying to look for this file.
×
×
  • Create New...

Important Information

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