Gustavo Fernandes
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Gustavo Fernandes
-
-
Congratulations!
And thank you very much
-
QUOTE(Tomi Maila @ Dec 21 2007, 09:49 PM)
I'd like to thank all LAVA members for another amazing year. To spend your christmas holidays ExpressionFlow has developed you an amazing http://expressionflow.com/2007/12/21/labview-snow-flake-game-block-diagram-game/' target="_blank">LabVIEW Block Diagram game for LabVIEW 8.5. I wish everyone Merry Christmas and Happy New Year 2008. Enjoy your holidays.Tomi
I wish you an happy new year 2008.
Thank you very much for sharing this game
-
QUOTE(Gary Rubin @ Dec 19 2007, 07:06 PM)
I don't know if this still holds true for Labview 8x, but in Labview 7.1, there's something called a Matlab Script (under the Analyze > mathematics> formula) tools palette.This is different from Mathscript. Mathscript, as I understand it, has Labview compiling and executing M code (or at least a subset of it). The Matlab Script launches an instance of matlab, much as I would assume you're trying to do with activex.
I was in hollidays.
I wish everyone an happy new year 2008.
Gary, thank you very much for your reply.
I tried Mathscript but it is not what I'm looking for. I cannot copy paste my matlab code there. Too much work.
I'll try to call for NI help. I hope I can find a solution.
-
QUOTE(Aitor Solar @ Dec 19 2007, 08:21 AM)
Hi Aitor, looks like the way to go. Time to learn how things works.QUOTE(Gary Rubin @ Dec 19 2007, 01:35 PM)
Gary, Thank you very much for your reply. Done that but somehow I'm having dificulties integrating it with my project. It works well in the small project but not in the big one, looks like labview take a large amount of time processing mathscipt before running, or something else I'm missing. Also the code has many variables and parameters. I would prefer to do it keeping the matlab code I wrote before and integrating it in labview (dll, activex, etc).QUOTE(James N @ Dec 19 2007, 02:38 PM)
You probably need to update the link to the Matlab ActiveX class. I get the same error message but I don't have Matlab installed on my office PC. Right click on the object and browse around until you find something that looks right.. and then works. It should show up in the pull down menu.James, thank you. Already done that. I must be doing something wrong. I used activex before with excel and everything worked well. I would love to find what's wrong.
-
QUOTE(Yen @ Dec 18 2007, 07:25 PM)
Welcome to LAVA.What are your fields of interest?
Graphics: fluorescence analysis (cell density, some protein concentration)
data acquisition and analysis (chemical or bio processes) including trying some diferent sensors
video (perhaps sound) processing as sensors for some variables.
Also control and optimization
-
QUOTE(Norm Kirchner @ Dec 14 2007, 05:26 PM)
Look at the LV options dialog.This is much better than using tabs.
Give a list to the left, and use a sub-panel to the right. That's what NI does and it looks pretty handy. Flexible too when it comes to adding / removing pages
~,~
ps, sorry if someone already said this, don't have time to read through the thread.
Please, can you point me to a code example. TiA.
-
You can take a look at the examples provided with labview.
Normally I'll keep things simple and use "Tab Control". Sometimes I hide the Tabs and use a toolbar to navigate it. This way I can have diferente interfaces in the same windows.
-
QUOTE(Tomi Maila @ Dec 18 2007, 01:56 PM)
Yes it is the same. My intial guess was that Norton was blocking it.QUOTE(Aitor Solar @ Dec 18 2007, 02:51 PM)
What Tomi said, maybe you're using a non-creatable object. You can also generate your own COM object from Matlab to encapsulate the methods you want to use from LabVIEW.I have not enough knowledge to do that. I'll look around trying to find an example. I'll be happy if someone can point me a good example or tutorial. TiA.
-
I am new to using external code. I'm trying to use some matlab code inside labview (without using mathscript).
Downloaded several examples that use activex.
Somehow "automation Open" returns: "Error 3005 occurred at Automation Open: Object specified is not creatable in FF_Run_Matlab_Script.vi"
Code:
http://forums.lavag.org/MathScript-Matlab-...view-t8875.html
No guess about what is happenning.
WinXP SP2
Labview 8.20
Norton internet security
Matlab 2007b
Thank you very much in advance.
-
Nice to find this comunity
A very nice surprise.
Calling Matlab from Labview using activex
in Calling External Code
Posted
QUOTE(Gary Rubin @ Jan 3 2008, 07:50 PM)
Thank you very much Gary.
Yes it does work. With my particular code it works well if I run it alone. If I merge it with my big applicattion matlab takes a long time to save my application and to run it the first time. Besides I would prefer to run my matlab code, so I can change the matlab code and insert it into the application without compiling the code again.
from NI
"The error 3005 can occur if you have selected a non creatable object (not
having the object, not having it registered...).
If the error occurs in development computer try this steps:
1) On the front panel, open the Controls Palette and select
Refnum»Automation Refnum.
2) Right-Click on the refnum and select ActiveX Class»Browse....
3) Select Show Creatable Items only.
4) Select it."
"How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX
Servers?
http://digital.ni.com/public.nsf/websearch...7A?OpenDocument
"
Somehow the object is creatable, I select it and got the error. I must be doing something very wrong.
Looks like I have to learn more about activex.
EDIT
Looks like I must start matlab before running mathscript for the interaction to work.