-
Posts
1,179 -
Joined
-
Last visited
-
Days Won
109
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Neil Pate
-
There is a public (but not official NI) fix for this, but I have not tested it personally. https://github.com/illuminated-g/lv-2022-apply-icons
-
Unfortunately this is a known issue with recent versions of LabVIEW and will only be patched in 2024 I think. I will try and dig up more infomation.
-
This sounds like the perfect candiate for that meme of Orange County Choppers where the dad and the son are yelling at each other: Son: JUST RELEASE IT ALREADY Dad: ITS NOT PERFECT Son: NOBODY WILL GET TO SEE IT OTHERWISE Dad: I DONT CARE My 1 cents into the issue. The whole spirit of modern software dev is just to hang your dirty laundry out to dry for anyone to inspect. I think this is a change for the good. @ShaunR I think you have very little chance of finding someone to maintain (I presume) some very old code , in a state they have never seen, likely with heaps of strings attached, in a super niche area of interest.
-
Take a look here: https://github.com/VITechnologies/RemoteLabVIEWInterface It works great! It uses JSON to pack up stuff from python and send over ZeroMQ.
-
I am definitely not an expert on this kind of stuff, but I think you would first "create" a datastructure big enough to hold your image in LabVIEW. The type does not actually matter as long as it is big enough (1 byte * width * height) and then pass that into your DLL call as the first input parameter, followed obviously by the width and height. After the DLL call the data should now have been copied into that datastructure (i.e. the wire itself will have the image on it). I get easily confused with pointers to pointers, so might have this completely wrong. Sorry I have not explained this very well. Can you attach your DLL?
-
Can I ride the LV/TS train to retirement?
Neil Pate replied to Phillip Brooks's topic in LAVA Lounge
I think there were 182. Everything was video recorded and after editing will be posted on YouTube. Expect something in about six weeks. -
ok, and what have you tried so far? What would your rough python code for this look like?
- 10 replies
-
- project
- programming
-
(and 1 more)
Tagged with:
-
@Samuel Molina most people here would absolutely love to help newcomers to the language, but few will actually do your homework for you. What have you tried so far? What are you trying to accomplish? I took a look at your VI but it does not really give any insight into what you are trying to do.
- 10 replies
-
- project
- programming
-
(and 1 more)
Tagged with:
-
Where do y'all get your (free) artwork for UI elements?
Neil Pate replied to David Boyd's topic in User Interface
WOW... I have not thought about Tucows in a veeeery long time. Good times 🙂 -
@ShaunR and @dadreamer (and @Rolf Kalbermatter) how do you know so much about low level Windows stuff? Please never leave our commuity, you are not replaceable!
-
OK, this is what I remember. Hardware was something like this: cRIO Ethernet switch Industrial modem (Teltonika something... you put a SIM in and connect the ethernet to the switch) Security I just had to kinda figure out. I think I got it working in the end, check out this thread: The big question mark for me was how I was going to manage the cRIO remotely as my LTE connection could not guarantee a fixed IP address, so I had no simple way to connect to the cRIO after it had been deployed in the field. Finally we decided that we would actually need a PC anyway for something else, and the cRIO would be connected to that. The plan was to remote desktop into the PC and then connect to the cRIO that way, or get the dynamic IP address of the cRIO. Or maybe the idea was to the cRIO to broadcast somewhere its IP address. The project was put on ice and never deployed to the field, so I was not able to test these assumptions. People do get stuff like this to work, so I am sure somebody had a solution for these problems. Hope this helps!
-
In the top picture your S11/S12 is an array, which gets auto-indexed in the for loop (the little square thing at the border) which essentially iterates over the elements which allows you to read the items individually. In the bottom picture your S12/S12 is part of a cluster (think struct in other languages). You cannot iterate over this like you do in the for loop.
-
[CR] Data Matrix Generator v1.0 LV2020
Neil Pate replied to David Boyd's topic in Code Repository (Uncertified)
Thanks, I did not know about this. I am not sure I will ever use it, but I like to know such a feature exists (or not). Reading that thread, I am not 100% in agreement with the comments that moving to class solves everything. Not everything needs to be a class, sometimes a plain old cluster is really ok. Even for biggish clusters. Anyway, completely separate discussion 🙂 -
[CR] Data Matrix Generator v1.0 LV2020
Neil Pate replied to David Boyd's topic in Code Repository (Uncertified)
-
I exclusively use the bundle/unbundle, unless I am not able to for example if accessing a field in a parent class. Accessors should be, in my opinion, only for when you want to get access to the data from outside the class, and even then you should really think about if this is strictly necessary. Often you can get rid of accessors by having a better designed API (methods). Lots of sets/gets is a code smell to me.
-
Urgh, that is not good. That Express VI is one of the few I use every now and then to quickly get some DAQmx code up and running.
-
So according to the link it seems it does work as long as you have 2021 installed, right?
-
Using Frame Works in tandem (DQMH and JKI.SMO)
Neil Pate replied to Mahbod Morshedi's topic in LabVIEW General
@Mahbod Morshediif you are new to software development then forget about things like OOP and HALs. Just start small and slowly add features. Pick a single framework (DQMH is probably a good place to start) and go slowly. OOP is not the only way to write software, and in fact I would say it generally promises far more than it delivers. The implementation in LabVIEW also comes with its share of "interesting pain points". My advice would be stick to well understood imperative concepts (i.e. just code it as you think, forget about trying to force things into an OO model). -
Including solicitation of interest from potential acquirers
Neil Pate replied to gleichman's topic in LAVA Lounge
A bit more news on this https://www.reuters.com/markets/deals/emerson-electric-nears-deal-national-instruments-sources-2023-04-12/ -
Sure, this is the link https://discord.gg/sSMm42aYvW
-
Yup, that is it. Urgh....
-
Neil, and his current team, and all the previous teams he has coached. My problem is with the lack of choice.