Good morning. I'm new of labview and I would like to call C++ code from VI for my application.
I did a
C++ project, generate DLL and I call it from VI. It's working on my pc but if I make an application for another pc, the application works but the dll is not working. I installed the c++ redistributable on second pc but I had the same problem.
in particular a message error with "error 42" appears. Can you suggest me some check to fix it ?
thank you very much for your collaboration
I'm writing an application where users can plug in their own matlab code via a Mathscript "wrapper". I need a way of timing out the matlab in case the user creates an infinite loop.
Does anyone know if mathscript provides a native timeout (google didn't find anything when searching "mathscript timeout").
If not, does anyone have any good (hopefully simple) suggestions?
My company is starting a project where some Matlab files (.m) need to be executed by LabVIEW. The 2 obvious solutions are Matlab script nodes and MathScript nodes. Unfortunately, even though the latter one is the most cost-effective and light in terms of installation, many of the functions we need are not supported by the Run Time Engine, so it's kind of a deal breaker.
For the Matlab script nodes, I know Matlab needs to be installed since LabVIEW will request Matlab to execute the scripts through ActiveX. What I don't know is: what version of Matlab? Is there a cheaper "Run Time Engine" of Matlab we can use instead of buying the full-blown developement version of Matlab?
Any other comment, remark, suggestion, alternatives?
I was mucking around in General Error Handler.vi today and noticed a weird subVI with a really intersting comment inside. Thought I'd share it with the crowd, since it applies to time-critical processes, thead swapping, and general compiler insights.
I am new to labview and need some assistance trying to open a .mat file for further analysis (example file attached). The file formate is level 5 and I believe the data is in arrays. I do not have access to confirm the structure but have been told the layout of the data i need to access follows the following structure: MotionFile_walkaround -> Actor_50_human -> Segments -> Sacrum -> Pose.
I have successfully read the header and found that byte swapping is required. I have downloaded the Mat-File IO library but have had no success in reading the actual data set beyond the header but assume this is due to my inexperience with both .mat files and labview.
Any help would be greatly appreciated.