- Popular Post
-
Posts
3,433 -
Joined
-
Last visited
-
Days Won
289
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by hooovahh
-
-
AQ, when you complain about LV, it makes me chuckle.
It's like a mother calling her child dumb. It maybe true some times it's just odd to hear it.
-
I don't experience this, the first unread post buttons seems to be working for me. Generally I go to the first unread post then scroll up a few and reread them anyway because I usually forget what the subject was or what was said.
-
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.
-
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.
-
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.
-
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.
-
Hi,
if you could find both,can you please send me.
Thanks
MADHUBALAN
I don't think it's free but it comes with a trial.
-
...and you typically *always* want to enable "Scale Objects While Resizing" because hardware is more capable today than it was in the 1900's. :-)
I also set this every time I'm doing any nice UI stuff. Too bad it can't be set programatically.
-
Hi shaunR,
I will try this,can please send the vi file of png histogram color.
Thank you
Madhubalan
It comes with the IMAQ toolkit I believe.
-
Please post the code you've tried already.
In either case here is a post talking a little about sine fitting.
http://forums.ni.com/t5/LabVIEW/Sine-fit-algorithm/td-p/1616536
-
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.
-
Thanks Jack, your example looks like what I want but I get very different behavior on my machine using your VIs. See my screencast:
Would you mind trying that link again. I only see an image of a map looking at Springfield, IL.
-
If you are ever unsure of the range a number holds I just test it. Put in a few numbers into both controls and then try to end numbers into the control to see the range and resolution. I agree that the controls aren't labeled in an intuitive way but I can always test it to make sure it is working right.
-
some info store in the vi,nobody knows whether the license number hashed stored
I think that AQ would know if there was, and he said there isn't. Until someone proves him wrong I will trust him.
-
"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/
-
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.
-
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.
-
You forgot to attach your VI.
-
Literally orders of magnitude faster I'll give you that. My only concern would be that Xnodes are the deep underbelly of LabVIEW and have no support, and NI's official opinion is that they should not be used (unless the XNode is made by NI of course). Which is why I was looking for non-XNode code that can do the same and still be as easy to use as the XNode. Turns out my first attempt met those criteria but is much much slower.
-
I was making some subVI that used a private method, and I wanted to know by looking at the subVI that it was private and shouldn't be used in end applications. I thought the easiest way was to color the icon to have a background the same brownish color that private methods have. I had difficulty finding the color that was the closes because of this reason and ended up trying a bunch of things to get it right. It just seemed odd to me that LabVIEW's property nodes had a color that my subVI could not come very close to.
All of this apparently is due to the limitation Darin mentioned.
-
1
-
-
To quote Jerry Seinfeld: I think if you've got a T-shirt with a bloodstain all over it, maybe laundry isn't your biggest problem
Thanks for that, it is Friday.
-
Bundling n-arrays into a cluster is scalable just because it is possible?
I don't know what you mean by this. Yes it is possible to scale up the example to support any number of items for any data types.
Your new method is the most obvious, but I was originally trying to stay true to the XNode feel, where there is a terminal that is added, then the new data is wired to it, and the selector chooses which one. This method has two operations to add a new item to the selector. Add the new terminal, and connect the data to the new terminal. Your method is similar but if I needed to select from a large number of items (say 50) then making the bundle to be of that size is easier then adding a new 50 cases to a case structure.
Of course if I needed to select from 50 different items I may do something altogether different.
But to be honest I use your method all the time, and made my method for the first time today.
-
Well, it is not how I would have built it either, but previous comments sounded like it was not possible at all. I just wanted to check for myself.
It is possible, given the limitation that all arrays have the same number of elements and are the same size. If I have 4 3D arrays to choose from they all need to be the same size in each dimension.
But using clusters does have another runtime issue. A cluster can be mixed data types, so if Item 1 is a string, and Item 2 is a double an error will occur with my method if you select item 2 because the Variant to Data will throw an error at runtime, but still allow the VI to run, where your method will create a broken arrow.
-
Tell me that's not actually how you would code the logic to pick a certain input array based on a selector input and pass it to an output. It's Friday, you get the benefit of the doubt here.
See my previous comment to hooovah
Oh give me a break. I wanted something scalable with as few clicks as possible to add new items, using as little foot print as possible. Normally I wouldn't use such a function but I challenge anyone to come up with a better solution that is smaller, or uses less clicks to add items.
ALSO I used a cluster because my arrays are not the same size so a build array function would cause wrong data (without the added code to know the size the output should be) which I don't need to worry about with a cluster.
Edison and "collaboration"
in LAVA Lounge
Posted
And then this answer to the article is also an interesting read.