Get the installed modules out of the library
What is the correct way to determine the already plugged modules?
-reading the CB.CFG (must not be actual)
-getting from hardware-manager and compare to cb.cfg?
Running Instacal and then start my program is not very user-friendly...
Hello Chris - To achieve your goal, the following is recommended: It Is assumed that InstaCal was run prior by the user, such that all boards had been recognized and that InstaCal has already added them to its board list (stored in CB.CFG). First use BoardName, with each possible board #. If no board entry is in CB.CFG for that board #, you will receive an empty string. Keep track of which board #s return a populated string. Note that being listed in CB.CFG does not mean that the board is physically present in the system (for example, a USB board may have been unplugged by the user). In order to verify the board is truly present, you must perform a function that the model supports, such as AIn or DIn, and if the function returns an error code of 0, then the board is physically present.
1 week, 6 days ago