Jump to content

Gribo

Members
  • Posts

    225
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Gribo

  1. 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. 

  2. 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.
  3. 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.

  4. Since it is just a raw printer commands file, you can do the following (I have done it in the past with Zebra and TSC label printers):

    1. Share the printer. On Windows, its Printer properties, sharing and create a share.

    2. Test by running the following command: copy <filename> \\<hostname>\<sharename> . You can use localhost, if it is on the local PC.

     3. In Labview, use the .NET Copy command, as LV copy doesn't support local shares for some reason.

    • Like 1
  5. What is your topology? Is it a single RS485 link per slave, or are they on the same bus? If they are on the same bus, you will have to think of the communication protocol, is it token based, is it CSMA/CD? That is up to you, as the designer.

    • Thanks 1
×
×
  • Create New...

Important Information

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