-
Posts
4,914 -
Joined
-
Days Won
301
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by ShaunR
-
Defer panel updates while you are updating the string.
-
inverter voltage and ampere data taking with usb rs485
ShaunR replied to petrusgunawan's topic in LabVIEW General
You will need a Modbus driver. Don't forget to read the whitepapers and the suppliers programming manual. -
What is the data rate? There is an example of using a fast DB for infinite history data logging..
-
Wouldn't adaptive just be an option? A bit like you have the static and dynamic for classes from the compane.
-
How are you thinking this would work with your IDE? Some sort of plugin recipe? Would you have an "adapt inputs" script/plugin and "adapt outputs" script/plugin and a way of concatenating them together around a Template VI? A bespoke "scripting language" for Xnodes? What is your vision here?
-
I'm waiting for your tools so I don't have to understand them Bring the others together with your IDE
-
Timeout event gone, -> OpenBinaryLibrary
ShaunR replied to ensegre's topic in Development Environment (IDE)
You probably have the following in the LabVIEW.ini file -
I'm not sure how many were added over time but wow, that's a lot of abilities. I was confused with the few I knew of in 2009. Kudos for enumerating them regardless of LV version-that's sweet! I remember my original forays back in the day just to prove I could write them then forgot about them because they were just awful to create and maintain. When it comes to Xnodes/controls. There is only one aspect that I'm particularly interested in and that is a replacement for a polymorphic VI. I have been thinking for a while that having a tool for creating a xnode that replicates a polymorphic VIs behaviour is quite doable - define terminals, select supported types for each terminal along with a "insert your code here" VI and press "make" but then I look at creating an xnode and say "nah. Too hard" I'm a bit disappointed that NI have just made a rats nest bigger rather than trying to make creating xnodes easier. It was an attempt to placate those of us that wanted to create our own native controls and indicators after all. Hopefully with your fresh enthusiasm and new interface, people will add plugins (hint, hint) to automate various common tasks beyond template creation to make Xnodes a more common and viable solution.
-
I think you may have problems getting feedback as it is really a question for lawyers. I will say, however, that I have software that I own the copyright to and I have not registered it in either the US Copyright Office or the UK Copyright Office (the latter is more applicable to me) but at least it is an answer.. I think in your case just send them an email and ask or choose one and they will tell you if it is wrong but my interpretation of your snippet is that it would be "Literary Work" unless it is something like billboard software. Software is recognised as "Literary Work" in many international agreements and "Work of the Visual Arts" just sounds like they are trying shoehorn media copyright such as public displays and performance into a separate section for software. So it depends. What does your software do?
-
How to correctly use the outputs of Gaussian Peak Fit?
ShaunR replied to ThomasGutzler's topic in LabVIEW General
You didn't migrate make Darins change of replacing the "2" constant. The back-port has the original bug. -
[CR] TaskDialogIndirect (win-api comctl32.dll)
ShaunR replied to peterp's topic in Code Repository (Uncertified)
Maybe move this thread to the CR "uncertified" as it is an ongoing development? What licencing are you planning to apply, just to clarify! -
May I use LabVIEW for commercial software?
ShaunR replied to lovemachinez's topic in LabVIEW General
You mean LabVIEWTM, LabVIEWTM, LabVIEWTM -
[CR] TaskDialogIndirect (win-api comctl32.dll)
ShaunR replied to peterp's topic in Code Repository (Uncertified)
One thing to be aware of is that the OS bitness and LabVIEW bitness are separate. That is. If you use LabVIEW 32 bit on a 64 bit platform you must use 32 bit addresses. Similarly, LabVIEW 32 bit can only load 32 bit binaries (DLLs) and LabVIEW 64 can only load 64 bit DLLs. You need to take that into account since LabVIEW 32 bit and LabVIEW 64 bit require different sized structures, are aligned differently and require different binaries. Usually in the LabVIEW code we have a conditional disable structure with different allocations for each bitness if we are passing embedded pointers. Additionally, we have to supply two binaries if we are to support both LabVIEW 32 bit and LabVIEW 64 bit. -
The SQLite API for LabVIEW works as far back as 2009
-
Why not?
-
NB t/pe/pp = threads per priority, per execution system TIL. 1. They have bumped up the max to 20 t/pe/pp (2014) from 8 (2009) although the default seems still to be 8. 2. You can indeed set more than 20 t/pe/pp TIWL (Things I will Learn) 1. How high can it go before nasty things happen. 2. When setting executables' ini files. Does labview cumulatively allocate threads as more executables are run? 3. Is there a more up-to-date document that describes LabVIEW threading? and you will, given sufficient non-trivial applications. bloatware" FTFY
-
You just made me clear my nose with coffee
-
IC. Never found where it was left after you parked it (see what I did there? ) Reading back over it; seems we covered most bases so hopefully NI didn't put the brakes on it. (oh dear, I need some coffee)
-
Are you saying that the # threads can be increased past 8 per execution system and create more execution systems by editing the ini file? i.e you can surpass the absolute maximum number of allocatable threads of 200 that can be achieved if you maximise all in the threadconfig.vi, Can you clarify what you mean here? Another solution that I've used quite often for comms is to use other 1 and other 2 execution systems for read and write respectively. That effectively doubles the number of available threads and removes them from the usual thread pools used by everything else. What was CAR 313508 for anyway?
-
Dynamic dispatch & Shared reentrancy
ShaunR replied to Nicolas Bats's topic in Object-Oriented Programming
In computing, a computer program or subroutine is called reentrant if it can be interrupted in the middle of its execution and then safely called again ("re-entered") before its previous invocations complete execution. Rules for reentrancy: Reentrant code may not hold any static (or global) non-constant data. Reentrant code may not modify its own code. Reentrant code may not call non-reentrant computer programs or routines. Citaton given. Can we please move on now? -
Dynamic dispatch & Shared reentrancy
ShaunR replied to Nicolas Bats's topic in Object-Oriented Programming
Because they were written when it was the only way to do this kind of thing. Remember. It is only a problem with Shared re-entrant just don't set your methods to shared re-entrant and it will work as expected. The easy way out for NI is for LabVIEW to break the VI if you try and set shared clones when calling a pre-allocated re-entrant VI the same as they do with subroutines. -
I know. I reckon it's probably the reason that that function is, and always will be, private Doesn't hurt to sow the seed of the thought though-engineers love a challenge I've just been through a lot of this platform rationalisation with a replacement for the NI licencing system since I need one that works on all the platforms, not just Windoze. I was lucky enough to not have to link in to weird and wonderful static libraries, though. I think I could probably hack together a DLL that could get x windows forms and probably whatever the equivalent is,on Mac; if push came to shove. I'd rather NI did it properly though.
-
Well. You, malicious bots, hackers and Viagra spammers PM me your IP address and I'll remove the block.
-
Unfortunate. Proxy? It's the MDI Toolkit for LabVIEW but with bigger pictures and datasheets.