Hi marida,
ask your teacher/school admin to provide you with the correct version of all needed LabVIEW modules...
After all you want to use their software license!
Hi marida,
ask your teacher/school admin to provide you with the correct version of all needed LabVIEW modules...
After all you want to use their software license!
Hello,
I am a newbie in Labview and my project has a lot of dependencies (other .vi files linked to the main .vi, custom controls files, etc.)
I need to copy / paste the file .vi on another computer. Is it possible to export the .vi with all the dependencies ?
thanks a lot
ps : I found "duplicate hierarchy to new location" in the export options, is it what I am looking for or not at all ? thanks 🙂
Yes, x and y (2nd and 3rd column) also form a reasonable grid and can be fit. However the fit does not look that great and might need higher terms, at least in one of the dimension..Of course a 2D polynomial is just a generic model and you could of course implement any other theory and use nonlinear fitting instead.
It is important to keep the dependencies in a clean hierarchy, and not scattered all over the HD.
You have several options:
Update ... 5 years later and several developments into the software, I have installed it on a few more machines with no issues till .... today the issue repeats exactly as described above on a fresh computer just purchased.
The installation has used the same runtime engine, drivers, support files that I've always used, but on this specific machine it shows the message. not to mention that the exact same software on another machine doesn't show the message ....
I hope some expert has 10 minutes to relook at this thread and provide recommendations!
Thansk
Thanks for all the help.
I was able to getting it running on Station 1 by moving my counter loop location in the vi.
It is still puzzling why the first version works on Station 2, but at least the stations are working correctly.
Thanks again,
JTH
Image may be NSFW.
Clik here to view.
Hi all,
I have an application where I need to calculate the change rates of numerous weigh scales and flow meters. I would like to know what the rate is for the last 10 minutes. My sample rate is 1 second. I could build a subvi where I have an array and use the linear fit to calculate the slope.
But I was reading the forum and found a reference to using the ptbypt linear fit. I have never used these ptbypt functions before and was hoping someone could have a look at the vi I have attached and let me know if I am on the right track.
Hi everybody. The attached vi is collecting some information of the current hardware. It used to work for my CompactDaq under Linus RT as well as on my windows10 laptop.
For whatever reason it has stopped working on Windows. The CpuLoadTotal gives a failure code 2147220623 which means that this feature is not available on this resource. All the other features give valid values.
As mentioned before: It was working fine for 1 year and now I get a failure message. It might be related to the DSM-service that I just started using. Does anyone know if I have to stop the DSM?
I tried some other ways to get cpuload-information, but they do all fail.
Image may be NSFW.
Clik here to view.
pp, Thanks for your reply, but I'm not understanding...
Assuming a "Ctrl Val.Set" is added after "Ctrl Val.Get" (in IAM2.vi) the "target" VI is IAM.vi. IAM.vi is running and open, but the string control labeled "String" is always the original value. I tried minimizing and "opening" to try to see the effect you describe.
I want to implement "emergency stop" (AKA: "E-Stop") logic that is as reliable as possible. This is a best-effort in the absence of a mechanical E-Stop. When the software (IAM2.exe) E-Stop is triggered, it will send a shutdown command to some equipment, then inform the top-level process that the E-Stop was triggered.
The first implementation depended on the ability of IAM.vi (exe) to respond and process a menu event. However, if the main process was hung, E-Stop menu event was not processed. So I'm separating the "E-Stop" logic from the top-level process. Running as a "separate" EXE, problems in the main app should not prevent the E-Stop from working. I say "separate" EXE because there's some behind-the-scenes linkage that allows IAM2.exe - through VI server - to read the control values of IAM.vi
It's the last bit - informing the top-level app of E-Stop. I'd like the E-Stop condition to generate an event in the top-level process, but all I have working is a UDP link that requires polling.
Any ideas are welcome!
Hi Trimar, It would be helpful if you could locate the document that describes SMCDLL.DLL.
Is the model# of the device similar to "SMC-1000"? Web searching using the model number may help locate the document (for smcdll.dll) online.
The error 1097 is typically caused by wrong parameter configuration in the Call Library Function. There should be a document describing the parameters required by "smcdll.dll).
Cheers!
Better option would be to use a Source Code Control software like GIT or SVN. You have your code saved in a repository on a server and then you can clone or get the latest code from the repository. It also doubles as a backup that you can go back to when something goes horribly wrong.
pp, IAM.vi is the "target", no? It's open, running, and always shows the same value in "String". I tried minimizing and opening, but the text is not updated by "Ctrl Val.Set" in IAM2.exe.
I want to implement an "emergency-stop" (E-Stop) button. It's going to be a best-effort in the absence of a physical switch. When user clicks button, a shutdown command will be sent to a device and then the E-Stop condition will be communicated to the main process. The main process can then shutdown gracefully, if it's not hung.
I want the E-Stop logic to be independent of the main process - so if main process hangs, the E-Stop will still do its job (send shutdown cmd).
So I understand rethinking the entire approach would be better as it is more efficient, however, I would like to be able to use my previous ArrayExpansion.vi, which that just expands an array and gets the array ready to be interpolated. Reason being, it will help me visually see my thought process.
From these examples, I see it expands it during the interpolation, which I agree is much more efficient and will definitely use that approach for the future. But if you already have it expanded, so in between all of your elements is a 0, would the approach still be the same? You already have an element there in that specific index, which is 0. You just want to replace that element with the average of the before and after.
wrote: But if you already have it expanded, so in between all of your elements is a 0, would the approach still be the same?
You would write some simple code to remove all empty rows and columns and thus reduced it to a problem that has already been solved 🙂 (Sorry, old mathematician joke ;))
wrote: Reason being, it will help me visually see my thought process.
I don't understand why you would need to visualize inefficient code. Wouldn't it be better to try to "visualize" some of our solutions? This way you probably learn more.
Still, I am sure it could be easily done...
Your "Array expansion" subVI, could also be replaces with code the size of a postage stamp. See if you can reproduce it
(For loop, interleave 1D arrays, built array, concatenating tunnel).
Image may be NSFW.
Clik here to view.
Thank you so much for this sir 🥺🙏🏻
I used VI Server several times to Get/Set control values of a remote application over a network, but as far as I know you cannot do the same with another process (i.e. a running exe) on the local machine.
VI Server is not the solution to your problem anyway: it will not generate an event in the target process, but will simply set a value. The target process will need to poll the control value, so why not doing the same on a UDP port (for example)?
Just navigate to where you downloaded it and double-click on it. It should open with VIPM.