RTCCode Named BUG | 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 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
RTCCode Named BUG
July 16, 2016
8:23 am
Avatar
scadao
Member
Forum Posts: 19
Member Since:
June 5, 2015
sp_UserOfflineSmall Offline

Development environment:
Windows 7 SP1; LabVIEW 2014 SP1; Arduino IDE V1.6.9; Compiler V1.0.0.21; Arduino DUE Board

My RTCCode.vi is made with a FGV. When it is called as a sub VI,Compile error. When the VI's name changes, and compile OK.

Build-Error.PNGImage Enlarger

Attachments
July 16, 2016
7:25 pm
Avatar
filipealtoe
Admin
Forum Posts: 89
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

It seems you may have come across a bug in the compiler. One workaround for you to get going is to bring the FGV (RTCCode) you are wrapping inside the TempABC.vi up one level to the Main.vi. So your main vi would have two calls to the FGV, one with init, as you are already doing, and the second with Read All. You wouldn't need a call to the TempABC.vi as part of Main. I have tried that here on my end and it does compile.

Filipe

Cheers Filipe
July 17, 2016
4:01 am
Avatar
scadao
Member
Forum Posts: 19
Member Since:
June 5, 2015
sp_UserOfflineSmall Offline

Thank filipealtoe for your reply!

As a subVI cannot use an uninitialized shift register in another discussion topic, I removed the shift register, use global variables. Compile still error! In addition, if item name of enumerate variable contains a "?" character, it will cause a compilation error.

July 17, 2016
4:43 am
Avatar
scadao
Member
Forum Posts: 19
Member Since:
June 5, 2015
sp_UserOfflineSmall Offline

I only named "RTCCode.vi" to "RTCData.vi". "Main.vi" compile OK.

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

RTSLVU: 15

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: Geraldkix, ThomasSoogs, Angelvor, AngelaMuh, Nsneilohone

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