LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler error: dentifier "state" is undefined

It happens that when I use callbacks with global variables and Debug mode non instrumented via EZ-KIT-USB, with generate guard code   I've got this compiler error:

 

"callback_to_get_button_number.c", line 91: cc0020:  error: identifier "state"
          is undefined
      PDADebugUpdateGlobal(&state, "SPIGlobals.vi", &Buffer_Full__648, BooleanDataType, 0x258);

          

It doesn´t occur if I use Release mode  in General Build configuration, and the program works fine.

 

Does anyone know what is worng?

 

Tanks           

0 Kudos
Message 1 of 3
(6,267 Views)

Hi alalaguna,

 

Could you post any simple code that reproduces the problem? Also, which module are you using; the Microprocessor SDK, Embedded Module for ARM Microcontrollers, or Embedded Module for ADI Blackfin Microprocessors? Thanks and have a great one!

0 Kudos
Message 2 of 3
(6,240 Views)

Yes sure!

 

It occurs when I try to write a global variable and with this simple example you can reproduce the problem. I use Adi Blackfin 2.0 and Labview 8.2.1. The bug only appears when you try to debug the aplication via "Non intrusive EZ-KIT" and it does´t with other debug mode nor in "Release mode"

 

I contacted with my National support engineer, who told me it is being testing by a Blackfin expert, cose they think it could be a bug.

:manwink:

By the way, who can tell me a good book for Labview-Blakfin. I already got "Embedded Signal processing with the Micro Signal Architecture"

 

Thank you!!.

Download All
0 Kudos
Message 3 of 3
(6,236 Views)