02-01-2021 03:35 AM
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.
02-01-2021 04:21 AM
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!
02-01-2021 10:52 AM
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.
02-02-2021 01:27 AM
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?
02-02-2021 12:00 PM
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
02-02-2021 12:36 PM
Ok alright
Let's see what you have! Seriously post some code!
You have registers
You have addresses
Maybe you have MODBUS?
02-02-2021 12:48 PM
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
02-02-2021 01:24 PM
@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
02-02-2021 01:40 PM
Hello,
I don't have Code yet.But will post soon
Thanks
02-02-2021 01:42 PM
Crossrulz thanks for the links.
Will check-it out now.