Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/11/2015 in all areas

  1. I come into work every day to a small number, around 10, of e-mails from the parts of NI that are awake while I sleep. I have realized that the entire tone of my day changes based on the nature of those e-mails. If they are things I can delete without answering, no effect. If they are things that require me to do lots of research or commit me to do work or require long winded answers, I feel like I've gotten a slow start to the day and my whole energy level drops. But if they are things that just require a sentence or two and my reply somehow unlocks the person at the other end to do their work, it's this amazing confidence boost. "I've got something done already, and someone else thought my input was important enough to ask." It's ridiculous that this should matter so significantly, but I started really looking at this trend last week, and it really does change my day. Even now that I'm aware of it, the effect occurs, but the negative effect is tamped down while the positive effect is increased. I think that's because I now have a bit more apprehension about the first e-mail check of the morning, so the relief of finding "easy reply" e-mails seems to have increased, but finding "hard reply" e-mails I can now shrug off. Human psychology is weird (or at least mine, which is one data point for the rest of you). What does this mean to you folks? Well, first, it might make you more aware of this effect in your own lives, maybe increasing the positive and decreasing the negative. But, second, please only ask me hard questions between noon and 4pm, so I can deal with them before I leave in the evening. :-)
    1 point
  2. Not the way I expected this sentence to end.
    1 point
  3. This morning I started off the day by destroying a bathroom door with an axe to help release a friend who had gotten trapped by a dodgy door handle. Without a doubt the most cathartic way I have ever started a Wednesday morning...
    1 point
  4. You are right, it only creates the classes, attributes, methods (including the arguments and return values), data types such as enums and structs, so you have to do a little work yourself, but it does helps you out by adding this to the VI's block diagram:
    1 point
  5. Don't forget to also show your appreciation by clicking "Like This"
    1 point
  6. Good luck with it. Xmodem_VISA.zip
    1 point
  7. Well you are right that Flatten Variant doesn't work. I was mislead by a quick trial and had no time to verify further as I had to leave for private obligations. However I can't accept defeat so I remembered another post where someone wanted to have an VT_NULL Variant and investigating into the solution I have come up then showed an easy and totally official way to do it. The VARIANT memory layout is fully documented on MSDN and the LabVIEW Call Library Node supports explicitly the ActiveX Variant type. So simply passing the Variant as ActiveX Variant pointer to a C function that looks at the first two bytes in the structure is all that is needed to get at the VT_ values. Enclosed are the VI to create specifically a VT_NULL variant and the VI to read the VT_ type. I haven't entered the entire range of VT codes into the enum and since those codes are in fact not continous it is probably better to use a Ring control instead but that is an exercise left for whomever is wanting to use this VI. Get OLE Variant Type.vi NULL Variant.vi
    1 point
×
×
  • Create New...

Important Information

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