How integrate a CVI code in Test Stand

Hi,
I'm learning my self to use both Labwindows and Test Stand and i have some problems.
I want to generate 5V from my NI PCI 6509 in order to drive relays so i think to use the C code from Finder Examples in Labwindows(WriteDigChan.prj).
I tried to call this CVI code from Test Stand but I couldn't.I need to insert the WriteDigChan.dll in "Module".I don't find the .dll so i tried to create it but it dosen't work at all.
Is that .dll necessary?
Any suggestion please!
Best Regards,

It always shows me this error
Attachments:
erreur.jpg ‏144 KB

Similar Messages

  • Calling cvi functions from test stand using structs

    WE got some Issue regarding the process of calling cvi function using test stand

    I'm sorry to hear that you have some issues calling cvi functions. There is a shipping example that demonstrates how to call a CVI function and pass a structure. The example can be found in <TestStand>\Examples\StructPassing\C\Struct Passing to a C DLL.seq.
    If the example program does not resolve your issues, post again and please describe the problem in detail.
    Regards,
    Shannon R.
    Applications Engineer
    National Instruments

  • How to solve conflict errors using Test stand 4.1

    Hi,
    I am using Test stand 4.1. Previoulsy I was using test stand 4.0. When I am trying to open the sequences saved in 4.0 in 4.1 they are giving some conflict errors. So now my problem is if I have a big main sequence in which I have many more child sequences then I was required to open all the sequences that being called in the main sequence save it and close.
    One thing I found is that if once I opened and saved all the child sequences present in the main sequence then it will run fine. i.e. once I clear the conflict error with all sequences, this data is stored in the station globals. If change this again I will be required to do the same job.
    This is costing me a lot of time.
    Please help me in avoiding this conflict error.

    NI Labs has a utility that I have used to check for type confilcts.  Check it out...
    NI TestStand Toolkit for Large Application Development
    http://www.ni.com/labs/

  • How to use matlab codes in a stand alone application without matlab license?

    Hi,
    I am not an expert in programming and i don't know about C++, i have a program using matlab codes and now i want to transfer it to a computer without matlab license. I've read something about using DLL, but i think i have to know C++ programming  to wrtie "WRAPPER" and add some lines to the program, now transformed in C++.
    I just would llike to know that really isn't any other way to integrate matlab for a stand-alone application? i read somethings in Matlab help about using COM (Common Object Model ) but i am not sure that labview works with it, and also about runtime engine and "mglinstaller.exe".
    my labview version is 8, matlab is 2006, and the real problem is using matlab codes in another computer without matlab license.
    Thanks
    Amir

    Hello Amir,
    There is a MatLab script node in the LabVIEW function palette (see screenshot of the help topic) but as you can see this structure is not in the "Base LabVIEW", you might need to purchase the FDS (Full Developpment System) or the PDS (Professionnal Developpment System) of LabVIEW...
    Do you know which one you have ?
    Hope this helps
    Message Edité par TiTou le 11-24-2006 06:38 PM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    mlab.png ‏71 KB

  • How to call test Sequences developed by using CVI Test Execuitve toolkit in Test Stand?

    There is a feature in TestSatnd which can convert CVI sequence to test Stand Sequences. But test stand is not recognising these sequences saying " not a valid CVI test sequence". Is there any version Issues, while converting these sequences to TestStand?

    Hi Scott
    In continuation of previous question..
    As per the suggestion, when I am trying opening one sequence(.SQU) file,developed in CVI Test Executive V 1.0.1., in CVI Test Execcuitve V 2.0.1, Executive is throwing error.
    The Pop Error is " Section [Sequence] missing from sequence file c:\xxx.squ"..
    and when I am trying opening these sequence file in sequence editor, the tool it self is crashing.
    Please suggest!!
    Is there any specific tokens which we need to add in .SQU files of V 1.0.1, so that V 2.0.1 can understand them? Just to check the possibility of manual updation of .SQU files.
    Regards
    Amit

  • Using Testexec user interface with test stand

    Hi,
    I want to use the testexec UIR (from cvi) with my Test Stand sequence. My goal is when this operator interface is opened directly, the specified sequence opens automatically.
    Any suggestion!
    Best Regards,

    You can approach this 2 ways:
    1- Hard code the name and path of the sequence file into the CVI code and rebuild testexec.exe.
    2- Associate .seq files with testexec.exe such that when someone clicks on an .seq file it opens in the UI.  Then place a shortcut to your sequence file on the desktop and have users start it by clicking on that.
    I recommend 2.
    As a side note: By default a UI will open the last sequence file that was opened.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Connect vi to test stand

    hai guys,
    im 1st time using test stand. i duplicate the test stand from a different pc and place all the subvi in the sane location. when i open the sequence file i cannot call bak the vi. how to set the path in test stand to reconnect to the vi . 
    thanks,
    shamaran

    Hi,
    When you say "duplicate", how did you achieve this?
    What error messages (if any) are you getting?
    Regards
    Ray Farmer

  • IS Test stand support Code written in VC++ ?..IF SO How to integrate with Test Stand

    IS Test stand support Code written in VC++ ?..IF SO How to integrate with Test Stand

    If you have LabWIndows-CVI, you may also look at these threads: (may be useful for TestStand)
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000003C1F0000&UCATEGORY_0=_318_&UCATEGORY_S=0

  • How can I pass a variable from Test Stand to CVI by reference

    Hi!
    I can't to pass numeric or boolean variable from Test Stand (for example: FileGlobals.StopFlag) into the step (CVI function).
    Function prototype: 
    void __declspec(dllexport) __cdecl PC2_WaitWhileResponceAppear(tTestData *testData, tTestError *testError, int *iStopFlag).
    When variable has bin changed I can't see this change from my function.
    CVI 2010, Test Stand 2010
    Can anybody help me?

    Hey Rombar,
    It is certainly possible to pass variables by reference; for example, if you go to <TestStand Directory>/Examples/Demo/C and open the computer.seq file, you can see one of the example sequences that uses CVI modules. If you click on one of these steps, you'll see that some of the parameters, such as the error information, is passed with pointers. This is a pass by reference.
    To help narrow this down, it'd be good for us to figure out a few things about how the code is run. First, if you go to Configure > Adapters, select the CVI adapter and choose Configure, you can see options for this adapter. Do you have it configured to run in an external instance of CVI or as an in-process call?
    Also, if you're wanting to see a change made in TestStand in your external code, this makes me think that you're wanting to run the code and then continue to execute your TestStand sequence while the code runs. How did you configure this behavior? For example, are you calling this code as a separate sequence in a new thread, or are you using another method to run this code while the sequence continues to run?
    Finally, if we could see a screenshot of how you're configuring the parameters on the TestStand step, that might be helpful as well.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • I am trying to debug HTBasic code modules while using Test Stand, how do I refresh the subs that have been loaded in memory?

    I am writing an application for Test Stand, we are using modules previously written in HTBasic. Whenever I make a change to the code and try to re-run the program, it just runs the old version of the code. The only way to refresh the code is to close Test Stand down and restart it. Is there a way to flush the memory of modules?

    Hi,
    I haven't used HTBasic with TestStand 2.0.x, but I'm assuming that you have the steps in the sequence set to unload when sequence file is closed (look under the step properties -> run options tab).
    If you're still prototypeing, use the File->Unload all modules option. Have a look at page 4-3 in the user manual - it refers to .DLLs, but I'm assuming the HTBasic falls into the same methodology.
    Altering the run options from it's default will affect the memory useage and speed of execution of the test sequence. Have a look at page 5-22 (page 158 in the .pdf) in the TestStand user manual - basically, if a code module is loaded into memory already, when the step gets to execute, the loading overhead is already done. If it stays in memory after this, then it's avail
    able for next time (quicker second run 'cos it doesn't need to load again. However, the balanceing factor is the sequence is useing more memory at a time, by haveing the module ready.
    My usual setting is to use Load dynamically, and Unload after sequence executes. I use this is only during development however, as this is not the most speed friendly, but a compromise so that if I don't call a step I don't load it, but if I do use a step, I'm sure it's free again when I need to modify the .dll modules I create. If you have a look on page 5-7 (143) of the user manual you can set the sequence file to effectively over-ride each step's load and unload settings - useful if you want to revert back again later. If you use this, you'll see that the top two run options for the step are greyed out, but if you set it back with the sequence file options, they do revert back to their original settings.
    Hope that helps (and works!!)
    S.
    // it takes almost no time to rate an answer

  • How to get the value of the global variable of test stand in labview User interface?

    Hi.
     Can anyone Please share examples and tell me to how access the test stand global variable using labview user interface.
    Solved!
    Go to Solution.

    I'm not surprised that what you are doing doesn't work.  The Start Execution UI Message is triggered when the user clicks a button to start an execution.  Realize that most executions go through a process model.  So you could be looking at the sequence context of the process model and not your client sequence file.
    I recommend reading that link I posted above.  UI Messages are your best bet but you cannot just piggy back on an existing UI Message like this.  They may not be getting sent at the time you need them to be.  The only way to ensure you get what you want is to trigger one yourself at the right time.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How can I get Test Stand to print failues only?

    Rather than getting a large report file with hundreds of passes and only one failure, how do I configure Test Stand to only print the failures to the report?

    Hi,
    the engine callbacks are simply a sequence that gets called when a particular thing happens (i.e. Post Step).
    There's three types
    SequenceFile (for steps that execute in that sequence file whether it's a client sequence file or a process model)
    ProcessModel (for steps that execute in the client sequence file run under this process model, but NOT the steps in the ProcessModel)
    Station (for all steps on that installation - found in the StationCallbacks.seq sequencefile)
    If the engine callback appears in more than one of the three places, then the lowest one (seq file->proc model->station listed lowest to highest)is used.
    In your case, you could use any of them depending on your architecture.
    Personally, r
    emoving from the resultlist is easier than working out whether to add to it, but that gets tricky when you have steps which loop.
    If you decide to make up your own add, then the PostStepFailure is the callback sequence to use (go to edit->sequencefilecallbacks). You'll have to add a new element to the resultlist, and start fleshing it out with the result container of the step (which you still have access to as a parameter) plus the TS container.
    This would go into the Runstate.Caller.Locals.ResultList[x]
    Also, don't forget to disable the result collection on all the steps in the test sequence, plus all the ones in your poststepfailure callback, since you're doing your own.
    I'm attaching what I've done so far as an example - not quite finished, but it's done the TS container. Just now need to do the actual result container.
    I'll keep working on it but for now you can see what I'm getting at.
    Hope that gives you a kick start with the callbacks bit
    Sacha Emery
    National Instrumen
    ts (UK)
    // it takes almost no time to rate an answer
    Attachments:
    collect_only_failures.seq ‏31 KB

  • Test Stand: How does parameter's value is passed as command line argument?

    Hi All,
    This is my 1st Q on this board.
    I'm using Test Stand Sequence to call a subsequence where I call an executable file and passing few arguments to it.
    SuperSequence.seq => SubSequence.seq
    In SuperSequence.seq I have 3 parameters and their values are specified
    Parameters
    Name      Type    Value
    ==============================
    Name      string    "Nirvana"
    Address  string    "London"
    Tel           Number "123456"
    In SubSeq.seq I call and EXE with following parameters
    Executable Path Name: myApp.exe
    Argument Expressxion:  "Parameters.Name  Parameters.Address  Parameters.Tel"
    In the application I receive parameter names instead of their values?
    E.g. I recevie Parameters.Name  Parameters.Address  Parameters.Tel in myApp.exe as arguments.
    How do I make the values to be passed to myApp.exe instaed of parameter names?
    Cheers
    Nirvana

    Hi,
    You have to make a string containing the arguments that you require
    Try the following expression
    Parameters.Name  + " " + Parameters.Address + " " +Str( Parameters.Tel)
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to test cloned VI file from Test-Stand

    Hi All,
    I am having one doubt in Test - Stand.
    I am having VI file which is having four controls and four indicators. I am just connecting one control with one indicator like one - one mapping. I have created connector pane for this. Say save this file as dummy1.vi.
    In another VI file I have taken four controls. These controls are connected with dummy1.vi file.  Save this file with test1.vi file. Now run the test1.vi file with highlight execution on. While it is continuosly running, double click on the sub vi files. You can see different files with clone, clone1, clone2 ...etc...
    Now I will pass values to test1.vi file from Test - Stand sequence step. In second step I want check the result from dummy1.vi file. But I am unable to do it.
    Can anybody tell me how to achieve it?
    Regards,
    Nagaraju

    Hey NagRaj,
    The reason you see the clones is because your VI is reentrant.  You can change that in the VI Properties in the Execution section.  Also, you may want to read more about that in the LabVIEW help to understand it better.
    You should have no problem testing these VIs from TestStand if you set your Step result to the value you are testing against.  I've attached an image that shows how to set the outputs of your VI to the step results.  What kind of test are you doing? (i.e. NumericLimit, StringLimit, Pass/Fail etc..)
    Is dummy1.VI a subvi of test1.VI?  If so do you have the output terminals of dummy1.vi connected to the output terminals of test1.vi to propogate the values back to TestStand.  This is assuming you only have one step in TestStand calling test1.vi which has dummy1.vi as a subvi.
    If you want two steps where one step calls test1.vi and the other calls dummy1.vi then you have to call them seperately.  They can't be tested in the same step this way.
    If this is confusing you can always post your simple example (seq and vis) and I could look and see how to better assist you.
    Regards,
    Message Edited by Sam R on 02-28-2007 09:06 AM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    stepresult.JPG ‏56 KB

  • What is test stand ? Why is it used, how to get going ?

    Hello All,
    I am LabVIEW user and very new to test stand, have few basic questions,
    1. Why teststand was introduced ?
    2. In LabVIEW we write VI's and build a project to execute a big task, how is this done in teststand?
    3. I did download some of the pdf from NI website, but not able to visualise what needs to be done,
    Pls do share if you have more insight to Teststand.
    Thanks

    Hey systemcrash,
    I will try and answer your questions the best I can:
    1. http://www.ni.com/teststand/whatis/
    TestStand is an automated test executive (ATE).  It is an off the shelf solution which makes your life easier.  It handles report generation, user management, sequencing (i.e. test flow), result collection, pass/fail analysis, common User Interface, database logging, etc...  Basically, all the crap you don't want to develop in LabVIEW.  But it gives you consistency and commonality for all your tests.  If you look at the layers of the test system TestStand would be at the top like this:
    TestStand
    LabVIEW (or other software)
    Hardware Drivers
    Instruments
    UUT (unit under test)
    2. In TestStand you have the development environment (Sequence Editor) and the User Interface.  They can both execute tests.  The User Interface is an application written in LabVIEW (or other programming languages, ships with TestStand) which gets deployed to a test station so that testers can execute your test.  It does not have the ability to edit the test (in TestStand tests are called Sequence Files).  However, the Sequence Editor can edit the tests and would be used on the development machine.  There is a deployment utility in TestStand which allows you to create an installer.  In that installer you would include the TestStand Engine, the User Interface and all the dependencies for your test (Sequence File).  Then the user just opens the User Interface and runs it.
    3. NI does offer TestStand courses which can be helpful.  I recommend going through these PDFs though first:
    http://www.ni.com/pdf/manuals/373200c.pdf
    http://www.ni.com/pdf/manuals/323436a.pdf
    You will get more out of the classes if you have starting playing around with it first.
    Hope this helps.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for

  • Moved itunes library to external drive..now issues..

    Hi, I recently picked up an external hard drive and needed space on my macbook so I dragged my folder onto my external drive. Next time I launched Itunes my library was wiped out. I still have the original library on the external but is there anyway

  • Communicating Betwnn a J2ee Server and a client No Running a j2ee Server

    Hi. I try the example on the Jms tutorial and work ok, the examplke is java -Dorg.omg.CORBA.ORBInitialHost=<IP> QueueSender MyQueue but now I need to get this into code, I did this: Properties prop = new Properties(); prop.setProperty("org.omg.CORBA.

  • Why is the Lion Recovery updating downloading slowly by my ethernet but fast on my wifi?

    Came home tonight and immediately started updating the house macs. First, my imac.  I decided to limit the download first to the Lion Recovery Update.  It is 452MB. My imac connected by ethernet is reporting anywhere from 30 minutes to an hour.  Goin

  • ORACLE8 SERVER RELEASE 8.0.4 ENTERPRISE EDITION NEW FEATURES

    제품 : ORACLE SERVER 작성날짜 : 2004-08-16 Oracle8 Server Release 8.0.4 Enterprise Edition New Features ============================================================ 97.12월 Solaris용 Oracle8.0.4가 출시된 것을 필두로 Q3 중에 Major Platform용 Oracle8.0.4가 나올 것으로 예상됩니다. 8.

  • Exporting to Web with After Effects vs Flash

    I am creating an animated logo for a client who wishes to display it online. I am making the logo animation in After Effects, since I have no experience with Flash, and my client needs to know if there will be an increase in file size since it is com