How to intergrate Arduino code to a Labview interface ?

Hi

I already have an Arduino Due code and I just want to control a few elemts of it through an LABVIEW interface.

All the example I found just controls the Arduino board directly through labview e.g. LED esc..

How can I integrate my arduini code to labview and just contorl 2 parameters of my code. ?

You should define a protocol over serial between the Arduino - Labview.
Then you can send anything sensor data or commands
you need to pay attention to how you format data packets; typically you use a layout like this

field:value

< is start of packet
field is an identifier of the sensor (1 byte is often enough)
: is a separator
value is the value ( 2 or 4 bytes)

is a stop of packet

you can add checksums, timestamps, sequence numbers etc to make it more robust

Do you have such a ptotocoll for arduino due as an example `?

no

Greetings for every one

i have a really big doubt about arduino and LabView

is it possible that i make an 16 channel datalogger that saves all data in a .txt file, this file it's generated every 24 hours as an "report" and also at the same time that i can "see" the data from the sensors on a labview inteface real time

i will use an Arduino MEGA 2560 and ethernet shield

hope you can help me

by the way, if you do not understand what i've wrote here i'm sorry, english is not my mother language

IN theory possible, in practice I miss a lot of information

16 channels digital?
or analog?
how many samples per second?