Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by asbo

  1. In a text-based language, you can talk about how many lines your application is. For LabVIEW, I've seen people talk about x number of VIs in a project, but I don't think that's a very accurate representation of a project's complexity - what if you happen to have 50 functional globals? Who wants to write a tool which will count the number of wires you use? :>
  2. This isn't a terribly simple process, especially considering LabVIEW has no native support for PDF files. I found an ActiveX-based example on the NI website (http://decibel.ni.com/content/docs/DOC-2163) but it doesn't seem to work in my brief test (I get an ActiveX automation error). You might be better off trying to find an external program you can interface with, though that's generally considered a dirty practice. I have a feeling you're ultimately have to going to a lot of OCR.
  3. asbo

    Dual Monitors

    I sure would like to have dual screens to work on ...
  4. QUOTE (crelf @ Dec 2 2008, 01:06 PM) Sure, but isn't it nice to hear it anyway?
  5. QUOTE (Vaibhav @ Dec 2 2008, 11:26 AM) If you're looking for help, you should start your own thread. Posting your question on top of DCPreamp's is considered 'thread-jacking' and isn't terribly polite.
  6. QUOTE (harika @ Dec 1 2008, 02:46 AM) In LV 8.5+, For loops are allowed to have conditional terminals. This is an easy solution to your problem.
  7. QUOTE (normandinf @ Nov 24 2008, 12:53 PM) No way, man. People would never try and take advantage of web forum to get their homework done for them. Keep those preposterous thoughts to yourself, please.
  8. QUOTE (jcarmody @ Nov 24 2008, 10:59 AM) I have a feeling what he's going for is an LED "sign" ... I don't see a terribly good way of doing that without having a constant for each character and then doing a sort of merge of the A, B, and C arrays to make the array indicator show 'ABC'.
  9. asbo

    mccdaq! labview

    QUOTE (vultac @ Nov 24 2008, 10:45 AM) You can use the sequence structure and the Wait (ms) function to accomplish this - but you'll have to read up on how exactly to communicate with your particular device.
  10. Well, your biggest problem is that you don't have any data retention. Waveform graphs allow you to specify both X and Y coordinates, but you have to give it the entire data set at once, otherwise you're simply graphing an instantaneous point. Create two shift registers on your while loop, one for frequency points and one for phase points. Use the Build Array function to concatenate each new point onto the shift register array, and then bundle the two shift register arrays and pass the resultant cluster to the waveform graph. Be careful, though; the array will get very large so you can't run it for too long without consuming gobs of memory. You can use the iteration block, a case structure, and Delete From Array to solve this problem.
  11. QUOTE (Fresnel @ Nov 24 2008, 06:39 AM) You forgot the screenshot part
  12. QUOTE (chocobar @ Nov 24 2008, 07:00 AM) I see your problem. What I would do is use a feedback node or shift register initialized to a FALSE boolean. Once you hit the trigger case where the SMS is sent, set that boolean to TRUE and then add conditional code that won't send the SMS if that boolean is true. In the opposing case that is executed whenever the trigger condition isn't met, set the boolean to false. You could go really overboard and use timestamps to track when the last SMS was sent and if it was within x minutes, skip this trigger.
  13. Unless I'm really off it, that looks like Visual Basic 6, not C ... I haven't messed with VB6 recently enough to remember exactly what some of those function calls might do, either.
  14. QUOTE (EJW @ Nov 21 2008, 09:43 AM) I think the problem is that you're using the Build Array to create a completely new array - not working on the old one. Why not use the Replace Subset function?
  15. QUOTE (hooovahh @ Nov 21 2008, 08:46 AM) You're despicable! I'm going to wait until you've gone home every night and turn off all your equipment from now on ...
  16. QUOTE (Dan DeFriese @ Nov 21 2008, 12:51 AM) You may have to alter the string constant in the caller VI; when I saved these files, my browser was kind enough to swap spaces for underscores and break it.
  17. asbo

    Shopping carts

    QUOTE (jcarmody @ Nov 20 2008, 06:32 PM) Doesn't look he intended to stop to me ...
  18. QUOTE (Yair @ Nov 20 2008, 02:28 PM) Oooo, neat trick. It does require auto-tool, but I'm a fan anyway. If they were to implement something with the middle click, I'd rather it lock the BD/FP to your cursor and moving the mouse moves the whole shebang -- rather than the MS Word-style offset-equals-speed nonsense. Just some friendly advice: I would add "void where prohibited" to your disclaimer as well. Just in case.
  19. asbo

    Shopping carts

    I've seen this before - it's downright epic. What I can't wrap my head around though is why it was ever considered a good idea to move a semi with the trailer still open.
  20. Ctrl+scroll will toggle through cases/events/etc and shift+scroll is an accelerated scroll ... but I haven't found any way to scroll horizontally without mousing over the physical scrollbar. Let's make alt+scroll do something useful.
  21. QUOTE (TobyD @ Nov 18 2008, 11:52 AM) That's the first thing I thought of when I read through this. It's a reasonable enough mistake ... if you've never used LabVIEW before :> I think what he's really looking for is a finite state machine.
  22. Can you upload your VI for us to look at? Have you tried using the FrontPanel: Close method before calling the Save: Instrument method? edit: On further thought, invoking a Close would defeat the purpose ...
  • Create New...

Important Information

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