When I press my combo box, my processor stops
Hello,
I'm building my applications witch has a combo box to choose some timmings for choosing graph scales.
Sometimes, when I press this combo box, my processor load goes to zero and the rest of the application stops due to this.
If I restart my PC, this problem is solved... until the next time it happens - it can take days...
Has anyone experienced this?
Thanks,
Paulo
Here it is, sorry that it's big, I'm working on separating the acquisition from the interface to make it smaller.
But I'm affraid that you won't be able to see it, I just see it sometimes and then only some days latter it happens...
I realised that if I close LabVIEW it is solved - it's not needed to restart the PC.
Any comments on the code are appreciated.
Thanks,
Paulo
Attachments:
Main.zip 2928 KB
Similar Messages
-
Is there a way to hide pages and show them when selected in a combo box?
I'm creating a document that has different forms for different states. Ideally, I would like to select a state from a drop down and then show the corresponding form(s) associated with that state. Anyway to do it in Acrobat 9.0 Pro?
Don't templates only work as spawning several copies of the same form?
Or you can just have certain information spawn to locations on various
other forms?
Sincerely,
Jim S. Tsao
Network Services Manager
-Northern Division, Atlanta, & Greensboro
Phone: (973) 630-0769
Mobile: (201) 575-3149
Email: [email protected] -
How to change screen combo box value from a method?
Hi,
I have a screen that has a combo box and an ALV.
the combo box has the line numbers of the data in the ALV.
you can select the line item and then the ALV changes...
I fill the combo with function VRM_SET_VALUE.
all is good once the user changes the combo box.
I want to enable the user to click (hotspot) on ALV and then to ... and to change the value of the combo box to the line number he clicked on.
I couldn't change the value inside that box.
The combo box is declared as global parameter.
when I assign a value to it inside the method, it is good. but once back to PAI, it is the old value.
Do you have any idea how to set up that value?
Thanks.Itay,
When you load the combo box, you should be setting a "key" for each entry in the combo box.
See below:
move '2010FY' to Value-Key.
move '2010 - Full Year' to Value-Text.
append value to list.
move '2010Q1' to Value-Key.
move '2010 - Q1' to Value-Text.
append value to list.
move '2010Q2' to Value-Key.
move '2010 - Q2' to Value-Text.
append value to list.
move '2010Q3' to Value-Key.
move '2010 - Q3' to Value-Text.
append value to list.
move '2010Q4' to Value-Key.
move '2010 - Q4' to Value-Text.
append value to list.
move 'COMBO1' to name. "name of Combo box in the screen
call function 'VRM_SET_VALUES'
exporting
id = name
values = list.
So add these "keys" to a hidden column in the ALV grid. Then .... when the user presses a hotspot, pass the value of the hidden column (for the selected row) into the COMBO1 box.
move '2010'FY' into Combo1. " if they selected Full Year of 2010 -
My phone says it is connected to itunes and beside the update button it says "a newer version of iphone software is available (version 7.0)...." but when I press 'update' a box pops up that says ""This version of iTunes (10.6.3) is the current version" and then I press okay and nothing else happens. I'm getting frustrated. if anyone can explain to me why I can't update please tell me! Or else I'll have to call up Apple I guess.
thanks!You have answered your own question:
"requires 10.6.3 or higher"
" i upgraded my itunes to 10.5 "
You need itunes 10.6.3 or later. -
How to set current year,month as default value in combo box
hi, im newbie of xcelsius user
i realize that hv a issue that display combo box base on year & month
let said
<b><u>step 1</u></b>
I create excel data like this
<b><u>year___ </u> </b> | <u><b>month_ </b></u> | <u><b>Product</b></u> | <u><b>revenue</b></u>
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
<u><b>Step2</b></u>
Then i go format cell to format/custom date to year & month
Eg1: Year u2013> 02-04-09 convert to u2018YYYYu2019 (2009)
Eg2: Month u2013> 02-04-09 convert to u2018mmmmu2019 (April)
So output like this
<u><b>year</b></u> | <u><b>month</b></u> | <u><b>Product</b></u> | <u><b>revenue </b></u>
2009 | April | a | $4,154
2009 | April | b | $6,813
2009 | May | a | $9,875
2009 | June | b | $6,813
2010 | April | a | $6,813
2010 | April | b | $9,875
2010 | June | a | $9,875
2010 | June | b | $6,813
But the problem is when i insert to combo box,use u201Cfilter Row u201D, i excpectation will display only 2009,2010
But Actual display the Year in combo box is duplicated :'(
so any solution ? and then only how to set current year & month as default value :'(
thanks,
regards
s1
Edited by: Leong Pui Kee on Feb 25, 2011 5:25 AM
Edited by: Leong Pui Kee on Feb 25, 2011 5:36 AMhi,
your created data
step 1
I create excel data like this
year___ | month_ | Product | revenue
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
In this, year and month both are same data, make the diffent data like year 2009, 2010 And month Jan, Feb, March, ...Etc
and also one more check you formulas on month and year, select correct source data, destination data for compoonent..
OR
from above, to create a date column and convert date-->year, date--> month and Explore it.
All the best,
Praveen -
I'm looking to use a combo box to navigate to a particular record in a data block, however when I change the combo box how do I get it to requery rather than just change the value for the current record???
If i understand You correctly, you got
combo field, and all the other fields are text boxes.
Lets pretend that list box db field is emp.emp_id
If there is not too mutch records try this one.
Set combo box "Database item" to "no".
create additional hidden text field for database column emp.emp_id
Before start working with form (when-new-form-instance for example) fetch all the field values to the combo box.
Then, create trigger "when-item-validate" or simething, witch requeries data for all the other data block items, when combo box value is changed. -
Combo Boxes....again but straight answer required.
Okay so the follwing code:
oItem = oForm.Items.Add("oCombo2", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
With oItem
.Height = oXPlaneItem.Height
.Width = oYPlaneItem.Width
.Left = oYPlaneItem.Left
.Top = oXPlaneItem.Top
.DisplayDesc = True
End With
oCombo = oItem.Specific
oCombo.DataBind.SetBound(True, "", "U_Status")
oCombo.ValidValues.Add("1", "Live")
oCombo.ValidValues.Add("2", "Got")
oCombo.ValidValues.Add("3", "Lost")
oCombo.ValidValues.Add("4", "Didn't happen")
Results in a combo box that once selected shows the description only - GREAT!
BUT...... when selecting from the combo box the lists shows VALUE - DESCRIPTION (i.e. 1 - Live), Can this be changed to just show the description.
Apologies if this is answered in another post but I was looking for ages and the difference between selected and combo box selection descriptions was never dictated.
Dave A.Its not possible to show only the description.
Vasu Natari. -
Bugging Array by using COMBO BOX component !!!
Hi,
Today, I create a flash with Array. I did use prototype
method to add one more fantastic function to sort the array
randomly. But when I include one combo box component with static
value in to the parent file, I have a big trouble. The flash file
stop running & give the alert of endless looping. Ah ha, what a
funny thing is happened out there?
If you want to produce this bug, please follow me.
Step1: Create 1 flash movie & name it "test.fla". Copy
the code below into the first frame.
Array.prototype.randomSort = function():Array {
var arr1:Array = this;
var arr2:Array = new Array();
var rand:Number;
while (arr1.length>0) {
trace(arr1.length);
rand = Math.floor(Math.random()*arr1.length);
if (rand == 1 && arr1.length == 1) {
rand = 0;
arr2.push(arr1[rand]);
arr1.splice(rand, 1);
return arr2;
Step2: Export the movie by Ctrl+Enter -> we will have
test.swf huh?
Step3: Create another flash & name it "main.fla".
Step4: In main.fla, create an empty movieclip symbol &
name it loader_mc. Drag it to the stage & five the instance
name "XXXloader_mc" for example.
Step5: In main.fla, Drag one combo box component to the stage
& add some data to the combo
Step6: In the first frame of main.fla, load the test movie
into XXXloader_mc. Try this
XXXloader_mc.loadMovie("test.swf");
Step7: Export main.fla. Ctrl+Enter again.
Congratulation, you are in the problem.both together caused the problem and i don't see a problem
with your randomSort() method although destroying the original
array seems like a bad idea and is one of the 2 reasons for your
problem:
one, the combobox is executing your method (and every other
array prototype method that exists) every time it's clicked. that
looks like a bug in the combobox component.
and two, your prototype is causing a problem because it
destroys the arrays that call your method. -
Hello,
Why doesn't the selector work on a combo box indicator? It works when fine when I make the combo box a control, but then the user can type into the combo box and modify values. I am using a combox box to allow the user to select from a list of strings that represent the last 8 unique commands that we sent to a piece of test equipment.
Regards,
Kaspar
Regards,
KasparHi Kaspar,
because an indicator is to show something and a control is to control something! You can use an event case to check the user input or you can simply uncheck the "allow undefined strings" property.
Mike
Message Edited by MikeS81 on 07-15-2008 08:52 PM -
How to enable group label selectable on combo box?
When we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
ThanksWhen we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
Thanks -
FF 3.6.3+Ubuntu 10.04: Combo boxes not opening
FF 3.6.3+Ubuntu 10.04: Combo boxes not opening.
When I click on combo boxes, they do not respond. They become active but a menu fails to appear. The combo box can sometimes be navigated with the arrow keys, but the actual menu doesn't appear.
== This happened ==
Every time Firefox opened
== The very beginningCan be as problem with the Ubuntu/10.10 (maverick) in the user agent and a missing Firefox/3.6.12
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Mozilla/5.0
You can try to set the pref general.useragent.override to:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
See also :
* [[Finding your Firefox version]]
* [[Web sites or add-ons incorrectly report incompatible browser]]
* http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default -
Hello all,
When I bind a combo box to a particular field, and get its values from another table, using
comboBox.setModel(JUComboBoxBinding.createLovBinding(binding, comboBox, voName, null, voName + "Iter", new String[] { attribName }, lovVOName, new String[] { lovValAttribName }, new String[] { lovDispAttribName }, null, null));
The combo box becomes editable. I don't want it to be editable, since the value must be one of the ones in the list! Is there any way to make the box uneditable? I tried setEditable(false), and it doesn't appear to work.
Thanks!It's version 9.0.2.822.
Actually, I told a lie. The box isn't unselectable, it just doesn't display the selection when the list isn't shown.
So all the combo boxes on my screens look empty, but actually contain selections! And they update the corresponding database row appropriately.
Perhaps it is a bug in this version; I'll try upgrading. -
Drop down menu or combo box in jtable
Hi there I nee urgent help I have a jtable and I am collecting information to populate the table dynamically, the problem is I some of the strings that populate certain cells is longer the the width of the cell in a particular column, I thought I could use a combo box and split the strings up so I could have some type of drop down menu showing the information, but when I populate the combo box and instantiate the defaultcell renderer with the combobox it sets all cells in that column with the same information I would like to have it displaying the actual information for every row within that column
or if you can give me any ideas as to how I can avoid this happening or maybe an alternative method of showing these long strings in the table some kind of drop down.
Kind Regards Michaelthe problem is I some of the strings that populate certain cells is longer the the width of the cell in a particular column,Set a tooltip to display the entire text of the cell. Here is a simple example;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TableToolTip extends JFrame
public TableToolTip()
Object[][] data = { {"1234567890qwertyuiop", "A"}, {"2", "B"}, {"3", "C"} };
String[] columnNames = {"Number","Letter"};
JTable table = new JTable(data, columnNames)
public String getToolTipText( MouseEvent e )
int row = rowAtPoint( e.getPoint() );
int column = columnAtPoint( e.getPoint() );
Object value = getValueAt(row, column);
return value == null ? null : value.toString();
JScrollPane scrollPane = new JScrollPane( table );
getContentPane().add( scrollPane );
public static void main(String[] args)
TableToolTip frame = new TableToolTip();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.setSize(150, 100);
frame.setLocationRelativeTo( null );
frame.setVisible(true);
}If you want to get fancier than you could set the tooltip text only when the width of the text is greater than the width of the column. Here is an example of this is done with a text field. You would need to modify the code to refer the to table for the text string and the TableColumn for the width.:
JTextField textField = new JTextField(15)
public String getToolTipText(MouseEvent e)
FontMetrics fm = getFontMetrics( getFont() );
String text = getText();
int textWidth = fm.stringWidth( text );
return (textWidth > getSize().width ? text : null);
textField.setToolTipText(" ");
I thought I could use a combo box and split the strings up so I could have some type of drop down menu showing the informationIf you want to proceed with this approach then check out this posting:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=637581 -
Hello,
I have a combo box that has the following labels: Avg Cost, Total Days, Total Cost.
The labels are in columns in a spreadsheet going across. Not in rows...
So my label range is A1:A3...
When I look at the combo box on the design all the labels are populated in the list.
But when I "preview" the combo box it shows up totally empty...
Can someone please help?Hi there,
I updated to the latest Crystal Xcelsius Version. It's now 5.3.4.0...
But I think I found a possible bug or the reason why the selector list isn't showing up.
I did another list box that has Age Groups. Less Than 30, Between 30 and 40, etc...
The list is in rows and I did a filtered rows option.
It worked fine. I had it linked to both a spreadsheet table and a graph.
It even worked on Preview....
BUT - I added the Crystal Reports Data Consumer as my connection.
and as soon as I did that. The List Box went blank on Preview....
When I removed the Crystal Reports Data Consumer Connection the listbox populated on preview...
So my question is, this seems like a bug.. Shouldn't the list boxes work even when there is a Crystal Reports Data Consumer Connection set-up?...
And my next question, if this is a bug... When will it be fixed???? -
How can I make the combo box extend fully (so there is no scroll bar) like in IE?
When I select a combo box in IE the box opens "all the way" and there is no vertical scroll bar. This way I can see all of the options and now have to scroll up and down.
Is there a way to set Firefox to do the same?I have repeated the test with nightly, but this time created the new profile on a local filesystem (ext4 FWIW) rather than an NFS-mounted one. As before the timestamp on .parentlock is not updated when firefox exits, so almost certainly a bug. If there is a problem with permissions/ownership, that problem is created by firefox, so still a bug :-) (given that the profile is a brand new one).
I'll report this on bugzilla as soon as I can.
Maybe you are looking for
-
I can't send emails from iPhone until I connect to my wifi at home. I am with bigpond and have a bigpond email address. Can anyone help me?
-
Kernel panic on mac os x 10.8.2 mountain lion
Hello my friends. my macbook pro panic is : Interval Since Last Panic Report: 4763 sec Panics Since Last Report: 13 Anonymous UUID: C9449238-DBAF-B7E7-A188-25C1724B041B Thu Feb 21 16:52:05 2013 panic(cpu 2 caller 0xffffff
-
5.0.1 Update Block my carryer unlocked and itunes says unlocked, but dont work itunes. if i restore "again and again" itunes display carries unlock, but dont work on my iphone 4 whit ios 5.0.1. now only works on carrier VIVO ( where buyed this ipho
-
Attach document in Purchase Order
Hello Experts It is possible to attach a scanned document to the purchase order in SAP? Thank you in advace,
-
Can I port my number if switching from a post-paid to a pre-paid and back to a post-paid?
This is a little convoluted, so I'll use bullet points. 1) I am currently on a family plan that is paid for by my former employer. I need to leave that plan by the end of this month. 2) I would like to port the number from this plan to a pre-paid pla