When executed, in the initial state, you can check the voltage (or current) value input to Ch0 (the first input terminal).
If you want to check other channels, you can also change the channel with "AiChannel".
To terminate the operation, please press [Stop] button.
This sample VI is used to check the operation of the analog input.
If you want to set the input
method and range, you can add setting to [Channel setting].
Simple analog continuous input uses a software timer, so there may be a delay due to CPU load etc. The time accuracy is not very good. On the other hand, sampling operates at the timing of the hardware clock of the device, so unlike a software timer, operation at a fixed timing can be expected without being influenced by the load situation. However, as you can see from the sample VI, it is easy to structure a simple analog continuous input. Especially in applications where time accuracy is not required, it is preferable to use proper methods, such as using a simple method. |