Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,196
  • Joined

  • Last visited

  • Days Won

    103

Posts posted by Michael Aivaliotis

  1. LV7 introduces dynamic events. I have experimented in certain applications with the use of dynamic events to replace or compliment queues. Has anyone else done the same?

    Specificaly, I would prefer to use dynamic events in the same or similar fashion as queues. I would like to get a dynamic event refnum by name if possible. I would also like to use them outside of the event structure construct.

    I'm presently trying to see how dynamic events fit-in if at all to the present architecture of large application development. Any help or suggestions from personal experimentations is appreaciated.

    blog-2-1126242185.gif?width=400

    blog-2-1126242687.gif?width=400

    blog-2-1126244496.gif?width=400

    blog-2-1126243564.gif?width=400

    blog-2-1126244254.gif?width=400

  2. LabVIEW 7 was released today. Many of the new features were requested user items. Has NI got it right? Are these the features you had requested as advanced developers?

    The wish lists for the last 2 NIWEEK shows have been attached. We will compile a new list to submit to this years NIweek 2003. I would like you to review the previous lists and submit any suggestions to this thread. This way we can avoid duplication.

    The previous wish lists were a collection of enhancements recommended by the Northern California LAVA group. This time, it would be great to update this list and remove the items already included in LV7. It would also be good to have all 3 LAVA groups collaborate on this new document. Please review the lists and submit any comments you have here.

    Download File:post-14-1073112163.zip

  3. We are looking into doing Live webcasting of our LAVA meetings in the three locations presently active, California and Ontario. Is there interest in this? This would require a high speed connection and possible some other hardware requirements. This would allow people to "virtualy" attend from far way. There would also be the possibility of chat during the meeting.

    Would you be interested in this?

    Michael Aivaliotis

  4. Well, I found a VI that will allow you to do DDE communications between LV and msaccess. This VI will run a macro in Access. I've attached it.

    I also have a VI attached that does the same but using ActiveX. I wasn't able to test this vi successfully on my own computer since my version of Access is corrupt for reasons I won't get into...

    Good Luck, Let me know if this works.

    Michael Aivaliotis.

    Download File:post-10-1073100098.zip

  5. Well, its seems that a native treeview control may be in the works for a future version of LV as was hinted on info-labview. If you can't wait that long then you will notice that a modified multicolumn listbox exists in LV that will give some similer functionality. Below is an excerpt from some posts on info-labview on how this control works and how to get it:

    > If you want to see something interesting, look at the listbox contained in

    > the Find Examples. It is a native LabVIEW control. To see the pictures

    > just run the Find Examples select a few levels until you see a little

    > LabVIEW icon. Right click, copy data, go to a new LabVIEW window

    > and press

    > control-V. The whole control will be copied, not just the data. Create a

    > property node and look at the strings and the item symbols. You will

    > notice item symbols with the following values: 14, 15, 65563,

    > 132103 and so

    > on. Is this the future treeview Greg was hinting at, or is it just an

    > experiment. I haven't decode them all.

    --------

    It seems like the large numbers are there to introduce an offset to the

    icons (indentation effect). 65536 is the offset code + 14 or 15 which would

    be an open or closed folder symbol. But I believe its just a multicoloumn

    listbox at heart. However having said that there MUST be a hidden property

    to enable indentation because you can't perform this on a defualt

    multicoloumn off of the pallete.

    --------

    Ooops, bug from National Instruments! The VI is very much protected with

    a password. That Copy does copy the whole control instead of only the

    data in a running VI is most probably not an intended behaviour ;-).

    As far as the icons are concerned, I fiddled a little with them. Besides

    of the normal icons in standard list box controls you have a bunch of

    predefined from index 1000 up. They are all in color. There seems no way

    of adding your own icons though.

    And the icon index is really a combination. Lower 16 bits are the icon index

    and higher 16 bits are the indention levels. So do your work with it guys!

    --------

    > Well, more digging reveals that the extended symbols start at code 1000 and

    > up. The high numbers are deffinitlly there for indentation. So, every time

    > you add a multiple of 65536 to your code number then you indent it by 1

    > indentation mark. Now why the hell isn't all of this available on the

    > default multi-coloumn listbox? I am a very upset camper here!

    >  

    > Lucy! I mean Greg, you have some splainin' to do

    >  

    Splaination follows.

    All programmers with deadlines will eventually have to do things they

    aren't proud of. Some call it hacking, others call it thinking outside

    of the box.

    Years ago, people on the LV team wanted a tree control. We didn't

    have one. So we got creative, grabbed the nearest listbox and

    added some obscure encoding so that we could get done what

    we wanted/needed. Tah-dah. We have a prototype for a tree

    control. One with lots of limitations that isn't very easy to use

    from the diagram, but one that would let us get a few utilities

    such as the Example Finder out the door and teach us what

    it would take to build one for real.

    No, this isn't the thing we plan to release, otherwise we would

    have done it years ago when the hack occurred. We decided

    not to subject the typical LV user to our hack, and have rarely

    used it internally.

    So while you might find it interesting to reverse engineer this

    odd relic that you found on the side of the road, don't get too

    attached to it. We had not planned to support it once we have

    something better. That was why it wasn't exposed/documented

    in the first place. As discussed earlier, major portions

    of LV, like the more complex controls, are revamped and

    rewritten whenever enough features have been added to

    make them lopsided. Some features are easy to add to

    existing controls, others, like custom symbols seem easy,

    but behind the scenes require major work.

    Once again, the elves have been seen in the forest. I think

    I hear chopping noises.  

    And just so we are all on the same page, please don't

    refer to them as my elves. My ears are just as pointy

    as theirs.

    Greg McKaskle

    Enjoy

    Michael Aivaliotis

    blog-2397-1124142186.jpg?width=400

  6. Thanks to Michael for the new questions and support section.

    I'm testing out datasockets to an A-B RSLinx OPC server. At the moment, it appears as though each register in the PLC has to be accessed with an individual URL. Is it possible to access a group of (sequential) registers with a single URL? I suspect i may have to cluster a bunch of individuals together.

    Jeff :?:

    Jeff,

    I asked around and I got the following response:

    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.

    Randy Hoskin

    Applications Engineer

    National Instruments

    Sorry,

    Michael Aivaliotis

×
×
  • Create New...

Important Information

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