Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by MikaelH

  1. Does anybody know why in some Point By Point functions there is a Type Cast from I32 to I32 in the code. E.g. Sort 1D Array PtByPt.vi Array Max & Min PtByPt.vi
  2. I had to use QD "fts" (Format To String) and the format %<%Y-%m-%d>T to get it working.
  3. Is it commonly knows that the Get date/Time String can't handle Time Stamps greater than 5PM the 6th of February 2040?!?!
  4. Now I've installed the needed VIs: and I've tested it, it looks nice :-)
  5. It looks I have to install: <userlib>:\_LAVACR\Scripting Tools\XNode Support\...
  6. I would use the low level SQL syntax to do this...if the database supports it. INSERT INTO test1 (Column1,Column2) VALUES(1,2),(3,4),(5,6); I've stopped using NI's DB toolkit, instead I use the LabSQL ADO drivers wrapped in my own driver. This is much faster. I've attached my version DB_Export.zip
  7. Sorry, it's using lots of internal libraries, but I've attached the the same HTML report with the JS and CSS files externally linked (this is the default way we save the plots, we refer to all JS and CSS files from a server). In this version you can see how easy it is to use the JQPlot API Report.zip
  8. BTW this is the end result with the VI above:
  9. Here is a quick hack that does the job. I hope you have the Vision Sub VI, to find the Line Intersection point. I use that in combination with a OpenGDS VI to see if 2 lines intersect, sorry didn't have time to document it nicely. //Mike OpenGDS_LineIntersectLine.zip
  10. Also can you add debug mode to the VI, so it can iterate through images from disk as well, and also supply those images. It makes it easier to help you with the task. I don't have a camera attached to my PC at the moment. Also a small description how your VI is supposed to work would make it easier to help you out.
  11. The VI:Draw Geometric Matches Position is missing
  12. No Worries, that's why we are here :-) The property node that will let you know the Coordinate Offset is a property node that is "Secret", you can only select this if you put this into your LabVIEW.ini file. SuperSecretPrivateSpecialStuff=True If you don't want you use this property node, you can just use a constant value.
  13. I've created an example for you. XY-GraphSelection.vi
  14. Use the property node called: PlotImage.Front, this value accepts Picture control data.
  15. To be able to do this, you need to have every point as a one plot, and then you can use the PlotImage.Front property node to follow the mouse to draw a ROI on the graph, and then find the plots-points that are within the ROI and change the Color of those plots. It might be easier to use a Picture Control Plot to start with.
  16. If you want to access the same object from 2 different loops, you have to have use an Object By Reference solution. But you can use the Command Design pattern to send Object By Value from the producer to the consumer loop.
  17. If I need something like the an Action engine (reading/writing some common data in different parallel VIs), I’ll always go with classes. And then of course it has to be by reference classes. Converting an Action Engine to a Singleton class is a solution I often use. I follow the Single Responsibility Principle, for a class like this.
  18. Here is a quick example UDP_FileReceiver.vi UDP_FileSender.vi
  19. Can you post your code? How big do you make the UDP packages? I guess you know that a one UDP package could only be 65,507 bytes So you need to split them into multiple packages with some header data, so you can see that you have received them all and put them together in the correct order.
  20. You can have a second (or third page), hidden and change it so it becomes visible.
  21. As always, thanks you, thank you, thank you.
  22. If I want to do accurate measurements I always go with a telocentric lens. Of cause to buy one that can cover 20” is too expensive, but maybe consider a smaller FOV and an XY stage/gantry for the camera to move around over the object.
  • Create New...

Important Information

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