Can I use data value references with a functional overall?

Can I use data value references with a functional global?  I am trying, but it causes problems:  I run the attached VI with "new DVR" selected.  Then I run it again with "return array" and I get the error 1556: "The reference is invalid. This error might occur because the reference has been deleted."  It seems to have forgotten the DVR, but I thought it should be stored in the shift register.

Another odd thing:  In my VI, if I try to connect the wire shown in "something strange", then the type changes (from U16 array to DBL), i.e. it doesn't recognize the type referenced by the DVR.

I want to pass a very large 4-dimensional array between parallel loops with a functional global.  To avoid memory problems, I want to use a DVR and in-place element structures.  If that's not allowed in Labview, I will try passing it through a user event or notifier.  Any problems with those alternatives?

Thanks.

I received a response from an engineer applications OR on this subject, and it seems that it is perhaps a problem with Labview.  They are working on it, so I'll go ahead and close this discussion.

Thanks for the help,

Allan

Tags: NI Software

Similar Questions

  • using the value null with a function

    Guys, newbie here

    What is the value NULL in function header? Does this mean that I can pass a value zero?

    FUNCTION tot_sales

    (company_id_in IN company.company_id%TYPE,

    status_in IN order.status_code%TYPE: = NULL)

    RETURN NUMBER

    Hello

    dorianpc wrote:

    Guys, newbie here

    What is the value NULL in function header? Does this mean that I can pass a value zero?

    FUNCTION tot_sales

    (company_id_in IN company.company_id%TYPE,

    status_in IN order.status_code%TYPE: = NULL)

    RETURN NUMBER

    You can always pass NULL for any argument.

    What does this code mean, is that the argument is optional (what, you don't have to spend), and if you do not pass it, status_in will be NULL inside the function.

    So call for your function with 1 argument, like this:

    t: = to_sales (c);

    is equivalent to calling with 2 arguments, like this

    t: = to_sales (c, NULL);

    where the 2nd argument is null.

  • Using 'New data value reference' in a loop

    Hi all

    I just read on the data value references (DVR?) and I'm trying to use them with overall functional (see table).

    I don't think that I'm just doing.  The final goal is a producer/consumer nickname.  My concern is that I don't feel the implementation of the new primitive data value reference and re-stuffing the result in the FGV, should occur in each loop.

    Of course I could "spread" data with a single gueue element (where the queue of new data would take place each loop).  I just thought that I would play with them.

    Beavercreek wrote:

    I think that we defend the same point, but I can't seem to understand why this does not work the way I expected.  I discovered the DVR (and queues) as a pointer, simply a way that the other vi can know where the data is located.  The data that we are after is here.  So, why Ch1 does not work in the data_reader.vi?

    If we can get Ch1 to work data_reader without re-creating and re-writing of the reference in the FGV each pole (what does Ch2), we find no more what is wrong with my vI or I'm going to learn something that is still beyond me.  I hope to hit me in the head this afternoon still

    You are missing a fundamental idea: the function you call creates a reference that points to a specific value. To actually interact with this value (read/write), you need to use the structure of the International preliminary examination. At this time what you are creating a single reference for ch1 (which do you nothing with) and creation of multiple references to ch2 (where at each iteration that you replace the reference in the FGV, so you basically lose the old reference), so instead of having two DVRs, you really N + 1 DVR (where N is the number of iterations of the loop runs).

    For your code works the way you want, you only need to create two digital video recorders (probably before the loop), then bring them inside the loop and use the structure of the International preliminary examination with nodes in R/W DVR to set the value in the DVR.

    For example:

    Other problems with the code, but this deal the DVR issue.

  • Can I use your Apple TV with MacBook Air

    I use a MacBook Air, 13-inch, mid 2013, OS X El Capitan 10.11.6. I am interested in Apple TV. With this product I was able to connect my Epson EB - S18 projector to my Mac in order to project movies that I bought on iTunes on my wall of the apartment? Would be there is always a problem to play these movies 'protected' outside the computer itself? Must they be downloaded in SD and not HD? Can I use a patch to connect my Mac to the Thunderbolt port to the projector via the HDMI port? Can I use a patch to connect the VGA cable to the port on the computer to the projector? Please notify.

    Thank you very much.

    Can I use your Apple TV with MacBook Air

    Yes! AirPlay with an AppleTV is the easiest to use and less complicated solution.

    SD / HD makes no difference.

    You will only be able to enjoy the full quality of an HD movie with a better projector however. This model projector is not really intended for presentation of home theater. It will work well. As you can imagine that there is no upper limit on the amount, you can overlook these things, but $2000 is going to buy a nice home theater projector these days. A few years ago, you would need to spend $ 50,000 or more.

    Would be there is always a problem to play these movies 'protected' outside the computer itself?

    No, not if you bought (or leased) from iTunes. They have to play on any device compatible iTunes. You can even use AirPlay to distribute it to your AppleTV from an iPhone.

    Can I use a patch to connect my Mac to the Thunderbolt port to the projector via the HDMI port?

    Yes.

    Can I use a patch to connect the VGA cable to the port on the computer to the projector?

    Not without a converter. Avoid using the VGA if possible. It's a terribly outdated and generally horrible alternative to any digital standard. Since your MBA has a port Thunderbolt, and if your projector has a HDMI input, buy a cheap (± $10) Thunderbolt to HDMI adapter cable. But AirPlay is preferable to a wired connection.

  • A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    Yes.

    http://www.Apple.com/Mac-mini/specs/

    the voltage may vary from 100-240 V AC.

  • Can I use internet in Holland with a rt surface that I bought at the Portugal?

    Can I use internet in Holland with a rt surface that I bought at the Portugal?

    From Internet Explorer

    Original title: rt of surface

    Hi pmeulendijks,
    The answer is Yes. It depends on your networks.

    Thank you

  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • Can I use VMware vSphere Hypervisor™ with vSphere Client?

    It's the question next poped upward.

    -Can I freely use for my business need VMware vSphere Hypervisor™, and what will be the difference with VMware vSphere Starter Kit?

    and

    -Can I use VMware vSphere Hypervisor™ with vSphere Client software for free?

    Yes - it is freely permitted, but he he has limits and lack of features compared to the vSphere Essentials kits. Another thing to note is the absence of vCenter Server to manage multiple ESXi hypervisors with the free version. The backup API are, in my opinion, one of the main obstacles to the use of this.

  • Can I use LEAD or TROLLING with groups?

    Can I use LEAD or TROLLING with groups?
    I want to compare two records in each group.

    Is this possible?

    Thanks in advance

    Xavi says:
    Can I use LEAD or TROLLING with groups?
    I want to compare two records in each group.

    What do you mean by groups?

    Twinkle

  • Can I use a PXI-6224 with the SCB-68 to take the measurements of 4-wire RTD, or do I need a power supply separate?

    I suspect I already know the answer to this question:

    I have an PXI-6224 M-series data acquisition card and a terminal of the SCB-68 block and want to take action using a bunch of 4-wire RTD. Is the power to the power source for these measures 6224, or is - not possible with the hardware I have?

    I know that NEITHER you propose other solutions to my problem: I am interested to know if I can do these measures with the device that I currently have on site.

    Thank you!

    Hello Jeffrey,.

    You have two options here, but it doesn't look like you need some hardware.

    The SMU-4357 built conditioning of signals, but it will not work on the chassis curent you have:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/210596/

    We also have an option with the NI 9217 cDAQ, but once, it gets you into a different platform:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/208804

    We used to have an option that we sell no more - the SC-2042RTD. If you are lucky and have one of them on hand so here's some info:

    http://digital.NI.com/public.nsf/allkb/4FF2C0F8D11B99B486256F4C006DCEA0

    You can also use these two elements in conjunction with eachother with your current PXI card:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/12311

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/10778

    Finally, you could get an SCXI chassis and drop them in:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/201609

    Thank you

    Joel C

    Technical sales engineer

    National Instruments

  • Can I use an XControl reference in a class?

    LabVIEW help stipulates that "a private data control cannot contain an XControl or an XControl refnum", while previous reviews have shown that the problems occur in a built application, but not in the development environment: http://forums.ni.com/t5/LabVIEW/X-Control-Distribution-Bug/td-p/1132058 this question seems to have been given the CAR #210033 http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-X-Control-X-Control-Reference-as-a-Class-Data-Me... with the note that it only covers the XControl reference , not the XControl himself, as a member of class private data.

    I just tried a simple application with a XControl reference in the private data of the class, and it seems to work without error in the application built in development (2012 f3 (12.0.1f3) SP1 32-bit LabVIEW).  I have looked through the last few lists of bug fixes and cannot find this CAR in one (2011 or 2012), even if the documents say they list only a "subset".

    Can anyone confirm if the #210033 CAR has been fixed?  I don't want to go too far down this path if she will introduce problems at some unknown point.

    According to the database of the CAR, this CAR has been corrected in LabVIEW 2010.

  • How can I use a value of jQuery in my project of edge animate?

    I use jQuery to obtain a query string value and I am able to display the value with an alert. However, I would actually use it in my project of edge animate. How can I get this value?

    Add the Javascript file as an external Javascript file in the dashboard Interface and add a variable.

    For example,.

    AdobeEdge.myVar1 = "a Variable"; It is a chain called myVar1

    and you can easily just call this variable to the edge like that.

    AdobeEdge.myVar1;

    Or use in an alert or whatever.

    Alert (AdobeEdge.myVar1);

    I did something like this some time ago is an example file of it

    http://www.mediafire.com/download/68tcf6s8i2084m2/Untitled-1.zip

    I hope it helps.

  • Can I use a new Mini with my old 10.5.8 iMac?

    I have a Mac G5 with 10.5.8. Can I use it as a monitor and run a Mac Mini 2016 with him?

    By implementing Virtual Network Computing, which requires an independent monitor.

    (144654)

  • Can I use an SD card with the new MacBook?

    Looking to buy a new MacBook. From what I can tell there is no SD card reader.  I don't see any accessory adapter for SD readers either.  Is it possible to use an SD card with the new MacBook?  Thank you!

    Only I can find is for iOS devices > > http://www.apple.com/shop/product/MJYT2AM/A/lightning-to-sd-card-camera-reader?f node = 91

    On the SDXC - Apple Support and SD card slot

    I hope someone will find an adapter for you.

  • How can I use on my M40X with WinAmp media buttons?

    Hello
    Today, I received my M40X and I have a question.
    There are 5 media as left button on the keybord (CD/DVD, play/pause, Stop, <->)
    Is it possible to use them with WinAmp?
    With the help of Toshiba, I had the CD/DVD button used to start WinAmp (by allows him to launch a .exe) but the work of Play/pause...don´t. The field of media Apps the only player that I can choose is Win MP10 (I hate this piece of sh * t).
    How can I use these buttons with WinAmp?

    Hello

    As far as I know Toshiba controls have been tested and designed only for Microsoft Media Player and WinDVD. How this topic says:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=3621&MessageID=11461#11461

    I n t have any experience with WinAmp but I found useful info in this forum on this topic:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=6673&MessageID=24448#24448

    Select this check box.

    Good bye

Maybe you are looking for