Jump to content

Gribo

Members
  • Posts

    237
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Gribo

  1. If you know there are no more bytes in the buffer, then you can ignore that error. That is, if the packet size is fixed, and you are receiving correctly, you don't have to reach the timeout. Also, you can set the timeout to a value less than 10 seconds, if you know that all transactions occur before the time is up. 

     

  2. At the risk of sounding petty: I am using Windows, so the first thing that comes to mind are the GUI Conventions: LabVIEW Undo is ctrl+z, LabVIEW Redo is ctrl+shift+z, while Window's Redo is ctrl+y. There are many more such (minor) design choices. The application should use the OS conventions, not force its own way.

    And, as an ambidextrous person, Scissors should be designed for both hands.

     

     

  3. I use the Win32 call to bring the current window to the front. LV's bring to front doesn't always get the desired result. I avoid LV's Modal windows, mainly because other Win32 windows might be on top of them.

    If I do use a pop-up panel, it will have that Win32 call in the timeout event handler. It is annoying to the user, but its the only way I can be certain the user sees the window. 

  4. Here are my ugly hacks:

    1. Only one active panel at a time. If user input is required for a dialog, it is on top, all other panels are disabled.
    2. In Windows, a system call to bring the window on top is used, instead of LV's bring to front. This gets me somewhat more consistent results than the LV function.
    3. If there are two (or more) active panels, the newest one is enabled, the others are disabled.
  5. Instead of Access, you can use SQL server Express. The server can be 32 or 64 bits, local or remote, as long as the ODBC driver matches LV's bitness, you should be fine. 

    If you used only NI DB connectivity library, conversion effort will be minimal, mainly syntax differences between the 2 systems.

×
×
  • Create New...

Important Information

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