Jump to content

Cat

Members
  • Posts

    815
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Cat

  1. I am modifying Color Table Generator.vi (in intgraph.llb) to create a color ramp for an intensity graph. Color Table Generator.vi creates a very nice view of what the color ramp is going to look like, however, it is positioned horizontally. I want to change the color box array so it runs vertically (like the actual color ramp of the graph). That's the easy part.

    The horizontal color box array has array elements that are only 2 pixels wide. This is in order to fit all 256 elements in the little window. But when I make the array vertical, I can't seem to make the color box elements any smaller than 5 pixels (width or height). I discovered the property ArrElem.Bounds isn't settable during runtime, so that didn't help. So I thought I would make a color box of the right dimensions and pop it in the array. But while ColorAreaSize is settable during runtime, if I set it to 2 pixels (for example) and then read it back, it still gets no smaller than 5 pixels.

    Obviously somebody at some point created a color box with a dimension smaller than 5 pixels, so it must be possible. But I've run out of obvious things to try. Any suggestions?

    Cat

  2. Try to do a search on the word "color" (no quotes).

    I get back:

    The following search terms are not allowed and were removed from your query: color

    This happens even if "color" is part of several words in the search. The word "color" disappears from the search parameters. This happen to anyone else?

  3. What always ends up biting me in the @ss is something hardware related.

    Yes!

    I hate it when some project manager comes knocking on the door asking me to write code for a VXI system. And yes, they gasp when I tell them how long it will take. Then I tell them about 10% of that is writing code and the rest of it is a science project getting all the cards to play well together on whatever system they need it to work on.

    And don't get me started about working with SCSI...

  4. There are many ways to skin a cat when it comes to coding and style and there isn't a single correct answer. However, it is very important to know the NI answer. That is, you need to understand what NI is looking for when you are taking the certification tests.

    Y'all have been out of school too long. smile.gif

    Mark's right -- the key to passing any test is knowing what the test creator thinks the correct answer is. Is this the way it should be? No, but it's the way it is. That's why it's a Good Thing to take as many practice tests as possible. Not only does it point out what knowledge you're lacking (I completely forgot there was such a beast as a stacked shift register until I took the LV Fundamentals test), it gets you familiar with the way the test is worded, and underlying assumptions the test creator is making (Yair, your example of the array addition is one that really annoyed me, too). It would be nice if there was some sort of peer-review process with these test questions.

    But Mark, that comment about "skinning a cat"... nono.giftongue.gif

    Cat

  5. FWIW, I'm in the midst of going back and forth with NI customer support just trying to get LabVIEW 2009 activated. This is on a laptop with a couple other versions of LV installed. I got it to activate just fine on a desktop (both computers running XP). But what is interesting is that NI keeps asking me if I have a desktop or laptop, as if this makes a difference for some reason. It sounds like others might be having problems with a laptop installation, also. No solutions, just an observation...

    (BTW, NI support has been very proactive about helping me with this.)

    Cat

  6. After you finish that book I suggest picking up Head First Design Patterns. The way it presents information may lead you to believe it's a throwaway book but it has surprisingly deep explanations of design patterns.

    Thanks for the suggestion. Some of the reviews I've just read say you need to know Java to understand the examples. OO Thought Process has examples in both C# and Java. I can read the C#, but everytime I look at the Java, all I can think is, "That's not code, that's just somebody talking about code." Think this will be a problem?

    A word of caution: Expect to make lots of mistakes designing your first several object models.

    My guess is that when I think I've got something workable, I'll post it to the LVOOP subforum, and let you guyze rip it apart and tell me how it *should* have been done. tongue.gif

  7. ¿Is it possible to drag an XY Graph from the front panel of a LV executable and drop it in a Microsoft Word document?

    Unless someone comes up with a fancy way to do this... I would just Alt-PrintScreen the LV exe, put it into the picture editor of your choice (MSPaint is easy to use) and cut-n-paste your graph to the Word doc. I've done this a few times in the past and it's relatively painless.

    Cat

  8. I am transitioning from Lurker to non-lurker status now that the dust has settled on the new format of LAVA.

    There used to be an option/link... that I would use that would just let me look ath the new posts in all forums. Could someone provide a link to whatever the equivelent is now?

    I was wondering where you'd wandered off to.

    Along with the "last 24 hours" link is the "View Unread Content" link that should be in the upper right hand corner of your screen.

  9. Must have been an Info-LabVIEW post then and not as detailed and about all these things. Many things described in the previous answer were not even possible with LabVIEW 4 or so, which was the then most current version. Also at that time while I was busy trying to write the occasional CIN, I was also often flabbergasted at how to match C and LabVIEW well. rolleyes.gif

    Definitely info-LabVIEW, and most probably about CINs. I remember I had the post printed out and filed away. I wasn't using CINs enough that I had the process completely down -- not that the "process" was very well defined anyway. But when I did need a CIN, it was very handy to be able to pull that post out and at least have some clue about how to proceed. Things are a lot easier now!

    (Yeah, and I used to have to walk 5 miles to school everyday, thru 3 feet of snow. Uphill. Both ways. laugh.gif )

  10. I vote for LVOOP.

    A while ago on LAVA, AQ has recomanded this Book as a good start to learn OOP. After reading it cover to cover I can just agree with him.

    Well if AQ recommends it... Luckily I have a well-stocked Barnes&Noble within walking distance.

    Do you want to be geeky or practical? rolleyes.gif

    Geeky!

    Umm, I mean, practical, I guess...

    Someone at NI recommended a book: The Object Oriented Thought Process to get my head around OO thinking. After that I think it's just writing code and and peer review.

    I just got the "Drinking the OO Kool-Aid" book, uhh, "The Object Oriented Thought Process" book. I'm ready to pop open a bottle of zinfandel (red, not white), crack open the book, and have one heckuva night!

    wub.gif

    Smoochie! :D

    Always the heathen :P.

    SCRIPTING!

    Since your only putting aside 1 week, you'll have loads of scripting goodies at the end instead of just a headache.

    Youuse some of your own time? Then do scripting. It's cool and geeky. Ownsome reputation for writing some JKI RCF plugin. Go for the selfreplicating code challenge. LVOOP is just a 'glorified cluster'.

    I figured I could count on you two for the scripting vote!

    Here's what I think I'm going to do... start with the OO book at home, and do the scripting stuff at work, where as far as all those sequential-programming ninnies can tell, I'll be doing something project-related.:lol:

    I suggest UML, oh I meant OO of cause ;-)

    These videos haven't been officially released but could been accessed here at the moment.

    (soon releasing the new version of GDS with some UML updated)

    Thanks for the links! I'm sure they will be quite useful once I learn the language...

  11. I'm back from vaycay (a lovely week on the shores of Lake Michigan) during which I worked too much. As a kind of reward, I'm going to take a few days off from my regularily scheduled projects and do a little professional development. At this point, I can probably squeeze in a week of time (okay, some of it will be on my own time, at home, but my cow-orkers didn't get me a "Geek Goddess" mug for nuthin' laugh.gif ).

    I am woefully uneducated on two topics(well, a lot more than 2):

    1) LVOOP

    2) Scripting

    One seems more interesting (scripting) but the other seems more practical (LVOOP). Given a week, and given that I don't know diddly about OOP to start with, anyone want to weigh in on which of those 2 options might be a better use of my "professional development" time?

    Cat

  12. I'm pretty sure the answer is no, but...

    Is there any way to mark a post that's already been read as "unread"?

    Here's the problem: I read LAVA most every day by just going thru whatever turns up when I hit the "View Unread Content" link. I'm doing this at work thru a very thick firewall on an obsolete IE6 browser, and many of the attachments are invisible and links are unreachable. I would like to be able to mark posts I want to see all of as "unread" so when I get home, I can "View Unread Content" again and view the posts I couldn't view at work.

    Solution(s)?

    Cat

    • Like 1
×
×
  • Create New...

Important Information

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