Jump to content

robert.berger

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Everything posted by robert.berger

  1. michael, and everyone that has offered it, thanks for the advice. i looked at the presentation and was intrigued by the Queue diagram on page 41. i was not able to find that code in the download. is there any chance i can get that actual code? i have retrofitted some early projects with queues and notifiers, but this is the first project im trying to use queues from the start and i would like to get it "right", if there is such a thing. thanks, robert
  2. thanks for the response. H.O.'s is what im looking for. im always interested in new ideas for what im doing. thanks, robert
  3. no opinions? is what i am trying to do out of the norm and thats why no responses? i would be interested in what the group thinks. thanks, robert
  4. how many separate loops can you get away with? i have the following separate loops, so far 1: main gui loop (event driven) - run all user interface functions 2: main function loop - update user panel, updates test selection etc. 3: time loop (displays time and date) - runs every 100ms to update time, date and polls a LV2 global for text 4: mouse scroll loop (scroll windows) - runs when user moves mouse into text box or multi listbox to allow scrolling with mouse wheel 5: test loop - used to run any test independently of any other loop. these are all triggered from notifier or queues from main gui loop. too much ...not enough (haha) :laugh: thanks, robert
  5. thanks for the responses. the cluster is not written to all at once. most times each state will only read or write two pieces of data from the cluster at a time. i had used a shift register to carry the cluster through the states but thought i would try this aproach this time. it seems cleaner. i just wasn't sure if this was a common aproach used (lv2 global) or i was off on my own. also, i didn't know about the memory usage of the lv2 global versus the shift register aproach i used before.
  6. im thinking about using lv2globals to share information between states in a queued message architecture program. which approach would be better to use? reading and writing the entire cluster each time as in example#1 or writing just whats needed each time as in example#2. or if there is a better option i am open to that as well. obviously the cluster items will grow in number as the program matures, so this is a concern as well. i don't want to pass around too much data unnecessarily. Download File:post-981-1112375596.vi Download File:post-981-1112375599.vi
  7. heiko, yes, good idea :thumbup: . i like it. thanks for your response. robert
  8. i wanted to make some hover buttons (button property changes with mouse over). some on their own and others in clusters. its not hard to do with the events structure, but it seems like there is a better way to do it then what i did. anybody got a better suggestion? LVversion7.0 thanks, robert Download File:post-981-1105725797.llb
  9. thank you for the explanation. i was not aware the notifier need to loop. i had mistakenly thought that if the send notification was looped that would be sufficient. this is the modified version. robert
  10. what im trying to accomplish: . start count down timer. . every ten seconds, trigger an event via notifier . do not interrupt counter while triggering event. . abort at any time via "abort" button . finish after 60 seconds what its doing: . starts count down timer . after first ten seconds trigger event . does not interrupt counter . will abort at any time . finishes after 60 seconds . will not trigger event after first ten seconds obviously im not using the notifier properly and am hoping someone here can fix my mistake with a small amount of explanation on what i did wrong. the attached "code/vi" shows what i did. i also added a .jpg screen capture incase of version issues. thanks, robert Download File:post-981-1105123825.vi
  11. michael, hello and thanks for the response. i agree, a status bar isn't much more then a collection of string/numeric indicators or even controls. with the proper attributes and spacing, it can look just like a "windows" status bar. i like the activeX status bar for its built in features like the time, date, caps lock and num lock. as it is i have a progress bar and multicolored status indicator in string indicators "next" to the status bar so that they look like they belong to the status bar. i thought it would be nice to incorporate those features into the status bar i am using. again, if anybody has insight on how to do this, i would be interested in how it was done. thanks, robert
  12. hello, i am using the MSComctlLib.IStatusBar, to create a status bar for an application. i would like to place an image (dynamically, i know you can place an image using the statusBar properties via the front panel) and progress bar in panels of the status bar. has anyone done this? if so, could you please show an example. all i can figure (vb code examples) is i have to use the loadPicture function to place an image in the status bar, but am unsure how to go about that. is their a good resource for activeX programming in labVIEW. thanks, robert
×
×
  • Create New...

Important Information

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