Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Ao write and Ao start

i would appreciate, if somebody solve my problem.
i am sending to VIS. in the VI test5, i am calling Ao write and Ao start outside the While loop. if i want to send 32 periods of a sine wave. it works fine but when i would like to pause sending these periods to the board and after few hours would like to resume the rest of the priods and send them to board. it does not work why?regarding this VI one more question is there any limit of number of periods. for example i send upto 40,000 periods and it starts genearting periods.but when i send 1 million periods, it gives the out of memeory error. can i collect these 1 million periods in array and then i write 1000 periods to the write function. moreover if i would like to interrupt write f
unction for a break and resume sending rest of the periods, how can i do this?
2)in test 6 vi i can pause and resume the application, but if i would like to send only 2 periods, then i see 2 periods on the osilloscope. then continuos zero points and after a delay again 2periods and this zero points delay is constant. why i am getting a repition of 2 sine periods. i just send 2 periods and the program should stop after 2 periods. if i send 10000 periods, then it should display these 10000 periods on the osilloscope and stop. if i wanna break some where in between, then i must be able to reume from the point where i made a pause. please help me in this respect.
Thanks
Regards
Download All
0 Kudos
Message 1 of 2
(6,500 Views)
Dear Hood1,

you still have two possibilities.
The first, you create an index paralel to your sine signal. If you break the signal stop the write algorithm and start with the last index number again.
The second way, is to use the Queue toolbox. Look for more informations in LabVIEW--> examplefinder--> index -->Queue.
You will find some examples.


Best regards


SebastianN
NI Germany"
0 Kudos
Message 2 of 2
(6,499 Views)