Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Write using 9870 and cRio 9014

Hi,

 

I am trying to read string from the text file and write to the serial port on 9870. The string are being read fine, they are getting in the Write_FIFO, the wait on IRQ passes all the bytes to the serial port. BUT I am struck, because there is nothing coming out of the serial port. I tried using scope to see if there is any signal, but there was not any. I have attached the FPGA and Host side of the program for any quick suggestions.

 

Can some body please help? I will appreciate it a lot.

 

Thanks,

 

Ajay

Download All
0 Kudos
Message 1 of 2
(2,968 Views)

Hi sharda,

 

Let's try an example that implements serial read and write.  From this, we can use a known working example to see if your hardware is functioning correctly.  If it is, then you can utilize the example and adapt it to your code.  Please see the following example

 

Additionally, please consider wiring your serial port to perform a serial loopback test.  With this, we can also isolate whether the error is occurring on a particular port or not.

 

 

Regards,

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,943 Views)