11-16-2006 05:02 PM
11-16-2006 11:35 PM
11-16-2006 11:45 PM
To add just a little more info.
I found that if you don't wire the cluster, its defaults are 1000 sampling rate and 1000 samples. The ratio is 1, so only frequencies that are a multiple of 1 are allowed. Anything below 1 or otherwise fractional (like 1.5, 2.33) throws the error. However, making the coerce frequencies boolean true (its unwired default is false), does not throw an error.
11-17-2006 04:10 PM
03-27-2023 09:19 AM
Did you ever find a solution to this problem? I'm still having this problem with my VI.
03-27-2023 09:25 AM
@RazorF wrote:
Did you ever find a solution to this problem? I'm still having this problem with my VI.
It's implied that you tried the potential solutions mentioned above, but did you really? (Just so we know where to start with the troubleshooting.)
03-27-2023 10:39 AM
I should have clarified. I am trying to make it so this VI does not require the tones to be coerced because, as it was said prior, the frequencies being coerced means that its inaccurate. I just need to know how to ignore the error that comes out of it if coercion is set to false. Here's my VI for reference.
03-27-2023 11:18 AM - edited 03-27-2023 11:19 AM
@RazorF wrote:
I should have clarified. I am trying to make it so this VI does not require the tones to be coerced because, as it was said prior, the frequencies being coerced means that its inaccurate. I just need to know how to ignore the error that comes out of it if coercion is set to false. Here's my VI for reference.
Do you need a specific sample rate? I mean, it's probably a dumb question because you would have changed it to match if you could, but ignoring the error won't work because there is no output on error. So I guess the answer is either you're stuck coercing or you need to make the samples and frequencies related to each other.
03-27-2023 11:19 AM
Have a look at the shipping example for non-regenerating continuous analog output. It gets you pretty close. You'll just need to *sum* the distinct tones into 1 waveform for 1 output channel instead of generating an array of individual tones, 1 each for N output channels.
-Kevin P