GOOP QUESTION

Hi,
I've a question about GOOP.
I've an array of Objects refs but i don't know its size until runtime;
these objects own to a class that has a method called Run, which is a
continuos loop.
In a main VI I'd like to launch this method for each object in the
array.
The problem is that the run method, obviously, doesn't terminate so,
for exaple, if i use a for loop with autoindexing and i put the array
outside the loop and the run method inside, this loop only execute the
first iteration waiting for the "run vi" to stop. I've tried to set
the run method as reentrant, but this didn't solve the problem.
Do you have any suggestions?
Thanks in advance,
Luca Tascedda

> Thank you for your answer michael...i'll try to work at it!
> Does anyone know a general solution in goop that avoids using the vi
> server? I think this problem is very common, because active objects
> are fundamental in oo programming of real-time systems.
If you were to do this in most other languages, you would somehow spin
up a thread. One way to do this in LV is to have a parallel loop that
keeps running as long as the object is active. This is easy for a
static number of object instances, like singletons, but not good for
dynamic number. In those cases, the correct approach is to use the VI
Server. You are using it to dymanically get an instance to a reentrant
VI, not necessarily having anything to do with remote execution
or
communication with another computer. Ideally, you will wrap the VI
Server implementation inside of a method for your class and hide the
details. The method will take initialization data and return with a
reference to an object that is either active, or in the process of
becoming active, depending on its implementation.
Greg McKaskle

Similar Messages

  • Creating class diagrams with the Endevo UML Modeller

    I need to create a UML class diagram from existing LabVIEW 2009 projects and classes.  Has anyone had any experience using the Endevo UML Modeller 1.2 to do this?  The web site does not have an evaluation version of the UML Modeller.

    Try cross-posting (mention the cros post) on the LAVA OOP forum here.
    The develpers from Endvo watch that fourm and reply regularly to GOOP questions.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Performanc​e issues with GOOP

    I would like to use GOOP in my next application development. Does anyone know if there is known performance issues I should be aware of?

    That is a great question. I found a couple of other threads in the LabVIEW forum which address performance issues with GOOP:
    http://sine.ni.com/niforum/niforum?forumDU=http://​forums.ni.com/ni/board/message?board.id=170&messag​e.id=30132&requireLogin=False
    http://sine.ni.com/niforum/niforum?forumDU=http://​forums.ni.com/ni/board/message?board.id=170&messag​e.id=30132&requireLogin=False

  • GOOP queues and other stored references

     need to ask this because Im not at the target machine to try it myself until Monday.
    Re Endevo by ref Goop Wizard 3.0.5
    I am using queues in process objects.
    WHen I create the object I create the queue and store the queue reference in the attributes of the object.
    Then I use the queue for controlling public status and shutdown functions etc..
    Question is the following.
    I ran into a glitch today whereby the queue refs and some other refs go invalid while the Goop repository is showing "live" objects.
    The values of the refs are intact but they are invalid
    Anyone have any Idea what I am describing?
    Thank You
    PS: I hope this isn't simply Labview not running. How can that be when I am using the object inspector. I don't yet get it.

    No I do not think it is an error.
    It turns out the queue and DAQ Task references go invalid because of the relationship of the endevo GOOP object to LabVIEW. (or so it seems)  I think it is because the VI that created the object goes idle and so LabVIEW assumes the ref is no longer needed (despite any  options settings. )
    I am seeing the objects in the Goop repository however references to queues and Data acquisition tasks are invalidated as
    soon as the VI that uses them goes idle.
    It does not seem to afffect field point references or VIsa com ports and also all other data in the goop object seems fine. I guess thats because FP and VIsa are only strings
    Its a real snag to me because I did not see it coming. Now I have to create the queue and reestablish the Daq tasks to insure it is valid
    after the create method even if the object exists. 
     I prefer to use the create or look up existing feature of the method because it gives a lot of flexibility.
    Thank You

  • Where is all the support information on GOOP

    There appears to be a shortage of support information for using GOOP in LabVIEW. Does anyone know where I can find more on GOOP and are there any developers out that are using it.

    Hello,
    Since it is a relatively simple implementation of object-oriented programming, GOOP only has a few support resouces that I have found...specifically, a few NI KnowledgeBase entries and a few threads on the Developer Exchange...and of course there's the GOOP info page.
    I am currently working on a project in which I use several GOOP classes, so I have a basic understanding of its use, limitations, etc. Did you have any specific questions?
    Hope I can help,
    Darren N.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • GOOP Modified data?

    I have a GOOP class CC containing sub-classes A, B and C. Some common data is owned by the CC class and in additon the sub-classes have their own private data.
    Now, if I want to modify the data in sub-class A, I call some method for the CC class which then handles "A".
    What I'm then wondering is: Should the CC method be of Reading type or Modifying type?
    Since I don't change any of the common data for class CC I think I could have it "Reading type", but what is the right thing to do?

    Hi,
    If I understand your question correctly, you have a class "CC" which aggregates three classes "A", "B" and "C" by keeping the reference to these object by storing the their references in the "CC"-class as attributes.
    Now, as you wrote in your question, you do not modify anything in the attributes of the "CC"-class. The only thing you do is reading the value of the reference (actually a I32) to the "A"-class. The right thing to do is using the "Reading"-template just as you thought.
    The reference that is store in the "CC"-class attribute is only a "pointer" to the "A" object and it do not change as long as the "A" object lives (until you execute the "Destroy" method for the "A" object).
    Best regards,
    Mattias Ericsson
    Endevo Sweden
    Member of th
    e GOOP developer team
    Have you seen the new GOOP Wizard 2.0 at www.endevo.se?

  • Excel Toolkit GOOP Stopped Working

    I spent the better part of a day searching the forums for a solution, and I am a bit stuck.
    I wrote a program some time ago where I would open a chosen Excel file, then read measurements from a multimeter, then drop those values in the active cell.
    This  .exe has worked swimmingly for several years.
    However, just this week IT replaced a PC on the floor and the program is not longer opening Excel.
    I am using the Philips/GOOP Excel plugins for Labview.  The code is written in Labview 2012.
    The trouble PC is Windows 7, 64-bit and office 2007.  This program is still functioning on a similar setup (OS and Office) without issue.  The only difference is the make/model of PC.
    I have tried multiple other Excel vi's and get no response.  This leads me to believe that it is an ActiveX issue, as I am not getting an error or anything.
    So, my question is, can I "update" Activex to get this working, is there somplace to look to see what the issue is, or do I need to start finding a way to re-write the progam without this plugin?
    Anay and all assistance would be appreciated.

    I had a VI that worked on my developement machine but not on the lab machine.  Both had Win7 and LV2013.  Both accounts were Admins.  I requested IT look into it and they changed some settings, I don't know wht, that solved the problems.  Win7 has nice security but it really gets in the way sometimes.  There are times when you need to provide permission for a program to access certain files or folders or make chnages on the machine.  The dialogs for that don't always pop up when a program tries to do it, things just don't happen.  I'm not up on Win7 permissions like I have been on previous Windows versions so I'm not sure of the settings but that would be the first place I'd start looking.
    Of course, I could be wrong about this but with what you're saying it looks to me like the most likely possibility.
    Kelly Bersch
    Certified LabVIEW Developer
    Kudos are always welcome

  • Excel Toolkit (GOOP)

    I'm trying to use the Excel Toolkit (GOOP). I am using LabVIEW 7.1 and I was wondering where should I place the helpfiles so that they work properly?  Can you help me?

    I'm assuming that you are talking about the "toolkit" linked here. If so, it was actually developed by a 3rd party, Philips Research, so it is not supported by National Instruments. There is some contact information for the author at the bottom of the readme file included with the package, so I would recommend trying your question there. I've posted it below for your convenience:
    Philips Research COS/TMA
    email: [email protected]
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Objective question book for certification

    Hi,
    I was preparing for my first level certification CLAD. I wanted to know if there is any book on the objective questions . I have already cleared the fundamental test at ni.com. I am looking for more practise.
    Anyone who has given the test or plan to give one, please post some ways of preparing for the exam.
    Also how hard it is ?
    Any special tips for 2006 exam?
    Any help would be greatly appreciated.
    I am preparing for the exam by reading basic I and Basic II books.
    I have given couple of fundamental tests on the NI website.
    Also I keep reading and answering  NI discussion posts to check on my knowledge about Labview.
    Any other material that would be helpful in clearing the exam.
    Also according to certification FAQs the passing percentage is 70% whereas the fundamental test results will declare you Pass only when you score more than 80 %.
    What is actually the passing percentage for the exam?
    Regards
    CLAD
    Using Labview 5.1,6.1,7.1.8.0

    Passing the test myself you are required by NI not to disclose any information so where do I start?  If you have been using LabVIEW for at least a year you should be fine.  The test is constantly changing so even if I were to tell you what to study it may be all different.  I guess the best advice would be able to inspect code without running it and know what LabVIEW result will be.  If you are comfortable with loops and shift registers and understand what the result of the code wold be then you should do OK.  I know the questions was what books would help the most.  I just looked at the LabVIEW manual and managed to do fine.  Another tip would to be study the things that you typically don't use or how it is implemented.  A book will help you to a point but you need to be comfortable with LabVIEW and its wide functionality.
    Does this help?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • Problem with GOOP Excel Toolkit in Labview

    Hi, all,
    I have a Labview program using GOOP Excel Toolkit. I import some data from a text file into Excel file, then save the Excel file using the path and file name I input.  This program is working fine on one computer, but when I copy this file to another computer, the run arrow becomes broken. The error message shows that in one of the SubVI of GOOP, Excel Save.vi, "Invoke Node: contains unwired or bad terminal". Below is the picture of excel save.vi. I did not change any wire in that SubVI, somehow it becomes unexcutable on the new computer.
    Did any one have this problem before? How to solve this problem?
    Thank you very much.
    Attachments:
    excel.JPG ‏51 KB

    Hi J3000,
    I'm assuming that you are talking about the "toolkit" linked here.
    If so, it was actually developed by a 3rd party, Philips Research, so
    it is not supported by National Instruments. There is some contact
    information for the author at the bottom of the readme file included
    with the package, so I would recommend trying your question there. I've
    posted it below for your convenience:
    Philips Research COS/TMA
    email: [email protected]
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Questions RE: K8N Neo2 Install

    I've always been an Intel man, and my new build represents the first time that I'll be delving into the world of AMD, so I have some questions.
    First, some quick specs:
    AMD Athlon 64 3500+
    K8N Neo2 Platinum
    1 Gig Corsair TwinX XMS 3200LL 400Mhz (4x 256MB sticks)
    2x 36 Gig WD Raptors for RAID0
    Seagate Barracuda 200 Gig Standalone
    Chaintech GeForce 6800 GT
    Antec 430w PS
    And now on to the inquiries:
    1) The processor seems to come with some thermal goop already applied to the heatsink. Is this sufficient out of the box or will I need to use more? Intel chips have always included a little bottle of the stuff.
    2) What will I have to do in the BIOS in order to get this memory working optimally? I've read through some threads briefly but so far I'm still a tad confused as to how to go about doing this properly.
    3) I read the RAID FAQ that's floating around here, and it seems simple enough. Is there anything I should watch out for given my specific hard drive combo?
    That should do it for now.
    Thanks in advance for any help.

    Just set up a similar system myself although I had hell getting my WD360 Raptors setup in a Raid0 configuration - turned out that it would only work after I swapped my optical drive out for another - weird or what?!
    Whilst on the subject, in the Bios DMA transfers for the SATA ports is disabled by default so you'll want to turn that on. Personally, I set the stripe size in the Raid Bios to 64K and also formatted the array with 64KB clusters. I did this with my last Nforce2 board which went great guns for 18 months and with this board I'm getting 10 - 20% performance increase over that.
    I've not tested this theory myself yet, but going on what others have posted, SATA ports 3&4 (next to the CPU) seem to allow for better overclocks.
    Regarding the thermal pad that comes attatched to the cooler - I too have heard it sticks like glue and if you ever wish to remove the heatsink it's likely to destroy the CPU in the process. You'll need a solvent remover to easily clean it off (don't use a scourer!). You'll want to invest in some decent thermal compund such as Arctic Silver.
    As for Ram, I know that it's pretty much touch and go using 4x512MB sticks - you might be lucky with your 256MB modules though. It used to be that Intel boards offered superior compatability and overclocking performance with Ram. However, with the advent of the new Samsung and Micron performance Ram, the A64 offers even better overclocking albeit with newer modules. Also, more important with A64 is not the bandwidth but the latency. Theres an option for 1T or 2T - 1T is worth 40Mhz or so bandwidth at 2T so try to keep it at 1T. It's a matter of trial and error in your case so you'll need a tool such as Memtest86 which will allow you to test withut screwing up your OS installation.
    In addition to this, there's an option for Max memory speed with options of 200Mhz down to 100Mhz. These are in fact ratio's - 200 being 1:1 and 100 being 2:1 (FSB to Ram). Using these, you can raise the FSB for CPU overclocking while keeping your Ram speed down to a usable level.

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

  • Satellite P300D-10v - Question about warranty

    HI EVERYBODY
    I have these overheating problems with my laptop Satellite P300D-10v.
    I did everything I could do to fix it without any success..
    I get the latest update of the bios from Toshiba. I cleaned my lap with compressed air first and then disassembled it all and cleaned it better.(it was really clean insight though...)
    BUT unfortunately the problem still exists...
    So i made a research on the internet and I found out that most of Toshiba owners have the same exactly problem with their laptop.
    Well i guess this is a Toshiba bug for many years now.
    Its a really nice lap, cool sound (the best in laptop ever) BUT......
    So I wanted to make a question. As i am still under warranty, can i return this laptop and get my money back or change it with a different one????
    If any body knows PLS let me know.
    chears
    Thanks in advance

    Hi
    I have already found you other threads.
    Regarding the warranty question;
    If there is something wrong with the hardware then the ASP in your country should be able to help you.
    The warranty should cover every reparation or replacement.
    But I read that you have disasembled the laptop at your own hand... hmmm if you have disasembled the notebook then your warrany is not valid anymore :(
    I think this should be clear for you that you can lose the warrany if you disasemble the laptop!
    By the way: you have to speak with the notebook dealer where you have purchased this notebook if you want to return the notebook
    The Toshiba ASP can repair and fix the notebook but you will not get money from ASP.
    Greets

  • Question regarding NULL and forms

    Hi all, i have a survey that im working on that will be sent via email.
    I'm having an issue though. if i have a multiple choice question, and the user only selects one of the choices, all the unselected choices return as NULL. is there a way i can filter out anytihng that says "NULL" so it only shows the selected options?
    thanks.
    here is the page that retrieves all the data. thanks
    <body>
    <p>1) Is this your first visit to xxxxxxx? <b><%=request.getParameter("stepone") %></b>
    </p>
    <p> </p>
    <p>2) How did You Learn About xxxxxxx?</p>
    <p><b><%=request.getParameter("steptwoOne") %></b>
      <br>
        <b><%=request.getParameter("steptwoTwo") %></b>
      <br>
        <b><%=request.getParameter("steptwoThree") %></b>
      <br>
        <b><%=request.getParameter("steptwoFour") %></b>
      <br>
        <b><%=request.getParameter("steptwoOther") %></b>
    </p>
    <p> </p>
    <p>3) What was your main reason for visiting xxxxx?</p>
    <p><b><%=request.getParameter("stepthreeOne") %></b>
        <br>
          <b><%=request.getParameter("stepthreeTwo") %></b>
        <br>
          <b><%=request.getParameter("stepthreeThree") %></b>
        <br>
          <b><%=request.getParameter("stepthreeFour") %></b>
        <br>
          <b><%=request.getParameter("stepthreeOther") %></b>
    </p>
    <p>4) did you find the information you were looking for on this site?</p>
    <p><b><%=request.getParameter("stepfour") %>
    <br>
    <b><%=request.getParameter("stepfourOther") %></b>
    </b></p>
    <p>5) Do you plan on using this website in the future?</p>
    <p><b><%=request.getParameter("stepfive") %></b></p>
    <p>6) What is your gender</p>
    <p><b><%=request.getParameter("stepsix") %></b></p>
    <p>7) What is your age group</p>
    <p><b><%=request.getParameter("stepseven") %></b></p>
    8) Would you like to take a moment and tell us how we can improve your experience on xxxxxxxxxx?
    <p><b><%=request.getParameter("stepeightFeedback") %></b></p>

    i was messing around and came up with this. it doesnt remove the null, but if it is null it adds ABC beside it. so i think i might be getting close. i just need to figure out how to replace the null.
    code]
    <b><%=request.getParameter("steptwoFour") %></b>
         <% if (request.getParameter("steptwoFour") == null ) {
         %>
         <% out.print("abc"); %>
         <% }
         %>

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

Maybe you are looking for

  • Importing only songs to music folder, NOT videos?

    OK, so here's my problem... I have probably 25+ gig's of Movies, and only have about 15 GB's of space left on my laptop. (I have a LOT of music, TV shows, etc...) I would like to know if there is a way to get iTunes to import music ONLY into the iTun

  • My safari browser is not good. How can I change it?

    My safari browser is not good. How can I change it? Also need info on setting up parental controls to use remotely for children who iChat, Facebook, etc.

  • Viewing PDF files in IE with pop-up windows

    I have a web page (see attached) that loads a PDF file in an iframe and also launches a pop-up window in the onload event (via javascript) and then closes that window in the onunload event.  If I go from one page that does this to another, or I reloa

  • Two video cards issue

    Any fix for the "Hardware cannot render at the requested size and depth" when having two video cards issue?

  • User defined fields to add in KE5Z report

    Hi, I want to add 2 user defined fields (AUART, AUGRU) in KE5Z report output.  I tried for User Exits and SAP Note, but I couldn't find anything... Is there any other way to add those 2 fields... thanks, yad