So, according to this NI document
It should be possible to link a .chm file into your executable so that a user can choose Help > Help for This VI. Well, I followed the advice, and no dice. Here is my LV2017-64bit attempt. In the development environment, it works fine, but in the executable Help for This VI is grayed out. The .chm file is a poor excuse, and unrelated to this VI, but never mind that, it's not the problem here.
Is it possible to programmatically call "Move on Disk..." function that is available in the Project Explorer?By etgohomeok
Hello, this is not strictly VI Scripting related but I believe it's a pretty similar topic, so I hope this fits in with the discussion on this board.
I am attempting to write a script that parses through the contents of a very large LabVIEW project (thousands of files) recursively and selectively moves/renames some of the files. The basics of this are fairly simple, however I have thus far been unable to come up with a way of moving files on disk that handles all relinking and dependencies without any issues.
At a high-level, my question is whether or not the "Move on Disk..." option in the right-click menu of the project explorer "Files" view is accessible programmatically somehow, using invoke nodes. The option I'm talking about, for clarification, is this one:
Using this option in the project explorer seems to be able to move all types of files in the project (VIs, libraries, classes, etc.) and handle all relinking properly without any conflicts popping up. However, there doesn't seem to be an equivalent "Move on Disk" method int he invoke node for project items. I have had some success with some of the "super secret" nodes for VIs:
However this only works for VIs and there is no equivalent function for library (.lvlib) and class (.lvclass) files. I've tried various combinations of saving and relinking functions that are available, however I always end up with conflicts when I load the project after running my script.
If the "Move on Disk..." function is not accessible programmatically, does anyone know of another way to programmatically move/rename library and class files on disk without causing conflicts?
By Steen Schmidt
I've decided to take the temperature on a known issue, that lvclass files retain knowledge of some of their old content after it's deleted.
For some reason I'm not allowed to upload lvclass files, so I'll describe it instead (using LV2014SP1):
1) Create a new class and save it on disk as class1.lvclass. No member data nor methods, file size on disk is 8 kB.
2) Add one piece of significantly sized (to easier see the issue) member data, I added a 1000x100 array of DBL (with random default data in it). Save the class again, and now class1.lvclass is 4604 kB (why so much, should be around 1000 kB?).
3) Delete all member data again and resave the class. File size on disk is now 1171 kB, I'd have expected 8 kB.
4) I can't ever get rid of that extra data in the lvclass file, not even when I "save as" to create a similar class.
A) What's the reason behind this issue?
B) Is there any way to really delete stuff from a class file, or is the only way to recreate every class from scratch if you want something truly gone?
C) Is there a list (perhaps internal to NI) of which problems this issue causes? Here I'm talking about stuff like this and numerous other threads about class data suddenly not being updated or member data or methods not being called correctly with DD.
By Duc Tran
I have a data file EMG signal .tdms, the signal represented by number of samples and amplitude (24bit data). I want to perform this signal into a time domain to perform spectral analysis EMG signal.
I look forward to help me continue my project.
I send all write file and read file the signal EMG signals
Thanks so much.
P/s: Read EMG Signal read data file sEMG_1.tdms
EMG monitor write EMG signal acquisition to sEMG_1.tdms
Read EMG Signal.vi