Jump to content

BrokenArrow

Members
  • Posts

    257
  • Joined

  • Last visited

Everything posted by BrokenArrow

  1. QUOTE (reem @ Apr 28 2008, 07:58 AM) reem, alzhrani's question was what type of physical card, in other words the DAQ itself. You've shown us a picture of the programming interface you are using, in this case an express VI. There's no reason why you can't use Controls. I think you're missing something on a higher level.
  2. QUOTE (Michael Hill @ Apr 10 2008, 07:54 AM) You still there?... :question: Are you using "PXI8::13::INSTR" as the resource name? Go to MAX and look for the alias. It's likely to be something like "Dev1" or "PXI1Slot5" or something similar. Use that as the resource name. -Richard
  3. QUOTE (ASTDan @ Apr 21 2008, 05:01 PM) I often wondered why Windows doesn't let you do this. In DOS, just type at the command line "dir > whatever.txt" and the contents of the current directory will be printed to the text file whatever.txt. This has the advantage of giving you the file sizes in exact bytes. Richard
  4. reem, For the port number, if you mean a serial port, you need the VISA resouce name control. But like has been said, if you're struggling with data types.....
  5. QUOTE (neB @ Apr 15 2008, 02:23 PM) http://en.wikipedia.org/wiki/Flying_Spaghetti_Monster' rel='nofollow' target="_blank">or a LabVIEW programmer and beleive in a deity, as I choose to beleive -Richard
  6. Dang, I'm supposed to be the First Responder of the One Hit Wonder. reem, What Antoine said. Attached is an example of a typical "cluster". -Richard
  7. QUOTE (BrokenArrow @ Apr 16 2008, 02:27 PM) This ended up being a known issue (known to NI at least) with the NI-DAQmx driver that ships with 8.5.1. If you use a DAQmx in a RT chassis, you should download NI-DAQmx 8.7.1f3 from NI. Or (I guess) un-select the install of NI-DAQmx when you upgrade, thus leaving your NI-DAQmx as-is. -Richard
  8. Has anyone had issues with upgrading to 8.5.1? The install went smooth for me, although it took half a day to do two computers (hosts and RT's). The only issue I have had is MAX thinks I have a different version of NI-DAQ on the RT vs. Host, so I can't make new DAQmx Tasks! -Richard
  9. My 2c on RT memory issues... Try disconnecting the error inputs on queues and notifiers. This is especially true if you believe the error cluster may be carrying a warning. Try placing queues or notifiers outside of case structures. Off the subject a bit, but don't use string shared variables in RT version 8.5 I have seen three separate RT memory leaks fixed by each bullet. cheers!
  10. This has happened to me on two systems using a DMM in the RT chassis but completely different code. Update to NI-DMM 2.8 before make RT EXE's. cheers, Richard
  11. QUOTE (JOliver @ Feb 25 2008, 02:08 PM) Is it the wiring / hardware part that you have questions about, or the LabVIEW part? The obvious solution is to have an event fire when the analog signal exists (i.e. what jdunham said), or when the signal crosses a certain threshold. Or you could use hardware handshaking. If you can convert the analog signal to digital (and that may not even be necessary depending on the level), you can wire the signal to the handshake line (CTS) and use VISA Enable Event and VISA Wait on Event to monitor the CTS line. When the signal exists, read the port. Richard
  12. Add me to the Tabbing camp. Armed with the Ctrl button tidbit, I'm going to give auto a try again. I'm not too concerned with the time I'm wasting hitting Tab, but I do waste 45 minutes a week telling people to turn autotool on if they sit at a computer I've been on.
  13. QUOTE (mcguirpa @ Mar 11 2008, 06:04 AM) If you can provide code I (or someone) can likely help, but you might have to make the executive decision that doing it the ugly way gets the job done, and that by the time you get to the elegant solution, they've got your job on Monster. I'm positive that there's a better way to do it, but as you know, 400 cases involving insert into array or replace array subset (better) is a cakewalk for a Pentium processor. But your code will be ugly and hard to maintain. Just heed this: Under almost not curcumstances should you build arrays of unknown size in loops.
  14. QUOTE(Aristos Queue @ Mar 10 2008, 07:16 PM) Wow Aristos, thanks a lot for your effort. Looks like I was 50% there, as I'm closing out the array of refs upon leaving the VI, but not the initial tab page references. I guess LabVIEW was doing that for me when the VI becomes idle, which it will for perhaps hours at a time. Richard
  15. QUOTE(mcguirpa @ Mar 7 2008, 10:38 AM) As far as number 1, the only way to vary the timing of that loop is to wire a control to the timer rather than a constant, or send a number to it programmatically. For example, the loop iteration (i) can be used with a scaler and fed to the timer. If you already know that stuff, then I probably didn't understand your question. As far as number two, I can't tell what's happening from just the screenshot.
  16. QUOTE(tcplomp @ Mar 8 2008, 06:00 AM) I'd like to ask what you (or anyone) thinks about the situation in the attached picture. This code gets references to 15 different array indicators (of type string, numeric, and boolean). So, do we just need to close the "Tab Control" reference? Perhaps even that isn't necessary? I'm a little fuzzy on what constitiutes a "branch", and if a reference to a control is the same as a reference to an indicator insofar as how it's treated in LV. Thanks, Richard
  17. There's not much there. If you have any questions let us know.
  18. It just depends on what colors you want. You can write an explicit color to a property node, or play with numbers to get the effect you want. Horizontal or vertical is of no consequence. I threw these two sliders together in a few seconds, but you'll get the idea (version 8.2 I think). I hope I understood your requirement. Richard
  19. QUOTE(Eugen Graf @ Mar 3 2008, 06:18 PM) I see... the string control thinks the data is fresh every loop iteration, causing the cursor to stay in position1. Maybe follow the string length and force the issue? See attached picture. Richard
  20. QUOTE(Eugen Graf @ Feb 22 2008, 08:14 AM) Very nice looking - a great LV implementation of the familiar Hyperterm behaviour. My computer isn't finding the Exit If Runtime VI. From your user lib? Richard
  21. Isn't the comma thing an artifact of the nationality of his LabVIEW version, and not so much a format deal?
  22. What, exactly, is your issue at this time? Your timing will code work fine, there's no issues there. If you set it for 1 minute, it should run 1 minute plus maybe 100mS. Is your serial port code hanging up? Check and make sure you don't need to send a CR or LF with your commands. Richard
×
×
  • Create New...

Important Information

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