Is there a way to use the PlotIntensity function with an array that has been dynamically allocated somewhere in the program using calloc? Or must I specify the size of the array when I declare it? The reason I ask is because I don't know how big the array is going to be until I get some information from the user and it will be different every time.
Sure, you can pass any pointer into the PlotIntensity function. You just have to know the sizes it was allocated to and pass them in as well so the function knows how to read the data from the pointer. See the example cvi\samples\userint\intgraph.prj. It uses a dynamically allocated buffer.