Convert a name cluster Labview Teststand container name
Hi all
I realized that day that there is no way to convert a Labview
cluster in a container of Teststand and vice versa. So I'm currently
work on a cluster/container recursive parser that would be
rebuild the structure of mirroring in variant/PropertyObject
tree. For this I use the following table:
http://zone.NI.com/reference/en-XX/help/370052N-01/tsref/infotopics/labview_data_types/
The problam I am now facing is to convert the name of each
ELEMENT by its name to stay compatible with the
the structure of mirroring. That's why no space or special characters
to follow the naming convention Teststand. You can
See what happens when you create a custom data Teststand
Type a connector for Labview.
So, is there a VI that do the trick, or am I still pruposed to do
Everything by hand? Thanks for your comments. Even the one who
will not make me happy.
David Koch
Abandoned project, topic closed:
David Koch
Tags: NI Software
Similar Questions
-
Enqueue cluster for Labview Teststand, return a cluster by notification
Hi all
I get very very frustrated that I can't find a way to spend
an asynchronous VI with a cluster of Teststand reflecting a LV
cluster using a queue.
This works if wire you the cluster Teststand for the VI is there
an order appropriate to link to. Yet, the VI has no
Connector, he expects that a cluster in queue, read of the
PropertyObject by 'GetValVariant', do some magic
and is supposed to return another cluster using Teststand
a notification
I can read singular elements of the cluster in queue, but cannot
Run in a cluster of LV with, say, the good old 'VariantToData '.
which indeed works great inside LV
Same thing happens when I try to regain a Teststand cluster
using 'SetValVariant' even if both the Teststand cluster
and the cluster of LabView are the same format and structure.
The 'Wait' Teststand notifier action is linked to the right cluster
property, but Labview fails at the "SetValVariant", because not of
the right type, even if I have sunk the variant data.
I wonder if I do wrong or Teststand and Labview
are simply not designed to work together seamlessly.
Here's the example I'm putting in place, but the reading of the
cluster fails, while the alternative 'False' works (123.00)
Defining the notifier cluster fails too, but its definition the
elements indivualy also fails because Labview is
What are 'Compliance' and 'Comments' in
the 'True' alternative, although I tried all
hierarchy tree.
You might have figured out, but I really really need to
get this working, and I can't understand where the
default is (next between the Chair and the keyboard) because
the principle works in LabView.
David Koch
Okay guys, I give up all hope, that I had to do this work.
This is a WIP Teststand container/Labview cluster motor relay.
TestStand 2013-> TCS_main_2.0.4.seq (run TCS_teststand_2.0.0.vi)
LabVIEW 2013-> TCS_teststand_2.0.0.vi (run TCS_instruments_2.0.0.vi)
LabVIEW 2013-> TCS_instruments_2.0.0.vi (interface instruments)The main idea was to catch Teststand queued of containers,
convert a Variant, to analyze their structure and
to match with their counterpart of cluster of Labview.The engine is initialized to 'learn' the Labview
data structures, storing the data type and the names of the clusters
different elements, as well as the cluster hierarchy.A format of target data type and an associated action are also
stored for each identified cluster/container.Then the engine is waiting for incoming Teststand queue
containers, convert them to a Variant, to analyze their
structure and * TRY * to match with the stored
having been analyzed Labview homologous groups.This is what I call the "footprints".
The three main problems were... are:
1 - different naming convention (TCS_string_teststand_name_convert_2.0.0.vi)
2 - format of different data type (TCS_variant_tree_convert_2.0.0.vi)
3 - different (TCS_propertyobject_tree_parse_2.0.0.vi) data structureI think I was very close to resolving these issues, but I'm
short on time. As an entrepreneur, I've spent
more than a month of work on this value. Who is
too many given my dead line.I'm quite sad to be leaving this unfinished, he would have
was great to get the motor relay pole upward and
running, having just to place a container Teststand
to get something done automatically at the other end
and just wait for a notification sent for analysis.What's left to do is the following, as an exercise
left for the reader:To "explode" the data structure to correspond to of Teststand "
still more verbose simpler data formatThis means for example that a Labview wave have to
be transformed into a cluster of 3 datas. You can read the
suite of document, but it is not very clear on how
The LabVIEW data type formats are converted to their
corresponding Teststand counterpart:http://zone.NI.com/reference/en-XX/help/370052N-01/tsref/infotopics/labview_data_types/
Beware, this involves a lot of trial and error, as
creating a large Labview cluster with all data
type of support, import it in Teststand and create
a custom, data type and then compare each converteda data type.
B point A would improve the adequacy between Teststand
containers and clusters of Labview.With a longer data structure mirrored, it will indeed
help 'TCS_fingerprint_search_2.0.0.vi' to compare
the structure of the Teststand container with the correspondent
LabVIEW cluster structure, the elements names
Always different Convention.Conversion of data format C - needs to be done, place holders
are ready to be filled.There are still a lot of work to do in 'TCS_variant_tree_convert_2.0.0.vi '.
Remember that the type of data "FileGlobals.tcscluster".
mirrors (wise Teststand) the 'TCS_instruments_2.0.0.ctl '.
type definition.This means that a string has not transformed a waveform.
Data format should be very close to each other. That's why
There is no need to focus too much on these "exotic" data
format conversions.Thanks again to all the people who have invested some time
in trying to help me solve this issue.Thanks to nathand for its cluster monitor not recursive.
David Koch
-
convert variant table 2D in teststand
Hi all
I would like to convert an object of the type variant in a table in TestStand. Specifically, I get data from an Excel sheet (calling several methods on different objects obtained from ActiveX of Excel in TestStand). These data are of type Variant (from the call to the Range.Value2 property).
I know it is possible to convert a 2D inside Labview (VariantToData) table, but also leave in TestStand? If I do not use any method of conversion and just assign the return value of Range.Value2 directly to an array of strings 2D, the data did not order how to know (the first dimension of the array corresponding to lines and the second to the columns of the Excel table) and the array index starts at 1 instead of 0.
Yes, there is a function VariantToData equivalent to TestStand I can use?
Thank you
Hi Zladidad,
There is a tool integrated in Teststand used to this exact: it is the dialog "properties of the Tools-> Import/Export. You can save a file that contains your settings and then adapt the copies of this file for different series of tests and import those accordingly.
You can find an example of shipping for this here:
\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI Check with Teststand for more information. To add comments to your properties file, you can follow this link.
I'm sure this could be a good option for you.
Concerning
-
I have VI moreover written in Labview 8.5. These programs can work well in labview 8.5. Should I convert these programs VI Labview 2012 when I want to run these programs in 2012 of Labview? Thank you.
LabVIEW 2012 can open the screw of from 6.0. But if you save them in 2012, you need to perform a "save for precedent" to get back them to 8.5.
This resource may be useful:http://www.ni.com/white-paper/8387/en
-
I have a number of test systems that use a parallel model with labview. We have a number of instruments (PXI).
What is the preferred method to open, close and passing instrument handles with labview teststand?
Hello
A few ways
1 package return the session as a U32 handle, there are a few VI TestStand i of the palette of TestStand that you can use to make conversation.
2 through a LabVIEWIOControl. TestStand handles these.
3 do something fance as the use of LVGOOP and leave the handle as an object property and leave in memory. for example, do not pass it back at all.
One thing, you'll have to monitor multiple executions trying to talk to the same instrument, use some lock/unlock or synchronization to avoid thi.
Concerning
Ray Farmer
-
benefits of on LabVIEW TestStand?
What are the benefits of on LabVIEW TestStand, why use TestStand? Is LabVIEW alone is sufficient to develop the test sequence?
TestStand is a SEQUENCER on shelf to create, debug, and run test on the units under test routines.
LabVIEW is a graphical programming language.
Essentially, you can write a sequencer customized by using LabVIEW (or other programming languages), but TestStand is already with a lot of flexibility.
hope this helps,
Norbert
-
Can I get this program converted to readable in Labview 2010?
Can I get the programs following, converted in readable in Labview 2010? I think the real files are in Labview 2013!
Thank you
http://forums.NI.com/T5/version-conversion/BD-p/VersionConversion
-
Please convert my file to labview 8.5 labview 8.2
Hi, can someone please convert my file to labview 8.5 labview 8.2 & it get back to me. I'll be very obliged.
ThanxYou can go there.
If you use it, it takes a lot of work that local variables are abused. There are while loops that run only once without reason. And serial ports being reconfiguration on each iteration of the loop.
-
How to convert a name full firstname lastname
I need to analyze a text I have in a DB. I have more than 5000 output documents, so I hope that something will be effiecient. However, it is a process, the time is not that big of a deal.
I have a 'full name' field It contains a full user name (as the name suggests). I need this power so that the "first name" is located in a field and the "lastName" is in another area. The entries range from "Jim Smith' to 'John C. Dvorak Jr.' (not really Jean, but I want to keep this interesting).
In the case of John, I need the name and the initial of the average to get into the last name field in the 'First name' field and all the rest.
I tried to loop on using a space as the delimiter, but that sepeates just in parts. I need the initial to hang with the name and what drags the name to stay there.
Any intelligent thoughts? Help is very appreciated.OK, now, this should distinguish between a first to the second position or a family name:
-
How to convert a name stored in the database as "ABC DEF GHI", "ABC Def Ghi"?
Hello
In a column of a table, a name is stored as 'ABC DEF GHI'.
Now, I want to convert as "Abc Def Ghi".
It is not necessary that all names have two space . Maybe it's a or n number of places in a chain.
Could you please tell me how can I do?
concerning
Published by: user576726 on March 23, 2010 23:26For this type of conversion in oracle gave the name of function of INITIAL CAPITAL (INITCAP).
And if you want to update in the database use the statement below.UPDATE TABLE_NAME
SET COL_NAME = INITCAP (COLUMN_NAME)
WHRE UR_CONDITION;-Clément
-
How can I convert the name of the element of the enum constant to the text?
For a control of the enum or indicator, I can use the 'String []' property with array of Index for the text of the element.
But for an enum constant, I do not know how, but I've seen a solution a few years ago, but I can't remember it.
Hoping that there wasn't a business developer who's somehow enough to help me.
Format string is your friend. You even don't need to set the format string input in this case.
-
How to extract file with LabVIEW Teststand global variables
Hello
My goal here is to extract all the contents of the global variables for file (names and the value of any types) in a sequence of my LabVIEW UI file.
For now, I can only open a file of sequence of LabVIEW and get the number and the names of the variables (cf. vi) attached.
But if my variable is a container, I would like to know all the contents of this container (and so on) and I don't know how to do it.
In addition, I have to extract the value of variables that I don't know the type in advance...
Can you help me?
Thank you.
Well I finally used the method "GetNthSubProperty" to work on each variable and I use the property 'Type' to know if it's a number, string, boolean, or a container. If it is a container, I repeat the process at a lower level... (see attached vi)
-
View of execution in labview testStand
Hello world
I would like to customize execution of TestStand view or do something similar in LabVIEW. (Better way would get the info that TestStand uses to build this view)
The reason why I don't want to use the view of the execution of TestStand is there is too much info for some customers and I want to just post some info.
What would be the best way to retrieve this information programmatically?
I tried to use invoke nodes to customize the view of the execution, but it seems that it does not work at run time, nor do I have access to everything I need.
Best regards
Roderic
PS: I am particularly interested to get the name of the step and State and get the location of the arrow if possible
The best thing to do would be to customize the view of execution using the stage list configuration settings. You can see the effects of this use of the sequence editor or a full user interface. Right click on the list of steps and choose the option "List step Configuration" in the menu. I'm sure that you can remove all the columns, but the name and status. Alternatively, you can do things to a level below if you want, but it's a little more complicated than you probably think. You will need to manage the UIMessageEvent on the Applicationmgr and manage the trace message and get the first context of sequence of the thread associated with this message and then check index previous step if it is not - 1 then get the previousstep property and get what you want from that, then use the next step index and the current group of step on the context of the sequence to determine at what stage will take place then (if there is one). He is a bit of code have as rich a display as the sequence view control provides.
Hope this helps,
-Doug
-
How to pass data to LabVIEW teststand Hex
Hello
Is it possible to pass data Hex Teststand to a LabView VI.
In the column 'Type' of the Module tab on the stage, I only have the options "ASCII" or "binary string".
What I need to change my VI to take the hex data, or can I change the Type of TestStand so that I can enter the Hex data
When I enter the Hex data directly in the VI, it works fine.
Thank you
Sound advice from Omar! If you decide to follow this method, here's a useful KB...
How to convert between hexadecimal and ASCII in LabVIEW
http://digital.NI.com/public.nsf/allkb/894CF5FE064971BF8625758400014993?OpenDocument
-
LabVIEW / TestStand ignores license server settings
Hello
I see a rather odd behavior on my computer. We received a new license file to our license server. Once it has been imported, TestStand and LabVIEW used of temporary licenses... I ignored it for a day, but became suspicious.
The Manager of License tool on my computer detects only the license server and properly displays the access rights for my Suite of Dev (incl. Automated test). LabVIEW and TestSTand can check a property...
Instead, I get the error message
LabVIEW development system
License attempt 1:
All the available licenses on 'xxx' are currently extracted. (NILM13)
If you have any questions, contact your license administrator.Shows available licenses however License Manager. I already tried to reinstall software of NOR (took awhile...) manually remove, add license server information. I'm getting a little desperate / annoyed.
Any ideas?
See you soon
Oli
Fixed a problem.
After the stop & a few reboots of license server, my license works again.
Seems, it was a "personal matter" between me a license, since only my license server refused to work...
Enjoy the weekend!
Oli
Maybe you are looking for
-
Receive a prompt with tfncky.exe
Hi, I'm looking for help with my problem. I get a message from solicitation with tfncky.exeI discovered the tfncky.exe is a process from TOSHIBA Corp.. It provides functionality for function keys (F1 to F12) combinationsHow can I fix it?
-
Internet connection in windows vista issues
Original title: connection problems Hi, I have a problem connecting to all programs use internet (like Skype; gameranger...) my system is windows vista family premium sp2 please help me!
-
Service of process DCOM and host process for Windows Launcher are coming and stop and restart
can someone help me.
-
Pantum printer prints not knees
New Pantum printer, laptop computer recognizes printer but printer error is displayed. Does not print
-
My blackberry 9000 blackBerry smartphones is not recognize the lowercase 'i '.
I have a strange problem with my BB 9000, which began within the last week. When I am text input in any area as the lowercase 'i' is displayed without the dot at the top, is having the effect of making the search for contacts etc very difficult.. For