Asks the SDK how many items of a given type a session file holds.
Arguments
- session
A
cuvis_sessionobject fromcuvis_session().- item_type
Character. One of
"no_gaps"(default),"all_frames"or"references".
Examples
# Runs only where the proprietary Cubert CUVIS SDK and its sample data
# are installed; elsewhere cuvis_available() is FALSE and nothing happens.
if (cuvis_available() && !is.null(cuvis_sample_data("test_mesu.cu3s"))) {
cuvis_init()
session <- cuvis_session(cuvis_sample_data("test_mesu.cu3s"))
cuvis_session_count(session)
cuvis_session_count(session, "references")
}