03-09-2007 10:05 PM
03-12-2007 10:07 AM
03-12-2007 01:44 PM
03-12-2007 02:17 PM - edited 03-12-2007 02:17 PM
You can convert the Express VI to a regular VI by right clicking and selecting Open Front Panel. It can then be modified. You can also provide the sampling frequency to the filter function you originally had.
Message Edited by Dennis Knutson on 03-12-2007 01:17 PM
03-12-2007 05:48 PM
03-12-2007 07:41 PM - edited 03-12-2007 07:41 PM
One thing I forgot to do was to re-create the waveform data type on the output of the filter. On the same palette as Get Waveform components is the Build Waveform. You can use that to create the input. Also, you are getting an array of waveforms out of the play sound. You should feed this into a for loop with the filter inside and process each.
Message Edited by Dennis Knutson on 03-12-2007 06:46 PM
03-12-2007 09:15 PM
03-12-2007 09:30 PM - edited 03-12-2007 09:30 PM
Message Edited by Dennis Knutson on 03-12-2007 08:31 PM
03-12-2007 10:31 PM
03-13-2007 08:11 AM - edited 03-13-2007 08:11 AM
Incidentally, the Filter Express VI has inputs that will allow you to control the cutoff frequencies from controls on your VI's front panel. There (in this case) seems to be no need to open its front panel to convert it to a regular VI, or use the lower-level Filter VIs, but either approach should be equally effective.
Update: I read the rest of the thread, and saw you wanted to be able to change the topology from the front panel, which you wouldn't be able to do directly using the Express VI. Only the cutoff frequencies are exposed to for programmatic control.
Message Edited by Jeff B on 03-13-2007 08:16 AM