Hi,
I'm learning to program in C and is having trouble finding software to simulate hardware components.
So my questions are:
1) Do the hardware libraries always come with the physical hardware purchased?
The course notes I study off uses the library <Hardware_Utilities.h> that doesn't come with the Microsoft Visual C++ compiler. I'm not sure where to find the functions contained in this library such as:
- float read_analog(int analog_channel_num)
- void write_binary(int binary_channel_num, int value)
- int read_binary(int binary_channel_num)
But when I downloaded other software such as LabVIEW, it seems to have its own library and commands that are similar in function but different in syntax.
2) Is it possible to download simulation software/hardware library without purchasing the lab equipment hardware?
The intent is to use simulation LEDs to test my C program codes for the following programs:
-Simon Says (4 different colour LEDs, 4 corresponding push buttons)
-Traffic control (6 LEDs representing 2 sets of of traffic lights, 2 push buttons for the 4 possible combinations of traffic light signals)
Thank you. Hope this is the right forum to post this type of question.
I'm learning to program in C and is having trouble finding software to simulate hardware components.
So my questions are:
1) Do the hardware libraries always come with the physical hardware purchased?
The course notes I study off uses the library <Hardware_Utilities.h> that doesn't come with the Microsoft Visual C++ compiler. I'm not sure where to find the functions contained in this library such as:
- float read_analog(int analog_channel_num)
- void write_binary(int binary_channel_num, int value)
- int read_binary(int binary_channel_num)
But when I downloaded other software such as LabVIEW, it seems to have its own library and commands that are similar in function but different in syntax.
2) Is it possible to download simulation software/hardware library without purchasing the lab equipment hardware?
The intent is to use simulation LEDs to test my C program codes for the following programs:
-Simon Says (4 different colour LEDs, 4 corresponding push buttons)
-Traffic control (6 LEDs representing 2 sets of of traffic lights, 2 push buttons for the 4 possible combinations of traffic light signals)
Thank you. Hope this is the right forum to post this type of question.