Hi ricg20;
Attached to this reply is a zip file.
The code in the file
strcinexample.c shows you an example on how to write your c code to accomplish what you want. Modify it to suite your needs.
The vi
str cin example.vi include a CIN with the code in
strcinexample.c.
However, if the only thing you want to accomplish is to obtain the codes associated to the corresponding input string, and ther are not that many codes, probably you may want to do it completely in LabVIEW. In the zip file you will also find two VIs,
str lview example.vi and
str lview example 2.vi that accomplish exactly the same as the VI with the CIN, without the hassle of going through the creation of a CIN.
I created the CIN in VC++ 6 an
d the VIs in LabVIEW 6.
Best regards;
Enrique
www.vartortech.com