Read a cluster from a LabVIEW Application on ActiveX

Trying to not pull my hair.

New user of TestStand.  We currently have a suite of applications created using LabVIEW .exe that allows the user to manually test DUT.  Try to get a proof of concept goes to show fat improvements if we TestStand resume what the user is doing.

Rebuilt the executeables with active ActiveX and can almost get everything working the way I want it, except for every time that a type of cluster is involved.  Works cannot read or write.  I created a customized data type to match the type of cluster, but I always get an error of-17308 complain that the Variant data type does not match the variable type expected.  I can get the types of simple data (including tables) to work, but for clusters... nothing.

Y at - it something I am doing wrong?  Is this possible?

Dan

I've tested this method worked.

To sum up to pass a cluster:

Create a VI that has a cluster as either the entry or the cluster of production you want out of the EXE.

Inside this VI, use ActiveX to get the desired virtual Instrument (similar to what you are doing in TestStand).  Call to set the value of control (or get the value of control) on the control that you want to get or set.  You can wire the cluster directly to set the value of control (or get the value of control) in LabVIEW because it stores the clusters in the same way.

From TestStand, call this VI.  Move in (or on) the parameter desired to get or set.

I've attached an example that shows how to define a control in the same VI, but you should do something different where you choose your ActiveX Server rather than the LabVIEW ActiveX Server executables.

Tags: NI Software

Similar Questions

  • Connect the oscilloscope Tektronix TDS5054 from a LabView application



  • How to read the data from a channel named in windows using labview

    Hello

    I need to read the channel named in windows data. The pipe is created by python by another application. This application post permanent data on the pipe. But I don't know how to read data using labview. is it possible to read the data from different application? If possible, how to start?

    Thanks in advance

    concerning

    RJ

    Hi Rolf,.

    It's just, because of driving is not initialized completely, pipe read returns error 42, I added 2 seconds late, then its work perfect.

    Thank you very much.

    Concerning

    RJ

  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

  • How a LabVIEW application can be run from the account invited in Windows 7?

    I want to do some of my labVIEW available visitors to temporary applications (no DAQ or involved external devices) in the laboratory. A natural choice would be the guest account in Windows 7, but if I try to run LabVIEW or one of my LabVIEW applications built, I get the following error message.

    I don't know that this can probably be fixed with a few permission settings. What is the best way to enable these applications running from the guest account?

    I think that the easiest thing would be to create another user account and set the permissions on that if guests are unable to get into the stuff you don't want them getting into.

    http://digital.NI.com/public.nsf/allkb/88F3CCEBB08AFA6D86257A00006F21D5

  • I'm not able to install both on the same PC LabVIEW applications. I have uninstall the first application in order to install the second. Is there a way to avoid this?

    I wrote two LabVIEW applications. The first acquires data from three different devices, displays the data and writes it to a file. The second application reads the data and displays it on the screen.

    Can I install the first application and run it, but I can only install the second application if I uninstall the first application.

    Any ideas as to why this is happening?

    You install applications by using a Setup program created with the application builder to LV?

    What LV version do you use?

    You have a dedicated for each installer build script, or do you still want to change the settings of a single build script (which would be a reason for this behavior!)?

    hope this helps,

    Norbert

  • How to read the text from a DOS window in real time?

    I call an executable file that downloads a file to flash memory.  This program displays status information in real time as the percentage of completion in one window BACK.   It also makes account of the CRC of the file as it downloads.  I am currently redirect the output of the DOS window in a text log file.  This works fine for obtaining of the CRC when the file is actually downloading but the operator loses the visibility of the State in the percentage of download.  Is there a way to read text information in a DOS window with my request of LabWindows/CVI real-time?

    Hi Brent,

    If redirect you the output from the first application in a log file, you would be able to read the contents of the file streaming to your second request, and whenever the content changes (such as the download value percentage), couldn't display you this information immediately with the second request in one window DOS or some other GUI?

    Luis

  • Delay COM port, but it can read back data from MAX

    What short RX and RX directly, COM port can data from feedback on the test panel MAX, but still error display "time out What is the reason? Thank you.

    Hi Colin,

    When you read back the data, there is a parameter called "Bytes read" you need key, the default value is 1024, in this case, it will keep waiting for 1024 bytes until the timeout occur.

    I found a good article talk to this topic and you can change the bytes to be read in the test environment LabVIEW or MAX.

    http://digital.NI.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0

    Let me know once try you it, thank you.

    Kind regards

    KwokHow

    AE OR Singapore

  • Error launching of the ' LabVIEW.Application [error Code:-18001]

    Hello
    I have a TS 3.4 mind sequence LabView 8.21 - Teststeps.
    The sequence is called from a Labview-OperatorInterface.
    In a step that run 100 times before without problem I receive all of a sudden the error message:

    ErrorMessage: Error running substep 'run '. Unable to launch the "LabVIEW.Application" ActiveX automation server [error Code:-18001]

    After a restart of the software al NOR-everything works normally again.
    What is this error, and what should I do with it?
    Should I ignore the error and try to execute the step again or not this average tht the ActiveX server has been lost forever?
    How can this problem occur?

    Thanks for your help


  • control labview through labview application.

    Hello guys, I was wondering if I can do what the title says, let me explain, I have only (executable) Labview application on my PC, I don't have the source code for this application, I take this opportunity to test the signals from some analog cards.

    Go, though the procedure to test this its fully manual, you must be clicking on things like 'accept' and it gives you dradles result at the same time, I want to see if its posible to have an another executable labview that does all this instead of me and Recollet entry information and present a summary at the end. It's like automate the test.

    Thanks in advance

    You might be able to do this via the server of VI.  And even that would be a lot of work to make it work.  You will need to know a lot about code in the executable file to run.  In all honesty, he would probably be easier for you to rewrite the other program to do what you ask.

  • Failure to build LabVIEW application on Linux using "Shared library".

    In order to create a LabVIEW application on linux without X display, I have respected the LabVIEW VI using the shared library for Linux. I did it by clicking with the right button on construction Specifications and selecting New > Shared Library, and in the section Advanced , check the box labeled embedded version using the runtime engine. At the end of the build process, a message to inform that the build failed with the following message:

    "Error 127 to the Exec System: sh: gcc: command not found".

    The error code is not set. No one has provided a description for this code, or you could have wired a number which is not an admission of error code error code. »

    I have had no compling the LabVIEW VI in normal mode, so am confused about which is the problem.

    Hi Julian,.

    GCC is a compiler C and C++ under Linux.  A simple way to check if it is installed is to open a terminal and type 'gcc', if the command is recognized then the package is already installed, and the problem must lie elsewhere.  If this slot of Linux has a package manager, then it must be posted in here also.  If not then it could point to him being not installed or missing a dependency makes not accessible from the command line.  Here is a link that should hopefully scroll you through installation of gcc with Redhat: http://www.cyberciti.biz/faq/centos-linux-install-gcc-c-c-compiler/ .

  • How to communicate between instances of Labview application?

    Hello, I have a question on how to communicate data between two instances of labview application on different computers connected via a network.

    I'll explain what I'm doing:

    I have a data acquisition program that was divided into two independent parts. The backend is responisible for the acquisition of data from several DAQ hardware, and the interface simply displays the data collected. The two parties are coupled by events in labview. The backend sends a new event data (for any one listening) whenever he gets new data and the frontend listens to these events and updates of some graphics on the front panel each time it receives this event. Other than the two parties have no communication.

    Now it is necessary to split the frontend and backend on two different computers, connected via a network. The backend will be connected to DAQ devices as usual, but the frontend is running on another computer.

    So my questions are: will be the my current communication mechanism still work on multiple instances of labview application? And if not, what is the best way to connect the two in a minimum amount of new code, and without interrupting the current program, if I decided to their port of return on the same computer?

    (I thought that a kind of middle-man would be the best who is responsible for networking).

    Please, any advice will be useful!

    Paul.

    I think that the best way to do this is a TCP/IP link.  You can do it, as you suggested, with a pair of 'intermediate' screw at one end, catch you user events in a VI and send them over the network; on the other end, you receive data and turn it into an event, requiring minimal changes to the rest of your code.  The TCP/IP screws are pretty easy to use and there are good examples of LabVIEW.  NEITHER offers the Simple e-mail reference library.  You can also watch "robust TCP' Jack Hamilton of LabUseful.com (WARNING: I've never used or not even watched these screws and cannot check they are really helpful, I have seen discussion and links to them).

  • I have an iPad2 version 9.2.1 from the music application only the apple logo appears and nothing happens...

    I have an iPad2 version 9.2.1 from the music application only the apple logo appears and nothing happens...

    I did a reboot, nothing has changed.

    so the music app is an application by default/standard, it cannot be removed or reloaded.

  • Impossible to find the field read and write VI in labview 2009

    where is the field point to read and write VI in labview 2009

    According to the version of LV, BT pallets can be sensitive to the context. Try to create a project and add a fieldpoint target to the project.  Right-click on the target of FP in your project and select new > vi.  Now FP functions should appear

  • Read VeriStand channel from inside the custom device that are not part of the custom device?

    Is it possible to read VeriStand channels from within a custom device VeriStand (RT Driver) that are not part of this custom device?

    For example, suppose I want to be able to configure a channel in my custom device to always be twice the value of a string of material that my user selects (I know, better/more simple ways to do this, but this is just a simple example ).  Can I do this from the device custom without programmatically create a mapping of the system? (I've done this before and it is messy and VERY prone to error of the user).

    Thank you!

    good point

    the channel ID (U64s) are not the same in the engine config of vs. Instead, you must set 'references to dependent item' in the config and then get these references in the engine.

    See the source jarrod linked, which makes it

Maybe you are looking for

  • Tecra A11 - eSATA port multiply

    I have a laptop Tecra A11 - 16Z. For backup purposes, I want to buy an external hd enclosure. I have 3 hard drives and you want to use on my portable eSata port for connecting the external box. To use all of my HD with eSata, the port on my laptop ne

  • Sound quality on Satellite P100-347 - no low, very flat sound

    Hello I had a P35-609 and just bought P100-347. I noticed that the sound is worse on the new laptop. It's like the cheapest on the market and not harman/kardon speakers... What's the problem? Is it a fault of my unit, or you guys have experienced the

  • HP Mini 210 - 1010NR black screen

    Hello I have a HP Mini 210 - 1010NR which has recently stopped working. I ran several diagnostic tests. This is a summary of what I've done and found: First of all, I did a hard reset of the netbook (with power with no battery). There was no positive

  • registration for Vista, the user is locked

    When I log on to windows vista, it shows locked user. How can I unlock it? Zeaus

  • Why can't I launch Photoshop elements 14?

    Hi I bought a couple of weeks - as a 'bundle' with my new Asus PC - 64 Bit - 14 elements of Photoshop.  I have a Redemption CodeI downloaded it but it will not 'start' - it comes up with the following: -."We encountered the following problems:-Setup