Jump to content

hooovahh

Moderators
  • Posts

    3,365
  • Joined

  • Last visited

  • Days Won

    268

Posts posted by hooovahh

  1. I have never used the 6008, and I can't simulate it for some reason (not in the list in MAX) but the spec says supports 10Ks/s sampling rate on a single channel.  I assumed it meant hardware timing, since it would be cruel to say that but require a tight timed loop in Windows.  I just went for the cheapest AI USB DAQ not knowing that NI sold them which don't support hardware timing.  Please correct me if I'm wrong.

  2. Perform a DAQ read using any normal NI hardware, using continuous mode.  Then you can have the hardware read a bunch of values (say 10,000 per second) and once a second read all of them, then perform a Maximum function on it in LabVIEW, then read another 10,000 samples and get the maximum of those 10,000 plus the one from previous.    The cheapest solution I'd recommend (not knowing the full application) is the USB-6008.  Then use any continuous analog input sampling example.

     

    The trick here is that it is a software solution, but using hardware timing so you won't miss any values, it's continuously reading, you just have to ask for a chunk of values at a time.

  3. I don't think such a thing will be an easy thing to get.  Keep in mind an installer may have multiple EXEs inside it, so there won't be a tag that is the version of software for an EXE.  But you can probably perform the steps you want using a Post Install VI call.  This will run a VI after the installer is complete.  Using this you can get the version of the EXE you want (because you know where it was installed to) then you can write the registry however you like.

  4. So generally you can get VIs out of an EXE but usually you don't want to.  VIs in an EXE by default have no block diagrams, or front panels unless they are used in the application.  So if you were able to get the VIs out you will be able to call them and get outputs from it, but can't see the source.  Another big issue is that the VI will be compiled for the only version of LabVIEW that the EXE was built for.  So if you made the EXE in 8.2 you can only call it from the 8.2 runtime engine.  I have some tools I've found on NI's forums to help get VIs out of EXEs but ever time I try to I realize the outcome isn't very helpful.

  5. That "Copy Data" and "Paste Data" will copy the data in the control.  For a Multicolumn Listbox this usually means a scalar I32 of which row is selected.  If you pasted the data into another listbox it would be set to the row you choose on the other.  You will need to perform your own copy and paste routine if you want to copy a row of data and not the row index itself.

  6. I've used some other thermocouple extension wires before.  I don't know if I ended up with the cheap ones or not but I found that the temperate reading was always off by a few degrees with an extension in place.  

     

    I have another situation where I had a PC and I needed to take a temperature reading 20 feet away.  We could get a 20 foot thermocouple, but since we had no hardware restrictions on what takes the measurement, and because we only needed to take one temperature reading, we ended up using a TC-01 USB device.  This meant that the USB cable would be 8 feet or so, and we could either get a USB extension cable and use a short thermocouple, or use a thermocoule extension.  I'm surprised more people don't use this little device for a simple temperature measurement, but I assume other systems need multiple temperature readings, or the system already has some extra hardware for taking a measurement.

  7. After a day of playing with the XTab control, I can say that is looks promising but is too buggy for real world use at this point.  I hope the author continues to improve it.  In the meantime, I would recommend you look elsewhere for a tab solution.

    I was going to say something along the same lines.  I like what they have put together but I don't think I can bring myself to use it in an application at the moment.  I would also much appreciate an open version licensed under BSD or something, and having no passworded diagrams.

  8. Any ideas as to how I could implement something that could achieve similar results?

     

    Thanks,

    Bruce

    The only way I've been able to do this is by cheating.  I would have a horizontal splitter with only the tabs in the top pane, and the contents of the tabs in the lower pane.  Then when you change the value in the top tab control it changes the value in the bottom tab control.  Then when the bottom tab control changes value, I also fit the appropriate control to the pane.  This gives the illusion of a single tab that fits to the pane but really it is two tabs.

     

    This technique falls apart if you try to have more complicated controls then just a single graph, or table in each tab.  It is still do-able but I've found my self performing manual resizing of controls if the pane is resized. 

     

    Attached is a quick demo that uses a graph, a single column listbox and a table.

    Cheating Tabs.vi

  9. Doh!  Try this one: http://screencast.com/t/Nq9KVfgI

    Wow I've never seen that happen before.  You ran that VI un edited?  I had normal results sorry.  One thing I'd be curious about is if you use the invoke node to Fit Control to Pane (on the sub panel, or the tree) does it fix this?  To be clear I don't think you should have to do this to have it function properly I'm just wondering if this would fix the issue.

  10. "Maybe Hoovah is really Crelf's alter-ego, which he uses to irk people?" - Gary Rubin

     

    How does crelf irking hooovahh fit into all of this?  Is crelf just irking himself to get his own post count up??  He's kinda slacking at only 5,744 posts.

    I really like that quote because at one point, joking or not Gary Rubin said that in a post.  I thought it was funny so I made it my signature.  Crelf at first was not amused and thought having that as my signature would perpetuated the idea that this account was ran by crelf and he was just irking people.  We are separate people of course or so we'd like you to believe.

     

    Regarding the Zimbabwe 100 Trillion dollar bill.  I heard that when that bill was issues before it was in the hands of consumers, inflation had grown even more, and when the banks got those 100 trillion dollar bills they were instructed to write another zero on the end of each bill.  Not sure if it was true or not.  I've thought about buying some just to have in my wallet for a tip, or a joke with a bartender.  http://zimbabwedollars.net/

  11. Not sure the kind of work you will be doing, but at one point we had some remote developers write the software to talk to a device over serial (I think it was a power supply).  The developer needed to power cycle the device periodically, to put it back into a known state.  So we hooked up a USB NI daq card, and told him that P0.0 would toggle a relay that would turn 120VAC off to an outlet.

     

    Later he needed to see the device to see the status of the front panel.  So we hooked up a web cam and gave him the IP address so he could see the device update in real time.

  12. I guess maybe I am missing something but what exactly does this information tell you?  I can see the graph as representative of the relationships but how does that help?

     

    Do you have like a use case example that you could walk me through to show how the data is used?

     

    Wire Warrior

    I could see this used in a document explaining how the software components communicate.  Sure you'd probably want a section explaining each relationship in more detail, but it would to spice up a boring software document with some graphics.

     

    I do something similar with my software design documents, but they are custom made, and could be error prone.  I may miss some messaging connection between nodes where this software wouldn't.

×
×
  • Create New...

Important Information

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