Jump to content

Phillip Brooks

Members
  • Posts

    899
  • Joined

  • Last visited

  • Days Won

    50

Posts posted by Phillip Brooks

  1. This is the canonical name or IP address of the mail server. In order for "SMTP Email Send Message Charset" to actually send the message, it most connect to a server. The most important thing to keep in mind is that LabVIEW is not a mail server, just a client.

    If this computer has a working email application installed, or there is another computer connected to the same network running an email program, you could open the program and look for the outgoing server properties. You should see the name of the server, or an IP address. These are typically named something like "smtp.companyname.com" or "smtp.universityname.edu".

    Example image of SMTP settings for Google Mail using Thunderbird.

    If your server uses passwords, SSL or unique port numbers, the LabVIEW SMTP Email Send Message Charset" may not work for you.

    You can search the LAVA forums using the Search button at the top and the keyword "SMTP", or try Googling "LabVIEW SMTP email message"

  2. OK. I feel a bit guilty :unsure: . I read the info-labview posting about the new community.ni.com forums; and... joined. I saw that no one had posted, got the fever, and posted a vi. Now I feel a bit ashamed. :oops: On the other hand, I was the first poster, so my name will live in history :D

    There are a few tidbits in the NI Community FAQ that catch my eye.

    How is This Different from the Other Examples on ni.com?

    The primary difference is that you, the content contributor, own your examples on NI Community. We are providing a rich set of tools, like revision history, RSS, and ratings to allow both the users and the community to get more out of the examples.

    Any examples you post will be found by users searching NI Developer Zone

  3. Hello,

    Anybody knows how can I read the data size through network card, the data size includes sent/received , thanks in advance.

    If you're using LabVIEW 7.1 or later and have loaded the Windows .NET 2.0 framework, you could try this.

    Download File:post-949-1147734988.vi

    15 May 2006 - Update: now attached HERE as well. Posting links from LAVA to the new NI forum was in poor form :thumbdown: on my part.

    Mea culpa, mea culpa, mea culpa. :(

    http://community.ni.com/examples/net-interface-statistics/.

    I usually post things on LAVA, but thought I'd get things started on the new NI Community site. Looks like I'm the first (non-NI) poster there! :D

  4. Why not use a state machine?

    I can appreciate your desire for additional functionality, but sequence structures are not as flexible as a state machine. Do you continue to use sequences regularly in your code :blink:

    If you use state machines, you can do much of what you want. Use typdef'ed enums to drive the cases in your state machine. If you need to add a case, edit the typdef, add the case in your while structure and voila! You can rename your cases by editing the typdef, you can duplicate a case intead of add, then delete redundant parts from each to "split" the "frame".

    I can't begin to imagine the problems merging two sequences with their own locals especially if each contained controls, indicators and local variables (as they too often do :P ) The sequence structure reminds me a bit of line numbers from BASIC, they continue to exist primarily for compatability.

    One of the things I've noticed on the NI discussion forums you reference is that most people say "don't mess with what works". Sequence structures ARE useful when you need to control data flow, but don't try to turn them into a state machine or you'll go crazy. I've debugged too many sequences inside sequences inside sequences with 15+ frames each. The inner most sequences are often cut/paste from previous upper level frames. These are much more easily handled and modified using sub-vis, loops and a state machine.

    "Queued State Machines: Where do you want to go today?" (Oops, that slogan is already taken :nono: )

  5. Flying Spaghetti Monster

    I've never seen Alfa's LabVIEW code, but if it's anything like his postings, it's most likely spaghetti code.

    I would like to propose that LAVA members who are searching for religious fulfillment/alternatives consider the Church of the Flying Spaghetti Monster. When I read :book: "A Software Engineering Approach to LabVIEW" by Conway and Watts, I was mysteriously drawn to page 23, where the LabVIEW logo repeatedly intertwined with a plate of spaghetti.

    After much thought, I believe that Mr. Kodosky developed LabVIEW under the devine intervention of the Flying Spaghetti Monster. Inside LabVIEW is the Kodosky Code, that when properly accessed via XControls will allow Pastafarians to unlock the mysteries of the universe. This is no crackpot religion; it can be found in the technical community, even within the halls of MIT.

    I've also noticed that a number of LAVA members see themselves as pirates (dredpirate and thecaptain). Coincidence? I think NOT!

    Before responding, please take a moment to ask the question, "WWFSMD?"

    By the way, a cold beer is good with spaghetti, so I am invoking Kring's Law. :beer:

    I believe that FSM has created all there is for our entertainment and sustenance, and has given unto us the mental capacity to adapt the mythologies of This Universe to aid and comfort us here, until that day we are able to join together at the foot of the Beer Volcano

    "I have been touched by His Noodly Appendage"

    FSM_200.jpg

    PirateFish_200.jpg

  6. While looking up an old friend, I came across this link.

    I'm not sure if it is the same Les Peters, but he did work with LabVIEW and RF communcations.

    One of the problems I have been faced with in developing a CM automated test solution has been the creation of an encryption quality random number. This random number is used as a seed for generating a secure ID string which is then programmed into each modem. A colleague of mine having found your web site http://www.aw-el.com, suggested I look into your Radiation Monitors as one of its features was the generation of random numbers. After reading all the information on your website and talking with you about my specific application I purchased one of your model #RM-60 Radiation Monitors. I must say at first my colleagues and I were a little skeptical having little experience with Radiation Monitors. But after some investigation we realized that the decay of radioactive matter being unpredictable actually provided a very good means to generate an extremely random number.

    Your original "AW-RAND.EXE" software supplied with the monitor while displaying the data on my PCs monitor did not allow us to port the data to a text file. After having discussed this problem with you, you quickly made a change to your source code sending the generated data to a text file. You then E-mailed the new code to me within several hours, now that's service ! While this solved one issue generation of random numbers was slow using background radiation. Your suggestion of using the AM241 element out of an inexpensive ionization type of smoke alarm solved that problem, now numbers are generated very quickly.

    My test software is written in a graphical programming language called LABVIEW and integrating your "AW-RAND.EXE" required the creation of a driver. This driver allows execution of your "AW-RAND.EXE" code using the supported arguments on the same command line. The driver was designed using the LABVIEW 5.0 Full development for WINDOWS 95/NT. I have attached a copy of this driver so that some of your other customers can use it. I feel it is the least I can do with all the help that you have given me.

    http://www.aw-el.com/random.htm

  7. So if we drank enough beer fast enough could we abosrb so much light that it no longer reflects and we just appear to be a shadow or a type of "walking black hole"?

    I was called a 'hole more than once in college after consuming beer too fast using a beer-bong :D

    As for the theory of the bars growing darker during the course of the evening, I would attribute it to the change in concentration of absorbing species in the material (your eyeballs) rather than the environment, otherwise you wouldn't need a designated driver, their vision would be impared as much as yours, or yours would improve immediately upon exiting the establishment. As the concentration of your absorbing species declines, your vision returns.

    Now I finally understand Beer-goggles :thumbup:

  8. My dislexic brain reads that as "Beer wal" :oops:

    Dyslexia!

    Now I'm curious. I've always thought that I've suffered, and now my 5 year old daughter shows signs of it (her teacher brought it up). I've been thinking about it quite a bit lately...

    My question is, what percentage of LabVIEW users suffer from some sort of dyslexia? Could it be that dyslexic people gravitate towards LabVIEW because wires and dataflow free us from the details of text based programming?

  9. I do have a bottle of Pineau des Charentes (made in Grande Champagne by Menuet [which is quite uncommun]) in my fridge at all time (you know for emergency situations). :)

    I have a bottle of Pierre Ferrand in my fridge for the times my mother comes to visit. It's the only brand I can find in my area; ~$25.00 a bottle :2cents: . She's coming to visit over the Easter weekend; I can't wait to open it :D

    I have a single bottle of rose that I picked up in Paris (forget which brand) before my first daughter was born. We were expecting, so I bought it and then wrote her name and birthday on the label. I plan to open it when she gets married (she's only 5 now). The second born will have to settle for the Pierre Ferrand I bought here.

    I wish I spoke French, I actually know much more Thai. Mom was one of the old school immigrants who decided to bring her kids up speaking only English. C'est la vie :(

    Anyone ever try Mekong whisky? That stuff will clear your head and can also be used to run your lawn mower when you're in a pinch! :P

  10. Watch what you say everyone, my mother is French! My father met her while he was in the US Army in the 60s, stationed in Angouleme. That's why my profile includes the French flag. (My wife is Thai, that's why the Thai flag is there, Sawadee Krop!)

    As for drinking, I prefer Pineau des Charentes. My mother is from the Cognac region, and Pineau is the apperatif of choice. As for cheese, I stick to the simple brie you can buy here in the states.

    Maybe Alfa should try France, it very "Social", but the unemployment rate may be an issue. If he can get a job and he's over 26, then he might have a chance.

  11. I blocked him for a while, but then saw sooooo many posts that I had to unblock him to read his comments.

    It's sort of like rubbernecking at a car accident on the highway; you know you should just move along but you can't help but look. :o

  12. Yes, I can see the LV angle but I think NI has to make some mods to the exisitng LV. For example in order to wire up an Icon you either need very pointy fingers or a zoom feature to blow up the icon image.
    If NI would just get with the program (TV program that is) and adopt LCARS, then we'd be all set. NI could provide real, platform independent pattern subsets for radiation and evasion patterns in combat situations :D
  13. I wish I was 30 again! :wub:

    That's the time in my life when I met my wife, travelled around the world (work and pleasure) and was driving a nice car. Now I'm buying a "real" house (my "townhouse" is just an apartment with equity :P ), commuting 2+ hours a day and choosing a lawn mower.

    Best wishes and a very Happy Birthday!

×
×
  • Create New...

Important Information

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