08-11-2015 05:33 AM
Hi,
I want to count the number of pulses from 9411 module. But at the same time I also want to read analog value from 9215 module.
The sample code has a timed loop for counting the pulses from 9411. It is working fine. But the timed loop is not accepting Analog Input Read element.
How can I integrate both the VIs together.
Thank you.
08-14-2015 03:36 PM
Are your modules installed in a CompactRIO, or are you working with a CompactDAQ device? What sample code are you using? When the read is not accepted, which error is thrown?
08-17-2015 12:04 AM
Modules are installed in FPGA cRIO.
For 9411 the sample code has a timed loop.
When I tried to read AI (9215) value in the same loop, it is showing an error that, "Analog read is not accepted in timed loop" while compiling the code.
Thank you.
08-17-2015 05:30 AM
KSBasri wrote:
When I tried to read AI (9215) value in the same loop, it is showing an error that, "Analog read is not accepted in timed loop" while compiling the code.
Of course. The 9215 can only sample at 100kS/s. If you move your reading of the 9411 into this slower loop, then you can read them together. Of course, you will be reading your 9411 40x slower.