LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register with an Address and Data

Hello ,

 

I want to create a register in LabView with an associated address and data.I want to use this register with a load button to laod fpga  registers using serial communication.

 

Does someone can help me doing this with LabView,I don't have a lot of experience with LabView.

 

Thanks.

0 Kudos
Message 1 of 16
(2,828 Views)

Hi Hamzo,

 


@Hamzo wrote:

I want to create a register in LabView with an associated address and data.


Sounds like you want to use a memory block in the FPGA, which uses "addresses" to read/write data…

 


@Hamzo wrote:

I don't have a lot of experience with LabView.


This is where those "Training resources", offered in the header of the LabVIEW board,  come into play!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 16
(2,815 Views)

Hi GerW,

 

Thanks for your reply.

 

Exactly i want to reat/write data to and from the FPGA using serial interface.

 

I have to implement the registers using vhdl and then read and write to them.

 

Thanks for the resources.

0 Kudos
Message 3 of 16
(2,781 Views)

Hi Ha_zo,

 


@Hamzo wrote:

Exactly i want to reat/write data to and from the FPGA using serial interface.

I have to implement the registers using vhdl and then read and write to them.


Which FPGA target are you talking about?

Which "serial interface" are you talking about?

Are you talking about NI hardware at all?

Why do you "have to" use VHDL when you want to use LabVIEW?

Best regards,
GerdW


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

Hello GerdW,

 

I'm not using NI hardware ,i'm using an FPGA DE10-Nano from Altera.

 

The serial communication is RS-232.

 

I have two parts:

 

The registers that i have to create from the programmable logic part i have to use vhdl for that.

 

The Application part to read and write to these registers through the serial interface will be done using LabView.

 

 

Regards

0 Kudos
Message 5 of 16
(2,742 Views)

Ok alright 

 

Let's see what you have!  Seriously post some code!

 

You have registers

 

You have addresses

 

Maybe you have MODBUS? 


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 16
(2,736 Views)

Well, it sounds like you are in full control of your protocol.  There are many options here, but I'll just send you to a presentation to give you ideas for how you want to format your messages.

VIWeek 2020/Proper way to communicate over serial


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 16
(2,732 Views)

@crossrulz wrote:

Well, it sounds like you are in full control of your protocol.  There are many options here, but I'll just send you to a presentation to give you ideas for how you want to format your messages.

VIWeek 2020/Proper way to communicate over serial


Oh, you have a  Chatty Cathy 


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 16
(2,725 Views)

Hello,

 

I don't have Code yet.But will post soon

 

 

Thanks

 

 

0 Kudos
Message 9 of 16
(2,720 Views)

Crossrulz thanks for the links.

 

Will check-it out now.

0 Kudos
Message 10 of 16
(2,719 Views)