08-19-2008 11:40 AM
OK, I think I figured out why I was confused. The NI-DAQmx signal simulator uses the scale AND the min/max passed into the create channel VI. The scale determines the allowable ranges for min and max (offset +- 10*slope). The defaults for min/max are +- 5, no matter what the scale is. I had been using a custom scale and used the default min/max assuming that they applied to the PRE-scaled values, not the scaled ones. I see now in the help for the VI that min/max are for the scaled output.
It all makes sense to me now and I can generate the ranges of values for my app without resorting to the ugly simulator hack. I'd still like to see (someday) a way to plug in a VI as a backend simulator for a NI-DAQmx devices (where a write in the sim VI sets the values for the app VI to read and vice versa). Then I'd be able to do a much better job of testing a validating our models against reality.
Thanks everyone for your patience and help.
Keith.
08-20-2008 02:16 AM
One clarification on simulated signals:
hope this helps,
Norbert