LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LVBoolean passed to cvi fail.

Hi all,

 

   i had created a dll  from a labview code, the Header of the dll is:

   

  void __cdecl Validation(Enum num, DO Enum, Enum1 Channel, LVBoolean *Etat,  LVBoolean *Etat2);

  

  but LVBoolean is not supported in cvi, the how to proceed to pass boolean values?

 

  Regards,

SASA

  

    

 

     

0 Kudos
Message 1 of 3
(4,803 Views)

LVBoolean is defined in extcode.h file, which you should have in your LabVIEW install and should be distributed together with the dll.

In my system (LV 2010) it is typedef'd as uInt8.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(4,797 Views)

LVBoolean is defined in extcode.h file, which you should have in your LabVIEW install and should be distributed together with the dll.

In my system (LV 2010) it is typedef'd as uInt8

 

 

I had understood you and found the LVBoolean.h (and added int in the main.c)   this morning, but not the second part ( should be distributed together with the dll. In my system (LV 2010) it is typedef'd as uInt8).

 

i'm trying to test this function 

 

Validation(Enum num, DO Enum, Enum1 Channel, LVBoolean *Etat,LVBoolean *Etat2)  which id generated with labview 2013 using C generator.

 

i'd attached the dll.h of my dll;   what is the the solution to test this dll in a main.c  

 

 

 

0 Kudos
Message 3 of 3
(4,789 Views)