Jump to content

Gribo

Members
  • Posts

    225
  • Joined

  • Last visited

  • Days Won

    7

Everything 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. Hello all, I am using EMGU Wrapper and OpenCV with LabVIEW 2017 and I am getting an odd crash. When ever I resize the VI front panel, LV crashes without any warning or prompt. I use the latest OpenCV (4.1.1) and EMGU libraries. EmguOpenCV test.vi
  3. Here are my ugly hacks: Only one active panel at a time. If user input is required for a dialog, it is on top, all other panels are disabled. 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. If there are two (or more) active panels, the newest one is enabled, the others are disabled.
  4. Also, you use the wrong slash, it should be /
  5. Iperf3 gets ~95% of the theoretical speed of a 1G Ethernet easily and reliably on Windows, without being CPU bound. It requires multiple threads to get there, A single thread will be limited by the scheduler. It doesn't matter much whether it is TCP or UDP.
  6. OpenG has a 'Get parent VI reference' VI, It might help you.
  7. Can you post the entire error message, and not just the .NET error code? Is there another process that might be using the device?
  8. 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.
  9. You will have to implement or choose a protocol that both sides can speak. 32 doubles at 200Hz means 52KB/sec, Which is relatively modest. Are there any hard real time requirements? What happens if you lose some values?
  10. Gribo

    LabVIEW Memes

    That is how LV looks on a 4K monitor.😁
  11. In one word, QMH. You will have to design your application with an event handler and a queue. You will also have to think what sort of events to handle and how to stop your acquisition loop. There are few templates for such design built into LabView.
  12. Your event structure should be in a While loop. one of the events should generate a stop signal for the loop.
  13. 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.
  14. Do these files contain printer commands? If so, you can share the printer and issue a copy command from the VI to the share.
  15. 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.
  16. The next easiest alternative is to find the browse button's coordinates.
  17. You can try the mouse down event, then set the match pattern and start path. That fires before the browse window appears.
  18. Their software library requires a license and there is no online documentation. Can you share more details?
  19. No, I have manually created a template build specification which includes the folders that I want, then I copy it.
  20. I have uploaded a new version. The test VI now creates a chart with random data. LibreOffice 6 is way faster than 5, it feels as fast as the Excel .NET API.
  21. After playing a bit with LabVIEW, and remembering to cast a value, and not its class, I managed to get to your level. I will post an update in an hour or so.
×
×
  • Create New...

Important Information

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