Jump to content

hooovahh

Moderators
  • Posts

    3,392
  • Joined

  • Last visited

  • Days Won

    284

Everything posted by hooovahh

  1. Your IT guy was wrong. If Windows Device Manager sees a serial port, its because there is a serial port. This may not be a normal serial port that is exposed to the outside world via a DB-9 but an internal one for diagnostic support. I've seen several PCs have internal serial ports that allows for for intimate access to the PC, or it is possibly a serial port that is only accessible through a dock that the laptop is connected to. In any case it is not going to be a serial port that is going to be available for communicating with other hardware and investing in a USB-to-RS-232 is going to be a good idea. I've heard some cheap ones don't work with all hardware, but I haven't found any hardware my no name cheapo couldn't talk to yet.
  2. So alot of people have their opinions (several in this office) but I use UltraMon to manage multiple monitors. It adds a second task bar to the other monitor, and it can be configured to only show windows on the taskbar that are on that monitor. Additionally I use the Hotkey (setup in UltraMon) to allow the CTRL + Space to move the window to the next monitor. Keep in mind this replaces the quick drop feature in LabVIEW which I don't use. If I need to find something I use search. My left hand is almost always on the home keys, and so hitting this set of keys is a quick way to organize Block Diagrams on one window, and Front panels on the other. I can also use this technique to open two projects and have one on each monitor. UltraMon also adds other not as useful features, like multiple desktop images, monitor cloning (built into Windows 7 now), multiple screen saves, and a few other things I don't use. There are other free alternatives that I hear work just as well. EDIT: Sorry I didn't fully read your post. If you want code to span both monitors, UltraMon can add a Maximize to Desktop button. This button appears next to the minimize button of all windows, and when pressed will maximize over all desktops. I don't recommend coding this way. It is useful in Excel, where you open two workbooks and what to view one on each monitor, so you maximize the master window then position the two workbooks independently.
  3. I think if there was an unofficial patch put out, it would need alot of customization, on allowing the user to select things that it modifies. Because some people may want their VI.lib replaced, and some may not even want the Riffle function replaced. EDIT: Nevermind read his post wrong.
  4. I think there was a T-Shirt that said something like This seems relevant.
  5. I was expecting some neat little nugget from the VI.lib. Instead I found out that Eric needs to update one of his general VIs.
  6. Wait...EVERYTHING...something tells me they should call them something other than "private message". I know we've had some sales guys that will use some features of the website to see what hardware they would want. Using it to recommend hardware and a chassis and make a shopping cart just for a quote. NI has then called our sales guy and tried closing the deal, not knowing it was for a quote. All they see is a shopping cart filing up with tons of stuff, and then nothing.
  7. I just did a test and that is exactly how it works. I did not know that feature either. Normally I would use the OpenG VI "Current VI's Parent Directory" which will keep going up a folder until it finds a real folder (not a directory in the built EXE).
  8. Now if only you could hide it at runtime, or make it 0 pixels in size.
  9. Well my methods may be disgusting but at least spaghetti_developer agrees with my methods...on second thought I'm not sure how I feel about that. In all honesty my method probably has more maintenance, and is probably less obvious to another developer, but choose which you prefer.
  10. UAC is one of those things I turn down right away on my own machines. I think Microsoft knew it would be something people would want to turn off right away because it is in the "Getting Started ->" which shows up in the start menu after a fresh install.
  11. I agree but it can be slippery slope. Why stop at a built EXE? Should you commit the installer for your application? What about if the installer contains all the NI products that your application uses? Then every build and commit will potentially add GB's of data to the repository, and pulling that from a remote location will be very time consuming. Lets say you agree to commit the installer with all the tools, what about making a hard drive image with the system on it, maybe sysprep'ed for deploying to duplicate machines. Now we're talking about 10's of GB's of data every build and commit. And again someone may just do an update to get the latest and then unexpectedly be waiting for several hours while source, EXE, Installer, Tools, and hard drive images are downloaded. I generally stop after the installer (without the NI tools), but there have been instances where it made sense to commit the installer with all the NI tools.
  12. So with most LabVIEW UI issues there is a work around. This work around only works for strings controls unfortunately. Hide the real string control off screen that has focus, then have it use the event for change value updating the string control on screen. Attached is an example in 2009 that does this. The key is to enable "Update Value When Typing" on the string with focus so that an event is fired after every key press. Keyfocus Without Border.vi
  13. I've seen other similar posts about this issue and was wondering if anyone had a decent work around. This post reminded me of the issues I was having. Basically you have a list of channels that you can view on a graph. As you choose more signals, the plot fills up, and the Plot Legend fills with the signal names. I have it set to show no scroll bar on the legend until you have more than 11 signals. There is no limit to the number of signals on the graph, (this test VI only has 20) and so to see all the signals you'll need to scroll. This all works fine. The issue is when you select many signals, then scroll down, then select only a few signals. The scroll bar will disappear (by design) but the value of the scroll bar stays the same, showing a blank plots. Without the scroll bar you cannot change the value and are stuck until you select more than 11 signals and scroll up. So my question is this, is there a decent work around people have found? I can't find a property of the control that allows me to set the value of the scroll bar (or the optional index) back to zero. I also don't want to show the scroll bar when there are so few signals that it doesn't need to be seen. I would prefer a XControl that replaces the vertical scrollbar with one with more control, as well as not allow you to scroll down past the number of signals on the graph. Attached is an example that demonstrates this issue saved in 2009. EDIT: NI Crosspost Graph Channel List Problem.vi
  14. This is an important thing to remember. Any CRC/checksum method will have multiple messages generate the same result. There are an infinite number of strings that will return the same MD5Sum for example. The likelihood of having two random strings generate the same MD5Sum is 1 in 340,000,000,000,000,000,000,000,000,000,000,000,000 (rounded down). Similar things can be said for GUIDs. There have been several attempts to break MD5 in a systematic way and I believe someone was able to but I can't seem to find the example at the moment. The example was a EXE that when ran would say "Hello Wold". Then there was a second EXE with the same MD5 and when it was ran it would say something else.
  15. You may want to address him as crelf only because there is more than one person in this thread, with a real life name of Chris.
  16. Yeah I totally agree that this should be a native LabVIEW function in the event structure. There are a few idea exchanges suggesting this, some with more votes than others. Here's the one I found with the most number (currently 229). http://forums.ni.com...nt/idi-p/921547 EDIT: Currently this is the 16th most common kudo'ed idea. http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas/status-key/new/tab/most-kudoed
  17. This all sounds great. For some reason I thought this was done in some LabVIEW challenge a few years ago was it not? I can't seem to find it at the moment.
  18. Well you are at a LabVIEW based community forum so I'm going to guess most people would tell you to stick with LabVIEW because of all the diverse fields that LabVIEW is used on, and for the large range of hardware and applications. That being said careers can change, and it may be a good idea to try something new. Keeping your options open is always a good idea and by trying out PLC and learning that field puts you in a better position down the road for other employment opportunities where you can say you are both familiar with PLCs and LabVIEW, but are not an expert in LabVIEW. It's your decision to make, but don't worry about if you made the wrong decision down the line. Things can always change and you can choose the other path in a few years if things don't work out. Or take on a completely different career that has nothing to do with programming.
  19. You absolutely can detect the event of a scroll wheel (at least in Windows). You use the Windows Message Queue to detect the scroll and fire a user event. http://forums.ni.com/t5/LabVIEW/Mouse-wheel-scroll-event-ON-CHANGE/td-p/860112/page/2 Checkout the Scroll_Event_V2.zip file it has a nice example inside.
  20. I'm not sure what parts of the registry you need to modify, but I believe that since Windows 7 the user level of the registry doesn't require admin access. So if your application is writing and reading values for it's own self then you can try to use this section of the registry and not need high level access. Also I'm not sure your environment but under some circumstances the easiest solution is to just lower the UAC level down, so that it won't prompt when an application tries to modify that level of the registry. It should also be noted that you can ready any part of the registry without increased user access if you perform an Read-Only on the open VI.
  21. I may have missed it but where did it say it was controled with LabVIEW? Not that Intel would consider that a selling point for their product.
  22. You can tell the one on the right has had light deprivation, which is why the monitor brightness is on maximum. I can't tell if they are wearing a white shirt or the brightness is washing out the color.
  23. The resemblence is uncanny. I'd go so far to say that an automated image search alorithm thought you were the same person.
  24. Wow I'm a little ashamed to say that I've always done a print screen, pasted my whole screen into Mspaint, then selected just the primative I wanted, copied and then pasted into the icon editor. Also I believe that Flickr allows you to search for images in the public domain, or royalty free. The site is massivly slow for me at the moment so I can't check but I think that's where I saw that feature.
×
×
  • Create New...

Important Information

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