05-16-2022 02:51 PM
I'm attempting to set up a custom serial device in Veristand 2018 that reads data from the built-in serial port on my cRIO 9038. The Custom Device Template tool RT Driver vi includes a reference to the Device Inputs FIFO, but I don't know how to link that to my RT application to ingest data in the custom device. I've tinkered with some DMA and shared variable read/write between FPGA/RT and Labview host VIs, but I'm not sure where to go from here.
thanks
JP
05-16-2022 09:22 PM
The Device FIFOs refer to the RT FIFO of the VeriStand Engine and are linked to the channels populated in the system definition file. You can refer to RS485-232-Custom-Device-for-VeriStand for a simple version of serial custom device.
If you are communicating with an instrument using SCPI command, we recommend you to use Instrument Addon Custom Device.
DISCLAIMER: The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense