08-19-2015 11:16 PM
I am using a FPGA RIO device and have a need to find what the current analog output is from one of AO channels.
I see that routing the analog output in question to an avaliable analog input channel can be a solution, but I just want to query what the current output from a certain analog output channel is.
Is there a simple method or way to find out what value was written to an analog output channel last?
Any hint or help would be greatly appreciated.
08-19-2015 11:51 PM
Hello Opuk,
I normally feed the analog outputs back on my input DMA channel. But then I just write the current value that is written to analog output module back to my DMA channel. In my case the analog output is also important so I enabled the error cluster on the IO node so I can see that there is a hardware failure (even open loops on the output are detected). So if there is no hardware failure I'm pretty confident (there is also not much happening between the FPGA and the analog out) that the analog output I'm writing is the values that is on the outputs.
I found no way to read the output back (I'm guessing from the register of the device), but also this would not give you a guarantee that the value is on the output.
Best regards,
Martijn
08-20-2015 07:50 AM
@Opuk wrote:
Is there a simple method or way to find out what value was written to an analog output channel last?
If all you want to do is see what your FPGA told the output to go to, just use a DMA FIFO or front panel indicator to pass the value up. If you want to know what your UUT is seeing, you will want to use an analog input that is tied to the pin on the UUT. This is a concept of verifying your inputs to the UUT.
09-01-2015 04:37 AM
Thank you so much for your response Crossrulz.
I do not understand the meaning of UUT could you kindly clarify what UUT exactly means.
If possible can you please attach a VI to demonstrate UUT is implemented.
Best Regards,
Opuk
09-01-2015 04:39 AM