06-26-2015 04:56 AM
What is te best way to access data from a multi channel task?
My attached Vi deals with 30 differential channels (PCI 6255), I am using subarray function as I need to use formula node structure. is there a better way? PLz also tell how to improve my VI in general?
06-26-2015 04:58 AM
How can I log formated data in TDMS, I dont really want voltages rather I want measured parameters like temp. directly in TDMS file.
06-26-2015 05:14 AM
Are you doing the same formula for all of the channels? You should probably avoid using the formula node and use the actual math primitives.
06-26-2015 05:15 AM
@andy_kennaugh wrote:
How can I log formated data in TDMS, I dont really want voltages rather I want measured parameters like temp. directly in TDMS file.
In that case, create DAQmx Scales. These scales can then be applies to your channels inside of your task. That would also make it so that you do not have to do the scaling in your own code since DAQmx just does it all for you.
06-26-2015 05:27 AM
I have different channels for different purposes, 6 thermocouple than 14 pressure transducers
06-26-2015 05:31 AM
@andy_kennaugh wrote:
I have different channels for different purposes, 6 thermocouple than 14 pressure transducers
Then the DAQmx Scales is definately the way you want to do. You have to apply the scale to each channel individually, so they call all have different scales.
06-26-2015 05:31 AM
No idea about scales, I'll do some searching
06-26-2015 05:36 AM
@andy_kennaugh wrote:
No idea about scales, I'll do some searching
They are set up in MAX. There is a section direclty under "My System" to manage the scales. Just right-click on the scales and choose to create a new one. Then in the task setup screen, each channel has a "Custom Scaling" drop down that you can use to associate a scale to a channel.
06-26-2015 10:10 AM
Not able to implement custom scales through MAX or programattically.
06-26-2015 11:29 AM
Your problem might be based on your Max and Min for the channel setups. Those should be the values you will have AFTER the scale is applied. So if you expect a voltage range of -1.5 to 10, you should set your min and max to -150 and 1000 (since your scale is just multiplying by 100).