Jump to content

Gribo

Members
  • Posts

    225
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Gribo

  1. You should check that both the DLL and LV have the same bitness, 32 bits or 64 bits, not mixed.

    You might be able to bypass the entire problem, if you can create a raw printer file.

    1. Create a raw file - usually label printers use a text based encoding (for example, Zebra printers use ZPL, other vendors have similar formats). This will be your template file.

    2. If you are using Windows, create a printer share.

    3. Set the fields in the template.

    4. copy the file to the share - using the system call, issue a copy <filename> \\localhost\<share name> command.

     

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

     

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

     

     

×
×
  • Create New...

Important Information

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