Main /
Data Types
Key Notes
Both pins and signals have types, and signals can only be connected to pins of the same type. Currently there are 4 types:
- bit - a single TRUE/FALSE or ON/OFF value
- float - a 64 bit floating point value, with approximately 53 bits of resolution and over 1000 bits of dynamic range.
- u32 - a 32 bit unsigned integer, legal values are 0 to 4,294,967,295
- s32 - a 32 bit signed integer, legal values are -2,147,483,647 to +2,147,483,647
Data types in Glade fields must match the ones used for pins or signals in the HAL.
See also, https://linuxcnc.org/docs/stable/html/hal/components.html#_signal_processing_realtime, especially for converting data types.
| spacer line |
|
eMail comments to |
