LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI9870 SERIAL COMMUNICATION

Hi,

 

Anyone please tell me how to read serial data using NI 9870 Module in Labview? Can someone please share a code to do this in labview

 

TIA

0 Kudos
Message 1 of 4
(963 Views)

Hi Zaman,

 

did you even try to search the web for examples?

A simple search for "labview ni9870 sample code" gave this as the first result…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(925 Views)

Hi,

I just check these all but it didn't work for me as all are complex codes and I am very new to this. Can you please help me in writing a code that just read serial Rs232 data which I receive from module NI- 9870.

 

Awaiting for the reply

 

TIA

0 Kudos
Message 3 of 4
(889 Views)

Hi Zaman,

 


@Zaman123 wrote:

I just check these all but it didn't work for me as all are complex codes and I am very new to this.


When you are new to LabVIEW you should use the Training resources offered in the header of the LabVIEW board to learn LabVIEW…

 


@Zaman123 wrote:

Can you please help me in writing a code that just read serial Rs232 data which I receive from module NI- 9870.


As has been written on the page I linked to:

The NI 9870, 4-port serial C-Series Module, was made to work with the cRIO in FPGA Interface Mode. The programming required for this module is a little more advanced than some of its analog and digital cousins.

You have choosen to use a module, which requires a cRIO and programming in FPGA mode - so you need to learn the basics of LabVIEW-Realtime and LabVIEW-FPGA to be able to facilitate that module!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(886 Views)