Jump to content

Gribo

Members
  • Content Count

    139
  • Joined

  • Last visited

  • Days Won

    4

Gribo last won the day on September 18 2019

Gribo had the most liked content!

Community Reputation

18

About Gribo

  • Rank
    Very Active

Profile Information

  • Gender
    Male
  • Location
    Toronto, Canada

LabVIEW Information

  • Version
    LabVIEW 2015
  • Since
    2006

Contact Methods

Recent Profile Visitors

2,878 profile views
  1. Take into account that MXI has its own set of limitations. You cannot hot-plug an MXI connection reliably, It is a single source (NI only, AFAIK).
  2. You might want to consider MXI (Either optical or copper) as an alternative. It avoids another layer of drivers. Desktop PCs with Thunderbolt exist, (Mac pro, other high end workstations from Dell or HP).
  3. What is the difference between these two methods? If a .NET library is included in a project, does LV load it before the VI is run?
  4. 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.
  5. What are you trying to do, print something? Can you post a link to this driver?
  6. I am using EmguCV. You need to convert the mat into a bitmap, and if you are using the .NET PictureBox control, you have to create a graphics object, then use the ToBitmap method of the MAT to draw it.
  7. Do you get a response to IDN query via MAX VISA Test panel? If not, check your hardware. For the VISA write, make sure your string is set to '\' Codes display, and add a \n - line feed, not a literal \n.
  8. Type object is in the System namespace. Click .NET connectivity -> Invoke node -> Select class -> System -> Type -> Missing
  9. Here you go. This is not a production code. You will have to close references when you are done with a specific object. 2 things to note: 1. Excel, like VB is 1 based. 1st index is 1. 2. Don't leave an empty property node input. Wire a 'missing' type to any gray (optional) input that you don't use.
  10. The DAQmx objects depend on the VISA version installed on the PC. Somewhere between 2010 and 2015 there was a change and recompilation was required.
  11. You should use the Excel .NET API. You will see your data as it is added to the spreadsheet. Also, you can do this with OpenOffice/LibreOffice if you don't want to pay for Excel.
  12. Where do you write to the different queues? Does it work with only one PLC?
  13. 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.
  14. Shameless plug: Here is another example of WebSockets:
  15. Get one, worst case, your slightly older laptop will get a memory upgrade.
×
×
  • Create New...

Important Information

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