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 3 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
Members
Forum Posts: 24
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

sp_PlupAttachments Attachments
July 16, 2016
7:25 pm
Avatar
filipealtoe
Admin
Forum Posts: 98
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
Members
Forum Posts: 24
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
Members
Forum Posts: 24
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: 100
Currently Online:
14
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