LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

syncronous valve commanding during data acquisition

Solved!
Go to solution
0 Kudos
Message 11 of 24
(1,126 Views)

hi

 

its working nicely. thanks for helping.

 

 

0 Kudos
Message 12 of 24
(1,110 Views)

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

0 Kudos
Message 13 of 24
(1,095 Views)

Smiley HappyOk, 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, Smiley Tongue 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,

0 Kudos
Message 14 of 24
(1,091 Views)

i couldnt get  u. wheter its possible read then digital write and once again read?

0 Kudos
Message 15 of 24
(1,075 Views)

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

Download All
0 Kudos
Message 16 of 24
(1,055 Views)

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,

0 Kudos
Message 17 of 24
(1,049 Views)

hi

 

i could not open vi . i am using labview 8.2 version

0 Kudos
Message 18 of 24
(1,039 Views)

8.2 ver attached

0 Kudos
Message 19 of 24
(1,032 Views)

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

0 Kudos
Message 20 of 24
(1,014 Views)