-
Posts
950 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by jcarmody
-
I used to use Freemind a lot and was very happy with the way it helped me organize large bodies of information. It's not hard to learn enough to be effective. I don't use it any more because it's not Emacs.
-
A Hot key utility that brings timestamp into clipboard
jcarmody replied to TG's topic in LabVIEW General
Seeing that you have LV2009, you can create your own Quick Drop keyboard shortcut. I don't have 2009 right now, nor have I ever done this, but I expect it'd be easy to accomplish. Here's a blog post with details. The VI would be very simple. As crelf said, a JKI RCF plug-in would be easy, but that's not a hot-key. -
Cross-Poster come out of the Closet
jcarmody replied to Grampa_of_Oliva_n_Eden's topic in LAVA Lounge
jcarmody: LAVA/NI Community/NI Forum -
GenINI - generate read/write code for INI files
jcarmody replied to jzoller's topic in Code In-Development
Yair, The beautiful thing is that Joe's solution makes the typedef constant to use with the OpenG VIs. My current workflow has me creating/editing an ini file and then creating/editing a typedef'd cluster. This makes the cluster for me and, as long as I can fit it neatly in my LabVIEW\projects folder, I see myself using it whenever I need to work with config files. What does MGI have for this? Jim -
GenINI - generate read/write code for INI files
jcarmody replied to jzoller's topic in Code In-Development
I wasn't referring to the OpenG alternatives to the NI VIs, I was thinking about the Read and Write Ini cluster VIs. This snippet uses the Read Ini Cluster VI and the typedef from your program to do read the ini file in two steps (you'll need to convert the variant). I don't think there's any need to abstract out the config files, unless someone else has a use-case, because I'm only going to use the typedef control. But I'm going to do that every time I have a config file so your work will help me a lot. -
GenINI - generate read/write code for INI files
jcarmody replied to jzoller's topic in Code In-Development
I love it. This'll go in my LabVIEW\project folder. I like using the OpenG config file VIs but still have had to make the typedef cluster. Excellent idea. Thanks, Jim -
Issue Tracking using Microsoft Access
jcarmody replied to ASTDan's topic in Development Environment (IDE)
You don't have to manage Fogbugz; they host it for you. -
Yippie!!! From the Washington Post. (tl.dr. - jury acquitted drug dealer when police testimony appeared fabricated) How do you think it would go after the following, hypothetical conversation? Judge: I hold you in contempt of court! Me: Ya think?
-
Would you share the answer now? I understand what's been discussed but haven't learned if I should learn to use Singletons. Thanks, Jim
-
Position a SubVI relative to a wire in a container
jcarmody replied to jcarmody's topic in VI Scripting
The Data Type property seems to hold the data, not the type. The Data Type of the States wire contains the Variant "". I've managed to get the data type, having found a reference that said it is found in the low byte of the first element in the Type Descriptor array. This turns out to be 26 in most cases, but not all, so I still need help. Here's an 8.2 version. Insert_AS2Q.llb -
FIRST has made it into pop-culture! Here's a link to the comic on XKCD.
-
Position a SubVI relative to a wire in a container
jcarmody replied to jcarmody's topic in VI Scripting
It doesn't behave well if I use it in the Idle state (inside the Event Structure), even after I change the To More Specific Class. Back to the drawing board. -
Position a SubVI relative to a wire in a container
jcarmody replied to jcarmody's topic in VI Scripting
I've made this into a JKI RCF plugin to simplify (my) life when writing a VI with a JKI State Machine. I don't often duplicate cases to make a new one, and I use Linked Tunnels so my tunnels are all wired, but I have to put the Add State(s) to Queue.vi into the new case manually. I've resorted to leaving it outside the State Machine (initializing the Shift Register) so I have one handy to ctrl-click/copy/drag. I suspect that's why JKI put it there in the first place. It only takes a few seconds but I've wanted a RCF plugin for a long time. (This was one of the first RCF ideas I had.) You install this like you would any other RCF plugin. To use it, select the State String wire, activate the RCF and select "Insert AS2Q" and it'll insert the SubVI eight pixels from the output tunnel (just where my OCD likes it ). Two questions: 1) How can I test the data type of the wire? I don't want to activate this plugin unless a String wire is selected. 2) Am I the only one that thinks this will be useful? Thanks, Jim Insert_AS2Q.llb -
Position a SubVI relative to a wire in a container
jcarmody replied to jcarmody's topic in VI Scripting
Almost, but it doesn't give me the position of the terminals relative to the wire's owner. This is what I worked out after I found that the Case Structure is the Terminal's owner's owner. -
I've written a VI to insert the Add State(s) to Queue SubVI and wire it into the States string of a JKI State Machine. My problem is that I can't figure out how to calculate the position relative to the owner of the wire, so I've hard coded an offset. It works well enough, but I don't like it. Could you look at what I've done and see if you can help me position the SubVI properly? If I could only find the position of the wires owner I think I could finish this. To test this: download the BD Minion, run it, go to a VI with a string wire, select the string wire then press the "Add States to Queue" button. Jim BDMinion.vi
-
If you can use portable media, you can install OpenG & JKI packages onto a PC that's not connected to the internet.
-
I just received a summons to report for Jury Duty next month.
-
When you say you can't see both elements in the combo box, are you saying that only one is in the drop-down list or that you want to see both of them without clicking on anything?
-
First of all, this is cute! Use the boolean Not, instead. I think your problem is that the solenoid VI isn't showing. Right? You can make the form into a dialog and that'll make it work, or you can customize the properties of the window. Use File -> VI Properties (or ctrl-I) and select Window Appearance category. OR You can also simplify the logic in solenoid.vi. I added the Wait function.
-
I'm not sure I follow the description of your problem. My first thought was that you're trying to do this: ... which clearly works for me. What am I misunderstanding?
-
I don't believe so. Dragging from the web directly to a BD works in IE. I use Opera and have to download snippets then drag them in; I think Firefox is the same.
-
Martin, I was nervous when I took the exam, so I understand (at least, in part) how you're feeling. Your four years of experience may put you ahead of where I was (with <1 year) when I passed it. The graders were, thankfully, more compassionate than I would have been were I grading my own submission. I don't want to lull you into a false sense of security, but also want to let you rest assured that it's a fair test of your ability to implement the fundamentals and not a horrible weeding-out process. Good luck . Jim
-
I started with plans to include all multi-frame structures but immediately eliminated support for Stacked Sequences and soon found that an Event Structure's frame names aren't accessible. I asked a question about this on NI's API community here, and it was added to a list of desired access to properties/methods here. I thought there was another discussion with more comments, but I haven't been able to find anything. I don't know if anything new was exposed in LV2009 because I don't have it yet. It's on my list of features to add.
-
This might be perfect for monitoring my chicken barn during out-of-town trips! Seriously.