LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I convert an ASCII character to an array of co-ordinates.

I need to convert and ASCII character to an array of X, Y co-ordinates. I also need to be-able to vary the size of the text (scale of graph i suppose) and position on the graph So i can desplay multiple characters on a graph. However it needs to be stored in an array (or set of arrays) so i can isue these co-ordinates to an instrument.
0 Kudos
Message 1 of 4
(3,052 Views)
Hello,

I'm afraid you're going to have to clarify your question quite a bit. How does one ASCII character covert into a numeric array?

Perhaps you could attach some screen captures, or some other example, that would demonstrate what you are trying to do so we can better assist you.

Please reply to this thread to clarify your question. Have a nice day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 2 of 4
(3,052 Views)
I am trying to find a simple way to convert a letter (ASCII character) into an array of X,Y co-ordinates. I am involved in two projects that involve spelling letters with lasers. At the moment we are plotting the points on a graph in excel, transferring the co-ordinates into a text file and then converting the content of these text files into a set on 1D arrays. As I am sure you can appreciate this is a very long winded process. Is there anyway of plotting points on an X,Y, graph and outputting those points to an array or set of arrays?

Excel spreadshett is attached.
0 Kudos
Message 3 of 4
(3,052 Views)
Maybe the attached VI can help. Using picture control functions, it get the
1bit bitmap of the character/text
on input in a 2D array of booleans.

Jean-Pierre Drolet

"m0mbaj0mba" a écrit dans le message news:
50650000000500000075390000-993342863000@exchange.ni.com...
> I am trying to find a simple way to convert a letter (ASCII character)
> into an array of X,Y co-ordinates. I am involved in two projects that
> involve spelling letters with lasers. At the moment we are plotting
> the points on a graph in excel, transferring the co-ordinates into a
> text file and then converting the content of these text files into a
> set on 1D arrays. As I am sure you can appreciate this is a very long
> winded process. Is there anyway of pl
otting points on an X,Y, graph
> and outputting those points to an array or set of arrays?
>
> Excel spreadshett is attached.



[Attachment GetTextBitmap.vi, see below]


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 4
(3,052 Views)