06-13-2011 10:47 AM - edited 06-13-2011 10:47 AM
try this
06-15-2011 12:14 AM
hi
its working nicely. thanks for helping.
06-17-2011 05:32 AM
Hi
i implemented your logic in my program which will acquire 11 channels and save that data in every sec.and in that 11 channel i am comparing 1 st channel with the setpoint for digital operation.i have enclosed the code i have done .It was not giving error early (analog channels alone) .but after implementing this digital output its giving error 200279.please tell me where i made mistake.
enclosure. Part of Program code as doc file
Muthuselvi
06-17-2011 07:29 AM
Ok, the thing in this code is, you are reading analog continously and digital operation depends on your analog,
In this code, analog read is continous at a very high rate, and by the time you calculate whether to turn digital section ON, analog would have made another measurement, So doing this type of implementation you might lose some data, I hope you are getting what I'm trying to say.
try this method,
Read analog ---> Do calculation ---> Check digital ----> (do digital operation if TRUE)----> Read analog.
Let me know if you having trouble,
06-18-2011 10:21 AM
i couldnt get u. wheter its possible read then digital write and once again read?
06-20-2011 04:39 AM
hai
i am having trouble. i have done as per your idea. but i am reading analog continously know . its giving the NAN value during digital writing. i have enclosed that vi here
06-20-2011 07:39 AM
Read analog second time actually meant repeat the task and didnt mean add another read VI(Sorry for creating a misunderstanding in your mind). Re-attaching the same sample VI with little modifications,
06-21-2011 12:19 AM
hi
i could not open vi . i am using labview 8.2 version
06-21-2011 07:51 AM
8.2 ver attached
06-29-2011 04:12 AM
hi
sorry for disturbibg u. i tried that vi(what i attached recently ) even then i got error. please see my attachment
pls give me a solution. bcas of this my project is pending.
muthuselvi
ISRO