09-18-2007 02:21 AM
09-18-2007 06:44 AM
09-19-2007 02:12 AM
09-19-2007 04:07 AM - edited 09-19-2007 04:07 AM
Hello ATMA
from your post, this is what you want:

i have to warn you tough, that the analog read and the counter will not occur at the same time. the reason is data flow: the two read will be performed in parallel, and it is very likely the analog input will be read before the counter, as inherantly the counter waits for a count. the best option out is to force the counter to read first, and only then read analog in.
this can be done by wiring the error signal from the counter read to the analog read.
Message Edited by Gabi1 on 09-19-2007 11:08 AM
Message Edited by Gabi1 on 09-19-2007 11:09 AM
09-19-2007 04:10 AM
of course, modify as needed 🙂
dont forget to wire input to the DAQmx read
09-19-2007 05:01 AM
If you want to test without hardware you can under MAX simulate a card.
Right click on DAQmx -> create new DAQmx ->simulate DAQmx -> choose card
and now you can test VI even without hardware
09-19-2007 07:11 PM