Open the specified PVOC file and make it the current data file
frame_count = pvinput(“path_to_data_file”)
pvinput opens and verifies the PVOC data file path_to_data_file. path_to_data_file may be an absolute or relative pathname to the file. pvinput returns the frame count on success, else -1.
frame_count = pvinput("/path/to/datafile")
// check for error
if (frame_count < 0) {
error("failed to open %s\n", "/path/to/datafile");
}
pvgetbin, pvgetbincount, pvgetframe, pvgetframefreqs, pvgetframerate, PVOC