05-24-2009 10:37 PM
05-25-2009 07:06 AM
How are you using the Elvis unit? I am quite sure you are doing something wrong. Can you post some code
05-25-2009 10:53 AM
Hi,I send you the print screen of my program,and the program.
with best regards.
Zori
05-25-2009 11:22 AM
Don't create, stop, and stop the task inside the loop.
You could also eliminate the conversion to dynamic data with the Split Signal function. Just use an Index Array if you only want a single element from the analog read. Don't know why you would use a multiple sample read, though. The mathscript is unneccessary. Just use the Add function.
05-25-2009 02:51 PM
05-25-2009 03:30 PM
You want 2 channels with a single sample so you could simply use NChan 1Samp.
Look at some of the shipping examples. The DAQmx Create Channel, DAQmx Timing, DAQmx Start task should all be done outside the loop - on the left side. The DAQmx Stop Task should also be outside the loop - on the right side.
05-27-2009 03:00 PM
05-27-2009 03:31 PM
05-28-2009 12:06 AM
06-01-2009 10:36 AM
Hello for every one.
I have a good news,my test was succeded,and I got the delay time lower than 10msec.
I want to know,if it is possible to mprove my code than now?
what is the maximum frequency that i can get from input and getting out the same valueby making delay less than 10msec.
with best regards
Zori