Showing multiple values on front panel using array
For example, if I input "10" for number of datapoints, I want to see 10 hex and binary values all listed in a column. Right now, only 1 value shows up and all the previous values get erased
Thanks!
Solved!
Go to Solution.
Attachments:
labviewa.png 34 KB
Hi,
Wire the data outside the for loop for get an auto index array with all elements.
You can check too: Tutorial: Arrays and Clusters.
Best Regards,
Luis A. Mata C.
Ing. Electrónico
Anaco - Venezuela
Similar Messages
-
How to show in the main front panel the progress of each sub Vi ?
my program has many sub VIs, i wish to show in the main front panel the progress of each sub Vi; what is the best way to do that?
atleast i need to show that each sub vi is completed, [can i add details on the main front panelsuch as: filename that is being read by a subVi, graphs plotted by a subVi, etc..]
can i display a graph from a subVi on the front panel of the main Vi?
what i hv done is attched as picture.
Solved!
Go to Solution.
Attachments:
Capture4.JPG 152 KBas suggested...pass references and cntrl references
Spoiler (Highlight to read)
Attachments:
main ref cntrl.zip 27 KB -
Passing array of values from front panel to menu
I am working with a group programming a multichannel current stimulation device and we are currently having trouble setting up the run time menu. The burning question that we have is trying to figure out how to pass an array of values from the front panel to the menu that we are setting up in the block diagram, any advice?
Thank youTake a look at this. Its just a simple menu update using a for loop. Uses whatever your values are as the item tag and item names. Remember, item tags need to be unique. This specifically goes under the sub menu of channel, which has to be created before.
Attachments:
menu.vi 12 KB -
Multiple value variable - not showing Multiple values in the report
Hi,
I have careated a Multiple value variable for one of the characteristics in my Query. however, When i run the Query and select multiple values for the same, the report displays values for only the first selection.
Could you help me resolve this ?
Rgds
ShwetaHello Shweta,
Are you running the report in the Analyzer excel or Web?
May be you can check the following:
1. Use the latest FEP. It is working for me.
2. May be the other values that you selected do not have corresponding keyfigures values. Hence it is showing only the first one.
Try selecting other values ( except first one selected this time )
Regards,
Sheik Bilal -
Can you add People Picker with multiple values to Word Document using Quick Parts?
Hi all, I've been trying to develop a form in Word that takes a bunch of metadata from the SharePoint library. Most of it works okay, but when I try to add any fields that have been set up to take multiple entries in a people picker, they don't show up
in the add quick parts list. Any ideas, or is this a limitation?Hi NREL,
According to your description, my understanding is that the people picker column with multiple values was missing in Word Quick Parts.
This is by design that we are unable to use the fields which is allowed multiple selections.
As a workaround, you can use a text field(Single line of text) to store the multiple values of the people column. When you create a document, start a workflow to update the text field using the values of the people column, then use the
text field in Word Quick Parts.
You can do as the followings:
Open your library, and create a new column using Single line of text.
Open your site with SharePoint 2010 Designer, create a workflow based on your library.
Add the action “Set Field in CurrenItem”, and set it like the screenshot.
Set the Start Options is “Start workflow automatically when an item is created”.
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Opening multiple sub VIs (front panels) in an application
Hi,
I am working on a small process control application. The main VI represents a layout of various equipment (pumps, valves, heat exchangers). Each TYPE of equipment
can be turned on/off through a particular subVI. The subVI is displayed when the operator clicks on the component. At the moment only one subVI front panel can be loaded. I would like to have multiple panels open at the same time; this to include multiple instances of a same VI and different subVIs.
I have tried to set properties in the WindowsApperance dialog box but cannot acheive the desired operation.
Any suggestions?
ThanksTrust my personal experience: You do NOT want multiple dialog windows open. The users will hate you and curse your name if you do. You really want to use subpanels and limit what the user can do. Subpanels are a way of inserting a VI's front panel into another VI's front panel. So you want to have a section of your main front panel that the user can load whatever control subVI they need.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Show current time on front panel?
I would like to have the the current time and date displayed on the front panel. I have placed a timestamp indicator, but haven't figured out how to reset the timestamp each loop cycle. Any advice?
I'm using LV7.
Thanks!
-aaaa.
all you have to do if you want to show the user the time is put the getdatetime.vi in a while loop by itself in parallel with any other loops you may have. and if you have other while loops already just use a local variable of one of the other while loops for the stop condition.
see attached vi for example of this
Joe.
"NOTHING IS EVER EASY"
Attachments:
time_stamp.vi 18 KB -
Setting Multiple values in property set using java API
Hello All,
I want to set the properties of a profile in a property set using java API provided
in package p13n. The property can have multiple values. When I try to add the
property using ProfileManager.setProperty() method. But every time I do it this
way, it replaces the earlier value of property and not added. This, I can achieve
using portalTools but I want to use the API for user registration on the site.
I hope the query is clear.
Waiting for a response,
Thanks in advance,
ShrinivasYou need to use java.util.ArrayList.
First cast the existing value into ArrayList using getProperty method,
change values in the ArrayList and then put them back with setProperty
method.
Regards,
Michael Goldverg
"Shrinivas Rao" <[email protected]> wrote in message
news:3d64e7d9$[email protected]..
>
Hello All,
I want to set the properties of a profile in a property set using java APIprovided
in package p13n. The property can have multiple values. When I try to addthe
property using ProfileManager.setProperty() method. But every time I do itthis
way, it replaces the earlier value of property and not added. This, I canachieve
using portalTools but I want to use the API for user registration on thesite.
I hope the query is clear.
Waiting for a response,
Thanks in advance,
Shrinivas -
How can I simultaneously acquire and display an image on the front panel using a PCI-1424
Dear friends;
I want to use PCI-1424 , and labview 5.1 to capture the image, But I can not find some functions in labview to capture, display and save the image.Can you be kind to share some examples or provide some information.
Another question is how I CAN display the image in the front panel.
thanks so muchHello yangshang,
Thank you for contacting National Instruments! To acquire images from the 1424 you will need NI IMAQ 2.5.1 or later. This can be found HERE on our drivers download page. One thing to note is that in LabVIEW 5 we only had the ability to view an IMAQ image as a pop up window. This VI is called "IMAQ Windraw". This will pop up a separate window that will display your picture. If you need to view the picture on the front panel you can try saving the image as a file (BMP, JPG, etc) then use the LabVIEW Graphics and Sound VI's to Read a picture file in and then wire the picture to a picture control on the front panel. Let me know if you have anymore questions. Good Luck.
Regards,
Mark T
Applications Engineer | National Instruments -
How can I simultaneously acquire and display an image on the front panel using a PCI-1408
I have to acquire and display an image directely in the front panel of a *.vi using a PCI-1408. i have to know all informmations about this image because I want to create a calibration system.
Hi Paola,
if you own IMAQ Vision you can just have a look at the examples that comes with your board or you can look at: http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/2abaefe05789961686256866007c0d22?OpenDocument.
Without IMAQ Vision look at:
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/22474456534202b086256aff005fc4f3
(or search at ni.com for "IMAQ Display without IMAQ Vison)
Please mail me if you need further help,
Michael -
How to close a front panel using 'one button dialog'?
I wish i could use a 'one button dialog' so that the user can close the front panel when asked.
actually, i do put a 'open vi reference' followed by an 'invoke node' and then by a 'close reference' in a case true false (vi attached)
it seems that i can'ty use the option 'close FP' in my invoke node.
I am using a labview 6i version, is that possible to have this option, otherwise hoe can i achieve muy application without this invoke node??
thanks
guillaume
Attachments:
testfermeture.vi 18 KBtry this.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
IFK_VIServer_Example.vi 32 KB -
Post Author: ckwizard77
CA Forum: Crystal Reports
HELP!!
I have been knocking my head against a wall trying to figure out how to pass multiple values to 1 parameter and how to add it to the parameter collection. I have code so if I pass single values for each parameter it works fine. I am passing the parmeters and values in a pipe delimited string through a url where it gets parsed and pass in here.
Any help would be greatly appreciated.
Here is the single param code:
Public Sub SetParamValues(ReportName, strParamName, ParamValue) Dim i,reportInterface, ParamName,strSubReprotName,CurrentValues Set reportInterface = reportObject.PluginInterface("") Set reportParameters = result.Item(1).PluginInterface("Report").ReportParameters For i=1 to reportParameters.Count if ReportName <>"" then strSubReprotName=reportInterface.ReportParameters.Item(i).ReportName if strSubReprotName=ReportName then ParamName = reportInterface.ReportParameters.Item(i).ParameterName if ucase(ParamName)=Ucase(strParamName) then Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues CurrentValues.Clear() Dim newSingleParameter Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue newSingleParameter.Value = ParamValue reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false iStore.Commit result End if End if Else ParamName = reportInterface.ReportParameters.Item(i).ParameterName Set param1 = reportInterface.ReportParameters.Item(i) if Ucase(ParamName)=UCase(strParamName) then Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues CurrentValues.Clear() Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue newSingleParameter.Value = ParamValue reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false iStore.Commit result End if End if NextEnd SubThat Makes sense.
thanks a lot !
Well now are at it, mind if I ask you another quick question:
If I make an option in the multiselect list called ALL which should return all the results:
as should act like this
select * from dept;
you solution was:
select * from dept
where INSTR(':'||:P1_EMPNO||':', ':'||empno ||':') > 0
Can I modify this to return all the rows ? -
How to show multiple values for Unique records in Report
Here's my question/problem:
I've joined two tables, one table (TBL1) contains an object id (OBJ_ID) that repeats and the other table (TBL2) contains a date (DT), object type id (OBJ_TYP_ID), and object type description (OBJ_TYP_DES). The tables are joined by an inventory id (INV_ID).
The OBJ_ID repeats and has a Date value for each record. I want to report an unique OBJ_ID and show each Date for a particular OBJ_ID in multiple Columns.
An example of the current resultset looks like this:
OBJ_ID OBJ_TYP_ID OBJ_TYP_DES DATE
1 1 TYPE1 4/1/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009
1 2 TYPE2 5/3/2009
3 1 TYPE1 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
1 1 TYPE1 4/3/2007
1 1 TYPE1 3/30/2005
I want to express the resultset like this:
OBJ_ID OBJ_TYP_ID OBJ_TYPE_DES DATE1 DATE2 DATE3
1 1 TYPE1 4/1/2009 4/3/2007 3/30/2005
1 2 TYPE2 5/3/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
What technique is best to use to do this? I know I could create another table and populate the rows/columns by reading data from this query, but is there a better way?Hi,
cclemmons wrote:
I want to express the resultset like this:
OBJ_ID OBJ_TYP_ID OBJ_TYPE_DES DATE1 DATE2 DATE3
1 1 TYPE1 4/1/2009 4/3/2007 3/30/2005
1 2 TYPE2 5/3/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
What technique is best to use to do this? I know I could create another table and populate the rows/columns by reading data from this query, but is there a better way?Absolutely! You seem to have an instictive feeling that creating a separate table just for a query is inefficient. You instinct is 100% correct. Maybe in Oracle 7 there was a reason to do that, but today you can query results of other queries as if they were tables, so temporary tables like you describe are very rarely necessary, let alone convenient.
What you want to do is pivot the date columns. Here's one way
WITH original_query AS
SELECT obj_id
, obj_typ_id
, obj_typ_des
, dt -- date is not a good column name
FROM ... -- the rest of your original query goes here
, got_rnum AS
SELECT oq.*
, ROW_NUMBER () OVER ( PARTITION BY obj_id
, obj_typ_id
, obj_typ_des
ORDER BY dt DESC
) AS rnum
FROM original_query oq
SELECT obj_id
, obj_typ_id
, obj_typ_des
, MAX (CASE WHEN rnum = 1 THEN dt END) AS dt1
, MAX (CASE WHEN rnum = 2 THEN dt END) AS dt2
, MAX (CASE WHEN rnum = 3 THEN dt END) AS dt3
, MAX (CASE WHEN rnum = 4 THEN dt END) AS dt4
, MAX (CASE WHEN rnum = 5 THEN dt END) AS dt5
FROM got_rnum
GROUP BY obj_id
, obj_typ_id
, obj_typ_des
;As you can see, this adds two layers of queries on top of your original query. One of those layers is probably not needed; depending on what you're doing in your original main query, you can probably compute rnum there, and omit the got_rnum sub-query.
Also, depending on the relationship of obj_id, obj_typ_id and obj_typ_des, some of what I posted above may not be needed but including it won't really hurt.
If you want to know more about this technique, search for "pivot" or "rows to columns". A <tt>SELECT ... PIVOT ...</tt> keyword was introduced in Oracle 11, but most of what you'll find when you search for "pivot" doesn't assume you have Oracle 11 (nor does the query above require Oracle 11).
This assumes you know an upper limit (5 in the example above) of dts that can appear in any line of output.
See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=3527823�] for a discussion of some alternatives. -
Multiple Value in additional fields using SAP Query
HI All,
I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
po_1
to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
po_1
, I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
po_1
in record processing part.
Thanks....HI,
IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
So you have to just click on the MINUS sign for the field you want to use through table field.
Generate the query and execute thriugh SQ01.
If you want to add some other field which is not a part of JOIN,
then click on EXTRAS Button shown in the MENU option.
Click on Create button and system will ask abt the additional field.
Regds,
Anil -
Displayin multiple values from a LIST using useBean
Hi,
I want to display certain values in a drop-down box that are retrieved from a getter method in a bean.
First of all... Is this possible? if so please help... in dire need to know situation...
any alternative way help is also welcome.....Fragment 1
This is the JSP Code am using for testing
<%
String[] name =request.getParameterValues("D1");
if(name.length==1)
String value=name[0];
Instead of name.lenght==1 try with name!=null
Fragment 2
out.println(value);
replace the above fragment with
%>
<%-- print result -->
<%=name[0]%>
<%
Fragment 3
else
%>
The list box D1 is a multiple select list box.
If it still doesn't work, check that the checkboxes have the same name as well as different values
<input type="checkbox" name="D1" value="1">
<input type="checkbox" name="D1" value="2">I hope this helps :-)
Good luck
touco
ps: i want duke
Maybe you are looking for
-
Apple tv vs. dvi to hdmi
why would i buy an apple tv when i can just get a dvi to hdmi converter and use my tv as a monitor?
-
Ppt generate power point report
Hello, how could I generate a report in power point (ppt) in labview? I do the analysis of some images and I can generate a report in Word (doc), but need to generate in ppt, I saw that on a make tools it provides the option of generating reports in
-
I deleted an address and replaced it with updated info. Although the correct address shows in the address book, the old address pops up when I type the first few letters of the persons name. How can I rid myself of this nuisance? hrks 1931
-
Oracle DB for Windows 2003???
Who can tell me which versions of Oracle 9i and 10g can run on Windows 2003? From the software description, it seems that 9.2.0.1 does not work on Windows 2003 64-bit??? Message was edited by: clary
-
I found a lot off how to use Keynote. I try a lot but it will not work to import a powerpoint presentation in the Ipad2. I use Itunes I see the presentatie but i can't show the presentation on my iPad2. Everything on my Mac with Keynote works perfect