Error-307650 during a sequence in real-time with API LV

I created a basic real-time sequence that checks the time it takes a signal reach a certain threshold.

On the side of the LV, I use the API to call this sequence. I make sure that all channels and settings are defined as in the examples. However I get 307650 error that says "NEITHER VeriStand: Index was out of range." Must be non-negative and less than the size of the collection.

' Parameter name: index.

Any suggestion to help here? THX. Code is attached.

There are two problems here:

1. The Stimulus profile editor is not indicating that there is an error with this sequence, although there is a. Note that the variable InitialTime is used in an expression, but is not declared as a parameter or a local variable.

2. you get an error at runtime because of it, but it's not terribly useful (index out of range).

You can fix this by adding a local variable of InitialTime to your sequence. I dropped the CAR 338386 about this bug.

Once you do this, there is something extra, you will need to set in your VI which runs the sequence so he could get the results of the sequence properly. You use correctly the value of the sequence name to read the back of the sequence Variable. You use the Session name used during the deployment of the sequence. Which does not match the name sequence.

To get the name of the sequence, use VI to get all the names sequence on your session profile of stimulus to get the array of names for all of the top level of the session sequences, then index on the first point, given that you only use a single sequence. Example below:

Tags: NI Products

Similar Questions

  • For a sequence in real-time output variable

    VS 2011, I have a sequence of real-time voltage step that sets an AO for a voltage given for awhile, and then resets the output to 0.

    Just before setting the output to 0, I want to read the response of my this stimulus of an AI System I call StepResponse. To do this, I place this in FinalValue I set as a Variable in my script. In other words, it is a parameter or a local Variable.

    Now, how can I get this out FinalValue? I don't see anything on how to "test" this variable to one of my user variable... I was able to do with the stimulus inherited in VS2010 Editor. Now, I'm stumped.

    Here is the sequence:

    and this is the profile of stimulus and settings below. I can set the fine settings via the API of LV, or run the Publisher of the Stimulus. But I can't seem to get out this FinalValue...

    THX.

    L.

    The return for a sequence (in your case FinalValue) variable is returned to the caller once the sequence has been completed as a result of this sequence. In your example, the appellant is stimulus profile that you configured. In a profile of stimulus, two relevant things will come based on the return value of variable a sequence called:

    1. The return variable value will be get recorded in the file of test result ATML for stimulus profile

    2. You can configure an assessment of output for the call to test sequence make a basic on the return variable test to determine a pass/fail result. For a numeric variable to return such as FinalValue, you can do a check of numerical limits to test whether the value is in or out of the specified limits. For a Boolean return value, you can translate either directly in a pass/fail result, or you can reverse the logic as well as False implies Pass.

    In addition, the LabVIEW API has a function, you can call once the sequence finished to programmatically retrieve the return value.

    However, in your sequence after that you store the value StepResponse in the return variable, you reset to zero before the end of the sequence. If your sequence always returns zero. I think that you do not remove this line and let FinalValue what so that you will get the StepResponse back closure instead of zero value.

  • cRIO: error when compiling an application in real time

    My code can be executed when the cRIO is connected to the PC with Ethernet cable.

    But when I want to compile my code (Release), I get the following massage.

    Also the image of the massage is shown below.

    ////////////////////////////////////

    Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference:

    Error 6 took place to copy in AB_Targetfile.lvclassostBuild.vi-> AB_Application.lvclassostBuild.vi-> AB_Engine_Build.vi-> AB_Build_Invoke.vi-> AB_Build_Invoke.vi.ProxyCaller

    Possible reasons:

    LabVIEW: File generic i/o error.

    E:\2013_05_23a_research\2013_05_27a_Richard's\exercise\2013_07_07_exampleFinder_1DMAFIFO\examples\CompactRIO\Module Specific\NI 9234\builds\NI 9234 is Started\NI-cRIO9024-UConn\My in time real Application\c

    ////////////////////////////////////

    Hi Cashany,

    What version of LabVIEW Real-time work? What cRIO you deploy? What version of the Drivers OR-RIO do you use?

    Behind your error dialog box you have a save warning dialog box. What is the full path of ANTICIPATED LabVIEW expects to find this VI to? Have you tried to correct this conflict by moving the file to the intended path or change your project for what he expect from this new path?

    I also note that the listed pathnames are rather long. It is possible that your problem is related to this knowledge base, error 6 occurs to create folder when I build my executable in real time?

  • Display in real time with a delayed recording LV6.1

    Hi, I need help with LabView 6.1

    I have a hardware module FieldPoint where I read 8 channels for thermocouple. I want to display the value of the thermocouples in real time (or as close as I can manage) all saving the values in a CSV file at discrete time intervals (every 10 seconds). I am able to display the values in real-time, but the recorder real-time records, produce a lot too much data. I'm able to delay the recording interval, but in bulk then display in real time!

    The following example shows a method I've tried. The delay time in the loop of logging seems to delay the entire program. I also tried to use the loop of the logging of a sequence (using a simple delay of 'Wait') structure and a structure of matter (with a counter and only do the loop of logging real when the counter gets to 1). I tried to configure synchronous display without success.

    I'm having no luck and wonder if someone could point me in the right direction?

    Ah, the benefits of time.

    I think that I managed to create a solution for me using a different tact. Instead of using individual meters of delay, I used a "trigger time" approach as demonstrated in this thread;

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=286988&query.ID=6280650#M286988

    Currently, it is limited because it will allow only a delay of 59 seconds between the readings, but this should be relatively easy to solve. The solution works continuously update the display with a slight delay to help cope aging computers, and then the button "Log Data" is selected writing worksheet function is called second pushed together as selected. Quite a simple and elegant solution I think.

  • problems in real-time with 6534

    Hello

    in our application, we use a PXI-6534 card to acquire datas. With 20 MHz, we acquired 32 bit data. We have several applications that work without problems. But now on the current project we have problem and we don't know why.

    When we create test signals and read them in the 6534 we have several failures, which means bits that are not read correctly. Because we have 3.3 volt signals and the 6534 is a 5V card, it was expected that the problem is there. But now we think that it may also be that we broke the real time.

    Parameters:

    -Data entry

    -20 MHz clock frequency

    -32-bit

    Does anyone know if the 6534 is able to acquire datas really up to 20 MHz?

    Thanks in advance

    Oliver

    Hi Marco,.

    During this time, we did an independent test.

    We have created an independent generator that sent a test signal 3, 5V and 20, 8 MHz and 32-bit to thePXI6534 and checked if the data are complete. We discovered, that there is absolutely no data loss.

    For us, this means that our problem is before the 6534 somewhere inside our electronics.

    In general, this means that the 6534 can handle 3, 3V signals to 20 MHz.

    Thanks for your help

    Oliver

  • iPhone download videos in real time with the company data?

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    Alexander.Carpenter wrote:

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    iCloud photo library - Apple Support only works when the two is connected to wifi, no cellular data.

    Read here's how it works.

  • Using FTPClient on a real time with system Exec.vi

    How can I tell FTPClient.exe address target when I start this executable with system Exec.vi in Labview?  I don't want to reinvent the file FTP utility used by MAX with targets in real time. I want to run this executable to a labview support utility without using MAX to do.

    Is this possible?

    Danny

    Thanks for the info.  Your "bad mood" response "suggests" a response to my question.  However, the full answer to my original question is that it is not possible to use FTPClient.exe outside MAX.  It is therefore not possible to spend in the address target at run time if the FTPClient.exe runs external to MAX.  FileZilla is a good choice - there are also other FTP clients out there, but you pointed out a solid choice.  Thank you.

  • Vision in real time with USB2?

    Hey guys,.

    I'm stuck to decide on a method of image acquisition.

    My project requires real-time imaging, but it is on a netbook, except that USB is out. Ethernet is only 100mbit so no gige.

    I tried a few Comsumer s level USB cameras that I slept here and all seem to have about a half second lag in all lighting conditions. Is there a solution for me?

    I tend to avoid the acquisition of vision with the USB.  I don't know what the limits are.  I know the that most consumer webcams are not enough good quality for machine vision.  There are a few industrial USB cameras, you might want to look at.

    Can you put a firewire card in your netbook?  It would probably be your best option, because there are a large number of firewire cameras and they are very easy to use.

    Bruce

  • Updated in real-time with text of exec system indicator

    I was wondering if anyone knows how to get LabVIEW to update an indicator of text with information from a command prompt in real time?  So, as if you ping IP show he ping and not just wait until the end to update it.  I try to have a batch file that processes the code displayed on screen so that the user can see that she is running and that it is not frozen.  When I ran the test originally she had a cmd window pop up and show that information was passing.  Since I opened the program with the exec system, it no longer displays anything so I thought that if she showed in a text indicator the problem could be solved.

    Thank you

    Derek

    Help for the system Exec VI

    (Windows) To use a DOS command, insert cmd /c before the command.

    Then try this way the system Exec VI

    cmd /c 172.18.81.54>"C:\temp.txt ping.

    Change the IP address to your needs.

    The quotation marks around the path is necessary if you have spaces in the path of the file.

    Now when you do this you will get nothing back from the exit of stardard, because you have redirected it.

    The results should be read from the file.

  • Application errors of the RT with the PXI-4461 with Labview real-time 9.0.1, DAQmx 9.0.2

    HI -.

    I recently converted a PXI time system real OS (PXI-1042 q chassis, controller PXI-8187, DAQ, PXI-4461, DAQ, PXI-6259). I can write and run DAQmx applications in real time with the 6259 very well. Whenever I try to write a labview RT app to use the 4461, however, it will fail. Note that I can use two cards through MAX I tried switching card slots, just in case it was a problem. Both cards worked with labview, the PXI chassis was before Windows.

    Attached are pictures of the screw base demo I built to show the problem. Since I was a mistake (-200758) if I started from the raw strings, I tried to create a MAX task and use it. The task, but he complained of a buffer is too small. I explicitly put the buffer to work around this problem and still get the same error (-200608). I've also attached a screenshot of the software currently on the Max MAX RT PXI system is version 4.6.2 btw. (I installed the most/all this from DS1 Dev Suite 2010 version).

    Please let me know if I hurt something installed, versions if 4461 just don't play nice with the new BT or RT software, or if something is wrong. Thank you.

    Kregg

    The first error you see is (details in the help-> error explain in LV)

  • When runing the system restore, I get a message says, "System Restore did not complete Sudessfully" the reason why it gives States "an unspecified error occurred during system restore.

    When I was runing the Sytem Restore I get a message that says "System restore was not completed successfully" the reason he give said "an unknown error occurred during system restore.

    Problems with system restore:

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    1. If you use Norton (Etc), disable it before using System Restore. info at the link above.

    2. try SR in safe mode:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    3 Malware will stop at the system restore:

    If necessary, do all the workSafe Mode with network.

     

    To get intoSafe Mode with network, press F8 at the Power On / boot and use key arrow upward to get intoSafeMode with networking from the list of options, and then press ENTER.

    http://www.Malwarebytes.org/MBAM.php

    Malwarebytes is as its name suggests, a Malware Remover!

    Download the free Version from the link above.

    Download, install, upgrade and scan once a fortnight.

    See you soon.

    Mick Murphy - Microsoft partner

  • Conspire in real-time

    Hello

    I'm working on a project of tension. I have read the data using the OPC. My variable is double wall to an address of mutual FUNDS. I want to plot these data to 10ms resolution. Is this possible?

    I have download a code sample, I tried to solve this problem. but is is not accurate and does not.

    You have an idea to plot the data in real time with a resolution of 10 ms?

    Hi beginner,

    you really need to redraw your project!

    (1) not the OPC data source really provides new data with sampling frequencies of > 100 Hz?

    (2) do you really need to draw the new data with a frequency of 100 Hz? You can't look at the graph that fast!

    If 1) applies: make a separate loop to collect data at the necessary pace in a registry to offset (or any other method to store the data). If 1) does not apply: lower the rate to which you are trying to read new data!

    (2) applies (no alternative): update your table with a rate of (say) 5 Hz. It's always fast enough when your field visualization and a lot less CPU consuming.

    You need to separate the task of gathering data from the task of their display!

    Your last question:

    Any multitasking (standard) OS will involve a big Jig in your loop times. With a RT - OS this jitter is much smaller, but still different from zero. See the plug...

  • Structure of the timed real-time event loop does not work

    I'm a new user for LabVIEW. And I've encountered a problem that frastre really me! Hope someone can help out me. Thanks in advance!

    I just want to use the structure of the event under timed loop, which is important in my extrmely design.

    However, this works very well in my computer (without connecting to the FPGA).

    Once I connect it to the FPGA, then I can still run but there is no response!

    My file is attached. Please someone help me!

    Looking forward to your answers!

    The FPGA runs headless. Structures of the event won't work. What you need to do is to have an application on your host computer when the user presses a button, changes a value, etc.. This event should send a message via TCP/IP for code that runs in real-time environment. Then the real time environment should attribute to the desired value a control on the FPGA.

    As a general rule, programming real-time with FPGA has several layers.

    (1) host-> handles interactions with the user code and communicates the code in real-time via TCP, UDP, etc.. Displays the user sent by RT controller data.

    (2) code in real-time-> tracks headlessly. Manages host code messages, processes the data of FPGA, communicates with FPGA much as the host code communicates with the code in real-time

    (3) FPGA-> no acquistion and passes through PEP in the RT

    The first thing you need to do is to understand the architecture and how all these pieces of the puzzle work together before you throw things down on a diagram.

  • Run a VI in real-time without a delay

    Hello

    I want to communicate in real time with a sound level meter via a serial port. I have already created my program, but I still have a 3 second delay, maybe it's not important but I have to remove to my request.

    Is it possible to completely remove the delay?

    Just for the record, my Vi contains two local variables, could that be the reason? Or perhaps because only a certain port timeout series?

    If you need to see the program, just tell me.

    Thanks in advance for your help.


  • BlackBerry Smartphones real time to sync with the calendar?

    I'm relatively new to Blackberry, my Motorola Q would make a synchronization of calendar in real time with my Outlook calendar on my pc at home. When I added an appointment in the Q, the Outlook calendar could be updated shortly, is it possible to do it with the curve 8330? So I don't have to come all day from home and plug it in. Thank you

    Hi and welcome to the forums,

    Wireless calendar synchronization is available only for BES users at this point, so if you or your business to work with a Blackberry Enterprise / Professional Server, then you will have sync wireless real-time.

    However, if you use the BIS service, you can only synchronize with Blackberry Desktop Manager with your PC.

Maybe you are looking for

  • full of invisible Documents iCloud

    Hello I have a problem with my iCloud account. It seems that I have 500 MB left out of 5 GB. The icloud appears full of 4, 7 GB of Documents, no pictures, no backups, just invisible Documents. How can I get to see what is actually too much space on m

  • P6 - 2220t: System Recovery will erase my scores?

    So, here's the deal. I am running windows 7, tried to install Linux Mint to dual boot with windows. I allocated half of my hard drive to a partition for Linux. Now, due to problems with my Bios, I can't quickly disable windows startup or start-up sec

  • Is it possible to define a control in the form of an array of ring box?

    I would like to have a control panel that I can define the dimension and restrict the value use can enter. I thought about a table of ring for which box I could initialyse the dimension. Is it already possible? any reference to where I might start? T

  • Viewer for documents and pop-up Windows Installer.

    I would like to help, I have no problem on the Internet and you want the problem I have is: every time I click on the TW 08 game I get a Windows Installer and viewer of documents pop up and I'm not allowed in the game TW can you help me.

  • Unable to download image to AIR-LAP1141N-A-K9

    Hello world! Just got my first cisco AP I have Plug and noticed that the image was k9w8 (LAP) so I downloaded a picture of k9w7 to make it autonomous. I followed the steps in this link https://supportforums.cisco.com/document/31571/cisco-aironet-acce