04-02-2015 12:47 PM
Hello,
I'm having a probelm where my Custom Device output channels are not updating in Veristand. At first I thought that maybe I simply wasn't passing back all the channels I was reading but I had the device pront panel open when it runs so I could directly see the data being passed back and it is all there (see attachements) but once it is written to the output FIFO is doesn't get displayed in Veristand on the workspace indicators.
The one thing I thought of is maybe Veristand is reading the FIFO faster than the device is writing it resulting in default values being read. Ideally Veristand would maintain the last value read if it encounters and empty FIFO but since that part of veristand isn't accessible to my knowledge, I have no way of confirming or modifying that behavior.
Anyone else ever encounter this problem? Thanks.
Solved! Go to Solution.
04-02-2015 02:20 PM
The problem was writing fewer channels than veristand expected to the output FIFO.
When the custom device first starts up for a split second it writes fewer channels or perhaps even no channels to the output FIFO which occurs far too fast to notice it by the time the front panel opens up so it appeared as though all the right channels were being sent. Apparently if fewer channels are added to the FIFO than Veristand is expecting, it stop updating any of the remaining channels.
So if VS is expecting 20 channels and on the first cycle only 10 are written then from that point on it will only pass 10 channels even if I then pass the expected 20. this could also be the result of the mechanism by which RT FIFOs work.
05-02-2025 03:09 PM
Have a question for you. How were you able to view the front panel of the custom device? Did you hook a monitor up to the target and load front panel when called?
05-03-2025 09:51 PM
@BigApple0 wrote:
Have a question for you. How were you able to view the front panel of the custom device? Did you hook a monitor up to the target and load front panel when called?
Kindly please don't ask a new question on an old thread. Please start a new thread instead.
Debugging by showing front panel only works when