LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

BF Flag Suspend Callback vi & BF Flag Resume Callback Vi Error

Hi every one!
 I have a trouble in programming with BF Flag Suspend Callback & Flag resume Callback vis. My project should catch external interrupt( PF5 rising adge), while interrupt is calling back a subrountine interrupt service i want to Mark this interrupt to process something then resume interrupt at the end of Subrountine. But when i put these Vis in my project then compile, it alway has error as atched files
 Please refer atched files and tell me what was wrong? I am thinking about error which may be from macros in Inline C node is not defined correctly. am i right?
 Here is my project code and capture file.
 
0 Kudos
Message 1 of 7
(7,223 Views)
remain my code here
Download All
0 Kudos
Message 2 of 7
(7,222 Views)
error capture file
0 Kudos
Message 3 of 7
(7,221 Views)
error capture file
0 Kudos
Message 4 of 7
(7,220 Views)

Hey Seoul,

It seems like you have not specified your header files right for the Call Library Function Node.
I will see if I can pin point anything out.

Could copy and paste the whole error message in a notepad so that I'll have all information available?

Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 5 of 7
(7,192 Views)
hey Aashish!
here is my full error indicating. pls read then reply me how about this error. I have spent so much time to solve this problem biut still was not successful.
Thank so much for your reply
 
0 Kudos
Message 6 of 7
(7,175 Views)

Hey Seoul,

Your callback VIs call resume/suspend in the callback. You need to do that in the main VI, not the callback.

You need to be very careful about what you do in callback VIs -- only set globals and fire timed loops.
No subVIs, no memory allocation.

 

Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 7 of 7
(7,107 Views)