06-09-2016 01:53 PM
Hi there,
I'm relatively new to LabView so please excuse the naive question. I am trying to send audio WAV files through the bluetooth 'write' vi to a bluetooth speaker. Obviously, the bluetooth 'write' vi can only send strings to the bluetooth device. I have no trouble connecting to bluetooth devices but sending WAV data to the bluetooth device is the issue. If someone could clarify how I can go about doing this, it would really be appreciated!
I am planning to just buy a simple bluetooth speaker which outputs the WAV file i send to it via LabView.
Regards,
Arnav
06-09-2016 02:29 PM
There is the 'Flatten to string' vi but I doubt that would do the job.
06-09-2016 02:43 PM
Hi vanra,
does your BT speaker really accept simple WAVE files? Really? Do you have a manual for that speaker, describing the software interface?
the bluetooth 'write' vi can only send strings
A string is just a 1D array of U8 (aka "bytes") and there are functions to convert between array of U8 and string. Once your data is available as an array of U8 you can easily transfer it using this function!
FlattenToString is a similar tool, but it may contain additional data as is described in the LabVIEW help…
06-10-2016 02:13 PM
That makes so much sense. Thank you GerdW!
Learning a little more about programming everyday.