Arduino Due ADC/DAC Resolution | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Arduino Due ADC/DAC Resolution
May 30, 2015
10:08 pm
Avatar
Omnitest
Member
Members
Forum Posts: 4
Member Since:
May 30, 2015
sp_UserOfflineSmall Offline

I recently purchased the ACCL and am having fun working with an Arduino Due. I am planning to use either a DAC or PWM to provide a signal to a VU meter.  In the documentation and LabVIEW help it is noted that the Due has 12 bit resolution for both the ADC and DAC functions.  There are additional configuration VIs to set the resolution in the Due for Analog Write and Analog Read.  These do seem to make changes to the effective value at a specific bit value so they have the appearance of working correctly.

The issue I am having is that the Analog Write VI provided in the palette only accepts 8 bit values.  I have not tried the Analog Read VI but I assume it may have the same resolution issue and the Analog Write VI.

Is there a modification planned or a separate VI available that will allow the full 12 bits access to the Due?

Thanks,

Troy I.

May 31, 2015
4:19 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Hi Troy,

Thank you for pointing that out.  Yes, the Analog Write VI should have been a U16 to support the Due in high resolution mode.  I have assigned Case 103 for this issue.  It will be fixed in the next release.  We are planning for a release 1st or 2nd week of June.  Please make sure you have registered your product and you should receive an automatic notification when the update is available.  In the meantime hopefully you can use it in 8-bit mode for the time being.

Thanks,

Steffan

May 31, 2015
6:20 am
Avatar
Omnitest
Member
Members
Forum Posts: 4
Member Since:
May 30, 2015
sp_UserOfflineSmall Offline

Thanks Steffan,

I appreciate the quick reply, on a weekend no less.  I am really excited to work with the compiler and see what fun things I can develop with the Arduino platform.

Thanks,

Troy I.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
3
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356