LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with arduino labview Interface


@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?

0 Kudos
Message 11 of 15
(981 Views)
how you have solved??
0 Kudos
Message 12 of 15
(964 Views)

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.

 

0 Kudos
Message 13 of 15
(954 Views)

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

0 Kudos
Message 14 of 15
(923 Views)

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

0 Kudos
Message 15 of 15
(900 Views)