-
Posts
1,172 -
Joined
-
Last visited
-
Days Won
106
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Neil Pate
-
Dynamic dispatch for refnum of class
Neil Pate replied to infinitenothing's topic in Object-Oriented Programming
What do you mean by dynamic queue reference? Is this something you can configure a queue to be? -
I cannot seem to get this to work on 2017 SP1 (64-bit). Tried various combinations of these: DragAutoWire=False LiveDrag=False But nothing seems to help the editing experience which lags so badly when doing "complicated" operations like a a box selection 😞 This is on a brand new dev PC with 32 GB of RAM, very fast SSD and processor.
-
To badly paraphrase... Some people, when confronted with a problem, think “I know, I'll use packed libraries.” Now they have two problems.
-
Not sure when I will ever get around to doing anything with these again, so for now I release into the wild "as is". https://github.com/neilpate/LabBASSMOD2 https://github.com/neilpate/LabSDL2 https://github.com/neilpate/LabMelee
-
Does anybody know how to get a LabVIEW built application to ignore the scaling setting in Windows? I have some code designed to fit nicely in 1280x1024 pixels, but some of my customers say that even on a 1920x1080 display the menu bar at the top is cut off. I guess this is probably because their windows scaling is set to some number other than 100%. In my experience LabVIEW looks really rubbish when run on Windows 10 with this setting to anything other than 100% (blurry and inconsistent). I suppose is to be expected from an application like LabVIEW that is approaching retirement age! Am I missing something obvious here? Although I always set my Windows scaling to 100% on all the PCs I control it is not really practical for me to expect ask my clients to change this setting as some of them have probably gotten used to seeing Windows text nice and big at 125 or 150%. Edit 1 I have done quite a bit of googling and not really come across anything LabVIEW specific. The closest I got was some NI KB about LabWindows. Edit 2. Success! https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004A7eSAE Note a newer Windows update adds a few more options which are now tucked away in a separate dialogue. I have not tried playing around with the other options yet as this fix works fine on my PC. Edit 3. And this is how it can be done programatically: https://blogs.technet.microsoft.com/mspfe/2013/11/21/disabling-dpi-scaling-on-windows-8-1-the-enterprise-way/ (i.e. as part of an installer action)
-
OPC UA experience
Neil Pate replied to FixedWire's topic in Remote Control, Monitoring and the Internet
Sorry if I have mislead you, looking back at my post I have to make a correction to my vocabulary. The whole system probably had about 10 nodes in total and the LabVIEW based controller had to implement several OPC-UA clients and servers (I think two each). In total the system had about 500 tags (not nodes, sorry!). I tested things at a maximum rate of about 1 "update"/s where an "update" was changing all the tags of a particular subsystem. Performance was never an issue at all of this portion of the application, I cannot say I ever saw the CPU particularly taxed. What did cause performance issues was trying to update my tree control view and name based logging. What I gained in elegance in the code I sacrificed in performance. Also, if I never have to write another recursive tree updating routine based on hierarchical tag names I will be quite happy. I am not at liberty to share anything as I did it as consultancy for another company, sorry. In the end OPC-UA worked fine, and I would certainly consider it again. I will never use NSVs in a project; I just have too much distrust of them. In fairness though it has been nearly 7 years since I was scarred by them... -
LabVIEW NXG - when will we start using it
Neil Pate replied to 0_o's topic in Development Environment (IDE)
Killer feature: new hardware only supported on NXG 🤦♂️ -
Unfortunately I cannot share the whole project but I will see if I can trim out the broken bit and escalate. At the moment that particular VI is reliably broken, if I take out the "Always Copy" it still shows the weird behaviour, so at least it is consistent.
-
OPC UA experience
Neil Pate replied to FixedWire's topic in Remote Control, Monitoring and the Internet
For one of my projects that used OPC-UA I had probably 500 different nodes in the system. I did not really want to handle the data read using a case structure with 500 cases, so I went 100% down the route of name based lookup data structure implemented using Variant Attributes. I managed to extend this to a tree based system data viewer and configurable data logger, without ever actually using explicit node names (well, not perfectly but close enough). For the most part I did not have to fight with OPC-UA, it just worked. -
OPC UA experience
Neil Pate replied to FixedWire's topic in Remote Control, Monitoring and the Internet
I used the same client from United Automation to test out my OPC-UA server, it works nicely. How do you plan on integrating that with the rest of your application though? -
This is LV2015 SP1 (not too sure the patch). I suspect the moment I start to chop things out to isolate the problem will just go away. Will try this when I get a moment.
-
The Status.Playback.Position field is not being updated correctly. Works fine if I replace the input with a constant ? Also works fine if I do some IPE "mark as modifier" trickerey.
-
OPC UA experience
Neil Pate replied to FixedWire's topic in Remote Control, Monitoring and the Internet
No, I didn't raise it with them at the time as I was a bit too busy trying to finish the project and then forgot about it. -
OPC UA experience
Neil Pate replied to FixedWire's topic in Remote Control, Monitoring and the Internet
I have used the NI OPC-UA toolkit in a bunch of projects. Both as a client and server. Had an issue with an earlier version of the toolkit (2015) where it was not working correctly with authentication, but NI released a patch for that. The only other strange thing is that the client (or server, cannot remember which it is) does not support Data Change events, so you have to poll. Oh yes the other weird thing is that when you do get a Data Change event you get the data coming in as a variant, but unlike regular variants this one seems to know nothing about its own type. This actually caused a bit of drama for me but managed to find a work-around as the data change event does actually include the type, so I was able to shove it back into the variant. -
PCIe-1477 / serial communication
Neil Pate replied to JimPanse's topic in Machine Vision and Imaging
Sure he can, I just prefer these days to no output the duplicate object if it is guaranteed to be never modified inside the method. -
PCIe-1477 / serial communication
Neil Pate replied to JimPanse's topic in Machine Vision and Imaging
I only asked because a few years ago I decided to change how I write classes. Methods that do not modify the data do not have the output class. See http://www.walkingthewires.com/2016/02/15/just-passing-through/ I really like this technique as to me as a developer it conveys intent to somebody else looking at the code. From a higher level it shows that the method does not modify any private data in the object. -
PCIe-1477 / serial communication
Neil Pate replied to JimPanse's topic in Machine Vision and Imaging
Totally off-topic, why would you "re-set" the session reference? -
The State of OpenG (is OpenG Dead?)
Neil Pate replied to Michael Aivaliotis's topic in OpenG General Discussions
I still use a few OpenG VIs in most of my projects. Things like fit to decoration, some array stuff, INI file stuff. I consider the library to be mature, not dead, but do not really expect any more updates on current gen. -
How to delete phantom controls from a TypeDef
Neil Pate replied to Roger Moss's topic in User Interface
?♂️ -
How to delete phantom controls from a TypeDef
Neil Pate replied to Roger Moss's topic in User Interface
Amazing, thank you for the tip. Certainly easier than the way I do it using VI server when I accidentally hide an element of a cluster! Has this been in LabVIEW all along and I just never knew about it? -
LAVA Server Maintenance This Weekend (11\03\18)
Neil Pate replied to Michael Aivaliotis's topic in Site News
OK, signed in and out a few times and everything seems normal. Thanks for the upgrade Michael, I like the new look ? -
LAVA Server Maintenance This Weekend (11\03\18)
Neil Pate replied to Michael Aivaliotis's topic in Site News
Using the normal login, not Facebook. Just doing this now from my android phone and it did not show any error. I will try your suggestion when I get back to my PC. -
LAVA Server Maintenance This Weekend (11\03\18)
Neil Pate replied to Michael Aivaliotis's topic in Site News
I spoke a bit too soon, now when I log on I get greeted with this. Seems I can still access the site though. -
LAVA Server Maintenance This Weekend (11\03\18)
Neil Pate replied to Michael Aivaliotis's topic in Site News
Seems to work, good job LAVA cats ?