‎11-14-2008 01:19 PM
I hope this is not painfully simple to most of the people on this forum but I have an application where I set up a test bench to do testing on a component that have varying reponse piece-to-piece. For example, one component might have a voltage of 0.6 to 3.75 for the desired range while another can be 0.5 to 3.9.
Being a noobie, I heavily rely on DAQ Assist and this is not an option (user-input slope, etc.) Do you know the best way to go about this? I looked at creating a virtual channel through daqmx but it seems that it will only take a predefined scale you set up as opposed to allowing the user to define that scale.
Please help!
Thanks
KM
‎11-14-2008 03:13 PM
You seem to be mixing up some terms. It seems you are talking about range of the signal that you are measuring and not the scaling.
If it really is the range, then based on your example, you probably don't need to change anything. When you provide the range values, what you are telling the DAQmx driver is what actual range of the daq device to use to best measure the signal. For example, if the device has actual ranges of +/- .1V, +/- 1V, +/- 5V, and +/- 10V, then it will use the +/- 5V range as the best fit for the signal you anticipate. So, in your example, the actual range used by the DAQ device is going to be the same. You can check the manual for the DAQ device to see what ranges are supported. If you actually do need to switch ranges, then the best thing to do is use the lower level DAQmx functions. The DAQmc Create Channel has inputs for min and max.
‎01-06-2010 11:28 AM
I am having a realted problem. I would like to continuously vary the amplitude of my analog output.
The examples in Labview 9 continously vary the frequency by using the DAQmx timing property node. I am having difficulty, however, using a similar approach with the amplitude or using some sort of scaling property node. Thanks for any help.
‎01-06-2010 11:29 AM
--I'll try using spell check---
I am having a related problem. I would like to continuously vary the amplitude of my analog output.
The examples in Labview 9 continuously vary the frequency by using the DAQmx timing property node. I am having difficulty, however, using a similar approach with the amplitude or using some sort of scaling property node. Thanks for any help.
‎01-06-2010 03:25 PM