Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Ok, thanks. I will look into it this week.
  3. I sent Michael a message.
  4. IMAQ Unwrap VI Example is at \LabVIEW 20xx\examples\Vision\Image Management\Unwrap Barcode.vi. For U16 images also see this: IMAQ Unwrap Example - not working properly with U16 image type?
  5. How to use the image manipulation VIs? I want to extract a circular ring from a image file which include the known postion and radius infomations. Thanks!
  6. Last week
  7. Earlier
  8. @crossrulz@hooovahh Thank you very much for the assistance- the VIs Hooovahh put together will be perfect for what I am trying to do. Hooovahh- It looks like the center on mouse took a fair amount of fussing to get working so I appreciate you posting the code as it will save a lot of time. I can tell you this much- NI should be paying you guys for figuring this stuff out which should be basic functionality for UI interaction......
  9. I posted a demo set of VIs here which can pop up a window, centered on whatever monitor the mouse is on. There's also settings to have the window center on the mouse wherever it is, but saying on the same monitor. And yes this uses the All Screens, Working Area properties.
  10. There is an Application property called Display->All Monitors. It will give you the pixel ranges of the monitors in your system. What I've done is to use the calling VI's position to figure out which monitor it was on and then place the new VI window as needed. You could use a win32 dll call to get the mouse position as well if that better meets your requirements.
  11. I think I ran into this issue in a very similar situation without using classes. I'm actually rewriting code that I initially made using some class hierarchies into using C style interfaces. I'm passing a cluster containing a strict, non static VI reference as an argument to a call by reference node calling the contained VI reference. No help information appears for any wires containing the cluster probably because it is a recursive type. This is in LV2025.
  12. Good morning I am trying to find a mechanism to determine which monitor a mouse is on (to determine which monitor to display a pop up). I can probably get calling VIs monitor but that is not exactly what I need..... Any help is appreciated!
  13. Unlikely. You clearly have a lot more decoding layers than you have shown so far (is that a DrJPowell messenger vi rather than a network stream vi?). The probability is that your variant isn't what you think it is or your middle layers are modifying the variant (casting to strings and including a length, for example). Using the send in your example, write the example for receiver that I showed previously and test it can be received and decoded.
  14. Yes of course, i convert in my crio, cluster => xml string => send by stream in my pc supervisor , i use structure. I use only pc supervisor, no problem, but i use crio, problem arrive.... It's possible to system linux modify the structure?
  15. There appears to be an issue with thumbnail creation on the Wiki. Here is an example: Open Quickly - LabVIEW Wiki According to the information here and here, either ImageMagick is not installed or incorrectly configured. Perhaps a recent update broke it? @Michael Aivaliotis I believe you are the only one who can fix this
  16. The variant in your image is a cluster, not a string.
  17. hello, Cluster is open before (in message machine) i just take variant .
  18. When you send the message you encapsulate the message as a cluster of string and variant. You don't seem to unwrap the variant from the name/variant cluster in the receiver. What I expect to see is something like this in the receiver:
  19. hello I'm sorry. i use crio to transmis my cluster (vi envoie) (transmission) and receive in my program (reception) transmission.zip reception.zip
  20. You didn't give the text, just an image of the text. You didn't give us the VI you were proposing. We've no idea what the cluster is that you have wired that must match the XML. Your XML has many, many problems. e.g. <string> <name>adresse</name> <val>fabio....</val> </string> That is not a string, it is cluster of "name" and "val". It cannot be converted into a LabVIEW string type if that is what you have wired to the the primitive. Generate the XML from your cluster that you have used with the unflatten then compare with what you have in your XML text.
  21. Hello everybody, I have got a problem with xml string, in fact à vould like transmis this xml trame : And i would use I have got problem -1108... I don't a fault in my code... Thank you
  22. I'm not sure that would be all that interesting (for you). Most of what I think is far more eloquently communicated by Alan Kay in his musings. e.g. "Computer Science isn't real science!"
  23. I did see that "Save:To Buffer" method. I also haven't seen a method for loading the output of that. All of the VI server methods I've seen so far have required a file path. I have only briefly looked at the ones visible on an invoke node with a lot of extra ini tokens, so there are probably some deprecated or hidden ones to go through still. I looked through all of the Call Library Function Nodes in code shipping with LabVIEW 2025 and a few extra modules, but nothing seemed promising. The Application Builder code has some interesting calls but I think they only work with a built application, which I haven't tried. There are some other methods in various DLLs that do seem promising such as "NormalVILoadProc", "NormalVIInitProc", and "NormalVIDisposeProc", I just don't know how to call them yet. I'll take a look at all of the property and invoke nodes next, but I doubt there's anything exposed there that doesn't involve passing in a file path.
  24. Literally never. Which is why I value your input into the community so much. (No sarcasm intended). Would love to sit down and have a few beers/coffee sometime and muse about the state of many things LabVIEW-ish and other stuff.
  25. When have you known me to have a weak opinion? If you have to have a consortium to manage it and spawn an entire industry in order to use some code then it has just become a means to justify an ends. Wizards and scripting are symptoms of excessive boiler-plate generation, lack of reusability and, even worse, trying to hide it. I'm not against frameworks, per say, and In that respect I would argue that DrJPowells solution is the best of the bunch although it uses the OpenG tools heavily so it is not usable to me. By the way. I don't have a personal framework as such. Services are communicated to and from with messages and all messages are strings. You don't need lots of framework for that-just a couple of VI's in a polymorphic. The Services themselves can be anything you like, as long as it works - choose your poison! They come up with this kind of "solution" every few years and then run with it until it the next thing. First it was State Machines, then QMH, then it was Actor Framework. Oh and what about that silver bullet of Systems Software that I can never remember the name of? It's all "One Ring" software. In current years it seems to be this special QMH with knobs on (and committees, working groups and special events that everyone can go to to pat each other on the back). The sales pitch is usually that "this" framework will mean interns churn out the code of 20 year experienced CLAD's. It never does, of course. It always ends up as bug ridden 10,000 VI monstrosities that take 10hrs to compile. They've been trying to replicate experienced programmers' outcomes with processes for over 50 years. It has been such a failure (the philosophy rather than any individual framework) they had to convince everyone that continuous updates were the answer. To paraphrase the words of a wittier person than I, "If the milk turns out to be sour, I ain't the kinda pussy to drink it."
  26. Phew that is a pretty strong opinion! Although I personally am not a fan of the overall style of DQMH none of my problems are with the scripting/wizards or placeholder text. I think any framework that tries to do "a lot" will be complicated... your own personal framework (which you likely find trivial to use) is likely to be a bit weird to others. DQMH is extremely popular for a reason... To paraphrase the words of a wiser person than I, "please don't yuck someone elses yum"
  27. Any framework that needs scripting, wizards and inserts comments for you to update it; isn't worth the diagram space it consumes.
  28. Yes, I actually like the DQMH, but I haven't gotten used to it and am still learning. My goal is to rewrite all the apps in the DQMH framework eventually. I have a long way to go, though. Cheer, M
  1. Load more activity
×
×
  • Create New...

Important Information

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