Jump to content

Mike Ashe

Members
  • Posts

    1,626
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mike Ashe

  1. Another nifty tool. Now if we could combine this with a file save/restore, we might have something for bookmarks too. (another thread on LAVA). Another nice mod would be to look in libraries or directories, ie maybe add a tree control to the left side.
  2. And if you have a code snippet/VI to show what you are trying to do, as well as the "why" that might help. On NI's website there are a few libraries of Word/Office tools/VIs that might be of interest: NI DevZone thread on Word <-> LabVIEW Hope this helps, you'll have to play with this a bit.
  3. I think we might be able to make a workaround tool using scripting.
  4. Have you played with the Variant ConfigFile VIs in the OpenG toolkit? Very flexible for getting a large/complex data structure in and out of INI files. Perhaps you could take advantage of some of what is in there for your next round of mods to your Xcontrol
  5. Hmm, with respect, I have to disagree. There are many times where I have found it to be a great advantage to have clusters, including frames, like I want to setup a fairly complex control set, that I will reuse, especially one where I have put a picture control or other graphic item as the background, then had other buttons and menus grouped with it. The I write a set of method/property VIs for the cluster, ... that has been very useful. Interestingly, it is that same scenario that caused me to want to have the separate, non-framed cluster. It all depends on whether the needs of the project/GUI and user workflow require the controls to be closely spaced or separate, spatially, on the GUI. Either way, I wish it was my choice/option.
  6. Okay, I was missing my third cup of coffee that morning, along with the braincell, which I think my wife was keeping at the moment. :headbang: I agree, we need this as an option. If the range is non-contiguous all enum values show up, if contiguous it performs the elipsis contraction. A real hack workaround for now is to put a divider, a "No-Operation" or some other such value that you do not use in the enum. I modified your list and an enum as: initializing --- NOP --- shutting down aborting running then noticed that if the mod to the enum was performed after the CASE was setup, that the elipsis stayed, but if the enum was filled in, then the CASE was setup that the CASE would show the three selected values: The upper CASE and enum had perviously been setup like you's, the lower case separate, then connected. It works, but it is definitely in the "hack" rather than elegant category. Most of my CASEs are done with strings these days, I imagine the behavior is the same. One final thought: now that we can script and get references to things like CASEs I wonder if there is a scripting property that might help here?
  7. I'd like to be able to put several controls into widely dispersed areas of a GUI, but because of their functional relations be able to group them as a "cluster" that did not have a frame/background. ie, a single terminal, like a normal cluster on the diagram, but on the front separate controls unless you double click on the terminal, in which case all of the controls in the group would highlight.
  8. You mean like this: I must be missing something, works fine here. Maybe changed for LV 8? I did the above in 7.3 just now, worked first time. What am I missing?
  9. I'm missing something simple here, I tried this just now with 7.3 and it doesn't work for me. I'm sure its a simple mistake. How about a two line Flip for Dummies recipe.
  10. I asked NI for a programmatic interface into the Find dialog several times in the past few years. That would let us develop what you are asking for.
  11. Just goes to show that prepackaged meaning isn't always a good substitute for real life (or code). Serves us all right for trying to Zen this to death. (The cat [and the code] are in the box ... now they're not ...)
  12. Lots of downloads, I thought one of us should say: Thank You Remind me to buy :beer: if we ever meet at NI Week
  13. Just a quick guess, I didn't test it, but in VI: "XLspecial_GetAllExcelData.vi" you have a FOR loop where you create references to each sheet in the workbook, but on the right side of the loop you have indexing disabled on the references coming out, so the Close Reference nodes only close the last reference(s) generated by the loop. The rest might be left dangling. You might want to enable referencing and enclose those Close REfs in another loop, or pull them into your current FOR loop.
  14. Under the File I/O pallete you'll find the Binary File VIs pallete. You want the "Read From SGL File.vi", use that to read the data in, then write it back out with the first VI in the File I/O pallete: "Write To Spreadsheet File.vi" Two VIs.
  15. applause, appliances, applications, apprehension, approximation ... its in there somewhere ...
  16. Uncle Bill's philosophy on open standards: embrace, extend, extinguish ...
  17. Before you spend a lot of time on this one you should know that there are a couple of free toolkits out there that already do a lot of Windows functions and a couple of $$ commercial toolkits as well. They cover most of the basics already, so don't reinvent the wheel. However, there are a lot of OS functions that are not covered yet, so I think new toolkits of this type would be welcome provided they give some new functionality. Just be prepared to politely ignore the inevitable screams that your toolkit is not cross platform and doesn't brew coffee in the morning ...
  18. Now if you could move one wire and have the express VI and the other wire move too. Someday...
  19. Back to the idea of a web browser control (kit?), other than Java I don't see any way currently. However, there are a few open source libraries, available in both DLLs and shared libraries. If you set the Call Library node to a relative path subdirectory for your library and end the library name with a wildcard labview will accept that: mylibrary.* It might be possible to do a cross platform parser driving a picture control, but it still seems like a lot more trouble than it is worth. Back onto Java, has anyone tried to hook JNI into LabVIEW in a semi-generic way?
  20. You can also make picture control constants on the block diagram: set picture topic Load your picture into a picture cotrol then popup and make a constant. This has the advantage that you can then use the picture somewhere.
  21. I'm obviously not keeping up with the news, can you summarize whats going on with OpenGL? Is uncle billie messing with another open standard?
  22. Look at an animation application, such as Poser or 3DS Max Most keyframe timelines are a combination of a tree control/listbox on the left and a grid type graph on the left that has time along the X axis in discreet "frames" with symbols in the gird boxes to show that a keyframe is set at that point. There are a couple of ways to do this in LabVIEW, the simplist being just a 2D array of booleans, with ON showing a key frame. Thing is I'd like to do a lot more and keep it flexible, so I've already started coding using the picture control. As I said before, if anyone knows of an ActiveX control that does this or prewritten LV code I'd be interested, otherwise I'll finish V1 in a couple days.
×
×
  • Create New...

Important Information

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