Entering numeric values with suffixes in Labwindows CVI (e.g 100 kHz instead of 100e3 or 100000 )
is there any practical way of entering numeric values with suffixes in Labwindows CVI in order to prevent user from struggling with '0' es.
In LabVIEW there is another Display Format called "SI Notation" that is exactly what you're looking for.
Maybe you can add a feature request in CVI Idea Exchange Forum and ask NI to add this Display Format in CVI too.
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
Similar Messages
-
Error: Enter numeric values
Dear All,
I am creating a company code in ECC5 IDES, but shows an error
the error message is :enter numeric value only
what can be the problem, please guide mehi,
if you are trying copy the company code say from 1000 and getting this error then try copying from 0001 company code or vice versa. It should copy for one of this properly.
Thanks
Sadhu Kishore -
Holding values as default in LabWindows/CVI application
Hello -
I am writing a LabWindows/CVI application, which controls an USB Digital I/O Board. I have set an user interface to a default value. However, when a user runs the application, he/she may need to change the default value. How can I hold the value the user entered for the next time the user runs the application?
Best,
MatthewYou better post this in the LabWindows/CVI board instead of the LabVIEW board
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
OSS 650345 . Error : Enter Numeric Value
Hi All,
I had applied the OSS Note 650345.
With this OSS Note we can Upload Data in Background
for Transaction's KP06 & KP46.
While using Excel Upload in KP06 Transaction to upload the data it is working fine.
When I use the same file from Application server and with this OSS Note. I am getting an Error stating that Enter a Numeric Value.
I had used the same file.
If anyone had got faced similar problem, Pls suggest me.
Pls consider this as High Priority.
Thanks
RajendraHi Rajendra,
Your problem is NOT the program or the format of your Excel file.
The problem is, that on APPLICATION SERVER level there is NO MS OFFICE or MS EXCEL (or any compliant EXCEL reader) installed. Therefore in the background (or on application server level) SAP cannot read Excel files.
Regards,
Rob. -
How to represent a -1 numeric value with text?
Hi All,
Question: How do I get the value of negative one (-1) in a numeric column to display as "all"?
Background: For our lottery players, they are able to opt in to various automated alerts. One column is an integer value representing one of five different thresholds for sending an alert: 10,000, 50,000, 100,000, 500,000, and -1. The -1 value
actually represents all of the other 4 values, or simply "all thresholds," meaning "send me an alert at every one of these thresholds."
What is the best way to represent the -1 value in the cube? A user won't understand that -1 is equivalent to "all choices". I could change the view so that the column is a string instead of an integer, but I assume this is going to
affect the cube in a negative way, such as unexpected sorting, etc.
I asked our resident SSAS guy if a numeric value could be displayed (not read) as "all values" while actually storing the -1 value, but all he could suggest was changing the data type and using a case statement to replace -1 with "all values."
This does not seem like a fix to me.
Is there a way to make SSAS display a negative one value as "all choices" without changing the data type of the source column itself?
Thanks,
Eric BNormally you would have a lookup on the number and a text value for the result displayed to users in the cube.
KeyValue
DisplayValue
10000
$10,000
50000
$50,000
100000
$100,000
500000
$500,000
-1
All Values -
ABAP-based web service returns numeric values with leading zeros
Hi SOA experts,
I have created a web service out of an ABAP function module. Beside other values, this service returns a list of document numbers. All of these numeric values are returned by the web service with leading zeros, but we do want these values w/o leading zeros.
Any ideas how I can tell the web service to not print any leading zeros?
Thanks in advance for your help!
Kind regards, Matthias
PS: The according function module does not print any leading zeros for the numeric valueshi,
just a guess: I'd try to use I instead of NUMC for the document numbers.
NUMC is no number but a character string with numeric characters only. only some display routines in SAP know that this string of numerals represents a number and omit leading zeroes.
my 2 cents,
anton -
Error displaying numeric values with SPREADSHEET output
Hi, I'm using Reports 10g R2 and I have all my reports with PDF output, they render just fine.
I want to render some of them with SPREADSHEET output but don't know why in some case numeric values are rendered as ****** instead of the corresponding number.
The same report shows numeric values correctly in PDF but no in some Excel cells, just SOME of them, not all.
I know that Excel column is not short because the internal value of the cell are the asterisks.
What could be happening?
Thanks!Hi Ruby,
please refer to some very basic documentation on CRM 2007 Webclient UI or the IC Webclient of CRM 4.0.
What you are trying to do is create a value node and your code ABAP is wrong.
Here a code sample. Typed it by hand so there might be errors in it.
data:
ls_struct type /mystructure,
lr_struct_ref type ref to data,
lr_node type ref to cl_bsp_wd_value_node.
ls_struc-/attribute1/ = 'Hallo Welt'.
get reference of ls_struct into lr_struct_ref.
create object lr_node
exporting iv_data_ref = lr_struct_ref.
typed_context->/yourNode/->collection_wrapper->add( lr_node ).
cheers Carsten -
Handling numeric values with OCI8
What's the best approach to handle numeric values (more specifically, decimal and floating point values) obtained with oci_fetch_assoc() and the like? I've set NLS_LANG to SPANISH_SPAIN.WE8ISO8859P15 because I want to store Spanish language data using the ISO-8859-15 charset but that has the side effect of making SELECT 3.14 FROM DUAL become *"3,14"*. I can think of several solutions:
* Avoid PHP type juggling; instead, write a custom PHP function to parse formatted floats from strings
* Set NLS_LANG to SPANISH_AMERICA.WE8ISO8859P15
* Use PEAR MDB2 abstraction layer, which apparently ignores NLS_LANG
... but they all look like newbie workarounds...
The server runs Oracle 10g.Alvaro, you can pick and choose decimal separator and group separator. The parameter is NLS_NUMERIC_CHARACTERS. Here is how it works:
SQL> alter session set NLS_NUMERIC_CHARACTERS=',.';
Session altered.
SQL> select 3+1/7 from dual;
3+1/7
3,14285714
SQL> alter session set NLS_NUMERIC_CHARACTERS='.,';
Session altered.
SQL> select 3+1/7 from dual;
3+1/7
3.14285714
If you don't want to do it through Oracle, PHP has pre-defined NumberFormatter class, described here:
http://hr.php.net/manual/en/class.numberformatter.php. There is also a very useful class for the international date formats but that's another story. -
Non-sequential scanning with SCXI and Labwindows/CVI
I'm trying to scan channels 0 and 2 (skipping channel 1) of a SCXI-1520 module with a SCXI-1000 chassis using LabWindows/CVI, but am getting error 10370 (Invalid Scan list).
I've read here that the SCXI-1520 module supports non-sequential scanning, even with traditional NI-DAQ drivers, but I can't get this working.
I'm using NI-DAQ 6.9.3 and LabWindows/CVI 6.0.
I'm not using a channel string, but intead am using SCXI_Track_Hold_Setup and SCXI_SCAN_Setup.
For the scan setup my arrays are:
Module_List={1,1}
#_of_Channels_List={1,1}
Start_Channel_List={0,2}
I've tried setting the Hol
d_Count for the module to both 1 and 2 in SCXI_Track_Hold_Setup, but that doesn't help.
Is this possible, and if so, how?OK, in essence, my code is:
SCXI_Reset(chassis,-1);
SCXI_Load_Config(chassis);
hold_count=2; // Note: Tried 1 but that doesn't work either.
SCXI_Track_Hold_Setup(chassis,slot,2,2,0,hold_count,device);
// Note: tried 2,0,2 but doesn't work either, and then can't scan multiple modules.
SCXI_Set_Gain(chassis,slot,-1,1);
SCXI_Set_Excitation(chassis,slot,-1,VDC,5.0,&actual);
SCXI_Configure_Filter(chassis,slot,0,BYPASS,0);
SCXI_Configure_Filter(chassis,slot,2,BYPASS,0);
SCXI_Configure_Connection(chassis,slot,-1,QUARTER);
num_modules=2;
Module_List={1,1};
Channels_List={1,1};
Start_List={0,2}
SCXI_Scan_Setup(chassis,num_modules,Module_List,Channels_List,Start_List,device,0);
// This causes error -10370:badScanListError
Any help greatly appre
ciated! -
Hi all,
I had requirement like to declare the data type has numeric with sign value , while declaring the table in se11.
how to define the datatype of this in Table.
anybody having idea on thisHi,
While designing the data element for that data type
in the DEFINITION tab of the domain in the output characteristics you have to check the checkbox for SIGN
reward if helpful -
Entering numeric values in CHAR field without quotes
We are upgrading from Oracle 9i to 10g. In 9i we were able to add numeric data into a CHAR field without single quotes like
insert into table (id, name, ...) values (1, 'some name', ....)
When we migrated to 10g, we are getting database errors.
Any ideas on what can be causing this and why it worked on 9i and not on 10g?
ThanksGot an example, it seems to be working fine for me.
ME_XE?create table tttttest( char_col char (5));
Table created.
Elapsed: 00:00:00.46
ME_XE?insert into tttttest values (111);
1 row created.
Elapsed: 00:00:00.65
ME_XE?select * from tttttest;
CHAR_COL
111
1 row selected.
Elapsed: 00:00:00.39
ME_XE?
ME_XE?@version
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
5 rows selected.
Elapsed: 00:00:00.57
[pre[ -
Select options numeric value with asterisk in field screen.
Hi Guys
I searched this solution in SDN and SAP HELP but I found the solution, so I created this post.
I have a select options:
SELECT-OPTIONS: s_asnum FOR asmd-asnum
If I insert value 3000111 , then my internal table show 000000000003000111 (ok its wright)
If I insert value 30001*1 , then my internal table show 30001*1 (its my problem , because i NEED 0000000000030001*1 to my select work)
How can I change my select option 30001*1 to 0000000000030001*1.
Thanks for help.Hi Ronaldo,
can't you ask your user to fill the zeros? or search by *30001*1?
try CONVERSION_EXIT_ALPHA_RANGE_I
If it doesn't work you'll have to fill left zeros yourself in code.
regards,
Edgar -
4.0EA1 Entering date values in table editor
Hello out there,
I don't know if that has been reported already. So I'm doing it again.
I have a table containing a date column and set my NLS_DATE_FORMAT to 'DD.MM.YYYY HH24:MI:SS'.
In version 3.2, I could enter date values just by giving a date without time e.g. 29.08.2013. In the table editor of version 4.0, I'm forced to enter 29.08.2013 00:00:00 otherwise the field is cleared after leving it by pressing TAB.
Is there some new preference setting for that? I'm having another table where I want to enter date values with time though...
If that matters, I'm using SQL*Developer 4.0.0.12.27 with JDK 7.0_17 64bit on OpenSuse Linux 12.3 and connecting to Oracle 12.1.0.1.0 on Solaris 10 Sparc64.
As I'm writing the JDK version, could it be that a newer JDK solves that issue? I'll try that.
Regards,
dhaleI'm thinking that it should assume all zeros for the time portion in this scenario, since that's how sqlplus (and, I believe, previous SQL Developer releases) handles it. For example:
SQL> alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS';
Session altered.
SQL> select to_date('2013-09-10') from dual;
TO_DATE('2013-09-10
2013-09-10 00:00:00 -
Limiting entry in a JTextField to numeric value and "%" value
Hi,
I want to allow the user to enter numeric value and % value
How can I limit the user to make such a entry in JTextFieldUse the code given below to make your textfield accept only numeric values. You can modify itto include % values too.
textField.setDocument( new TextFieldVerifier() );
class TextFieldVerifier extends PlainDocument {
public void insertString( int offset, String str, AttributeSet attSet ) throws BadLocationException {
boolean valid = false;
if ( str == null ) {
return;
String old = getText( 0, getLength() );
/* insert the new string at the given offset, into the old string */
String newStr = old.substring( 0, offset ) + str + old.substring( offset );
try {
/* check if the new string is a valid integer */
Integer.parseInt( newStr );
valid = true;
} catch ( NumberFormatException ne ) {
/* invalid, if not an integer */
valid = false;
Toolkit.getDefaultToolkit().beep();
if ( valid ) {
super.insertString( offset, str, attSet );
} -
Hide coupled numeric value in Publisher
Hi everybody,
is there any possibility to hide a coupled numeric value (only one of the two) in Publisher?
For instance, I have coupled numeric value with 5g/10lb. I want to display on the metric value.
Cheers
ChristianHi Christian,
I believe that it is not possible to achieve this requirement with current MDM Publisher.
Please consider filling a feature request.
Regards,
Hedda Cohen.
Maybe you are looking for
-
MACPRO: Is there an interface that uses DIGITAL AUDIO IN?
I just got my new MacPro (woohoo!) and was getting ready to replace my 'ol tube preamp-to-soundcard configuration with a FW input box... when I realized I only have ONE of each FW port! I already have my USBs overpopulated, and my FW800 daisy-chainin
-
Please help me! My MacBook was stolen along with an external hard drive that had all my photos of my children on them. I hadn't backed to iCloud or backed anywhere else. I am distraught. No find my mac either...help...please... Some programmes are st
-
Problem Creating Postscript File with FrameMaker 7.2
My usual book easily goes more than 500 pages with lots of graphics (eps) and text. I am trying to create pdf. My problem is I am unable to print book in one shot - always received error messages. If I break the book and print selected files, I am ab
-
Wegen dem fehlenden Nachschlagewerk für die CS3 habe ich begonnen ein Wiki-Handbuch für die Master Collection zu erstellen. Ziel ist es jeden Befehl bzw. Funktion der zahlreichen Programme kurz zu erläutern. Wer Lust und Laune sowie Ahnung/Erfahrung
-
I am unable to figure out how to apply fill and stroke to a path made with the pen tool. If I create a simple path, and then select that path with option-arrow, the fill and stroke functions do not work. What am I doing wrong?