03-11-2019 10:29 PM
Hi everyone. I'm working on myRIO. I want to apply a simulate signal of triangle (-1V to +1V) to my sensor through analog output (C/AO0). Then, I want to check the applied signal using analog input (C/AI0) display on waveform chart. The problem is, I don't get the triangle (-1V to +1V) signal back, I only get 1 value only. The VI as attach below. Is there any ways to get the desire result. I really need help on this. I have try to work on this for almost 2 weeks and try to search every where but none really help. TQ
03-12-2019
01:13 PM
- last edited on
06-18-2025
05:49 PM
by
Content Cleaner
The input for analog output says (1 sample) so it's going to output one point (probably the first point in the waveform. On a compact RIO what you'd want to do is to transfer the whole waveform through a Host-To-FPGA stream. There's some pretty good examples here:https://www.ni.com/en/support/documentation/supplemental/09/ni-compactrio-waveform-reference-library...
There is probably an easier way to do that with the myRIO though but I'm not familiar enough to know what example to point you to.