01-16-2015 03:15 AM
hello ,I am developing a labview programme based DAQ application to acquire signal of minimum 50 channels.using NI PXI 1031 chassis and multifunction DAQ card NI PXI 6225.I wrote programme and in that I have used look up table VI within control design and simulation loop.As I am acquiring CCS temperature sensor data in the form of voltage and wants to change this voltage signal to its corresponding temperature value given in look up table. I achieved that but I am facing problem in the simulation time of the look-up table.data acquistion time is not match with my computer time. X- axis time setting is not change of graph used for plotting the output of simulated data. It has some default value which is fix.So I want help ,that how can I change the time setting of look-up table VI or time setting of control design and simulation loop.
01-16-2015 03:36 AM
Hi mbskk,
first: when you want to attach images then please attach images (JPG, PNG). Don't attach some proprietary document formats! Or even better: attach real VIs!
- Don't use the CS loop. Use a standard while loop.
- Use a standard point array and the Interpolate1DArray function to realize a LUT.
- Don't convert an array to a cluster to be able to add up the array elements. Use ArraySubset and AddArray.
- You need to set the waveform timestamps correctly, when you want to have current time on your chart. This isn't done automatically by the second function in your "Look-up table" marking…
01-19-2015 12:04 AM
sorry but I don't understand why you are saying that I don't use CS loop when already there is look up table VI, than why I should use standard point array and the Interpolate1DArray function to realize a LUT.and I have set timestamp of correctly but that's I am saying that its not change when I go in x-axis setting and try to change it.
01-19-2015 02:44 AM - edited 01-19-2015 02:45 AM
Hi mbskk,
why you are saying that I don't use CS loop
It is simply overkill for that purpose (and a lot of other RubeGoldberg too). Did you check all those DAQmx example VIs coming with LabVIEW? They never use any CS loop…
when already there is look up table VI, than why I should use standard point array and the Interpolate1DArray function to realize a LUT.
Because it is the very same operation - with no additional overhead…
I have set timestamp of correctly
Where did you do so? I cannot see this…
I am saying that its not change when I go in x-axis setting and try to change it
You use charts and so will not have many options to set their x axis…