integration of vi and teststand DAQmx

So far I did well on teststand using instruments ordinary like scope, power, electric, generator functions, dmm and switches.

So I had to use a map of daqmx for a particular test. And I found that I can't pass the reference to the task through teststand because he would be with a regular dmm, function generator tool. the trial regular that I'm used to is to:

* init instrument (reference get)

* use Vi to:

Configure

Read

Beginning

Stop

* Close reference

So what I had to end up doing for example in a test were I put the analog output value to my DUT then via a serial port, get the value that my DUT is reading.

the ususal way will be as follows:

-define daqmx

-Start daqmx

-DUT Serial read and limit test

-Stop daq

-Close task

but it does not work like that.

what I end up doing is run a vi on the bottom with the Daqmx task and have a notifier of testand my vi as the closing image

TestStand notifier

My daqmx statement is correct?

It's one of the ways to do it with daqmx?

your feedback to improve the use of daqmx on testand will help me much.

Thank you

Buton,

You can pass the task handle DAQmx between different measures of LabVIEW. TestStand has what is called a LabVIEWIOControl, which is a particular type of object used to transfer these settings LabVIEW IO between steps. More information on this process can be found here: http://digital.ni.com/public.nsf/allkb/131A6A87C331B3CA862571EA0004D8C1

Side of LabVIEW, all you need to do is create necessary/indicators controls wired to your façade with the task handle entries and exits; the KB above describes how to implement the object that manages these references on the side of TestStand.

Tags: NI Software

Similar Questions

  • Integration of material NI_DAQ and NOR-DAQmx software on the same system PCI-DIO-96

    Hello

    We have a great system that is developed in VB and uses the traditional inherited NOR-DAQ system. The system controls the controller PCI-DIO-96. We would like to upgrade to some parts of the system to NOR-DAQmx and use VB.Net and we know that you can install both systems together on the same computer.

    We have a few questions:

    (1) once the legacy of NOR-traditional DAQ OR DAQmx software can be integrated in the same system. Some parts of the system will always use the VB and the other parties will use VB.Net.

    (2) if the answer to the first question is Yes. Are there hardware or software limitations? Is there a recommended way to integration?

    (3) are there articles based on the knowledge about it?

    Thanks Jeremiah

    There are a number of limitations to the use of NOR-DAQmx and NOR-DAQ traditional at the same time.  First of all, only one of the drivers can access the device at a time.  To switch between the drivers, I recommend that you read this knowledge base Article: that I can use OR-DAQ traditional (old) and NOR-DAQmx simultaneously?  You will need to use the equivalent functions of VB .NET to switch between the pilots.

    In addition, the system should use Windows XP or an earlier version.

  • LabVIEW and TestStand compatibility chart

    Hello

    There are various compatibility tables LabVIEW NOR as this Web site but it seems not to be a LabVIEW and TestStand compatibility chart.

    I think I found my answers, but I had to get through all the Notes version of TestStand to get.

    Hi Ray,

    The lists of the political of TestStand page on the different version of TestStand compatibility with:

    • Operating systems
    • LabVIEW
    • LabWindows/CVI

    (In addition to information about the cycle of life and support policy)

    Specifically, here's a screenshot of LabVIEW support:

    With each new version of TestStand, we will update the policy life cycle page, so you can always go for information.

  • Table does not work correctly between LabView and TestStand

    I'm doing a TestStand program that reads data from a LabView VI.

    If I run the VI in LabView, it works perfectly well and generates a table with 18 points in length, the first 3 are numbers between 0 and 10 and the rest being-1 as I intended. Re-run the VI causes the re - initialize correctly and I get a new table that also meets my specifications.

    When I run the VI of TestStand, it works fine once, producing a table with 18 points, the first 3 are numbers between 0 and 10, and the rest is-1.

    If I run the VI in TestStand once again it increases the length of array in 18 each time. In so doing, it fails to write the new 3 numbers and just add - 1 in table 18 times. If I restart TestStand will work fine once more, he repeats the error if I re - run the VI. I don't understand why this is happening.

    I have re-product the error in a separate VI and the order, and I have attached an example in this post. The VI contains all the necessary information (if not, please say so and I will correct it), and TestStand sequence is configured to put all results, I would find useful in the report (as additional results).

    Your problem is your VI.   Specifically the comment nodes.  They initialize on the first call.  TestStand retains the VI in memory.  So when the VI is called again, the comments always nodes have their last value.  You will get the same results if you have VI your ArrayBuild.vi twice appealed.

    The way you use the feedback nodes, they really replace with Shift Registers.  I like your comment nodes, but since you pass the value of the node in the loop, the SHIFT registers are much more appropriate.  Just make sure you initialize your Shift Registers.

  • compatibility with windows 10 and 14 DAQmx

    I have some problems with some DAQmx screw, I'm trying to use SensorDAQ, Vernier scale but even when my computer recognices the device when I try to create an application with LabVIEW, he can find screws as DAQmx clearly task among others.

    I have LabVIEW 2014 Academic Suite and NI DAQmx 14.

    Did you try to reinstall or repair DAQmx after LabVIEW installation? Windows 10 is similar to Windows 8 so, although NEITHER support it officially yet (tut - tut ) I see no reason why it wouldn't work.

  • Kuler integration with Photoshop and Flash?

    It would be nice to see some kuler integration with Photoshop and Flash. I love Illustrator Panel and want to Photoshop and Flash could use it. Unfortunately, the Flash has no support of ESA (probably a legacy of Macromedia) and would require an update to do so. Photoshop has full support ESA. A panel kuler to Photoshop is exactly what people need. This time, I save the swatches and then open them in Photoshop, without successful integration. Implementation of the Illustrator is great. Kuler will have a panel of Photoshop?

    Hello, thanks for the post. For now, check out the Flash CS3 Panel created by Ben Pritchard (Pixelfumes): http://pixelfumes.blogspot.com/2007/06/flash-cs3-kuler-panel-updates.html
    What type of project do you use kuler for?
    Saami

  • DAQmx, DIO, and TestStand

    Recently, we have improved our NI TestStand from 4.2.1 to 2014.  Our SW architect is on a trip to China, so I can't to understand these small problems that can harass you.  For example, when I drag the DAQmx step server type for my sequence I have difficulties to get the help to understand this function.  All I'm doing is a relay nearby.  I know that I create, write and close.  Where to get help on writing?  There isn't any help DAQmx for TestStand I can find.

    Tony Hey,

    In fact, the DAQmx steps do not part of default TestStand. It seems that it is a custom step type developed by your organization (on behalf of the dialog box, the prefix is 'HR', which I believe are the initials of your company). It is also why there is no help for these types of step within TestStand himself.

    It might be a little difficult for give us to you advice on why the step does not work correctly (although we could certainly try). You have all other architects or the contribution of TestStand users in your business that you might be able to ask how to use step?

  • Is it possible to use a CompactDAQ and NOR-DAQmx in the TPC-2212 with integrated system of Windows 7?

    Hello

    I would like to develop an application with the TPC-2212 (touch screen computers) and a CompactDaq system (NI9237 - 4 channels, ± 25 mV/V, 24-bit simultaneous Bridge Module).

    Is this possible or should I use a panel pc?

    Thank you.

    Hello!

    To work with touch screen, you can use the DAQmx BASE.

    To develop your application, you will need a host computer, where development will actually happen. For touch panel applications, you must use the touch panel module, which has the appropriate functions.
    (http://digital.ni.com/public.nsf/allkb/0FD6F56096A40AA9862578D3002EA41C)

    The touch screen will be the show as another material Measumerent and Automation (MAX) as a target.

    When you have finished your application in LabVIEW you can deploy on your Panel, but he must have the LabVIEW Touch Panel, to run your program.

    I hope it can help you! Doubts, contact us!

    Kind regards!

  • All content tiles missing and integrated PDF reader and password manager no longer works after update to 34.0

    Hello
    After that I updated to 34.0 on OSX 10.9.5 (auto update comprehensive), I noticed that all of the content of the tile is missing. Before the update, I have seen a lot of tiles when I open a new tab. Even after a few navigation, no content appears (I see only an array of blank tiles). I went between white classic, bright, cooler. No effect.

    In addition, integrated in the viewer PDF does not work. All the time I click on the pdf link, I see the window to download the PDF with the title "enter the name of the file to save on...» ». Before the update, PDF Viewer has not worked, no problem. After that I noticed the problem, I checked that the preferences-> requests and confirmed that the action to the 'Portable Document Format (PDF)' content type is set to "Preview in Firefox".

    In addition, Manager of integrated password also stopped working. He remembers no new password. It provides no password already known on the site where he provided automatically the account and the password before the update. I checked the preferences-> Security-> saved passwords. There are a lot of passwords to remember (remember before the update).

    I re - install the firefox manually. It does not help.

    Can someone help me? Is there any information I can provide to sort my problem?

    You can check for problems with preferences.

    Delete possible user.js and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

    You can use this button to go to the Firefox profile folder currently in use:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)

    Create a new profile as a test to see if your profile is the source of the problem.

    See "create a profile":

    If the new profile works then you can transfer files from a profile already used in the new profile, but be careful not to copy files corrupted to avoid transporting more problems.

  • Is it possible to remove an integrated MDM? and how? (iPad)

    I have an iPad that I received from a school, but it still has restrictions on what I can't mess with. all restrictions are greyish and unresponsive to a tap.

    The iCloud account that uses the school is still attached, I cannot sign out of it because find my IPad requires the password to iCloud

    On behalf of iCloud from school, which I did not.

    Remove the iCloud account would give me access restrictions? When I go to the limit he didn't ask me for a password at all, all restrictions are just does not respond.

    Also an integrated MDM using the iPad, I can't understand how to remove it because I have the feeling that the profile of MDM may have stopped me to have the opportunity to change the Restrictions.

    I wanted to ask this question because I believe that restrictions stop download 17 + apps like Kik appreciation.

    How did you get this device to a school? If the school still has control of the device, which it follows from what you say here, then there is nothing you can do about it. However, if you bought this from school second hand, then you will need to contact them about the removal of the device of the iCloud account. Once they remove it, and then you would be able to restore the device, which would remove management.

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • LabVIEW and TestStand licenses

    Hello everyone, I did a lot of reading through the info OR on the case, but thought someone here could explain a little more clearly. Basically, I would like to know what is the licensing for Lv and TS applications, if I understand correctly, I will require an individual license for deployment on each machine that I want to run an application of TS, regardless of whether or not I have the software but launch an executable instead.

    In regards to LabVIEW, is the way to understand it, it seems to me that if a machine without LV who has LV runtime can run my executable, it does not require a special license? Can anyone shine some light on the matter?

    All this comes from the fact that my current job could ask implement TestStand and LabVIEW, as our current sequencer is simply too basic and rudimentary to the applications that we expect. It's a place big enough then, what would the licensing conditions? Runtime engine just for what works and a deployment of TS for stations that run it?

    ATTENTION: OR licenses are business of OR to keep up with your Rep OR!

    But in a word (as I navigate these waters for a living)

    • The LV runtime is all that is required to run that a LabVIEW built applications or LabVIEW modules called by TestStand in most cases.  The RTE LV is provided with an end-user license agreement, but the license is free.  OK OK... some LsbVIEW SDK may require additional deployment licenses.  I think that the Vision is one of those rare "needs a key deployment that is not free" toolboxes.  I've never deployed an executable LV requiring a deployment Toolkit cost-once again, check with your representative.
    • TestStand deployment licenses cost by target computer.  There are several options to the less expensive, the deployment of Base, more flexible options as a deployment "Debug" to risk mitigation, workflow of your compay, number of test stations and familliarity with deployment options, maturity of the Test system is expected to help guide the process of voluntary decision.

    Since it is a new path for your company, consult with an Alliance partner with experience in assessing your needs, regulatory environment, level of skills and practices.  (And no, TestStand deployment methods assessment is not a base of 8-Ball consulting so compentancy think not that I am marketing here)  You ask OR Rep and look the Alliance Partner Locator

  • Manual integration of MS2010 and VS2010 does not

    Hello

    This is a newbie question, but I have some difficulty to get Visual Studio 2010 to integrate with Measurement Studio 2010. I tried to follow the instructions to manually integrate MS vs on the following page:

    http://digital.NI.com/public.nsf/allkb/ACFFB3E03B97D0A8862575ED0058A7B1

    and was able to make the first step in the execution of devenv/setup to the VS command prompt. However, when I tried to do the second step of the choice of editing OR to add to the Toolbox, the only thing in the assemblies/current folder is NationalInstruments.Common.Native.dll, which rejects the Visual Studio with the error not be a .NET module.

    I don't know what I should see in the assemblies/current folder, or how to make this second phase of work.

    Any ideas/suggestions would be greatly appreciated.

    Thank you

    Ana

    Hey Ana,

    Measurement Studio 2010 supports the integration of Visual Studio 2010, so it shouldn't be necessary to do the manual integration.

    When you run Setup for Measurement Studio, you will get a screen that allows to select the features you want to install. You will see a heading "Support for Visual Studio 2010. Make sure you click on the button disk bit beside him and select this option to install this feature. If you expand the category, you will see also the linguistic support .NET Framework 4.0 is a subcategory, and within that category, you will see Visual Studio integration. Make sure that all of these items are selected to be installed (see a small disc with a white icon).

    I suspect that what has happened is Measurement Studio was installed without Visual Studio support or .NET Framework language support - which would explain why Measurement Studio has not been properly integrated, and why you didn't see assemblies .NET into this folder. I think that to re-run the installer and check these settings should solve the problem. Let us know if you need help more!

  • Using the Manager of synchronization for exe OI LabVIEW and TestStand

    We would like our operator LabVIEW executable Interface send data via a queue of TestStand to a sequence of logging.  The SyncManager API looks like a slick way to do this because it allows access to the synchronization objects other processes outside TestStand TS.  I created an experimental sequence of trying the concept.  The sequence creates a queue with a step of queue TestStand, up a point to another TS not queue, then uses calls to ActiveX in the SyncManager API to add another element to the queue of waiting.  That all works.

    When I added a LabVIEW VI to place another element through similar calls to ActiveX in the SyncManager API, the VI is not a valid reference to the queue and so it cannot place the element.

    I read on the forum that TS queue name must start with * in order to be accessed by separate processes on the same computer.  When I add a * on my queue name, queue TS operations continue to operate, but step that uses a call of ActiveX in the SyncManager API to get a reference to the queue returns one null ref so the next step of enqueue ActiveX returns an error.  In addition, the LabVIEW VI still does not receive a valid reference to the queue either.

    Ideas and suggestions welcome!  The sequence and LabVIEW VI are attached. Using LV and TS 2012, obtained similar results in 2013SP1.

    Thank you!
    Hans

    The queue API expects a PropertyObject not a string for the newElementPropObj parameter (not sure why LabVIEW similarly let you thread a string). To create a new PropertyObject, you can do something similar to the following:

    myProperty = engine. NewPropertyObject (PropValType_String, false, "", 0);

    myProperty.SetValString ("", 0, theActualString);

    Enqueue it.

    Close the ref to myProperty after you're done with it (i.e. after the queue it) in order to avoid leaking.

    -Doug

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

Maybe you are looking for

  • MacBook Pro not close or open applications

    MacBook Pro 2.26 GHz Intel Core 2 Duo... 8 GB 1067 MHz DDR3 OS X Version 10.9.5 It will not stop.  Opens all the apps, including... disk utility application flashes and then disappears instead of opening, Done... command & R keys at the same time...

  • Owner MBP - audit 'stealth mode '.

    Under Firewall of MBP, I checked "automatically allow signed software to receive incoming connections.  In addition, "block all incoming connections", and "Enable stealth mode" is unchecked.  Should I check "Activate the stealth mode" and if so, how

  • Sending completed orders .vi SCPI view file

    I have a file filled with Labview our laboratory uses to preform EQA measurments using a Keithley 2400 and a lock SR830. This code was written some time ago, yet if I would like to know how to display what orders SCPI program sends to each machine an

  • 16-bit MS-DOS subsystem message all I did was install windows update... Help, please!

    Help! PLEASE... I don't know ANYTHING about technique on my PC... Everything was fine until five minutes ago, when all my programs froze. There was a windows update icon sitting there for a while, so I went for it. Now whenever I click all I get thes

  • Cannot install the update error Code Ox800B010B

    Original title: cannot install the update Cannot install the update KB2686827 Error Code Ox800B010B