09-13-2011 01:54 AM
Hi,
in my program I want to measure temperature and pressure,
the pressure part have no problem and I get the right signal in the right time but if I start the temp. Measurement I get time jumps in my graph and I have no idea why this happen.
I have tried every setting from the daq ass. for the measurement of the temp. (sample, rate, timeout) but it makes not really a difference.
Pleas help me before I freak out.
Best and regards
sascha
09-13-2011 02:15 AM
Why you have used 2 seprate case structure for temprature measurement, the case selector is same??????
what do you mean by time jump you have programmed it that you will get temp only when you select ????
09-13-2011 02:25 AM
yes
but i tried who makes the time jumps so i use two case structures,
i mean with time jumpes if i select temp the program runs not fluently the time jumps are up to 2sec.
09-13-2011 02:53 AM
put timeout value to sample rate / no of samples, so that all the samples could be read before timeout.
09-13-2011 03:46 AM - edited 09-13-2011 03:51 AM
thank you for your reply
i do but nothing change the program doesn´t run fluently i tried every combination
if i select only the pressure line the program run fluently
09-13-2011 04:25 AM
ok the problem part is your ' time has elapsed vi '. you can clearly see the difference if you remove this vi from your code.
you can take a example from the attached vi remove the case structure and see the difference.
may be helpful.............if you try to learn
09-13-2011 04:28 AM
ok the problem is your " time has elapsed " vi . Try the attached vi . remove the case structure and you can see the difference . it will give you an idea ............
09-13-2011 05:33 AM
Just one comment, you can NOT have two DAQ assistance using the same hardware in the same program at the same time. They will conflict. Combind them together or only run one at a time.
09-13-2011 05:52 AM
@alok.p
i can not open the attachment i use v 9.0.1
@dkfire
i DO NOT use the same hardware
for pressure i use NI 9215 for temp NI 9217
09-13-2011 06:10 AM
here in v 9.