09-09-2018 11:29 AM
Hi,
I created a program to write analog output and read input.I used Ni USB 7856R, CB 68LPR and CA 1000 for that. Now I want to make the analog output voltage ramp with time . What should I do?
09-10-2018 07:37 PM
Your next step is to write code implementing the underlying ramp pattern. BTW, what sort of ramp rate (V/s) are you looking for? Sawtooth? Ramp from 0 or -10? Up to +10? Triangle? Could you post code or snippets instead of pictures of you code next time?
09-13-2018 05:14 AM
Hi,
This is basically a feedback loop. I have created the ramp output voltage using shift registers ramping from 0 to +/-10. The analog input reading should be in I16 that means 10v corresponds to 32767 and -10v corresponds to -32767. But the AI graph shows something else. I have also changed the I/O configuration but that is also not working. What I need is for 10V the amplitude should show 32767.
09-13-2018 02:25 PM
I'm not clear why you say the AI Graph (I assume you mean chart) shows something else. It appears to show exactly what you want (or at least what you programmed). A ramp from 0-10.