12-03-2008 05:13 AM
I am trying to control a Princeton (Roper Scientific) CCD camera using the Labview 8.5 (via the PCI board). I imported pvcam32.dll library in the Labview but I have some problems using it. For example, two functions I need to use at the beginning are pl_cam_get_name and pl_cam_open. In the header file they are described as rs_bool po_cam_get_name(int16 cam_num, char_ptr cam_name) and rs_bool pl_cam_open(char_ptr cam_name, int16_ptr hcam, init16 o_mode). First function allows me to receive the string identifier associated with my camera. It searches for the drivers, without checking the hardware. The second function initializes the camera hardware. If successful, the camera sends a camera handle to hcam. The error that I receive in Labview is C0_Cam _Name_Out_Of_RNG. Can be that the matter is in how I define the imput parameters? I initialized an array, converted bytes to a string and connected to my input of the cal library function node that is required to be a string. May somebody please suggest me how correctly to use the functions from the pvcam32.dll or may be give me some example - that would be faster. I am a new guy to the Labview.
12-03-2008 05:38 AM
Don't do a posting more than once. Try to stick to the original thread here . Please wait patiently, so that somebody will surely help you.
Mathan