10-20-2013 09:44 PM
I am trying to implement the TEA encryption on a wav file for a project.
XTEA: http://www.ni.com/white-paper/7519/en/
This TEA.vi requires two unsigned long int as input, and I am unable to convert the wav file into an array of integers. Any suggestions?
Note: I can create an array of waveforms
Solved! Go to Solution.
10-21-2013 03:06 AM
10-21-2013 08:03 AM
Hello GerdW,
I am new to labview. I just started programming yesterday. I can't seem to find the builtin Vi that reading the file as U8 or U16 array.
10-21-2013 08:06 AM
Hi kulsman,
ReadBinaryFile reads the file as binary data (of selectable datatype).
You can also read the file as text (ReadFromTextFile) and convert the text to an U8 array (StringToU8Array)...
When you're new to LabVIEW I (really) suggest to look at the free online courses offered by NI. Also study the example VIs provided in LabVIEW (Example Finder in the Help menu!).
10-21-2013 09:09 AM
Hello GerdW,
I have started looking at the free online course, but for some reasoning open the example because of error:"NI System Web server is not running".
Anyway, I have attempted to use the readbinary vi and readtext.vi, but I don't think I implementted them properly. Especially the readbinary.vi, i am not sure about setting the data value so that it reading a wav file.
10-21-2013 09:12 AM
10-21-2013 09:21 AM
Yep, I understand. You like kudos
10-21-2013 09:23 AM - edited 10-21-2013 09:25 AM
Not sure how the selectable data aspect works.
10-21-2013 09:35 AM
10-21-2013 09:52 AM
Hello GerdW,
I am so sorry. I had no idea that different version of labview save files differently.