Test Stand and MAX Settings

I am using test stand and Labview 7.1.  I used Express VIs to setup my RS232 communications in numerous VIs that I call from test stand for different types of tests.  I have the same product, but with different baud rates.  Is there a way in test stand to change the baud rate settings in MAX for Com1?  I tried to create a Labview program to do it, but once a sequence runs that has the Express VI I/O Control it must start a new VISA session and I loose what was set up and it reverts back to the MAX settings for Com1.  The only time The VISA setup vi I created appears to work is when I converted an Express VI (or opened the Express VI's front panel).  And messed with the code.

Hey,
I would suggest using the VISA Configure Serial Port to configure the port and then calling the Express VI using the VISA Resource Name Out from the configure VI.
Regard,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Attachments:
setbaudrate.vi ‏36 KB

Similar Messages

  • Test stand and multiple workstatio​ns

    I run on a network and have several workstations that I can perform my test data analysis on.
    I want to orchestrate a test with TS and then after test completion I
    want to kick off three machines to crunch on my data and then have them
    seperately report back their results.
    Is this something that can be accomodated within TS?
    jim k.

    TEstStand provides several ways to synchronize threads within the same sequence. The Synchronization steps share several common features and can be used in the Parallel and Batch process models. You can choose your process model to be any of the above, and then use the following step types which will enable you to synchronize multiple threads of sequence execution from within a sequence.
    1. Lock
    2. Rendenvous
    3. Queue
    4. Notification
    5. Wait
    etc....
    Please refer to the Synchronization Example program in the following folder:
    C:\Program Files\National Instruments\TestStand 3.1\Examples
    You might want to look into using the Batch Process Model.
    - This controls a set of test sockets that test multiple UUTs as a group
    - Ensures that you start and stop testing all UUTs at the same time
    You can try using the Serial model if you want one thread to access a resource at a time. However if you have three resources each being accessed by on thread, you can simply use the parallel synchronization.
    Hope this helps
    Nandini
    NI

  • Test executive and Test stand deployment cost

    Hello,
    would some NI support engineer kindly answer below questions ? i would be obliged.
    we have been running customized Test executive built from Test executive toolkit. We are now making  decision as to whether We should migrate to test stand or keep the existing structure? Here are some questions:
    1) in case We switch to test stand, do We still need to buy runtime engine license ?
    2) can we call executables in Test stand ?
    3) stating from ground zero, what is the deployment cost estimate between Test stand and customized test executive scenarios, from end user point of view ?
    -Ahmed

    Hi Ahmed,
    To answer your questions:
    1)  You will need to have a deployment (runtime) license for all the machines that you plan on running your application on.  However, you will only need a full development license for the computer that you are actually developing the application on.  You can see a full explanation of the different types of TestStand license in the document "When Should I Purchase a License for my TestStand System?"
    2)  In regards to calling executables, TestStand has a builtin step to call executables making it extremely easy to do.  You can download an evaluation copy of TestStand here to see how easy it is to use as well as see the simple Call Executable Step.
    3)  In regards to price comparison between TestStand and a customized test application, this really depends on the project.  Each project can have a different cost.  However, you can take a look at this cost analysis to get a general idea of one example of cost comparison.  This is just an example and also compares an older version of TestStand.
    For more specific information about cost, please contact a sales representative at (888) 280-7645.
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • Test stand crashes: "test stand has detected that your script debugging"

    05-01-201203:18 PM
    Hi everyone. I am setting up a new installation of Test stand and writing my first sequence with an existing sequence of legacy code.
    When I run the sequence and stop on the call to the DLL, and then step into the dll and I get this error:
    test stand has detected that your script debugging settings might cause visual studio to hang when attaching to the teststand process to perform this step into operation.
    To fix this problem, open internet explorer, select tools>>Internet options>> Advanced, check Browsing>>Disabl script debugging, click okay, and restart your sequence execution.
    The message is vague and it is indermanent as to whether I should "enable" or "disable" Script debugging so I tried both. Test stand then crashes again and I get the same error.
    Do I need to reboot after each crash? I'll try that next. Any ideas on how to make this error go away?
    Thank you for your help.
    Richard

    This is a duplicate. Please go here instead:
    http://forums.ni.com/t5/NI-TestStand/quot-test-stand-has-detected-that-your-script-debugging-quot/td...

  • Error when closing test stand

    when i try to close test stand after i run a test, i got the error in the
    attached file.
    this error appear only if i dont close the sequence file before i exit test
    stand and only after i run a test.
    please help me.
    advanced thank's.
    [Attachment error.jpg, see below]
    [See first answer for additional information]

    Hello Avi,
    The error is caused by TestStand not being able to finish the LoginLogout sequence before its time limit. These limits are set under Configure >> Station Options >> Time Limits. They will allow you to interrupt a sequence that is taking too long to shut down.
    The real problem may be in the LoginLogout sequence, in the file \Components\User\Callbacks\FrontEnd\FrontEndCallbacks.seq (or substitute "NI" for "User" in the path). If something in that sequence doesn't finish executing within 10 seconds, due to an extreme slowdown or a problem with the sequence, you will see this error. If you have modified that sequence, this could be the cause. You will need at least two steps in the sequence, one for Login and another for Logout. They should
    reference frontend.dll. If you have a modified callback in your User directory, trying copying the default callback from the NI directory.
    Also, make sure that you complete or terminate other sequences before trying to close TestStand, or you will see a similar error message.
    Good luck and feel free to ask if you have further questions.
    Steven Reasoner
    Applications Engineering
    National Instruments

  • Test Stand LabView adapter 8.6 run time will not run 8.5 VIs

    I’m trying to run a script I developed with a dev computer on
    a regular PC set up with a Test Stand User Gui, and run times for Test Stand
    and Labview.
    With the Test Stand Labview adapter set to 8.6.1 all of my
    ENA(Agilent Network Analyzer) calls fail for “VI Version is too early to
    convert  to the current  LabVIEW version.”  The ENA library is written in 8.5.  If I set the adapter to 8.5.1 then all of the
    VIs developed in 8.6 fail.  In addition
    it will not run any VIs that I save back to 8.5.  I installed a demo Labview development
    version (2010?) and everything ran fine with the adapter set to Development
    System.
    I am not sure what to try next to get it to run on the
    regular PC, any hints.
    Test Stand = 4.2
    LabView = 8.6
    Running in windows XP
    Solved!
    Go to Solution.

    One of the many things I tried was saving the ENA library to 8.6, but I could not get it work.
    This is the Original library I installed and was trying to Convert (8.0 upgrade agena.zip)
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=001CE83736F3674BE0440003BA7CCD...
    I am about to try this one. (8.2.1 Upgrade)
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=74D1F1D4EB5268E8E04400144FB7D2...
    I am pretty new to labview so I am not sure how to make the save to previous version workfor libraries, but I can easily do it with individual VIs.  For libraries, it creates a new directory, and puts in all of the files and then asks me about saving the lib files as something else.  This is where I think I get it wrong.  I tried it again today and got the same results.
    I greatly appreciate the Help
    Brian

  • Passing arrays with Test Stand to DIO 96

    Does anyone know the easiest way of sending data arrays from Test Stand to a DIO 96 using a LabView dll? I have a Test Stand sequence where I will need to set bits and read bits from a DIO 96 and am going to make a LabView dll. I guess I will need to pass either arrays to and from each port or numeric data to and from each port to a dll and also figure out how the status of the bits in the DIO 96 will be remembered.
    What is the best strategy for dealing with Test Stand and a DIO 96?
    Has anyone any ideas or example code?

    Hi Steve,
       either approach is perfectly valid, and as you say, the activeX approach does remove some of the flexability of where you get the data from, however, what you've really described is two separate things, rather than two separate styles of approach.
    ActiveX or direct passing are simply the means of getting data from and to your TestStand data space.
    Step types are a convenient way of wrapping up particular layouts and functionalilty into a very easily re-usable TestStand development item. You would still need some sort of code module to put with a step type, so you're not necessarily limiting your developed code to the Teststand environment.
    Making links through ActiveX allows you to make a solid definition on configuration type items, and allow for edit substeps. For example, the NumericLimitTest step type has step.limits.high and step.limits.low. Rather than pass those to the edit substep as a dll call (which is perfectly valid), passing the sequence context (which also allows you to run the termination monitor etc) allows for the fixed references to the fixed data layout of the step. Self containment like this works when the data sources are fixed as you get with a step type to use the edit substep, or the pre/post substeps.
    Working on a dll call allows more re-use because then you concentrate on the data, rather than where it's come from, however, for large amounts of different sources, the dll prototype can become very complex and difficult to document. You end up having to pass lots of parameters and some of them you might not use.
    The question you're ultimately trying to answer is "what does it do to my architecture?"
    The holy grail of TestStand architectures is any step type can be used in any sequence in any sequence file with any process model under any operator interface. Now this isn't always practical, but the closer you get to it, the more flexibility your system as a whole contains, and the easier it becomes to add in or change the layout / functionality of the system
    With this comes code re-use, but the extra development time it takes to make good re-usable maintainable code isn't re-couped until the 4th or 5th re-use.
    If you want in this case your passing of the array to occur from many different places in your sequences, and you're building up lots of sequences to use them, then making a step type, and passing through the most convenient method you decide upon will make the implementation of the sequences easier to do.
    If you only need it in a couple of ways, then you can do without the step type, and if it's not many different data sources, then pass by parameter to the dll through the function prototype directly, and use a regular DLL adapter to acheive it.
    Mostly my 2-cents worth.
    Thanks
    Sacha Emery
    National Instruments
    // it takes almost no time to rate an answer

  • Test Stand async Task bool

    I'm trying to learn more about NI Test Stand and calling a .NET Method in a test sequence.  I reviewed and understand the basic examples where you can call something like below...
    public bool DoSomething(out string result, out string error) { //...}
    I have a third-party libary and it includes some async Methods that must be called using the async/await feature that was introduced in .NET 4.5.  When using async, you can not use the out keyword in arguments, so I would have to modify the Method above to something like this...
    public Task<Tuple<bool, string, string>> DoSomething() { /.. }
    So my question is... does anyone know how to call into a .NET library with Test Stand and get the values that are returned via the async Task?  Any basic examples are appreciated.
    BTW, it does not have to be complex like above.  If you can explain something like Task<bool>, it would help, as well.
    Thanks.

    I haven't tried this specific case and am not familiar with the Task API, but you should be able to store the return value of that method in a TestStand Object Reference variable. Then, in a later step, select the class Task<Tuple<bool, string, string>> from your assembly and use the reference you got from the previous call as the class object and then just access the various methods and properties of that class.
    Hope this helps,
    -Doug

  • 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

  • Managing Test Limits in Test Stand

    Hi,
    We are new to Test Stand, and want to make sure we are setting up our sequence files and supporting files correctly.  When dealing with test limits or the expected value of measurements etc..., what is the best way to manage the expected values as opposed to hard coding them deep into sub-sequences?  We want to be able to easy adjust the expected value(s) in one location, and wonder if Test Stand has a file that would be useful for this.  Here are the initial ideas around this:
    1. Excel File - Only concern is being able to control this file.  There can be multiple excel files floating around, so not sure if this is the right answer?
    2. Text File - Same as above?
    3. Actual Sequence that only contains limits
    4. ?
    Thanks
    John

    TestStand provides built-in functionality for managing properties such as test limits. This can be accessed either from a dialog box or programmatically in a sequence as a special step type.
    The properties and limits can be stored either in a file on the machine or in a database. The file approach, while simple, does have the caveats you mentioned, where file versioning would be important. This could be mitigated by storing the property file on a shared network drive.
    Using a database for properties would likely be more adaptable to change. By storing the properties in a single location accessible by all test machines, you can easily update the values in one place and have them propagate to different testers. 
    In either case, you would load the properties into the current TestStand sequence either interactively through the Import/Export Properties dialog box or with a Property Loader step at the beginning of your sequence.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Good NI Test Stand Examples For a Beginner (Using LabVIEW)

    Hi everyone, I am new to using NI Test Stand.  I have gone through the "Getting Started with NI Test Stand" and "Using LabVIEW with Test Stand" documents.
    I know in the NI Test Stand Example folder there are many examples.  Are there any examples that cater to new users to Test Stand?
    Where can I find good examples (demos) for developing test sequences, local variables, parameters, etc...in Test Stand?
    Thanks so much!

    If you have the SSP you could access online training an do the exercises on the training.
    but the examples is a good way to getting started. just play around with all the options you have.

  • Control Test Stand

    hi,
    i have a main LabView VI which can starts Test Stand and run a sequence
    now i need a break button in LabView who break Tast Stand and i need a answer from Tast Stand that he is in "break mode"
    - how can i creat a break button in LabView?
    - how can i get the answer.... whats the name of the property node?
    thx for help
    rabber

    rabber,
    i understand that the VI you got is already a TestStand UI. So it already loads TestStand and is able to load and execute sequences, correct?
    In order to add a "break" functionality, you have to use the TestStand API. Therefore, you must be familiar with the "TestStand API for UI implemention", otherwise, you will likely fail to achieve your goal.
    I have the impression, that you are not familiar with the TestStand API. My recommendation was to look at shipped examples in order to learn how to interface to TestStand from a VI.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Test Stand seq w/ dll batch file execution not working

    I am using Test Stand 4.1, running a seq that calls a dll.  The dll contains a batch file execution function that has not been working properly.  I am not 100% sure what the function is as I do not have access to the direct code from which the dll was created.  I believe I have a file, however please remember this is a guess that I am looking at the correct function/file. 
    This is a Pass/Fail test step that calls a batch file.  The batch file runs properly without the use of Test Stand and called by the dll.  In the code that I believe is running, I see there is a step that I am guessing does not run (see below for test steps).  It seems as though these steps are being "stepped over" and not running, however the test does seem to be entering this function.  The test reports a pass/fail status as the data is reported into a txt file.  If the txt file contains the correct data, the test step reports PASS, even though the batchfile does not run.
    :Note:  [batchfile.bat] is the name of the batch file being called; the [ ] are not present 
    // Run Batch File
     ChkErr(LaunchExecutableEx([batchfile.bat] ,windowState,&handle));   
     // Wait for batch file to complete task
     do{
      ProcessSystemEvents();
     }while(!ExecutableHasTerminated (handle));
     RetireExecutableHandle (handle);
    Any one have any suggestions as to why the batch file is not being called and running properly?
    Thank you
    Jason_C

    Thanks for the feed back.  I have realized and it seems as though sometimes the CWD varies.  The current working directory when the batch file does not run seems to be set to the desktop, not to the specified directory.  The batch file is used to program a chip, calling the exe to run using commands.  The file are speciifed by an absolute path, however the exe is not.  The batch file is as below and seems to match up with a problem with the CWD.  How can change though?  I will have to check in the Start in field, but where can I find that property? 
     Thank You
    --Jason
    del ..\misc\mplab.txt
    echo C:\Program Files\JTRS\01_P55461U\bin\uutsw\CR1_T2V3L_PMM_STUB_LOAD.hex
    ..\misc\pm3cmd /5 /BLCC:\Program Files\JTRS\01_P55461U\misc\t2v3l_pmm_stub_load\t2v3l_pmm_stub_load.pm3 /k /m /y /e >> ..\misc\mplab.txt >> ..\misc\mplab.txt
    ..\misc\pm3cmd /5 /BVCC:\Program Files\JTRS\01_P55461U\misc\t2v3l_pmm_stub_load\t2v3l_pmm_stub_load.pm3 >> ..\misc\mplab.txt

  • I've had an iWeb site running for 4 months and I publish a monthly newsletter. Since August I've been unable to republish. The test connection under FTP settings works but I get an error message when I try to upload newsletter. Am I missing something mis

    I've had an iWeb site running for 4 months and I publish a monthly newsletter. Since August I've been unable to republish. The test connection under FTP settings works but I get an error message when I try to upload newsletter. Am I missing something?

    Where are you hosting the site a what are you using to upload the site files to the server?
    OT

  • 648 max , testing base and extended memory

    I dont see the thread i answered to one time that someone spoke of using ddr400 with 648 max or max-L board and they were getting testing base and extended memory error from the LED's.  Well i just got the same error today and my system would not boot i cut the power to the PS. and turned it back on it would start to boot and hang i could barely get to the windows logo sometimes the vid card wouldnt even boot the logo to the screen. This is with an updated mobo that msi sent me that i had just put in , it seemed to run fine at first then this problem started occuring.  The only difference i had in the setup from the previous outdated board was i had the mem in DIMM 3 and not DIMM 1, so i moved the memory back over to DIMM 3 and now the problem is gone. Just something for those of you with the same problem to try.
    Oh and i forgot one more issue, i cannot set the dram speed in the bios manually i have ddr 333 it should be 167 mhz so i set it to 4/5  and the system will not boot at all  i end up having to reset cmos.  I called MSI about that and they told me to just have it set to SPD , I said i know that and im fine with leaving it that way but it should let me set it manually if i wanted to and that i wondered if that had anything to do with the random " testing base and extended memory " problem.

    It was probably myt thread...
    http://www.msi.com.tw/program/e_service/forum/viewindex.php?threadid=6204&boardid=10&styleid=1
    Have done some testing with both DDR333 and DDR400 and my results are in the thread.
    Right no I'm using my DDR400 as DDR333, manually set to 167MHz, using DIMM1, and havn't seen any problems. I'll try the DIMM3 to see if I get any changes.
    And by the way.. I tried setting my DDR400 manually to 200MHz and it wouldn't boot at all. After a lot of ugly language I finally got it back to the BIOS....after a reset of the CMOS.
    Seams like you should use SPD if you want to use the correct freq for your RAM.
    Have you tested the new 1.3 BIOS?

Maybe you are looking for

  • Disable check box in report

    Hi All, I have created check box in a report using APEX_ITEM.CHECKBOX select apex_item.checkbox(1, emp_id) , emp_id,ename,manager,skills,salary,services from employee In employee table each employee would have 2 records one is for Engineering and ano

  • IMac G5 Screen Burn In??

    Hey Folks... I've had my iMac G5 20" for about 5 months now. It's used A LOT for my business; it's easily on 5-6 hours a day or more. Lately, I've noticed that whenever the screen is a solid color (blue or white), after-images/shadows of the desktop

  • Expdp fails with error ORA-39006: internal error writing on a windows share

    Hi! I need to get the following configuration working: Linux Server (CentOS 5 32 bits) with Oracle 11.2.0.1.0 Windows Server 2003 SP2 32 bits. On the windows server I have created a user called oracle, who is member of oinstall and dba groups. (On Li

  • Intersecting Layers with alpha problem

    Hi, I have a problem with Motion when two layers intersect. On layer is totally opaque, and the second layer has transparent areas. The problem occurs in areas when the transparent areas intersect with opaque areas. In those regions I get a dark gray

  • Online number subscription help

    My online number expired yesterday. I intended to subscribe for a year, yet I cannot change the skype setting, and Skype took away my money from my card for a three month subscription yesterday. I would like to have refund of the three month subscrip