Sarah83 Posted August 26, 2004 Report Posted August 26, 2004 Hi, is it possible to send some audio signals e.g. .wav from one port to an other port over LV? Now I send only stings (numbers and text). I like to test a signal, I will sent it from one port to an other port and after this I will compare both signals with a graph, but I don't know if I can sent .wav, too. Quote
Mikrobi Posted August 26, 2004 Report Posted August 26, 2004 Hi,is it possible to send some audio signals e.g. .wav from one port to an other port over LV? Now I send only stings (numbers and text). I like to test a signal, I will sent it from one port to an other port and after this I will compare both signals with a graph, but I don't know if I can sent .wav, too. 1543[/snapback] If you use SI Read.vi (Sound Input) you will get sound arrays: 1D [i8] for mono 8-bit sound 1D [i16] for mono 16-bit sound 2D [i8] for mono 8-bit sound 2D [i16] for mono 16-bit sound depend what configuration (SI Cinfig.vi) you use. There is few method to send it as string: 1. from String subpalete: Array to Spreadsheet String or 2. from Advanced>>Data Manipulation subpalett : function TypeCast : - to input connect sound array from SI Read.vi - to type connect empty string output will be string When you recieve string from serialport you sholul use just this method like when you send audio to serial.so regards Mikrobi Quote
Mikrobi Posted August 26, 2004 Report Posted August 26, 2004 There is few method to send it as string:1. from String subpalete: Array to Spreadsheet String or 2. from Advanced>>Data Manipulation subpalett : function TypeCast : - to input connect sound array from SI Read.vi - to type connect empty string output will be string When you recieve string from serialport you sholul use just this method like when you send audio to serial.so use Type Cast and connect to input string from serial port and to type input connect I8 or I16 array regards Mikrobi 1544[/snapback] I think, the Type Cast method will be the best method. regards Mikrobi Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.