aTAN2 | Arduino Compatible Compiler for LabVIEW Discussions | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
March 14, 2016
12:26 am
Forum Posts: 4
Member Since:
May 30, 2015
sp_UserOfflineSmall Offline

Do you have any plans to add the aTAN2 function to the Trigonometric Palette? I have routines in standard LabVIEW that I would like to port into a project on the Arduino platform.



Troy I.

March 14, 2016
1:40 am
Forum Posts: 89
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline


Currently, that is not showing on as a high priority addition to the compiler. However, you can add support to that function as an API VI that would be supported by the compiler yourself. Not sure if you already saw it or not, but we do have a full user guide as part of the user manual, Porting Arduino Libraries to the Compiler, that shows a step by step procedure on how to port existing functions from Arduino libraries to have support on the compiler. You can easily include support for the atan2 functions from the math library (below) by creating two API VIs (or just one if you only need one of the two below) and include support inside the, as exemplified in the User Guide. 

#include <math.h>

double atan2(double y, double x)

float atan2f(float y, float x)



Cheers Filipe
March 21, 2016
7:02 am
Forum Posts: 4
Member Since:
May 30, 2015
sp_UserOfflineSmall Offline

Thank you, Filipe.  I will look into using an API.  I appreciate your help and support.

Troy I.

Forum Timezone: UTC 0

Most Users Ever Online: 33

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

John: 18


Dan6077: 11

Member Stats:

Guest Posters: 0

Members: 80

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 2

Topics: 58

Posts: 289

Newest Members: Travlissah, viktorIcera, HowardClouG, Dianecet, Produktnaodchudzaniex

Administrators: geadmin: 5, filipealtoe: 35, Steffan: 89