Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
AnswerRe: Visual diff of 2 DataTables Pin
Luc Pattyn2-Oct-10 4:10
sitebuilderLuc Pattyn2-Oct-10 4:10 
AnswerRe: Visual diff of 2 DataTables Pin
PIEBALDconsult2-Oct-10 15:48
mvePIEBALDconsult2-Oct-10 15:48 
QuestionDebug Break Pin
Richard Andrew x641-Oct-10 7:51
professionalRichard Andrew x641-Oct-10 7:51 
AnswerRe: Debug Break Pin
OriginalGriff1-Oct-10 8:16
mveOriginalGriff1-Oct-10 8:16 
GeneralRe: Debug Break Pin
Richard Andrew x641-Oct-10 8:22
professionalRichard Andrew x641-Oct-10 8:22 
GeneralRe: Debug Break Pin
OriginalGriff1-Oct-10 8:30
mveOriginalGriff1-Oct-10 8:30 
AnswerRe: Debug Break Pin
Abhinav S1-Oct-10 18:08
Abhinav S1-Oct-10 18:08 
QuestionDecoding non-ascii characters Pin
Chriso821-Oct-10 1:58
Chriso821-Oct-10 1:58 
Hi everyone,

I've been struggling with this for a while now and was wondering if anyone could help me out..

I have an RFID reader connected to a serial port, and I am reading the EPC(ID) from it in my C# program using the .NET SerialPorts class.

Reading the tag EPC from my C# program.
string data = serialPort.ReadExisting();

I convert the data to a Char array using data.ToCharArray();
Then using a foreach loop read each letter of the array and add it to a string which comes out like this:
¥I.¦.+‰˜X.#Âu˜.âa›¥«ø

On the reader itself it displays the correct hexadecimal value:
E2003411B802011207098357

Can anyone tell me how I can decode the value I am getting in my program this to a hexadecimal value:confused :
The value I am expecting from the reader is a 12 byte value.

I appreciate any help.

Regards,

Chris
AnswerRe: Decoding non-ascii characters Pin
Luc Pattyn1-Oct-10 2:10
sitebuilderLuc Pattyn1-Oct-10 2:10 
AnswerRe: Decoding non-ascii characters Pin
Chriso821-Oct-10 3:51
Chriso821-Oct-10 3:51 
GeneralRe: Decoding non-ascii characters Pin
Luc Pattyn1-Oct-10 4:47
sitebuilderLuc Pattyn1-Oct-10 4:47 
Questionhow to program cash drawer? Pin
Syed Shahid Hussain1-Oct-10 0:26
Syed Shahid Hussain1-Oct-10 0:26 
AnswerRe: how to program cash drawer? PinPopular
OriginalGriff1-Oct-10 0:34
mveOriginalGriff1-Oct-10 0:34 
JokeRe: how to program cash drawer? Pin
Sauro Viti1-Oct-10 0:51
professionalSauro Viti1-Oct-10 0:51 
GeneralRe: how to program cash drawer? Pin
OriginalGriff1-Oct-10 0:56
mveOriginalGriff1-Oct-10 0:56 
AnswerRe: how to program cash drawer? Pin
Luc Pattyn1-Oct-10 1:04
sitebuilderLuc Pattyn1-Oct-10 1:04 
AnswerRe: how to program cash drawer? Pin
PIEBALDconsult1-Oct-10 3:10
mvePIEBALDconsult1-Oct-10 3:10 
AnswerRe: how to program cash drawer? Pin
Chris Trelawny-Ross1-Oct-10 5:08
Chris Trelawny-Ross1-Oct-10 5:08 
GeneralRe: how to program cash drawer? Pin
Syed Shahid Hussain1-Oct-10 5:09
Syed Shahid Hussain1-Oct-10 5:09 
GeneralRe: how to program cash drawer? Pin
OriginalGriff1-Oct-10 5:21
mveOriginalGriff1-Oct-10 5:21 
AnswerRe: how to program cash drawer? Pin
Abhinav S1-Oct-10 5:54
Abhinav S1-Oct-10 5:54 
AnswerRe: how to program cash drawer? Pin
spencepk2-Oct-10 5:27
spencepk2-Oct-10 5:27 
QuestionDeploying new WCF service does not expose client ???!!! Pin
Michael Eber30-Sep-10 11:40
Michael Eber30-Sep-10 11:40 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
PIEBALDconsult30-Sep-10 17:55
mvePIEBALDconsult30-Sep-10 17:55 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
Abhinav S1-Oct-10 5:56
Abhinav S1-Oct-10 5:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.