Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Francois Normandin

  1. Maybe I don't understand the question correctly... but you can bundle some data into a cluster to use less inputs to your VI. This is not the most convenient connector pane I've seen. (just an opinion) <a href="http://content.screencast.com/users/normandinf/folders/Jing/media/d74f18d1-74c3-4f69-972a-1c032c12dadd/2010-11-25_0927.png"><img'>http://content.screencast.com/users/normandinf/folders/Jing/media/d74f18d1-74c3-4f69-972a-1c032c12dadd/2010-11-25_0927.png"><img class="embeddedObject" src="http://content.screencast.com/users/normandinf/folders/Jing/media/d74f18d1-74c3-4f69-972a-1c032c12dadd/2010-11-25_0927.png" width="39" height="38" border="0" /></a>
  2. I've used FireDaemon Lite in the past (suggestion read in a KB article on ni.com a few years ago), but the company has changed its software offering and it doesn't seem to be free anymore. The Pro version is not very expensive (49$) and that works with Server 2008 and Win7.
  3. As a positive side-effect, this convention, when used to name directories or files, allows to sort them by date easily.
  4. Interesting. Much more useful than "The delivery is scheduled for Week 36..." for which I have no clue what's the actual delivery date unless I carry a calendar.
  5. You probably mean 2011? Would you qualify this class as an Intermediate or Advanced level course?
  6. Do you have a crystal oscillator on this EEPROM? If so, then the company cannot provide a more accurate answer than ~218 seconds because each embedded crystal will be slightly different. The specs must say something like "Oscillating frequency = x kHz ± 5 ppm". If you can calculate accurately the actual frequency of your crystal, then you can calculate what is the roll-over for this particular EEPROM based on the number of bits of resolution.
  7. Or you could format the disk and start over... (Sorry, I had to mention it)
  8. Fifa, make sure that you state in which version you're VIs have been saved. Otherwise people will think they can open it with the version saved by default in your profile. I don't have LV2010 installed, so I can't get access to your code to chip in. If it's not saved in the default version of your profile, add a small note next to your VI. <a href="http://content.screencast.com/users/normandinf/folders/Jing/media/3cdc0ec4-d64a-48f4-9050-8497cd8f4d78/2010-11-17_0803.png"><img'>http://content.screencast.com/users/normandinf/folders/Jing/media/3cdc0ec4-d64a-48f4-9050-8497cd8f4d78/2010-11-17_0803.png"><img class="embeddedObject" src="http://content.screencast.com/users/normandinf/folders/Jing/media/3cdc0ec4-d64a-48f4-9050-8497cd8f4d78/2010-11-17_0803.png" width="461" height="390" border="0" /></a>
  9. Hi Jonathan, I don't know which solution you chose, but I meant to put this example together earlier... just didn't find the example code I was looking for. The code below is taken from John Lokanis, see this topic. Anyway, I put up this example. playing with Make Window Transparent.zip <object id="scPlayer" class="embeddedObject" width="1090" height="628" type="application/x-shockwave-flash" data="http://content.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/jingh264player.swf" > <param name="movie" value="http://content.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/jingh264player.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="flashVars" value="thumb=http://content.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/FirstFrame.jpg&containerwidth=1090&containerheight=628&content=http://content.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/transparent%20panel.mp4&blurover=false" /> <param name="allowFullScreen" value="true" /> <param name="scale" value="showall" /> <param name="allowScriptAccess" value="always" /> <param name="base" value="http://content.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/" /> <iframe type="text/html" frameborder="0" scrolling="no" style="overflow:hidden;" src="http://www.screencast.com/users/normandinf/folders/Jing/media/ce6b4f99-a9d6-40d3-812d-4a21bc6d3f07/embed" height="628" width="1090" ></iframe> </object>
  10. These are private methods (brown) that have not been released by NI, even with the scripting license released last year. They are undocumented because they are for their internal use. They might be relics that have been replaced by Tags, but that's just a wild guess. Where did you get them? Scripting Workbench?
  11. gives an informal LVOOP class to his colleagues Monday.

  12. A wild guess: you didn't put the birth year, so the system doesn't know what birthday to celebrate? Happy Birthday anyway.
  13. Phase of a sine wave wraps every 360 degrees, or 2*PI radian. Some markers: You'll get the initial slope of the sine wave to be negative for any values in the interval ]90, 270[ and positive in the intervals ]0, 90[ & ]270, 360[. 90 and 270 degrees will give an initial slope of zero (cosine and -cosine). 0 and 180 degrees will give an initial slope of 1*amplitude (sine and -sine) Some theory: The sine wave you're generating is of the form: y(t) = A * sin(w*t+ phi) + offset where A is the maximum amplitude w is the angular frequency and is also equal to 2*PI*frequency. Phi is phase in radian. If I understand your question correctly, you'd like to be able to calculate the phase necessary to generate a wave that starts at an amplitude of 60 and specify the initial slope. You want an initial amplitude of 60, so you know that y(t=0) = 60 and your max amplitude is 100. The equation is simple at t=0 => 60 = 100*sin(phi) or Phi = arcsin(60/100) = 0.6435 rad To get it in degrees, divide by PI and multiply by 180. ==> 36.87 deg Your solution will be slightly changed if your offset is not zero... Sine Phase.vi
  14. Perhaps you can build yourself a look-up table (not fast access) of all the users on the domain or a specific group. Usernames&CommonNames.vi
  15. This command line seems to work: net group /domain <groupname>* I tested it on my XP machine and got the full list of names, don't know if it works the same with Win7. Assuming ActiveDirectory didn't change syntax... it should. Credits EDIT: Reading your question again, I guess it doesn't answer your question which is how to get CommonName from UserName... If you don't know the group, how can you get a list.
  16. Jim didn't post a VI, but a VI Snippet. The 8.2 (and 2009 & 2010) icon should look the same as 8.0.
  17. So this is AQ on the RunTime Engine: Seriously, is it worth a few hours (minutes???) of AQ's time to make it blank? Since we'll never see a class cube control on a UI of a built exe, I'd say it doesn't really matter if you change it or not.
  18. Just a quick note to say that the Preserve Runtime Class primitive was added in 2009.
  19. Sphere is 3D... I should have understood. I see what you mean. You'll have to "Add Clip Planes" to prevent the sphere to be drawn past some limits you set. cut sphere.vi
  20. You can use the Draw Arc VI from the Picture Functions palette.
×
×
  • Create New...

Important Information

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