Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

#defines in LVDefs_plat.h (Embedded Development Module)

LabVIEW Microprocessor SDK 2.5 Help
August 2007

NI Part Number:
372197A-01

»View Product Info

A series of #define statements map the generic function calls, such as StrCaselessCompare ( x, y ) to OS-specific function calls, such as strcasecmp ( x, y ), for Linux and VxWorks and _stricmp( x, y ) for Windows.

Examples of some of the #defines in LVDefs_plat.h include the following:

  • typedef signed char int8;—In the LabVIEW C Code Generator run-time code, int8 is used everywhere and must be defined to a signed 8-bit quantity.
  • #define StrCopy(x, y) strcpy(x, y)—In the LabVIEW C Code Generator run-time code, StrCopy is used everywhere and must be defined to a function that copies a string.
  • #define SocketSupport 1—Defines the sockets. Therefore, TCP/IP functions are supported on this platform.
  • #define BigEndian—Defines the data storage format as big endian or little endian.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit