Numeric values range
HI all,
I am facing a problem when enter more than 11 digit in the numeric field. On exit the field, the value change to some other
number.
Also noticed , this behaviour is pdf reader dependent as version 8 and version9 behave differently for the numeric fields.
Pls suggest if there is any solution for this.
regards,
JN
This may be an effect of the IEEE 754 standard used in XFA forms.
If the numbers have more than 16 digits the are rounded automatically (more details can be found in the XML Forms Architecture (XFA)
Specification and FormCalc User Reference.
Another reason may be a pattern you set for the numeric field or a script you use for calculation.
Similar Messages
-
Error : CLI0111E Numeric value out of range
Hello:
While extracting data through generic datasources, extraction fails in the source system with the following error message.
Database error text........: "CLI0111E Numeric value out of range.
SQLSTATE=22003 row=1 col=12"
Any idea what does this mean?
ThanksHello:
While extracting data through generic datasources, extraction fails in the source system with the following error message.
Database error text........: "CLI0111E Numeric value out of range.
SQLSTATE=22003 row=1 col=12"
Any idea what does this mean?
Thanks -
Bcp import error numeric value out of range
lo, I have table with columns of type int. I export this table by using bcp:
bcp dbo.int_table out file.dat -q -CRAW -T -S localhost -E .
Now I want to import it to table with columns of type bigint. I use bcp command:
bcp dbo.bigint_table in file.dat -q -CRAW -T -S localhost -E
I get error:
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
i was trying import table by using format file created based on bigint_table by command:
bcp dbo.bigint_table in file.dat -f format_file_bigint.xml -q -CRAW -T -S localhost -E
but i also gets the same errors.
Can I use format file when during export was used -CRAW option????int table:
CREATE TABLE [INT_TABLE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[COL1] [int] NOT NULL,
[COL2] [datetime] NOT NULL,
[COL3] [datetime] NOT NULL,
[COL4] [datetime] NOT NULL,
[COL5] [datetime] NOT NULL,
[COL6] [bit] NOT NULL,
[COL7] [bit] NOT NULL,
[COL8] [numeric(15,2)] NOT NULL,
[COL7] [numeric(15,2)] NOT NULL,
[COL8] [numeric(15,2)] NOT NULL,
[COL9] [int] NOT NULL,
[COL10] [int] NOT NULL,
[COL11] [datetime] NULL
big int table:
CREATE TABLE [BIGINT_TABLE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[COL1] [int] NOT NULL,
[COL2] [datetime] NOT NULL,
[COL3] [datetime] NOT NULL,
[COL4] [datetime] NOT NULL,
[COL5] [datetime] NOT NULL,
[COL6] [bit] NOT NULL,
[COL7] [bit] NOT NULL,
[COL8] [numeric(15,2)] NOT NULL,
[COL7] [numeric(15,2)] NOT NULL,
[COL8] [numeric(15,2)] NOT NULL,
[COL9] [bigint] NOT NULL,
[COL10] [bigint] NOT NULL,
[COL11] [datetime] NULL
The int table was exported by bcp command:
bcp int_table out 'c:\int_table.dat' -q -N -T -C RAW -S localhost
and i try import it by command:
bcp bigint_table in 'c:\int_table.dat' -T -C RAW -q -S localhost -E
then i get this errors:
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Native Client]Numeric value out of range
SQLState = 22003, NativeError = 0 -
JMS Queue XML numeric value out of range
Hi
I have an interface that process the root element of the JMS message.
It is failing on the step Load JMS to XML. The error states: numeric value out of range.
I've analysed the message and determined the exact data item which is 11 digits long.
The JMS model only accomodates for numeric(10,0). I tried changing it, but still get the error.
Any idea what I need to do so that this step will process that data without error?
Cheers
PS ODI 11.1.1.6Hi All, I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email. But here in script i am getting error at while line. Could anyone help. #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]
-
Numeric Value Out Of Range Error in Callable Statement
I keep getting an error whenever I try and pass in a value greater than 9000 into my stored procedure. The procedure call looks like this:
sSelect = "execute sp_storedproc ?, ?, ?, ?, ?, ?, ?";
CallableStatement call = objConn.prepareCall(sSelect);
call.setString(1, "TEST"); //DB TYPE = VARCHAR
call.setInt(2, 4); // DB TYPE = INTEGER
//*******************PROBLEM LINE***************************
call.setFloat(3,(float) 9001); //DB TYPE = MONEY
call.setInt(4, 25 ); // DB TYPE = INTEGER
call.setFloat(5,(float) 0); // DB TYPE = MONEY
// output parameters
call.setDouble(6, 0);
call.setDouble(7, 0);
call.registerOutParameter(6, Types.DOUBLE);
call.registerOutParameter(7, Types.DOUBLE);
// execute stored procedure
call.execute();
// retrieve value
val1= call.getDouble(6);
val2= call.getDouble(7);
I keep getting a "[Microsoft][ODBC SQL Server Driver]Numeric value out of range." error.
I'm using MS SQL server 2000. The error only occurs when I pass in values > 9000. Since there's no direct mapping between java data types and SQL MONEY data type, I've tried passing every possible type into the procedure with the same result (e.g. float, long, double, int, BigDecimal). If anyone has come across this problem and knows a solution please help!!
Thanks.knows a solution please help!!Modify the stored proc so it takes a varchar. In the stored proc convert the string to the correct type. In java use setString() to pass in the value.
-
Numeric value out of range (null) - Inserting a double
Allright,
I can't figure this out to save my life.. I am refusing to put my code up because I am trying to insert into a DB Table with 140 some fields, so I will explain as best I can.. I am trying to insert a double into my DB.. I have been getting a numeric value out of range error on insertion. Just to see if it was a db problem, I shortened my query to 4 fields and two of them being the doubles for insertion. They inserted fine. So needless to say, i presumed that my insert statement for the 140 fields query was off. I double checked it and everything seems to be in order. I still get the error. I can assure that everything matches up.. my SQL string looks like this :
SQL = "INSERT INTO TABLE 1 (VAL1, VAL2, VAL3 ... VAL146) VALUES (?, ?, ? .... ?);
and my preparedStmt :
ps = con.prepareStatement(SQL);
ps.setInt(1, val1);
ps.setInt(2, val2);
ps.setString(3, val3);
ps.setDouble146, val146);
ps.executeUpdate();
Please help me solve this..
EdThe name of the table is FAC.
Here is the query:
INSERT INTO FAC (FAC_SK, KEY, ACTIVITY, BE_NUMBER,CATEGORY, CC, CLASS_LVL, CONDITION, COORD_BASIS, COORD_DATUM, COORD_DERIV,DOMAIN_LVL, EVAL, GRAPHIC_CC, GRAPHIC_ED_NUM, GRAPHIC_SCALE, GRAPHIC_SERIES,LAST_CHG_USERID, MIDB_TIMESTAMP, OPER_STATUS, OSUFFIX, PROD_LVL_CAP,PROD_LVL_REQ, RECORD_STATUS, RES_PROD, COORD, DATETIME_CREATED,DATETIME_LAST_CHG, FAC_NAME, GRAPHIC_AGENCY, GRAPHIC_ED_DATE,GRAPHIC_SHEET, REVIEW_DATE, ACCESS, AFFILIATION, AIR_DEF_AREA,ALLEGIANCE, BE, CAPACITY, CAPACITY_EVAL, CAPACITY_MAX, CAPACITY_UM,CLASS_RATING, CMD_CNTL_COMM, CODEWORD, CONDITION_AVAIL, CONTROL_MARK,COORD_DERIV_ACC, COORD_DERIV_ACC_UM, COORD_ROA, COORD_ROA_CONF_LVL,COORD_ROA_UM, CPFL, CRITICAL_INDUSTRY, DECLASS_ON, DEGREE_INTEREST,ELEVATION, LAT, LON, ELEVATION_ACC, ELEVATION_CONF_LVL, ELEVATION_DATUM,ELEVATION_DERIV, ELEVATION_DERIV_ACC, ELEVATION_DERIV_ACC_UM, ELEVATION_MSL,ELEVATION_MSL_ACC, ELEVATION_MSL_CONF_LVL, ELEVATION_MSL_DERIV, ELEVATION_MSL_DERIV_ACC,ELEVATION_MSL_DERIV_ACC_UM, ELEVATION_MSL_UM, ELEVATION_UM, FOREIGN_TECH_CC,FOREIGN_TECH_PERCENT, FPA, FUNCT_PRIMARY, FUNCT_SECONDARY, GEOIDAL_MSL_SEPARATION,GEOIDAL_MSL_SEPARATION_UM, ILAT, ILON, INTEGRATION, LINE_QTY, MED_DIAGNOSTICS,MED_MASS_CASUALTY, MIL_AREA, MIL_GRID_SYS, MODERNIZATION, MSN_PRIMARY, MSN_PRIMARY_SPECIALTY,MSN_SECONDARY, MSN_SECONDARY_SPECIALTY, OPEN_STG_COVERED, OPEN_STG_FILLED, OPEN_STG_TOTAL,OPEN_STG_UM, OUTPUT, OUTPUT_EVAL, OUTPUT_MAX, OUTPUT_RATE, OUTPUT_UM, PERIODICITY, PIN,POL_SUBDIV, POP_AREA, POP_AREA_PROXIMITY, POWER_DISTRICT, POWER_DISTRICT_SUB, POWER_SOURCE,RECUP_INTRVL, RECUP_INTRVL_MAX, RECUP_INTRVL_UM, RECUP_LOSS_IMPACT, RECUP_REPAIR_PRIORITY,RELATIVE_RANKING, RELEASE_MARK, ROLE_LVL, ROLE_TYPE, SCALE, TDI, TGT_RESTR, TURN_AROUND_TIME,WAC, WATERBODY, ADDRESS_NAME, CAPACITY_DATE, CAPACITY_EVAL_DATE, COORD_DATETIME,DATETIME_BEGIN, DATETIME_END, DATETIME_FIRST_INFO, DATETIME_LAST_INFO, DECLASS_ON_DATE,LOC_NAME, MAX_DEMO_USE, MIL_GRID, OUTPUT_DATE, OUTPUT_EVAL_DATE, PLACE_NAME, POSTAL_CODE,SCENARIO_SET, STREET_NAME, STREET_NUM, SYMBOL_CODE, UTM) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
The query works fine if I have no value for the two doubles : LAT and LON..
If I have a value for them, the thing gives me an error:
Numeric value out of range (null)
If you see anything wrong with that query.. Let me know..
Takizzle -
I'm fairly new to LiveCycle, I've used it to make forms for a bit, but am now hoping to make the forms much more advanced. I'd like to know the best way to set a value range/parameter for a numeric field? I want the filler to be restricted to a range of $300 to $10,000 and if they try to enter below or above that value they would receive an error message. I've looked at all the beginner material and am trying to get introduced to FormCalc and/or JavaScript but not fully comprehending the best/complete method (any guidance on where to start is also greatly appreciated).
Thanks, Edif (((300 < this.rawValue) && (this.rawValue < 10000)) || (this.rawValue == null)){
true
} else {
this.rawValue = null;
app.alert("Please enter a value between 300 and 10.000")
I changed some things though... ^^
If you want 300 / 10 000 to be true too then set <= instead of <.
You can also change the app.alert message as you want.
If you don't add the null in the beginning you might get an error message if it's on the validate event. If it's in the exit there shouldn't be a problem...
Though this is just a little different from Paul's original solution. -
Numeric value deviates from legal range
Dear Experts,
I am facing this error(Numeric value deviates from legal range (ODBC -1015) [131-183]) while copying P.O. to GRPO.
Plz help on this.
Any suggestion will be highly appreciated.
Regards,
RaviHi,
Please check SAP note:
902123
- Maximum Number in Numeric UDF
Thanks & Regards,
Nagarajan -
Hello, I am getting error of "Numeric value out of range".I've tried increasing Decimal value as well tried chnaginf Intefr to BIGINT.Workflow usd to run fine and all of a sudden it start throwing an error.I've attached session log file.I am using Pushdown optimization and database is netezza. Any help highly appericiated. Regard, Ram
Hi All, I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email. But here in script i am getting error at while line. Could anyone help. #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]
-
BEx report hangs- selecting Alpha numeric values
I am working on the existing customer report
customer is the selection parameter for my report.
Issue is Customer has numerical and alpha numerical values.
If i give parameter rangs of value is numerical
01 - 500 query works fine
01-50cust1
50 cust1 - 195 cust2
query hangs.
Is their any way we can improve the query performance .
for searching alphanumerica values.
I have a workbook is built based on the query.
morethan 6 queries attached in the sheet 1....sheet2
each sheet has it is own query with values.
when I refresh and execute the workbook with the customer alphanumerica values it hangs.
Query is built based on the multiprovider.
Please help me onthisHello,
Try exporting in the 'fully formated grids and text'. It shouldl give you the 'member alias' used in the report.
Looks like if you export in the 'querry ready grids and text' it will show the 'member name' as in database although the report may have used the 'member alias'.
Regards -
Numeric value to letter grade equivalent?
What formula would I enter if I wanted to convert a numeric value (summation or average) into a letter grade? For example, I would like to create a formula that would look at a numeric value, determine its range, and then assign a simple letter grade. Thus, if Cell C3 (with a numeric value) is between 70-79 then input "C", if Cell C3 (again with the numeric value) is between 80-89, "B." Any advice would be much appreciated.
you should use a lookup table to achieve this.
Create a small table (called "Grades", the table on the right) where the first row a is a header row and the grades are entered as show:
To use this table enter some grades (like I did in the column "Average", column B), then enter the formula:
C2=VLOOKUP(B2, Grades::A:B, 2, 1)
this is shorthand for select cell C2, then type (or copy and paste from here) the formula:
=VLOOKUP(B2, Grades::A:B, 2, 1)
now select cell C2 copy
select cells C2 thru the end of the column, paste -
Numeric values longer than 32bit?
Greetings,
I'm an EE student currently working as a LV instrument driver developer
for a well-known T&M equipment manufacturer here in Munich.
My problem is the following: Is it possible to handle numeric values
longer than 32bit in LV? Specifically, one of my instrument driver VIs
needs to supply an initialization value to the Wideband CDMA "long code"
configuration menu of a versatile vector signal generator. This value
can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
I'm not mistaken). The instrument expects this value in hexadecimal
form.
A quick and dirty solution could be either to split up the control range
in 32+9 bits, i.e. place two controls on the front panel, or to use a
string control an
d have the user specify the hex value as a string. Both
solutions are not very desirable though, especially since instrument
driver VIs are meant to be used as sub-VIs in customer-specific programs
and for that reason aren't usually accessed from their front panels.
So, are there any other, more elegant solutions than the ones mentioned
above?
Thanks a lot in advance!
(c) Tobias HermannIn <[email protected]> Tobias Hermann writes:
>My problem is the following: Is it possible to handle numeric values
>longer than 32bit in LV? Specifically, one of my instrument driver VIs
>needs to supply an initialization value to the Wideband CDMA "long code"
>configuration menu of a versatile vector signal generator. This value
>can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
>I'm not mistaken). The instrument expects this value in hexadecimal
>form.
FORMING THE 41-bit STORAGE
You can create any arbitray numerical data length by using a binary
array. This is the best and most direct solution to your needs.
Just remember, LabView allocates binary arrays in multiples of bytes,
so a 41-bit array will be rounded up to a length of 6 bytes or
48-bits; however, LabView knows to return only the first 41-bits to
you upon request.
GENERATING AN ARRAY OF 41-bit VALUES
The next issue is that you need an array of 41-bit numbers. You simply
define this as a 2-dimensional array of binary values. When
initializing this array, be certain you order the dimension indices
such that the fastest moving index has a size value of 41. The slowest
moving index will then be for the actual numerical size of your array.
If you transpose the index definition, nothing will work right! Be
careful!
When your array (above) is defined, it should be shown in LabView as a
brown wire, which deplicts it as a binary 2-dimensional array. If it
is instead shown in a magenta color, then you instead defined and array
(cluster) of 41-bit binary numbers. That will work okay too (and will
even be easier the used), but it will take more storage and will take
LabView longer to handle. However, if you're more confortable will the
latter choice, I can understand that. It does have the feature of being
able to address each 41-bits number directly. With the 2-dim approach
I initially outlined, you'll need to slice out each 41-bit number from
the 2-dim array each time you access (read/write) it.
FORMATTING BINARY INTO HEX
Formatting your storged numbers is an entirely _separate_ issue and
your 41-bits numbers only need to worry about formatting when you
send them to an output device. For a LabView control panel, simply
open a binary array control, then select the appropriate options so
they are displayed in base-2, octal, or hex. LabView supports all
three display formats with any binary indicator.
If you need to format your numbers to a hex string (for an output
device), try the "To Hexadecimal" or "Format & Append" function.
Again, if you're using the 2-dim binary array apprach, you'll need to
slice out each 41-bit number indivdually. If you're using the cluster
(array) if 1-dim 41-bit array approach, you can skip that step.
Frankly, I'm not sure how well LabView's formatting functions work with
1-dim binary arrays, but in principal they should. If they don't work
directly, no big deal. Just cast the 41-bit arrays into U8 numbers
(bytes) and have the formatting function format those numbers into hex
strings; simply one more step.
One question: Why on earth do you want to format the data going
into your instrument in the first place? Almost all instruments will
take binary input _directly_ without formatting it into ASCII (octal,
hex, etc) first. This is much faster because the ASCII of all this
hex stuff requires many more bytes to transfer to your instrument.
Moreover, the instrument then needs to convert the ASCII (hex) back
into binary before it can use any of it. You should investigate
skipping the formatting step altogether. The exception might be
if you're using an RS-232 connection to your instrument where raw
binary isn't allowed. Newer interfaces like GPIB, 1394, etc will
allow binary transfer directly.
COMMENTS ON STRINGS
Don't use strings in LabView. By default, each string get a minimal
memory allocation of 2K. If you define a 100 element (array) string,
that's 200K of memory just to hold those strings. Not a big deal, but
when the memory manager starts doing garbage collection (which is
required with string manipulations), things will really slow down.
String are important, but data should always be stored in a binary
form within any computer, not in ASCII formatted form (hex included).
/\ Mark M Mehl, alias Superticker (Supertickler to some)
<><> Internet: [email protected]
\/ Preferred UUCP: uunet!iastate.edu!mehl
Disclaimer: You got to be kidding; who would want to claim anything I said? -
Hi,
Can anyone tell me what is the use of value ranges. and Can anyoen plz give me example how to give data in value ranges table which is presnt in domain.
thanking u all.
regards,
kavitahi,
A domain defines a value range. A domain is assigned to a data element. All table fields or structure components that use this data element then have the value range defined by the domain.
<b>The value range of a domain is defined by specifying a data type and length (and number of decimal places for numeric data types).</b>
The value range of a domain can be restricted by defining fixed values. If all the fields or components that refer to the domain should be checked against a certain table, this table can be defined as the value table of the domain.
regards,
ashokreddy -
Using Measurement Studio (Vis. Basic), I'm trying to calculate as a numerical value the total or average power between two stated frequencies of the AutoPowerSpectrum. The PowerFrequencyEstimate Method gets me part of the way there. Using appropriate values of the input variables SearchFreq and Span, I divided the range between my two frequencies into 12 segments and let PowerFrequencyEstimate find the frequency and its power at the highest point in each segment. Then I added the 12 resulting powers. Since these are power values at several peaks, not average power over a given frequency range, it's not exactl
y what I want. Do any other approaches occurr to anyone?
Thanks.Most people here won't do your homework for you. If you make an attempt yourself and get stuck then post your code (wrapped in code tags for easy reading), include any errors you get and what line they occur on and most of all ask a specific question. Don't just say "It doesn't work".
However, your assignment mentions that you are not allowed to use inbuilt C/C++ functions. This is a Java forum. Although the languages are similar and some here have C experience, try posting in a C forum. -
Given a string, how do you find the numeric value in sparse ring?
Situation: I receive the string value of the sparse ring, and a control reference to the same type of control, but not the control that sourced the string. How can I convert the string, into the actual numeric value of the ring? For example:
Using the "VISA Select Event Type" ring (Functions -> Instrument I/O -> VISA -> Advanced -> Event -> Select Event Type.ctl), lets say I get the string "ServiceRequest" how do I convert that into 1073684491, the actual value of the ring?
This is a rework of an existing function that worked fine with "normal" rings.
Thanks.Unfortunately this method will not work, its a generic routine that must be able to take any ring, so I can't hardwire the cases to known outputs. And, of course, searching the array of Strings[] will just find me a useless index.
My interm solution is this:
1) pick a small, but likely range of possible values for the ring
2) iterate through these values, assigning each one in turn to ring
3) read the RingText property to see if it matches the passed string
4) if it does, then exit. If it doesn't keep looping.
5) if no value produces a matching string, declare defeat (raise an error or produce other output that indicates a match could not be found).
The routine only runs in the UI so I am not too concerned about the time delay this method will i
mpose, but I would greatly appreciate a smoother solution.
Thanks for your suggestions.
Maybe you are looking for
-
I have old pictures in my external drive that I filled up. I would like to make another iphoto library in a new external drive and have this one for new pictures. Can I do that? And how will I be able to see my old pictures on my older external dri
-
Unit of measure changed in BOM not reflected in Production order
We noticed the following problem in one of our production order. 1. We have a bom component having a unit of measure MT. 2. A planned order already exists for this header material. 3. We changed the unit of masure in the same BOM component to KG. 4.
-
Turning off 1 monitor causing problems?
first off i am trying to explain the situation as best as possible here so please ask if this doesnt make sense. i have 2 LCD's hooked to the new Mini as such: 1 going mini display port to DVI adapter to DVI on 19" Monitor (standard monitor) 1 going
-
hello guys.. i need some information, i want to download ringtone with title "winter sonata" , how to donload from itune? because i can"t find this song on itune ringtone list.. thanks a lot for your help..regards
-
hi all, please let me know how to create structures in directory tree of the selected info provider, thanks in advace manu