LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

attention required

Hi

 

I need to read binary data coming on Rs232 port sent by PIC microcontroller embedded on FPAA kit in labview and then send that data to FPGA kit for display. Please help me how to do it as I dn't have much experience  in using LabVIEW 

0 Kudos
Message 1 of 3
(3,306 Views)

Hi There,

 

Good Morning and I hope your well today.

 

Thanks for the post! 

 

To perform Serial in LabVIEW you require NI-VISA (or NI-Serial) driver to be installed. You can find these from ni.com/downloads. These provide API in LabVIEW to open, read/write and close activity to ports. 

 

In LabVIEW Example Finder, Help>>Find Examples - search Serial, and locate the Basic Serial Write and Read task.This will help you learn what is required. 

 

I have also located some tutorials and other example code,

 

Serial Instrument Control Tutorial

http://zone.ni.com/devzone/cda/tut/p/id/2897

*Overview

 

Performing Concurrent Serial VISA Read and Write in Parallel Loops

http://decibel.ni.com/content/docs/DOC-4811

 

Serial Communication Starting Point

http://digital.ni.com/public.nsf/allkb/E22DA85E97818DE78625678C0069BFC9?OpenDocument

 

Hope this helps to get you started,

 

 

 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 3
(3,292 Views)
The normal output from the serial read is a string. But by using Type Cast Function, Owning Palette: Data Manipulation Function. You may cast your string into an array of any type like u8,I32 etc. Just remeber to specify typecast to array


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 3
(3,281 Views)