Jump to content

Gustavo Fernandes

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Gustavo Fernandes

  1. 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.

  2. QUOTE(Tomi Maila @ Dec 21 2007, 09:49 PM)

    I wish you an happy new year 2008.

    Thank you very much for sharing this game :)

  3. 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.

  4. 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

  5. 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.

  6. 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.

  7. 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.

  8. 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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.