-
Posts
834 -
Joined
-
Last visited
-
Days Won
49
MikaelH last won the day on November 27
MikaelH had the most liked content!
Profile Information
-
Gender
Male
-
Location
Sydney
LabVIEW Information
-
Version
LabVIEW 2016
-
Since
1996
Contact Methods
- Company Website
-
Twitter Name
@Mikael_Sydney
- LinkedIn Profile
Recent Profile Visitors
MikaelH's Achievements
-
FYI, we have switch back to 2023Q1, which don't hate VIMs. We can now finally build our applications without any LV crashes and any modifications to get the build to work.
-
MikaelH started following Windows system GDI object limit problem , How does LabVIEW get an image in memory? , [CR] Hooovahh Array VIMs and 1 other
-
Also try running the DLL in any thread. That will probably speed up the execution >100 times, but if the DLL is not thread safe you might get crashes.
-
BTW, can you also update this library to make LV2023Q3 to build applications with these VIMs to work ;-). We use these VIMs a lot, and in LV2023Q3 several VIs stops the builds complaining that "VI is not in memory". And to get the App building to accept these VIs I have to replace your VIMs with the old style OpenG version :-(.
-
We just migrated to LV2023. and I thought we should update this library as well to the latest. That did break a lot of code. E.g. So the new version didn't accept the old non-typedef sort direction, so I've modified it. Also the array filter vim, don't support reference wires anymore (e.g. Ctrl Refs). I also had to add I32 here The old version did handle it
-
Do you want it in Normal Display format like thsi: BTW this loop of generating the HEX string is not fast, there are much faster ways of doing it
-
Windows system GDI object limit problem
MikaelH replied to xiongxinwei's topic in Application Design & Architecture
Change the limit to 65535 instead of 10000 in the Windows Registry I have a file named: Max GDI Objects.reg With this content: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows] "GDIProcessHandleQuota"=dword:0000ffff -
How deep is you inheritance tree?
MikaelH replied to Antoine Chalons's topic in Object-Oriented Programming
Mostly we use 3 levels for the instrument driver (InstrumentBase <- InstrumentType(e.g. PowerSupply) <- RealInstrumentDriver (but also a simulated type) We currently have 398 classes in our instrument hierarchy, 60 different InstrumentTypes such as: (TemperatureControllers, Robots, WeldingLasers, GlueDispensers, StepperMotors) -
Full DataGridView for LabVIEW - OPEN SOURCE project underway
MikaelH replied to Mike King's topic in User Interface
I've had issues on Windows 7, but no issues on Windows 10 yet. When our SW needs it and can't find it we let the user install it on the fly running this exe file: MicrosoftEdgeWebView2RuntimeInstallerX64.exe ..and that has never failed yet, maybe it could cause issues if you've installed the 32 bit version first?!?- 19 replies
-
- 1
-
-
- table
- open source
-
(and 2 more)
Tagged with:
-
Full DataGridView for LabVIEW - OPEN SOURCE project underway
MikaelH replied to Mike King's topic in User Interface
FYI, I've found the WebVIEW2 WebBrowser integration into LabVIEW + a fancy DataGrid JavaScript library is a much flexible approach. We've posted the LV-64 bit supported WebView2 support here: https://github.com/ANSCenter/LcWebView2 I use http://tabulator.info/ to make nice DataGrids in LabVIEW.- 19 replies
-
- 1
-
-
- table
- open source
-
(and 2 more)
Tagged with:
-
Event on Colour Change while widget is open, is this possible?
MikaelH replied to Neil Pate's topic in User Interface
Here is a start of the color selection, can someone see if we can make it faster? ColorPicker_GUI_DrawColorRectangle.vi -
Event on Colour Change while widget is open, is this possible?
MikaelH replied to Neil Pate's topic in User Interface
I just have to implement it first 🙂 Not sure which UI style would be the best -
Event on Colour Change while widget is open, is this possible?
MikaelH replied to Neil Pate's topic in User Interface
I would make my own popup, so it looks better, something this: -
You just need to add a magical VI here to get it working:
-
I have several instances where I get null back for different datatypes, what I have to do is just to ignore the Errors from the JSON VIs. So it will convert everything it can' but when trying to convert NULL to a string it will be empty or for an int it will be zero. Ideally it would be good to be able to say when you find Null for: A strings use "" or "NULL" A INT use 0 or -1 For DBL/SGL it uses NaN and that is prefect.
-
Labview anti-pattern: Action Engines
MikaelH replied to Daklu's topic in Application Design & Architecture
What you could do is to start just using the Singleton Class template, sure it's based on OO, but you don't need to think of that, it's just like a action Engine, but instead of having everything in one VI, you can add several VIs (methods) to the Singleton library (lvlcass), and just because they belong to the same class they all share the same data. You just have to learn how to use the IPE structure to read and modify the shared data.