-
Posts
437 -
Joined
-
Days Won
29
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by X___
-
-
-
And don't think of visiting the site not logged on... You will be granted by this very invasive splash screen, every time.
-
5 hours ago, Mads said:
As for the logo, that's totally fine, for many of the reasons you mention. The package manager logo though...🤣
But it is a stylized P nis n't it? (Sorry for thr typoss)
-
27 minutes ago, Neil Pate said:
cannot unsee this now!
What do you see beyond "package" and "manager" ?
-
2
-
-
- Popular Post
-
1 hour ago, LogMAN said:
I think it's time for me to watch the livestream footage.
Be so kind as to distill the substance of it in a post here.
-
I don't think the guy in the picture is going to be here in 100 years. Heck, I am pretty sure nobody at NI today will be here in 100 years.
Come to think about it, NI might not exist any more then. So what a well thought-through slogan to put up on a landing page...
Personally, I think this is way too much color for NXGNI. I fixed that for you:
-
And StarLogo TNG (The Next Generation)... the ancestor of MIT's App Inventor. After all, NXG is supposed to be so simple that everyone can use it, right?
-
Whatever. My question was: did I understand correctly that individual VI files shared between projects were going to become hard to use. The answer was no. I then commented that in this case there was nothing new of interest, or at least I could ignore the the gll paradigm.
As for picking a fight, why would I even bother. As you know, I left NI forums after you (AQ) summoned me by private message to stop expressing critical comments. There is a difference between engaging customers and addressing their needs, which I believe is something that would benefit from some soul searching on NI's part.
As for me, I have no interest in wasting any time with NXG until I am forced to abandon CG. I hope that by then I will be sufficiently proficient using other programming environments that are open, free and supported on all platforms.
-
3 hours ago, Aristos Queue said:
Yes. It is an excellent change from CurGen that makes source management far easier for all use cases that we have evaluated.
Then I am completely convinced that I have nothing to add to that discussion (which I guess was the purpose of this enlightening statement).
-
43 minutes ago, JeffP said:
Can you elaborate on your concern?
Generally speaking - directly sharing source across multiple projects can easily lead to making changes in one project which unintentionally breaks another project. The recommendation is that if you have a piece of code that you want to reuse in multiple projects (maybe its a framework or a library) you should separate that code into its own module. The projects would then depend on the built component - a gll for example, so this enables you to maintain versioning and avoid the case I described. Alternatively you could distribute the shared component as an addon, but you would not be able to directly edit the shared dependency from the project which is dependent on it.
You are still able to directly share GVIs between different projects, we just don't recommend that you do it.
Thanks, this perfectly clarifies the matter. Nihil novi sub sole?
-
7 hours ago, JeffP said:
Directly sharing source VIs on disk between projects is not the recommended way of sharing code in NXG.
Am I reading this right?
-
1
-
-
It's a start. Humor and the recognition that the world is moving on outside the ivory tower...
-
1
-
-
It is a different product. It's like if a car company messed up some component and said: sorry, we fixed it the new model. But, hey no ill intent here, just a business model.
-
It's like moving the Expression Node back in some subpalette of the Mathematics functions that is not existing in the Base LabVIEW version (https://forums.ni.com/t5/LabVIEW/Expression-Node/td-p/3974820).
Completely uncalled for, but, hey, AQ doesn't think that text-based mathematics should even be allowed in LV, so what do we know?
-
55 minutes ago, Rolf Kalbermatter said:
The OpenG ZIP library is mainly an implementation of a ZIP archive reader and writer but uses at its core the zlib library for the compression and decompression, just as the ZIP library does that is included in LabVIEW. While the LabVIEW provided ZIP library only exports a few high level functions to be accessed, the OpenG version goes a lot further and basically exports a lower level API on which the whole ZIP archive handling is implemented. And in addition it also exports the according ZLIB inflate and deflate functions that allow you to implement any compression that is based on the ZLIB compression method. It would be possible to implement GZ and similar formats on top of this without a lot of effort, by simply implementing a LabVIEW library on top of these ZLIB methods and some LAbVIEW file IO methods.
Can't use it with 64-bit LV, AFAIK...
-
Actually, the nipkg.ini is in \ProgramData\National Instruments\NI Package Manager\Settings\nipkg.ini
-
On 5/19/2020 at 5:20 AM, hooovahh said:
Can't get that to work systematically. Sometimes it does the trick, sometimes it doesn't. I believe this is worth reporting as a bug.
While this could be a wrong hunch, I wonder whether this might be due to the narrow scrollbar width in the NXG graph legend. Notice that it is narrower than that of a NXG array (shown on the right below). It is definitely narrower than that of the silver style graph legend (shown second from the top left), which is narrower than the modern graph legend (shown last on the left). The latter is of the same width as the classic graph legend.
The reason I am suspecting this is that I have seen something similar in a utility that was supposed to return the clicked element in an array (https://forums.ni.com/t5/Example-Code/Determine-Clicked-Array-Element-Index-in-LabVIEW/tac-p/4040339/highlight/true#M14360) and failed with silver and NXG arrays because the border sizes and other details of controls have changed from style to style, and the underlying routines have not been updated.
In any case, this is annoying enough to be reported.
-
That was a trick question.
-
OK. What is the idea of password protecting those CLN and not, say, those in the Analysis VIs. Are we at risk of blowing up the planet?
-
Are you sure of that? The hierarchy shows System Exec call, so it might be even cruder than a .NET call indeed:
-
The NI_Unzip.lvlib VIs are all password protected (probably because underneath, they are using some .NET calls they don't want people to mess up with). So yes we don't know what they do, although the help tells us what they can't do:
Unzips the contents of Zip file to the Target directory. Set Preview only? to TRUE to preview the list of files in Zip file before you unzip the zip file. This VI cannot unzip a zip file that is password protected.
Why wouldn't it support password protected archives?
Anyway, the compression/decompression algorithms are not necessarily particularly well described or unique for that matter and it is therefore not surprising that some implementations might be incompatible (although they shouldn't):
.NET documentation
https://docs.microsoft.com/en-us/dotnet/api/system.io.compression.deflatestream?view=netcore-3.1
An old 40,000 ft description:
https://zlib.net/feldspar.html
quoted in this interesting "from-the-ground-up" implementation (quoting the previous reference):
-
1
-
-
It does seem to do exactly what I needed though, which was emulate that piece of MATLAB code:
zipbuf = fread(fid, offset, 'uint8=>uint8');
tmp_dir= tempname;
[SUCCESS,MESSAGE] = mkdir(tmp_dir);
if SUCCESS
fnz= fullfile(tmp_dir,'temp.zip');
else
disp(MESSAGE);
error('Cannot create folder.')
end
tmp_fid = fopen(fnz,'w');
fwrite(tmp_fid, zipbuf);
status = fclose(tmp_fid);
fnu=char(unzip(fnz,tmp_dir) );
tmp_fid = fopen(fnu, 'r');
data = fread(tmp_fid, length, type_str);
status = fclose(tmp_fid);
[SUCCESS,MESSAGE] = rmdir(tmp_dir, 's');
if ~SUCCESS
disp(MESSAGE);
error('Cannot delete folder.')
end
end
-
A simpler way might be to do this using native LV functions:
Of course you need to create two temporary files, but this is year 2020...
What do you think of the new NI logo and marketing push?
in LAVA Lounge
Posted
These are pretty bold color-coded statements in these troubled times... Kudo to NI: