Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/23/2015 in all areas

  1. If you set the timing source to <absolute time> then the actual start is expressed as an absolute time.
    1 point
  2. The big one for me is flexibility. With two young children, having the ability to work part time, stay home for snow days, leave early for school events is huge. Simply being able to be flexible with my hours without being penalized is a big part of my job satisfaction. The next biggest thing for me is project diversity - I like being challenged.
    1 point
  3. Transport.lvlib, which this package depends on, has been updated. It uses a new installer which this one will also use so I will leave it a couple of days for people to check out and break it - then update Dispatcher.
    1 point
  4. Just so everyone is clear: Using the Not A Refnum function to decide to create a refnum is ok because the zero refnum cannot be destroyed/released in a parallel thread. But since the primitive does the extra work of validating the refnum, you take a performance hit on the cases that are going to succeed. Using the Not A Refnum function to decide to do an action or not is a race condition because a parallel thread could be destroying that refnum in between the test and the action. If you need to actually do an operation, do one of these: If you need the combined behavior of "if the refnum is bad, allocate it, and do some operation on it", then do this: What is an acceptable use case for the Not A Refnum primitive? When you're evaluating the status of one refnum before taking an action on another refnum! Or if you're just displaying information in a Custom Probe. Or if you have absolutely nothing happening in parallel (in which case, you might reconsider your use of references anyway). (For advanced users who suggest the use of semaphores to protect the access, that counts only as an OK usage because you still have a performance hit of unlocking and locking the refnum twice.) If you ever are tempted to file a bug report that the LabVIEW queue functions are broken, please check your use of Not A Refnum first. I guarantee I will when the bug report gets to me. 🙂 And, for the record, all of the above also applies to using "Get Queue Status" and "Get Notifier Status" functions. And any other similar "is this refnum still valid" functions that you are using to make decisions in code.
    1 point
×
×
  • Create New...

Important Information

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