Jump to content

hooovahh

Moderators
  • Posts

    3,433
  • Joined

  • Last visited

  • Days Won

    289

Posts posted by hooovahh

  1. I remember having this problem before. What is happening is when the user presses enter the new value in the string control is not updated before the event is triggered that the OK button has changed value. The easy solution is to right click the string control and enable "Update Value While Typing" Of course this could have a bad side effect if you are triggering events on the changing string control, but it doesn't sound like you are.

    EDIT: sorry you said you were using a numeric control, in that case I don't know what to do. I've played with it for a few minutes and it does seem odd.

    I setup the same example you mentioned, a numeric control, then an event for changing value of the ok button, then tied the return key to the toggle. After that I made a wait for 1 second, then read the value from the control and put it into an indicator but the value didn't update.

  2. Also I tend to use the OpenG tool Fit VI Window to Largest Decoration, and then I will put down a Recessed Box decoration over the entire window, so that it will resize to that at run time. When developing there is no place to Shift + Right Click in the window, I tend to have to scroll up, to a place where there is no decoration, then Shift + Right Click, then scroll down. Really annoying, hope they fix this is the next version of LabVIEW.

    BTW I don't like the auto tool either, the person who first showed me LabVIEW told me to use Tab to switch tools so that's how I learned it.

  3. I think that by letting NI employees take the certification test, the tests themselves will be improved for reasons just like this. When I took the CLAD I remember a few questions that were a matter of opinion.

    I can't remember the exact wording but it was some thing like which method would you use to save a set of recorded data? Binary, ASCII, TDMS, or some thing else. The answer highly depends on what you would like to do with the saved data, if it needs to be user readable I would use ASCII. If there is a security issue with not wanting anyone to tamper with the file, I would use Binary. If the data was a large file with complicated data types I may look into TDMS.

    By having NI employees run into these problems maybe the tests will be less opinionated.

  4. QUOTE (Tomi Maila @ Jan 26 2009, 04:10 AM)

    To really be able to visualize block diagrams online with Flash etc, the block diagram structure would need to be exported to something like XML and images for each object within the XML would then need to be exported individually.

    That would be really cool in that from there we might be able to produce some kind of open source standard for saving a LabVIEW VI. I heard there was a topic a while ago to save a VI as ASCII art, but it didn't go anywhere.

  5. QUOTE (sachsm @ Jan 21 2009, 10:45 AM)

    This is not your 'fathers' pipe control. It has alot of extra smarts to add connected segments

    and has some interesting programmatic features.

    Wow I guess so. I opened this up and figured it was just a boolean with the images for TRUE and FALSE replaced with a picture of a pipe (that was blue and light blue)

    But you said it had smarts for adding connectors, so I held Ctrl and tried making a copy by dragging the pipe, but it bent where I clicked it. I then realized you can Ctrl click on the end of the pipe, and it will bend depending on what half of the end you click on. I'd also be interested in knowing how it was made, not that I have a use for it.

  6. I'm sure this is just for playing around but I must say you are very bold to try to develop LabVIEW code in a beta operating system.

    I would also recommend trying all the different compatibility options by going to the properties of the executable. Never used Windows 7, but Windows 2000 up to Vista has it so I would assume they didn't remove that feature.

    I'm sure when Windows 7 is officially released NI will release a patch or something if the installer still doesn't work.

  7. QUOTE (crelf @ Jan 8 2009, 12:28 PM)

    Gilligan's Island was before my time :)

    Well yeah me too, but I remember watching all the episodes in syndication after I got home from school as a wee lad. (good thing this is in the LAVA Lounge or I might say we are off topic)

  8. I've been working in 8.6 for a little while and I notice something similar. I will open the project and immediately it states that there are changes (the asterisk) If I perform a save all it goes away. One time I clicked the "List Unsaved Changes" and it states that some attributes were changed in the project.

    Out of curiosity what does LabVIEW state is the changes in your project?

  9. Just here to add my 2 cents, this won't work for all situations (like other operating systems) but could you use a windows DLL to act like you are pressing keys on the keyboard? Like in your LabVIEW program ask for the user name and password, then call Skype, wait for the login dialog to be active, and send the user name and password as keyboard keys (with tab in between) then return.

    This doesn't use any kind of API, and is very prone to problems (like if Skype happens to change the login dialog) but for a quick and dirty solution I think this should work.

  10. A useful piece of software I use is DriveImage XML It's free and it supports imaging a windows hard drive, when logged into windows. It "Locks" your files while making an image. This is useful for me so I don't have to reboot into a live OS from a CD and image the hard drive. It also is a more open standard so it "allow(s) you to process them with 3rd party tools".The one thing the software doesn't have (that other imaging software does) is incremental backup, so I just keep the most recent 2 or 3 images instead, and delete older ones.

  11. At work I'm at 1280 X 1024, but it's hardly a standard. What's even worst is some developers are wide screen some are standard. Most the systems the software is going into is standard 4:3, but some controls act funny when the monitor is not at its native aspect ratio and native resolution. One thing I noticed is circles may appear to be ovals if you are not at the full native resolution of a monitor.

  12. QUOTE (crelf @ Dec 3 2008, 11:54 PM)

    There's a guy in our office that uses that to work across four different screens each attached to a different PC (including two laptops). Freaky to watch, but he's used to it and doesn't think twice about it :wacko:

    Yeah it was also kinda weird, he would have a desktop and 2 laptops running Synergy, then one day I had to remote desktop into one of his 2 laptops, and it got weird when he would move his mouse off the screen and move my mouse.

    On a side note I sure wish that I had dual monitors for development, I wonder what that would be like, hmmm, crelf do you know what it's like developing on 2 monitors?

  13. QUOTE (crelf @ Dec 1 2008, 03:24 PM)

    I don't know what OS(es) you need to support, but why not just use the default backup software that comes with your OS?

    I started looking at the NTBackup software that comes with XP, and the advanced features are pretty useful. It's just for me it was easier to write a 4 line batch file to backup some media folders. If I ever want to backup more OS features (like settings and such) I will definatly keep NTBackup in mind.

  14. I have several hard drives floating around my house which don't have a home. Most of them are IDE, and I've ran out of IDE channels on both my PCs. So my plan is to hook these drives up to my PC using an IDE to USB adapter once a month or so and do an incremental backup. After the backup is complete I can then put the drives into a safe location. A waterproof/fireproof safe would be nice, but for now their just in a lock box, so if the PC is stolen the data will still be safe.

    The software I'm using for my backup is a simple one, a batch file that calls robocopy. It's a very useful command line utility. You basically say here's my source directory, here's my destination, and if files in the destination already exist don't overwrite them. It also does updates to files if they are the same name but different.

    On top of an incremental backup I could setup some kind of Raid 1, but I've ran out of hard drives.

×
×
  • Create New...

Important Information

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