Migrating AACCL / Arduino IDE from an older computer (Win 7) to a new one (Win 10) | 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
Migrating AACCL / Arduino IDE from an older computer (Win 7) to a new one (Win 10)
May 10, 2023
2:37 pm
Avatar
tronron
Member
Members
Forum Posts: 21
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

I've migrated both ACCLV and my Arduino IDE 1.8.8. to a new PC. Everything worked perfectly in my old PC. I installed the folders in the file HDQ.zip attached, in the following location:

C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib\Aledyne-TSXperts\Arduino Compatible Compiler for LabVIEW\addons\HDQ

I've installed my Arduino library "HDQ4" in the Arduino IDE (one file "HdqFour.h).  In the IDE I've run the sketch "Lib Test.ino" to test the library. It compiles correctly. (see Lib Test folder in HDQ.zip)

In the labview side I have created a test vi - "PrimativeTest.vi", the LV equivalent of the above Arduino sketch in the HDQ folder with the Translator and other password locked VI's. It will not compile as a program or generate the Arduino code it states "Error in PrimativeTest.vi: Arduino function "HDQ4.lvlib:percentage" not supported.

All of this worked perfectly in an older PC. Please help.

May 10, 2023
4:21 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Can you post your library in LV2019 or earlier and I can take a look?

May 17, 2023
4:35 pm
Avatar
tronron
Member
Members
Forum Posts: 21
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

I think this is it in 2019

May 17, 2023
4:47 pm
Avatar
tronron
Member
Members
Forum Posts: 21
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

Steffan - The files above are located in the locations shown in the image attached. Since the translator and primitives worked perfectly on a prior computer, I believe the error must be in the code locations or something similar. The Arduino libraries have been tested in Arduino code on the IDE and they work in native Arduino code. It seems ACCL is not recognizing the LV code. Just my  observations...FileLoc.JPGImage Enlarger

sp_PlupAttachments Attachments
May 17, 2023
4:52 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

I think I see your issue.  Your .lvlib is called HDQ4.lvlib.  It should be HDQ.lvlib.  This is described in the user manual (see attached).AddOns.pngImage Enlarger

sp_PlupAttachments Attachments
May 17, 2023
6:12 pm
Avatar
tronron
Member
Members
Forum Posts: 21
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

Thank you. I'll try correcting that and will let you know

May 17, 2023
6:24 pm
Avatar
tronron
Member
Members
Forum Posts: 21
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

Thank you so much Steffan. You were right! Problem solved....  

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
11
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