From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino LabView interface


@EngFarouk89 wrote:

the values of Azimuth and elevation angle sent to labview program every single minute. 


That's an eternity to a computer.

 

Ok, I would recommend you read up on the Event Structure.  That way you can send the data to your Arduino when you specifically command it.  You can also use it to watch for a stop button press to stop you program.  For the reading of your port, I would recommend setting the timeout of the event structure to something like 100ms.  Inside of the timeout case, you check the time since you last did a read (use the Elapsed Time function in the Express palette).  If a minute has passed, do the VISA Read.


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 11 of 11
(237 Views)