Hex character into columns
Hi, I am trying to go from ascii characters to Hex. It works fine. but I need my hex numbers to show in 4 columns ( as show on this text file, how can I do that?
Attachments:
ascii to hex.vi 7 KB
Hex.txt 1 KB
Darin.K wrote:
For the non-Regex-impaired and those who dislike padding with zeros.
Regular expressions are much more clear after they have been compiled to machine code.
Spoiler (Highlight to read)
Just kidding. They only look confusing if you are not familiar with them. They really do make sense after you learn them and are very powerful!
Just kidding. They only look confusing if you are not familiar with them. They really do make sense after you learn them and are very powerful!
=====================
LabVIEW 2012
Similar Messages
-
Non-hex character in hex string after upgrade to Yosemite
Hi,
When I try to open some of my files I get an error: "Acrobat PDF File Format is having difficulties. Non-hex character in a hex string". I could open the files before.
The only thing I've done since I opened the file last was to upgrade to Yosemite. The error occurs on both my Mac Pro (late 2013) and Mac Book Pro with Yosemite. Unfortunately, I have no access to a Mac with Mavericks and CS6 but I will try to fix one to verify that the file works there.
Affected files (Created in Illustrator CS6 on Mavericks):
services.ai
visual guidelines v.0.4.pdf
visual guidelines.ai
Tested steps:
Open previous versions of the same file from our repository
Update Illustrator CS6 to latest version
Download Illustrator CC
Tried to Place the file into another file (same error)
Tried to repair file Enable content recovery mode | Illustrator CS2-CS5Hi svepdesigncenter,
How you are accessing those files from your repository?
There might be chances of getting files corrupted when transferring.
File may have been sent as ascii when it should have been sent as binary or vice versa.
In 99% of transfers it's ALWAYS safest to zip an AI or eps file before sending it anywhere.
Regards,
Sumit Singh -
Tab character into an output file
Hi all,
I need to put a tab character into an output file in abap.
I want to create an output file that can be opened in excel, but i dont want to call excel from abap, just create the file and open later.
the tab is what automatically delimits the columns in excel
Any Ideas ??
Please do let me know
Thanks,
DanHi daniel,
1. while calling fm GUI_DOWNLOAD
2. if we give
WRITE_FIELD_SEPARATOR = 'X'
3. then TABS will automatically come.
4. or else u can use the tab character with
5. CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
regards,
amit m. -
I am experiencing issue with my SharePoint site , when I am trying to add new Item in List . Error given below :--> 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 SharePoint Server Logging Correlation Data 9gc5 Verbose Thread change; resetting trace
level override to 0; resetting correlation to e2e9cddc-cf35-4bf8-b4f3-021dc91642da c66c2c17-faaf-4ff9-a414-303aa4b4726b e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 Document Management Server Document Management 52od
Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/sites/00003/Lists/PM%20Project%20Status/NewForm.aspx?RootFolder=&IsDlg=1]. Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3)
level for this list. e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.17 w3wp.exe (0x1B94) 0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Starting correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.17 w3wp.exe (0x1B94)
0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Ending correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.31 w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Cannot insert
the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavi... e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015
08:23:36.31* w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High ...or runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
command, CommandBehavior behavior,Are you trying to setup P2P? Could you explain the process you followed completely? By anychance you create the backup and then created the publication?
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Is there a way to turn a text character into an image?
Is it possible to turn a text character into an image/shape...using Pages or any other iLife or iWorks app?
Reason being - I want to use a certain font and a character in it, but that particular font is not being recognized/shown properly by another computer. I want to make sure the text character shows up as I intend, and I figure the way to do that is by turning the text character into an image/shape (like a jpeg maybe? or a tiff or gif? I don't know too much about the difference between these last two). Then I can paste that image onto any background and have it still look like text laying on top of the background.
Hope that makes sense, and many thanks in advance for any insights!Although it saves the text character as an image, it also saves the background (the white of the page) as part of that image. So when the character is pasted into a document whose background is anything other than white, it doesn't look like a simple text character anymore. It looks like a white box with a text character in it. You know what I mean?
I'm thinking I might need to use whole 'nother graphics program to do this whole deal...what do you think?
Rather than using Preview, create the new image from the clipboard in GraphicConverter & use the transparency wand to make the background transparent. Then use ⌘ E to select just the image & save, choosing to save just the selection. -
REP-1425 report formula DO_SQL error putting value into column
Hi all
I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
rep-1425 report formula DO_SQL error putting value
into column. Column may not be referenced by parameter
triggers
appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
COMMIT;
RETURN('');
I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
Thanks.
Therese Hughes
Forest Products CommisionHi again
The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
Properties prop = System.getProperties();
prop.put("http.proxyHost","yourProxyServer");
prop.put("http.proxyPort","youProxyServerPort");
I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
Cheers
Tino
Here there mail I set up before I found that restarting Report Builder helped:
Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
popping up, but instantly and not after 10 seconds like before:
My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
be the correct syntax:
public Float getRate(String country1, String country2) throws Exception
Float returnVal = null;
Properties prop = System.getProperties();
prop.put("http.proxyHost","proxy.ch.oracle.com");
prop.put("http.proxyPort","8080");
URL endpointURL = new URL(endpoint);
Call call = new Call();
I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
"proxyy.ch.oracle.com", they fail.
After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
proxy or whether there is another problem after passing the firewall....
------------------------------------------------------------------------------------------------------------- -
Help needed in inserting into column of XML type
i have requirement of inserting data into column of xml type
eg
cust product cost
1 a 3
1 b 7
1 c 5
now required result should
<PROD-LIST>
<a>3</a>
<b>7</b>
<c>5</c>
</PROD-LIST>
Please let me know how to achieve this , i was trying write function , it was working for one values ,but how to do if many values exist .Take a deep breath, then retype this putting in all the words and punctuation you missed out the first time until it makes sense.
Your sample data, for example, could be better formatted using the [pre] and [/pre] tags to preserve formatting and put in a table format. Similarly with your output. Why are two of the numbers floating around freely in your xml but the 3rd isn't? -
If free characteristic is dragged into columns % is not displayed correctly
Hi,
I am working on query designer BW3.5,
In one of my queries I have a key figure for calculating percentage of total number of employees.
the report is working fine.
Now end user is saying that if he drags any of the free characteristic into columns such as state or zip, the % is not displayed instead X is dispalyed everywhere.
Please provide me some pointers as how to resolve this issue.
Thanks,
Rashmi.Hi,
you should have a look at the detailed data within that query. In most cases like this it seems to calculate a value by doing a division by zero. -
Replace hex character in a string with another hex character
Hi Guys,
Heres a problem scenario, hex character 92 looks very much like hex character 27 (apostrophe).
I need to write a program that can replace all hex character 92 to hex 27 in a string.
Being a novice on the regular expressions, I would appreciate if somebody can show
the exact syntax to to perform this replacement.
Many Thanks
-AnilI don't think you need to use regex to do this:
String s = something();
char a = 0x27;
char b = 0x92;
s.replace(a,b);
And don't forget that since Strings are immutable you need:
s = s.replace(a,b);to do anything useful. -
Non-hex character in hex string
I'm getting this messsage when I try to open an Illustrator file:
"Acrobat PDF file format is having difficulties. Non-hex character in a string."
I', using illustrator CS6 and I need my file opened..!Nobody can know without seeing the file and having more info about your system. Does the file open in Acroibat/ Adobe Reader for instance?
Mylenium -
Non-hex character in a hex string error message
Hi everyone,
I encountered n error message in Illustrator "Acrobat PDF File Format is having difficulties. Non-hex character in a hex string." when trying to open a particular file.
File was originally created on a Windows 7 PC, tried opening file on Mac OS 10.7.5, same Illustrator version 18. Also tried opening in PDF, Distiller, but didn't help.
Did tried to change Illustrator Preferences in both Windows and Mac, following the steps in the TecNote:
http://kb2.adobe.com/cps/500/cpsid_50031.html
When trying to open the file from the File > Open menu, with the keys held down, it did not open a blank file window, neither did it created a duplicate copy in the Finder where the file is located.
The file in question had about 15 artboards, a few embedded images, approx 2.6MB size.
Any suggestions/assistance would be greatly appreciated.
Thank you.Hi Monika,
The file was .ai file, as mentioned earlier, was created in Illustrator ver 18.
Not emailed, stored in the folder, on the Windows PC, not a server. Last saved few days ago, tried to reopen the file from the same computer, but could no longer opened.
No, Illustrator did not crash, just the error message "Acrobat PDF File Format is having difficulties. Non-hex character in a hex string." -
Non-hex character in a hex string
My Illustrator file will not open in Illustrator and I get the "non-hex character in a hex string" window whenever I try to open it. It does open in Acrobat but nothing else. I can't even save it as a pdf file..
Is there any way I can get around that or fix it?karam,
The first thing to try is to use File>Place in a new document and see how much, if anything, is saved this way.
The next thing to try is to repair the file code, which is more difficult. The basics are told in this TechNote, the actual recovery consists of changing/adding/deleting code.
http://kb2.adobe.com/cps/500/cpsid_50031.html -
hello
i would like to transform rows into columns and need your help
i have
table orders
where we have two columns
orderid,orderdate
orderid order_date
1234 9/10/2009
4555 10/1/2009i have order_codes
have 3 columns
orderid
desc
value
data for order _codes
orderid desc value
1234 ch_code1 5789
1234 ch_date 10/20/2009
1234 ch_miscval 678.9
1234 ch_charge 765
4555 ch_code1 9999
4555 ch_date 10/0/2009
4555 ch_miscval 78.9now
i need to transform data like this
orderid == ch_code1 ==ch_date == ch_miscval == ch_charge == order_date
1234 == 5789 == 10/20/200 == 678.9 == 765 == 9/10/2009
4555 == 9999 == 10/1/2009 == 78.9 == --- == 10/1/2009any help is appreciated
thank you
Edited by: vg on Nov 2, 2010 9:47 AMtry this. Hope this helps
/* Formatted on 2010/11/02 13:29 (Formatter Plus v4.8.8) */
WITH order_desc AS
(SELECT 1234 orderid, 'ch_code1' descp, '5789' VALUE
FROM DUAL
UNION ALL
SELECT 1234, 'ch_date', '10/20/2009'
FROM DUAL
UNION ALL
SELECT 1234, 'ch_miscval', '678.9'
FROM DUAL
UNION ALL
SELECT 1234, 'ch_charge', '765'
FROM DUAL
UNION ALL
SELECT 4555, 'ch_code1', '9999'
FROM DUAL
UNION ALL
SELECT 4555, 'ch_date', '10/0/2009'
FROM DUAL
UNION ALL
SELECT 4555, 'ch_miscval', '78.9'
FROM DUAL),
order_t AS
(SELECT 1234 orderid, SYSDATE order_date
FROM DUAL
UNION ALL
SELECT 4555, SYSDATE
FROM DUAL)
SELECT a.orderid, MAX (DECODE (descp, 'ch_code1', VALUE, NULL)) ch_code1,
MAX (DECODE (descp, 'ch_date', VALUE, NULL)) ch_date,
MAX (DECODE (descp, 'ch_miscval', VALUE, NULL)) ch_miscval,
MAX (DECODE (descp, 'ch_charge', VALUE, NULL)) ch_charge,
MAX (DECODE (descp, 'order_date', VALUE, NULL)) order_date
FROM order_desc a, order_t b
WHERE a.orderid = b.orderid
GROUP BY a.orderid
Output
ORDERID CH_CODE1 CH_DATE CH_MISCVAL CH_CHARGE ORDER_DATE
1234 5789 10/20/2009 678.9 765
4555 9999 10/0/2009 78.9 Edited by: new learner on Nov 2, 2010 10:30 AM -
Display rows into columns in table
Hi,
I have a table name Ebiz_Upgrade_Task_Status. Here in table there are 8 rows of data with
pro_id,pobj_id,cemli_id and confirmation.
I am trying to convert all the CONFIRMATION into column wise using the query below
SELECT
PRO_ID,
POBJ_ID,
CEMLI_ID,
max(decode(rownum,1,CONFIRMATION,null)) "CP1",
max(decode(rownum,2,CONFIRMATION,null)) "CP2",
max(decode(rownum,3,CONFIRMATION,null)) "CP3",
max(decode(rownum,4,CONFIRMATION,null)) "CP4"
FROM Ebiz_Upgrade_Task_Status
GROUP BY PRO_ID,POBJ_ID,CEMLI_ID
Am able to see first 2 rows of data as columns, and not able to see the next rows. Please suggest me in modifyin the query
tabel strutuce and data
pro_id obj_id cemli_id confirmation
1 2 3 Yes
1 2 3 No
1 2 3 NA
11 22 33 Yes
11 22 33 NO
11 22 33 NA
Please suggest me in modifying the code
Thanks
SudhirThanks for posting more details.
Using rownum caused your confirmation fields to be null:
SQL> select * from temp1;
PRO_ID POBJ_ID CEMLI_ID CONFIRMATION
111 222 333 yes
111 222 333 no
111 222 333 na
11 22 33 na
11 22 33 no
11 22 33 yes
6 rows selected.
SQL> col cp1 format a10
SQL> col cp2 format a10
SQL> col cp3 format a10
SQL> select pro_id
2 , pobj_id
3 , cemli_id
4 , max(decode(rownum,1,confirmation,null)) "cp1"
5 , max(decode(rownum,2,confirmation,null)) "cp2"
6 , max(decode(rownum,3,confirmation,null)) "cp3"
7 from temp1
8 group by pro_id
9 , pobj_id
10 , cemli_id;
PRO_ID POBJ_ID CEMLI_ID cp1 cp2 cp3
11 22 33
111 222 333 yes no na
SQL> select pro_id
2 , pobj_id
3 , cemli_id
4 , max(decode(confirmation, 'yes',confirmation,null)) "cp1"
5 , max(decode(confirmation, 'no',confirmation,null)) "cp2"
6 , max(decode(confirmation, 'na',confirmation,null)) "cp3"
7 from temp1
8 group by pro_id
9 , pobj_id
10 , cemli_id;
PRO_ID POBJ_ID CEMLI_ID cp1 cp2 cp3
11 22 33 yes no na
111 222 333 yes no na
SQL> -
Converting Rows into Column in Oracle 10g
Hi All,
I m using Oracle Version 10.1.0.2.0 - Production
I have requirement to convert rows into column wise as per the following:
My Query is:
WITH t
AS ( SELECT 'A' AS x, 100 AS y FROM DUAL
UNION ALL
SELECT 'B',200 FROM DUAL
SELECT X, Y
FROM t;
X Y
A 100
B 200
My Requirement is
A B
100 200
So any one could help me that how I resolve this.
Regards,
PrasantaDear frank,
Thanks for your support,.
It's working fine for static cases.If the first column is dynamic then how come i will resolve it.
Example:
Create table mytab (ID_C Varchar2(15),Value_N Number);
Records Population into MyTab table is dynamic.
Insert into mytab values('HO',5000);
Insert Into mytab values('PG1',2400);
Insert Into mytab values('PG2',3000);
Insert Into mytab values('PG3',800);
Commit;
SQL> Select * From MyTab;
IDC_ ValueN_
HO 5000
PG1 2400
PG2 3000
PG3 800
Then My expected result will be as follows
HO PG1 PG2 PG3
5000 2400 3000 800
Thanks and Regards,
Prasanta
Maybe you are looking for
-
WinCE Projector does not display flash file properly
Hi, I built a projector application for loading flash files on a Windows CE 5.0 based embedded device. I am using Flash player 7 for WinCE5.0. The projector was built using embedded VC++ for an ARM processor. The basic idea of this flash application
-
USING DBMS_SQL WITH A PARAMETERIZED DML STATEMENT
create or replace procedure insert_row ( table_name varchar2, id varchar2,name varchar2, region number) is csr_id integer; stmt varchar2(200); rows_added number; begin stmt := ' INSERT INTO ' || table_name || ' VALUES ( :cid , :cname, :rid ) ' ; csr_
-
Performance problem in Mapping Designer using UDF with external imports
Hello, we do have a big performance problem in developing (not in execution) graphical Mappings as far as we use "user defined functions" (UDF) with include-entries referencing to jar files which are imported as "imported archives". For example the e
-
Item Clear Cache After Submit Press
hi, i have 5 item on a page Like P1_A, P1_B, P1_C, P1_D, P1_E . I want here when i press submit button then value of P1_A, P1_B, P1_C, P1_D, P1_E should be in insert into table and clear Cache last item P1_C, P1_D, P1_E and value of item P1_A,P1_B sh
-
How to restore older backups? I can only access the latest backup but I need the one before that.