LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 10608 and total elapsed time

Dear Community Members,
Hello
well i have two main questions. i am using DAQ AT-MIO-16XE-50 Board for analog output. i am sending ramp followed by a sine which is followed by a ramp. when time for Bank 1 is over Bank 2 begins and so on an so forth.
in my first VI ( designed for only one Bank ), when i send the ramp- sine-ramp. i can run the VI for N hours, but without any problem. iam using a delay of 1000 ms inside the while loop in order to decrease the load on processor.
in my second vi that is designed to run multiple BANKS.after running few minutes(sometimes 2 minutes or sometimes some few minutes), the exution of VI collapses and i get in return  10608 error at A0 clock config.my question is why the same logic when i use for single Bank VI, i dont get any error even after running it for days but when the same logic i run for multiple Banks, i get this error. i guess may be because in multiple Bank Vi i am using AO clear. may be i need AO clear not at all. i checked it, but error is still there. only when i remove the delay of 1000 ms inside the while loop, the error also disppears. the other reason i was thinking may be because i enclose the multiple Bank vi inside several while loops.may be other while loops are causing this error at unknown and un determined time.
now my second question:-
in my first single Bank VI, i am getting elapsed time updated continuously, but for the multiple Bank VI when i would like to update sum of all Banks elapsed time. i dont get it. infact i tried it and showing it in the total time indicator, but unfortunately i am not  continuosly  updating the  current Bank time that is already added to previuos Bank time.
i would be very grateful for your help.

Regards
Hood
P.S  i am using Windows 2000, with 515 RAM and AMD athlon Processor.  moreover iam using Labview 8.0(but i saved the attached files in labview 7,1 )

Download All
0 Kudos
Message 1 of 4
(3,523 Views)

Hi hood1,

I would like to help you, but for this I want you to reassemble your VIs so, that I can view them on one or two screens. At the moment I am not able to catch what you are doing.

Also would it be very nice if you would remove not used items, so that I could work with an VI, that has no overhead.

Best Regards

~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~
0 Kudos
Message 2 of 4
(3,507 Views)
Hi Andreas,
Thanks for your  reply. well i make it little bit more clear then before.well regarding error 10608, i fixed it when i started using AO Wait functio, instead of delay 1000 ms i am using AO wait VI just after i called AO start VI. but still there is a little jitter on the sine signal  one can notice on the oscilloscope. the second issue was regarding total elapsed time. for a single Bank i am getting the correct elapsed time, but when i use arrays(Banks), i am getting not correct elapsed time.i tried different options, but it is not working. so now i am sending you the modified Vis. simple VI is just only for one Bank and the other called Banks is desined for several Banks. the third  Sub Vi is nothing but just a sub VI used by both main VIS.
thanks
Hood
0 Kudos
Message 3 of 4
(3,480 Views)

hi Hood1,

you have to set "actual elapsed total time" to 0 at the start of the VI. At the Moment it is just incrementing with every new run after loading it. But the VI does stop after running 1:30.

Best Regards

~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~
0 Kudos
Message 4 of 4
(3,460 Views)