Chaos in a Can
12-01-2009, 23:37
I want to be able to be able to take screenshots and save video from the webcam, so I created screenshot and video vi's using the IMAQ functions.
The screenshot vi was tested on my computer first, so I know it works correctly.
The problem is, when I place this screenshot vi in the robot code and try to take a screenshot, I can see the filename and picture of the supposedly saved image and using probes and no error is generated, but no image is actually saved.
Is it possible to save images/video in this way, or will I have to incorporate these functions into a dashboard project which runs on the computer rather than the robot?
On a somewhat related note, is there a simple way to write data the cRIO's onboard storage? I haven't found any functions related to data storage on the cRIO itself, but I may be looking in the wrong place. (I could also have found them, but not realized what they are for.)
The screenshot vi was tested on my computer first, so I know it works correctly.
The problem is, when I place this screenshot vi in the robot code and try to take a screenshot, I can see the filename and picture of the supposedly saved image and using probes and no error is generated, but no image is actually saved.
Is it possible to save images/video in this way, or will I have to incorporate these functions into a dashboard project which runs on the computer rather than the robot?
On a somewhat related note, is there a simple way to write data the cRIO's onboard storage? I haven't found any functions related to data storage on the cRIO itself, but I may be looking in the wrong place. (I could also have found them, but not realized what they are for.)