09-17-2018 02:17 PM
@VitorMota wrote:
Hello!!
Im having the same issue. What did you do to solve the problem?
Thank you for your help!!
Can you be a lot more specific about your issue, preferably in a new thread?
09-21-2018 10:52 AM
how you have solved??
09-21-2018 11:34 AM
My problem is there is an error warning in lifa base compiling. how it can be fix????
.
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino: In function 'void processCommand(unsigned char*)':
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:150:60: warning: left shift count >= width of type
duration=(command[8]+ (command[7]<<8)+ (command[6]<<16)+(command[5]<<24));
^
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:150:77: warning: left shift count >= width of type
duration=(command[8]+ (command[7]<<8)+ (command[6]<<16)+(command[5]<<24));
^
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino: In function 'sevenSegment_Config(unsigned char*)':
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:632:41: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
sevenSegmentPins[(i-1)] = command[i];
^
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:629:3: note: containing loop
for(int i=2; i<10; i++)
^
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\main.cpp: In function 'main':
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:632:41: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
sevenSegmentPins[(i-1)] = command[i];
^
C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:629:3: note: containing loop
for(int i=2; i<10; i++)
^
Sketch uses 18,070 bytes (56%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,116 bytes (54%) of dynamic memory, leaving 932 bytes for local variables. Maximum is 2,048 bytes.
09-24-2018 03:48 PM
Is there a reason why you are still using LIFA? Its been replaced by LINX.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kJ7DSAU
As far as the LIFA error is concerned, take a look at the following article and make sure that its setup correctly.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8ilSAC
09-25-2018 08:12 PM
Pude solucionarlo desinstalado el arduino 1.8.2 y le puse un arduino 1.6.0.
El cual al cargar la Interface me marco un par de error en librería (register-root) la cual elimine. Saludos