Non-numeric values in analog I/O points
I have a system with a FP-3000 controller and a series of TC-120 and RLY-420 modules. At various times I am receiving erros for non-numeric values in some of the analog I/O points. The value, as stated by Ni-FIBUS is "-1.#IND".
Does any one know what this is? Also once this value appears, It is impossible to get rid of it. The function must be completely deleted and re made from scratch.
Some general suggestions:
1. Settings of Function Blocks do not match the real input values, such as type mismatch. You need to verify the value data and type.
2. Invalid Scaling settings, the units of parameters between connecting function blocks may not match. Please check the block input and output.
Similar Messages
-
Non numeric value in numeric field giving error
Hi All
I am using BAPI for creating sales order. If user is giving non numeric value in Quantity field it is giving error. Because quantity field data type is Double.
Please Help.
Thanks
RaktimHi Banerjee,
Create a String/int/long Context variable and point it to UI Input element.Do the validation for correct input value. once the validation is succesful assign that value to RFC BigDecimal variable by Explicit casting.
Hope this might solve your problem .
Thanks
Madhan -
How to check non-numeric value in a field
Hi all,
I have a field 'MVALUE'. HOw can I check if I have a non-numeric value in my field. Let us say if I have a value '<25' in this field. How can I check if the value in this field is non-numeric. The field MVALUE is of CHAR datatype.
Please help. Waiting.........Might have to add a space in the string...
if not mvalue co ' 0123456789'.
* error
endif.
if you allow decimals and commas...
if not mvalue co ' .,0123456789'.
* error
endif. -
Script to replace non-numeric value of column to blank
Hi
I want to replace non-numeric value of column to blank. Can any one help me out.
For example:
column1
234 kjnkj 12e
555565asd44
1232334343
Now I want to that update cloumn with blank value which contains non-numeric value in itTry the following
select translate(column1,translate(column1,' +-123456789',' '), ' ') b from dual; -
Query only non numeric values in a column
How to query only non numeric values in a cloumn.
For example:
Table1 has a column1(col1)
Values:
Row Value
1 27376
2 47D99
3 83039
4 DKFI*
5 3J6
Query should retrieve only rows(2,4,5).
Thanks! for help
MuraliVersion 2(PL/SQL) above is not clear enough, It can be tuned to the following:
-- Create a function
Create or replace function IsVARCHAR(pCol VARCHAR2) return VARCHAR2
AS
vNumber NUMBER := 0;
begin
vNumber := to_number(pCol);
RETURN NULL;
Exception
When Others Then
RETURN pCol;
End;
-- To See VARCHAR values (alpha-numeric) only!
SELECT col1 FROM tab1
WHERE IsVARCHAR(col1) IS NOT NULL;
-- To See NUMBER values only!
SELECT col1 FROM tab1
WHERE IsVARCHAR(col1) IS NULL;Versatility here with PL/SQL, but I personally like SQL versions.
Thx,
SriDHAR -
ALV WebDynpro Hierarchy -Setting non-numeric values in the header level row
Hi Experts,
When setting up an ALV table as a table hierarchy the standard ALV settings only seem to allow for numeric values to be displayed in the higher hierarchy levels. Is there a way to also set the values for some non-numeric columns into these higher-level rows - programmatically or through the ALV Settings?
Example: I have delivery item level data in my context and the delivery number as a hierarchy column. Some columns in my context however actually come from the delivery header e.g. delivery block, delivery priority, ship-to etc and I would like to display these in the collapsed header rows of the delivery number.
It seems obvious to me that this should be doable otherwise if you are looking at at a list of hundreds of deliveries and all you see besides the delivery number is numeric data such as sums & totals, it's kind of hard to know which delivery you might want to expand the sub-level for.
Please help,
PeterHi,
Even we have faced the same issue.
In ALV hierarchy, we cannot display data at header items/levels. this is a constraint in ALV. You can achieve the same usign TABLE UI element. -
Non-Numeric Values in Appraisal Template
All,
I wanted to know if these are possible
1) How we can make the columns to accept the non-numeric characters. Currently it only accepts the numeric.
2) How can we make the columns blank - Current it always shows "0.0" - for eg.
Please see the screen shot here
http://img600.imageshack.us/img600/8420/appraisal.jpg
Aneez>
Hire to Retire GT Project wrote:
> All,
>
> I wanted to know if these are possible
>
> 1) How we can make the columns to accept the non-numeric characters. Currently it only accepts the numeric.
>
> 2) How can we make the columns blank - Current it always shows "0.0" - for eg.
>
> Please see the screen shot here
>
> http://img600.imageshack.us/img600/8420/appraisal.jpg
>
>
> Aneez
Hi Aneez,
for free text input.
I control by making the column = "no entry", but than enabling the notes field. The other advantage to the notes field is you can easily control the length of the text box in the config.
for value input you just need to configure the value class. -
Plot empty point in line chart with previous non empty value
Hello,
I have a problem to plot series data in SSRS line chart, with the empty point, I don't want use average and zero provided by the report builder, I want use the last non empty data to fill the empty point, tried to use expression =Previous(Field!Value), no
luck, any one have some good idea?
P.S. do not want to use query to fill the null with previous non null value, just from the performance point view. at last , the chart should have some line as square wave with different height, if I use average for empty point, it shows slop wave line which
is not reflect the real production.
Thanks
RichardHi Richard,
In Reporting Services, if the chart type is a linear chart type (bar, column, scatter, line, area, range), null values are shown on the chart as empty spaces or gaps between data points in a series. By default, empty points are calculated by taking the average
of the previous and next data points that are not null.
If we want to use previous value to replace the empty value, please refer to the following steps:
Right-click the field which displayed in Y axis (Height) to open the Series Properties.
In the Value field to modify the expression to look like this:
=iif(isnothing(Sum(Fields!Height.Value)),previous(sum(Fields!Height.Value)),sum(Fields!Height.Value))
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Trying to create non-numeric key figure in Query
Hello, I am trying to add a formula into my BW Query that will return a non-numeric value.
My cube will be used like a standard BW cube 90% of the time, but there is one query request that wants to display atomic data and have non-numeric categories determine at time of query run.
Example:
Field A has integer values
Key Value
Record 1 -1
Record 2 2
Record 3 6
I want to add a calculated field with the following logic:
If Value is <= -1 then display "Early" else if Value is >-1 and <=5 then display "On-Time" else if Value is > 5 then display "Late". The -1 and 5 values will be replaced with variables that will be required on the selection screen.
This would return a grid as below:
Key Value Calculated Field
Record 1 -1 "Early"
Record 2 2 "On-Time"
Record 3 6 "Late"
I haven't been able to figure out how to set up this field. Any ideas?Hi,
check these help links
http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/95/1ae03b591a9c7ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6305e07211d2acb80000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6312e07211d2acb80000e829fbfe/content.htm
It's a big topic so it's not possible to write everything here.
You can search the forums also.
Thanks -
FM WHICH adds leading zeroes to a non numeric input
hi i need the<b> fm name</b> which will add leading zeroes to anu non numeric input
say
input is <b>ABC</b>
SO MY OUTPUT SHOULD BE
<b>000000000000ABC</b>
URGENT
NEED A FUNCTIOJN MODULE NAMEi think no fn module is there for non numeric values to add zero do like this..
data : text(20) value 'ABC',
len type i.
compute len = strlen( text ).
len = 20 - len.
do len times.
concatenate '0' text into text.
enddo.
write : / text.
regards
shiba dutta -
I need to filter out certain numeric values from a column.
The column has mix values of 1, 02, MA, sentences, A, 500.00,
2059678974, 006702.
I used IsNumeric() to filter out non-numeric values like A or
sntences, MA, etc. But I also need to filter out 1, 2 and 3 digits
numbers and floating typed number (234.00 or 324,345)
Can anyone tell me what function can I use to get a pure 4 to
6 digits number?A much better way to do this is:
<CFIF REFind ("^[0-9]{4,6}$", yourString)>
<!--- It's good. --->
<CFELSE>
<!--- It's bad. --->
</CFIF>
However, the BEST way is to select these columns right in the
query.
Most RDBM's can easily do this. Syntax depends on which RDBMS
you are using. -
Filter Numeric Value between Character
Dear All
I have a field name "ControlName " in SQL Server 2012 table. How do I get the int value after 'B' and before 'C' from
ControlName
AB123C7
B1234C9
I want to get result like
ControlName
123
1234
Thanks in advance
RegardsI have come across one solution from stackoverflow with XML Path to remove the non numeric value from a string and I modified the code to work for you as an example:
create table test (ControlName varchar(100))
insert into test values( 'AB123C7'),('B1234C9')
;with processTable as (
select Cast(ControlNameNum as int) ControlNameNum
from test
cross apply (
select (select C + ''
from (select N, substring(ControlName, N, 1) C from (values(1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12)) Num(N) where N<=datalength(ControlName)) t
where PATINDEX('%[0-9]%',C)> 0
order by N
for xml path(''))
) p0 (ControlNameNum)
SELECT ControlNameNum
FROM processTable
drop table test
http://jingyangli.wordpress.com/2014/03/18/a-sample-to-remove-non-numeric-values-from-columns/
http://stackoverflow.com/questions/18625548/t-sql-select-query-to-remove-non-numeric-characters -
Ascii value of a non numeric string literal
hi,
i would like to get the ascii value of a non numeric string
having special characters from extended ascii set.
for example i have a user id "J��o M��" and i want to get the ascii value of each character in this string.
(There are special characters having ascii value more than 127, present in string literal)
if you know some methods to do that ??
thanksUse charAt(i) to give you each char in the string. A char is also the numeric value of the character: note that there's no such thing as "extended ASCII" -- ASCII is the first 128 characters of Unicode, and Java uses Unicode characters.
String str = "Hello";
for (int i = 0; i < str.length(); i++)
System.out.println((int) str.charAt(i)); // cast to int so the char is displayed as a number -
How to find first non zero value from the numeric value or string?
Hiii, Every body
I have one numeric indicator in which some valuse is coming with the decimal value, lets say 0.00013, now i want to find the first non-zero value from this numeric indicator, then what should i do to do so? i have converted it in the string, but i could not find any method to find first non-zero value from that string or either from the numeric indicator????
Can you please help me, how to do it? i have attached the vi and write all the description inside.
Thanks in Advance,
Nisahnt
Attachments:
Find first nonzero.vi 20 KBJust convert it to an exponential string and take the first character .
Message Edited by altenbach on 05-10-2006 08:00 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
FisrstNonzeroChar.png 3 KB
FindFirstNonzeroCharacter.vi 20 KB -
Passing non numeric Timestamp values in go URL
Hi Experts,
I am using the following go url to pass a datetime attribute from one dashboard(pivot report) to another(chart view)
"<a href=https://dev12biee.tims.intra.aexp.com/analytics/saw.dll?Dashboard&_scid=TqpCXFvMME8&PortalPath=/users/administrator/_portal&Page=Test2&Action=Navigate&P0=1&P1=eq&P2=Time.Start_Date&P3='||Time.Start_Date||'style="text-decoration:none;">'||'Graph'||'</a>"
replace ][ with ' < / a >'
It throws me the error : " Function concat does not supports non text types."
How to sort this out, how can I put them together without using concat or does that means that i cannot transfer non numeric attributes which does not seems to be a possibility.
Secondly any help about the various opertators (<,> etc), their syntax that we can use in parameter P1 of the above url.
Thanks in advance,
AnuraThanks TKB , but concerning the URL issue the posts are not of help , my go url is working absolutely fine with other parametes, but it is posing problem witht his datetime attribute.
I am not able to understand what's going wrong
Maybe you are looking for
-
I recently started hosting my site using Lion Server. It's my first experience administering a server, so I'm kind of new to this. I added a new server, my site's domain name, to the server list, alongside imac.local, my own computer. I then added We
-
Where is Resources tab in Oracle VM 3.1.1 (Build 365)?
I have Oracle VM 3.1.1 (Build 365) running under VirtualBox via an appliance import. I wish to import the "E-Business Suite Release 12.1.3 Vision Media pack for x86 (64 bit)" VM template. The readme that accompanies the EBS media pack specifies the f
-
Exception Handling Concept Gone Bad!!
Okay, this is by far the most embarrassing hack of code I've done thus far . . . but it works. I am trying to run a select where if there is no data or null returned, place it into the value "v_pidm', and then let the action occur. Simple enough, rig
-
How do you dual boot Windows XP on a Mac?
I'd like to know the best way to use dual-booting to run both Windows XP and Mac OS X on my G4 PowerPC machine. First of all, is this even possible with a PowerPC? I don't know if it only works with Intel-based Macs or what... I'd appreciate it if so
-
Selective cloning of the system (HDD to SSD)
Hello there! First things first, my system is: MacBook Pro9.2 (mid 2012) [13inch, non-Retina] OSX Yosemite 10.10.1 Now the situation: I have stock 500gb HDD, which is almost filled. Im planning on buying a smaller SSD (256gb) [thinking of Crucial - j