Capture of high speed using flex functions returns null vector

Hello

We have a controller 7350 and UMI-7774 drive a motor step by step through P70530 pilot. We use a single axis, axis 1, which is configured as a stepper motor with your comments and 10000 steps/rev. Our engine performs a profile displacement and during this move, you should read the position of the encoder with about 2000 Hz resolution. I can move the engine using MAX or flex functions, I can also read the encoder using the post MAX, but cannot perform high speed reading.

Issues related to the:

1. How can I configure read it for 2000 Hz at high speed?

Function flex_configure_buffer (boardID, bufferInEnc, axis, NIMC_HS_CAPTURE_READBACK, contMoveBufSize, totalPoints, NIMC_FALSE, requiredInterval, on actualInterval)

Returns the error-70078 (invalid parameter) when I pass a required interval less than 10ms.

2. How can I read data from buffer high speed?

Even when the buffers is configured with the interval of 10 ms, the flex_read_buffer_rtn (boardID, bufferInEnc, rear, out retVector) function returns no data (retVector = null).

Please find attached an example of solution of vs2008 demonstrating the problem.

Hello Stephen,

The problem is now solved, the problem was in the trigger condition.

It seems that the parameter requiredInterval in the function flex_configure_buffer() function call is ignored, because I get to any interval of 0.5 ms data even if the requiredInterval and the actualInterval are two 10ms.

Thanks for your help.

Tags: NI Hardware

Similar Questions

  • I added a router and a connection high speed using windows vistawhen pc is connected to the router her there is no internet connection. When the pc connected to the Internet by modem cable is available

    I added a router and a connection high speed using windows vistawhen pc is connected to the router her there is no internet connection. When the pc connected to the Internet by modem cable is available

    Hello

    I suggest you to follow the steps in this link and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    It will be useful.

  • How to use the function @RETURN for poster messages Essbase in 11.1.2.1

    Hello

    I found the business support Essbase Hyperion Planning 11.1.2.1 @RETURN rule novelty.

    If I create a simple BR for planning app like below:
    "@RETURN ("test return message,"WARNING);
    Validation returns error and BR can not be deployed.

    One is how to use the function @RETURN br?

    Thank you!

    He probably should be in a calco for example block

    "Profit".
    (
    ....
    )

    It is more likely to be used with an IF ELSE command, you do not want to define the condition for the calculation, roughly what the feature is designed for output.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • PL/SQL V() function returns null

    Hello

    I just updated one of my instance of APEX of 3.0 to 3.2.1 version. After update I can't read session values using the function v (VARIABLE_NAME) of pl/sql. Always returns null (I tried v('session'), v ('app_id'), v ('app_user')).

    : Reference VARIABLE works fine, but I can't use it in my own packages.

    No idea how to solve this problem?

    Kind regards
    Przemek

    Hello

    Are you by chance using old drop-in replacement for Patrick Wolf for the function of V?

    http://www.inside-Oracle-apex.com/attention-are-you-using-drop-in-replacement-for-v-and-NV-function-2/

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.sumneva.com (formerly http://www.apex-evangelists.com)
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • Function returning the query takes longer to run in Apex4.0

    Hi all

    I've created a report using the function returns the query. The function returns the query based on parameters that returns the dynamic columns. When I run the query in sql developer the query generates and returns the result in 3mins. But in the apex, it takes 35 minutes maximum to return.

    The query returns about 10000 lines.

    What a performance problem in the query or Apex? can someone help plz

    Concerning
    REDA

    No it's just the first tranche of 500. You can run it in good old SQL * more and the total time of the time (be patient however)

  • The page validation: function returning a Boolean

    Hi guys,.

    I'm doing a page validation simple to check an element in my presentation table if it is a number or not:

    START
    FOR i IN 1.. apex_application.g_f12. COUNTY
    LOOP
    IF LENGTH (TRIM (TRANSLATE (apex_application.g_f12 (i), "0123456789","" "))) is NOT null
    THEN
    RETURN FALSE;
    END IF;
    END LOOP;
    END;

    but I get this error message if g_f12 = AAA:

    ORA-06502: PL/SQL: digital or value error: character of number conversion error
    ERR-1021 error cannot run the validation of the "body of the function that returns a Boolean.
    Ok

    If g_f12 = A12 or a mixed alphanumeric it will work!

    * (I tried this with the function returning the text and it works like a charm, but in this case I have to use the function returns boolean to allow me to translate the error message) *.

    am I doing something wrong please help

    Thank you

    Hello

    Well, now when I look at the error message, I think that the problem is quite obvious.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Function - return multiple values in a concatenated string

    Hello

    Is it possible for a function return a concatenated string (combining more than one number). I'm trying to return the purchase by the introduction and invoice_id number and code order number, but an invoice_id can have several PO with the same code number. I want to concatenate the PO numbers with commas, for example

    10124, 10090, 10987

    At the present time, the function returns NULL for those cases that have more than one purchase order number.

    Thank you
    func_get_po(i.invoice_id, cc.code_combination_id) "PO No",
    func_get_po_requester(i.invoice_id, cc.code_combination_id, func_get_po(i.invoice_id, cc.code_combination_id)) "PO Requester",
    

    Of course, this can be done without any problem.
    If it returns NULL, then you must debug function and check the operating logic. I know that it will take a little of your time, but not problems with the logic of syntax and concatenation.

  • JDev 11.1.2.1 bc.getCurrentBindingsEntry () returns null.

    I use the code below to the ADF's seafood favorite shuttle component video training that is available on the web:

    public static list < SelectItem > selectItemsForIterator (String iteratorName,
    String valueAttrName,
    String displayAttrName) {}
    BindingContext, bc is BindingContext.getCurrent ();
    Link = DCBindingContainer
    (DCBindingContainer) bc.getCurrentBindingsEntry ();
    DCIteratorBinding iter = binding.findIteratorBinding (iteratorName);
    The list < SelectItem > selectItems = new ArrayList < SelectItem > ();
    {for (line r: {iter.getAllRowsInRange ())}
    selectItems.add (new SelectItem (r.getAttribute (valueAttrName),
    (((String) r.getAttribute (displayAttrName)));
    }
    selectItems return;
    }

    The call to getCurrentBindingsEntry() returns null.

    Can someone tell me what would cause this function returns null?

    Thank you, Steve

    Hi Steve, I don't know if the problem is related to the scope of the bean, because I use the same method in the beans of pageFlowScope without problem. However, I fell right on the same problem you are facing today. The problem in my case, it was the default activity of my BTF was a method call that attempted to call getCurrentBindingsEntry. I changed the default activity at a glance and then called getCurrentBindingsEntry in the constructor of the bean. This solves the problem. If you have a similar situation?

    Dar.K

  • By axis high speed capture using UMI-7774

    Hello

    I want to use capture high speed on each axis of my pci-7344 Controller.

    I use UMI-7774 and evrything is correctly connected to the command of servo etc...

    I read the manual of the umi-7774, but I see nothing on the capture trigger high-seed.

    How do I use the signal high speed capture for axe1?

    What are the necessary wiring to the umi-7774 to use this signal?

    Page 3-25 in the Manual: "the UMI-7774/7772 has one 15-pin D - SUB connector you use to.

    wiring output input trigger and breakpoint. This connector allows access

    to trigger four inputs and four outputs of breakpoint. "

    is that the breakpoint TRIGGER connector in the Global connectors of the UMI has this signals for each axis?

    Thank you

    MOR

    Mor,

    I don't think that it is possible to route multiple signals on the same line of the RTSI, because that would mean that even if a signal is high, other signals take on the same line in a low state. I think that you will use for OR external logic circuits indicates the breakpoint.

    Jochen

  • Capture high speed encoder data

    Hello

    I have a motion control project where I would record the position data. High speed capture is limited with sampling frequency of 2 kHz. But I have to save a lot more than higher speed.

    I read that there is another option that connects to the motion control card (I use a card PCI-7358) and the map of data acquisition using a RTSI cable and channels A and B of the routing of the data acquisition card encoder using the RTSI lines.

    I have 6143 and 6280, 7358 PCI DAQ cards and a RTSI cable.

    Q1. Which card is better to use? 6143 or 6280?

    Q2. When I look at the examples, I have seen that its possible to phase has the traffic and signals of the phase B of an encoder for the RTSI line with Signal Select.vi. But I couldn't find an example on how to read of DAQ card.

    Q3. How can I contact the encoder position phase has and band B pulses which is acquired from the DAQ cards?

    Concerning

    Hi serkanb,

    The 6143 has no support for measures of encoder quadrature (although you can run a task of count of edge and use the B signal as a line up/down to get a similar effect).  If you are interested, we'll find more information here (the 6143 uses the same SC I ASIC that make the E Series DAQ devices).

    It doesn't really matter too much since you have a 6280 that supports quadrature encoder measures (he uses the STC II ASIC).  To answer your direct questions:

    Q1.  The 6280 is better (see above)

    Q2.  You need to use a channel DAQmx property node to choose what terminals to use for your task of encoder:

    Q3.   I would like to start with an example of the expedition:

    Help > find examples... > input and output material > DAQmx > counter measures > Position > measurement Position.vi

    You insert the property node before starting the task (but after the channel is created).

    I hope this helps, if you have any questions do not hesitate to post back!

    Best regards

  • can I use a Transcend 64 GB SDXC UHS Ultra TS64GSDU3 high speed class 3 memory card in my macbook pro

    can I use Transcend 64 GB SDXC UHS Ultra TS64GSDU3 high speed class 3 memory card in my macbook pro

    Should be good:

    On the SDXC - Apple Support and SD card slot

  • IdeaPad Flex 2 - 14 d: constantly running at high speed of the fan: 8.1 Windows

    Hello.

    I have a Flex 2 - 14 d running Windows 8.1 Ideapad and real pilots.

    The fan runs constantly at high speed.

    So I have no complaint about overheating, but instead, I have to complain about is cold knees.

    Y at - it a possibility to adjust the fan speed?

    Best regards

    Eleichstetten

    I have Flex 2-15 and suffered from the same problem. By trial and error, I found that (although not documented) a specific version of the TPFanControl (http://www.staff.uni-marburg.de/~schmitzr/tpfc.html) does not work with my laptop. Opt for the 0.62e version. It is a cool utility, has several conditions of default security in standard BIOS procedures if something is still wrong. Temperature to the fan speed mappings are user adjustible, so you must refine your laptop (default values are designed for Edge E520, so don't not necesserily ideal).

    A HUGE relief!

  • I butwhen high speed high, I use the webcam on any video chat my signature programs is blurred

    I am deaf and use webcam to Sin with other people on Skype or other video programs... have fabulous high speed cable and another my video phone, I look on and no blur effect but when I use the webcam and I use the language signs my hands become blurred, even though I have great high speed? How can I fix the webcam so that the image is fine and not blurred when I connect?

    Hello

    ·         What is the brand and model of the webcam?

    ·         If it works well before? If so, were there recent changes made on the computer before the show?

    Follow these steps and check if that helps.

    Step 1:

    There is usually a ring or something raised around the lens. try adjusting the focus of the webcam. Consult the manual of the webcam or visit their support site.

    Step 2:

    I suggest to find the latest driver/software for webcam on the manufacturer's Web site and install it on the computer.

    Uninstall and reinstall the webcam from the Device Manager:

    a. open the Device Manager by clicking the Start button, click Run, type devmgmt.msc and press ENTER.
    b. in the list of USB devices or imaging devices locate the webcam and make a right click on it and then click on uninstall.
    c. restart the computer and re-install the driver software.

    Step 3:

    Sometimes the setting the webcam may be incorrectly, you may need to change the settings and check if it helps. You can go to thought that the manual either to get in touch with the webcam or the manufacturer of the system for more support.

  • I've been with msn dial up since 1995. I just verizon high speed internet. do I use rather msn dial-up? I don't want to use Verizon.

    I've been with msn dial up since 1995. I just verizon high speed internet. do I use rather msn dial-up? I don't want to use Verizon.

    Please rephrase your question. For example, if you really do want to use Verizon, why do you just get it?

    What did you do exactly? Is it a web browser or your homepage? Maybe the e-mail?

  • Can I use a connection high speed in safe mode?

    I have something to do in safe mode with internet connection, but I only have a Modem high speed and the computer does not detect the modem how can I use my broadband in Mode safe mode pls help me

    This is not surprising.  For networking Windows in safe mode uses a limited set of common standard network built into Windows device drivers.   It is the basis of the concept of safe mode which can be used to deal with 3rd party driver problems.  Windows does not have a driver for each possible network card / device.  Mobile Broadband are exclusive and very probably not be supported with a native Microsoft device driver.

    What is, is that you need to do in safe mode with networking?  If it is really essential, maybe you could do it on the site of knowledge where you could plug their router.

Maybe you are looking for

  • Flashblock 1.5.18 blocking some sites

    I see that Flashblock has been updated, however, there are still problems with it. Some sites, for example AOL, WTOP, etc. that video by default in HTML format and play will no longer work if Flashblock is enabled, even if these sites are added to th

  • SATA - SATA2 or SATA3 card?

    Hello HP,. I have a laptop of HP 630 and want to install an SSD in the machine. However, I do not exactly know what version of the SATA it supported. The product number is A3N44PA #ABG. I read the other posts on this forum on issues simillar. Therefo

  • Why are the guides in the layer panel?

    Have always shown in the layer panel guides? I swear that didn't used to be the case. However, adding a new guide throws randomly in the layers panel. Is it possible to hide the guides in the layer panel? Or at least automatically group them into the

  • I just bought elements of Prime Minister, but chooses 32 bit when I would have had 64. How do I change this?

    I just bought elements of Prime Minister, but chooses 32 bit when I would have had 64. How do I change this?

  • Scrollbars missing arrows?

    Am completely missed something here?  Noticed in CC 2015, using MAC, I can't see the button UP or DOWN, LEFT or RIGHT arrows in one of the scroll bars?  This is VERY useful when moving in micro amounts.  How can I get that back?Thank youDarren