Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dv-br-automation/RandomLib
A library to generate random variables in any language in Automation Studio Project
https://github.com/dv-br-automation/RandomLib
automation-studio control-systems
Last synced: about 2 months ago
JSON representation
A library to generate random variables in any language in Automation Studio Project
- Host: GitHub
- URL: https://github.com/dv-br-automation/RandomLib
- Owner: dv-br-automation
- License: mit
- Created: 2016-11-03T13:32:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T19:28:49.000Z (over 7 years ago)
- Last Synced: 2024-05-21T20:09:49.263Z (7 months ago)
- Topics: automation-studio, control-systems
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
- awesome-B-R - RandomLib - RandomLib is an Automation Studio library to generate random data. (Infrastructure / Mathematics)
README
RandomLib is a library to generate random data.
Background
Random function is not natively available in all languages supported by Automation Studio.Implimentation
This library encapsulates rand() from ANSI C, and impliments following function blocks to generate random values.
- int random(void)
- unsigned int rand_interval(unsigned int min, unsigned int max)
- void RandomValue(struct RandomValue* inst)The function blocks above can be used in any language supported by Automation Studio.