Jump to content

Phillip Brooks

Members
  • Posts

    914
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Phillip Brooks

  1. This reminds me of the Randomise Array thread. A guy I worked with many years ago interfaced LabVIEW 5.0 to a device / DLL that used radiation counters to generate random values.
  2. W/R/T original post: I think that regex would be useful enough to post it on the Regular Expressions Board
  3. If you simply want to load the file into an array of strings, there is a much simpler way:
  4. Getting paid by the number of nodes - Priceless... (especially when you place your signature in every VI).
  5. http://forums.anandtech.com/showpost.php?p=33584072&postcount=15
  6. Coding Without Comments http://www.codinghorror.com/blog/2008/07/coding-without-comments.html Alternately "Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?" Brian Kernighan, "The Elements of Programming Style", 2nd edition, chapter 2
  7. Just found this while waiting for a test to run (had some spare time to read about time) http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
  8. http://forums.ni.com/t5/LabVIEW/New-LV2010-VI-High-Resolution-Relative-Seconds/td-p/1213011
  9. I'm not a sustaining engineer, I'm a TestStand scatologist

  10. :shudder: Do I hit the Like This button, or not?
  11. Keep in mind that the implementations so far all read the complete file into memory then decode. Not an issue for a few hundred KB or even MB, but If you try to do this with really big files and then combine these in RAM for writing to disk as a single file then you may run into problems.
  12. Pimping my ideas... http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-Block-Diagram-design-for-typedefs/idi-p/940093
  13. You didn't use the correct secret code word...
  14. Another date/time related Idea Exchange entry: Time Stamp Properties Dialog - Persist the selected container type (Absolute or Relative Time) http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Time-Stamp-Properties-Dialog-Persist-the-selected-container-type/idi-p/2180840
  15. Well, the original question was "What are the most common date formatters?" not the most useful date formatter. Maybe someone else here could chime in regarding Oracle, but I just spent the last three hours querying and dumping results using Oracle Apps and the date/time format was: 09-OCT-2012 08:59:28 which works out to %<%d-%b-%Y %H:%M:%S>T except for the capitalization. I'm guessing that the month name is localized to the default language setting for the profile of the user...
  16. As a U.S. LabVIEW for Windows user, I most often see people use the the Format Date/Time String function with no input for default string (default is %c or locale specific). The Default locale info on Windows with a setting of English (United States) looks like this: 10/5/2012 1:10:42 PM The equivalent LabVIEW string would be %<%m/%d/%Y %I:%M:%S %p>T In LabVIEW 8.6, the string I provided always includes two digits for the day, month and hours, yet the default output Format Date/Time String with the default %c returns two digits only when > 9. 10/5/2012 1:10:42 PM 10/05/2012 01:10:42 PM
  17. If you still point people to esr's "How to ask questions the smart way" then you need to read "How not to engage me" http://goo.gl/PBFDK

  18. Some investment choices are just nuts... http://goo.gl/qyLHF

  19. Have you seen this post on the NI forums? High Resolution Relative Seconds It was reported as having an open loop resolution of ~ 1.2u sec W/R/T resolution of a timestamp, this is documented here: http://www.ni.com/white-paper/7900/en You might try typcasting the timestamps as arrays of U64 and then performing addition and subtraction on those. After performing the integer operations, the U64 that represents the fractional seconds can be converted back by multiplying it by 2-64 http://forums.ni.com/t5/LabVIEW/Unable-to-replicate-frations-of-seconds-when-reading-a-timestamp/m-p/2116706#M687792
  20. Or maybe a required output? Don't know if this is still possible...
  21. Coursera class that might be worth watching: Discrete Optimization https://www.coursera.org/course/optimization

  22. Add a native DateTime data type to the TestStand Engine http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Add-a-native-DateTime-data-type-to-the-TestStand-Engine/idi-p/1171261 How I feel about it... http://forums.ni.com/t5/BreakPoint/There-s-One-In-Every-Crowd/m-p/1698598#M16552
  23. If you use Chrome, I've installed this extension and it seems to work pretty good. https://chrome.google.com/webstore/detail/limjcpdphjbhdldhiahblmfadfaciaok It replaces the shortened link with the original URL. This is displayed in the lower left of the browser window, out you can right-click copy and paste to the URL field.
  24. Hating TestStand. Some people use it as an executive, others as a language. When those two types work on common sequences, its neither...

  25. Maybe someone who is connected on LinkedIn with Brian Tyler could share this discussion with him and ask if the terminals had a purpose...
×
×
  • Create New...

Important Information

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