Jump to content

donroth

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by donroth

  1. I am reposting the attachment showing how to use event structure to create nested tab control architecture. Don Download File:post-12-1073591615.zip
  2. Will do but I am out on leave and will get to this at the end of the week.... I remember having problems posting it and had to do it several times; I thought the last time it showed up properly. If I can't get it to post properly, I will just email it to you and let you do it. Sincerely, Don
  3. Hi Jim: This was in LV7. I put together a simple example which caused me to figure out the problem (which happened to be brainblock on my part). So in fact the variant comparison worked perfectly (I got a little scared there because I have used this over and over in LV6.1 successfully). I attach the simple example that does in fact work properly. Sincerely, Don Download File:post-10-1073107278.llb
  4. Hi: For you VARIANT gurus, have you run into any problems when comparing a present value of a variant (imagine for example a cluster of various types of controls that was converted to variant type) to a prior value and erroneously not sensing a change (when in fact the present value has changed from the prior value). I seem to be running into this problem whether comparing the variant data directly or even when performing a Variant-to-data conversion and then doing the comparison. Can provide an example if needed. Is this one weakness of using variant data? Sincerely, Don
  5. Hi Jack: The architecture looks very elegant and by virtue of the fact that you require action every 50 msec, you have shown a nice way to use the event structure while still polling as well as using the event structure just to handle user interface events. With the event structure in LV7 and user events, a number of other possibilties for architectures become available. I was able to add my NI_week slides by zipping up the file rather than sending as .llb in case anyone wants to see how I used the event structure with user events to create a nested tab control example using only the event structure and with no polling. Also, FYI, your .llb did not contain the .wav files so actually playing the game was a little difficult (kept asking to find the sounds directory). Sincerely, Don
  6. Hello Michael: At the presentation I am giving tomorrow at NIWEEK on one way to use nested tabs for data and control systems, I show an example at the end of the presentation in which I do exactly what you are referring to: generating user events as a substitute for queueing events. I just started using LV7, but my initial architecture uses a single event structure inside of a while loop which replaces the traditional state machine and is analagous to your third "combined loop" architecture discussed at the LAVA meeting on Aug. 13. I find so far that this method works well but as discussed at the LAVA meeting, lack of event flushing (at present?) (analagous to queue flushing) could be an issue. I downloaded your article on Developer Zone by the way and will look it over. I was also wondering if Jack could post his single loop architecture for Simon Says game presented at the LAVA meeting. I could not see everything, but it appeared to me since he had a timeout case wired with a time constant, that the architecture is still in fact a polling architecture. But maybe he did this just for this specific application. Sincerely, Don
  7. horizontal version of codeless radio button..... Enjoy. See LTR vol. 7, no. 4, p8-10 by Stepan Riha for how to build. Can be expanded for more radio buttons by adding new text items AND growing the SLIDER as needed. Sincerely, Don Download File:post-10-1073107199.ctl
×
×
  • Create New...

Important Information

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