Write Functions

FPGA Interface C API Help

Edition Date: August 2014

Part Number: 372928H-01

»View Product Info
Download Help (Windows Only)

The FPGA Interface C API includes the following Write functions, which share similar parameters.

NiFpga_WriteBool

NiFpga_Status NiFpga_WriteBool(NiFpga_Session session, uint32_t control, NiFpga_Bool value)

Writes a boolean value to a given control or indicator.

NiFpga_WriteI8

NiFpga_Status NiFpga_WriteI8(NiFpga_Session session, uint32_t control, int8_t value)

Writes a signed 8-bit integer value to a given control or indicator.

NiFpga_WriteU8

NiFpga_Status NiFpga_WriteU8(NiFpga_Session session, uint32_t control, uint8_t value)

Writes an unsigned 8-bit integer value to a given control or indicator.

NiFpga_WriteI16

NiFpga_Status NiFpga_WriteI16(NiFpga_Session session, uint32_t control, int16_t value)

Writes a signed 16-bit integer value to a given control or indicator.

NiFpga_WriteU16

NiFpga_Status NiFpga_WriteU16(NiFpga_Session session, uint32_t control, uint16_t value)

Writes an unsigned 16-bit integer value to a given control or indicator.

NiFpga_WriteI32

NiFpga_Status NiFpga_WriteI32(NiFpga_Session session, uint32_t control, int32_t value)

Writes a signed 32-bit integer value to a given control or indicator.

NiFpga_WriteU32

NiFpga_Status NiFpga_WriteU32(NiFpga_Session session, uint32_t control, uint32_t value)

Writes an unsigned 32-bit integer value to a given control or indicator.

NiFpga_WriteI64

NiFpga_Status NiFpga_WriteI64(NiFpga_Session session, uint32_t control, int64_t value)

Writes a signed 64-bit integer value to a given control or indicator.

NiFpga_WriteU64

NiFpga_Status NiFpga_WriteU64(NiFpga_Session session, uint32_t control, uint64_t value)

Writes an unsigned 64-bit integer value to a given control or indicator.

Parameters for All Write Functions

Name Type Description
session NiFpga_Session handle to a currently open session
control uint32_t control or indicator to which to write
value Varies by Write function value to write

Return Value for All Write Functions

result of the call

WAS THIS ARTICLE HELPFUL?

Not Helpful