LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvi can't see my 1394 camera

my code :
 
  status = viOpenDefaultRM (&defaultRM);
 //find the device in the system.
 status = viFindRsrc(defaultRM,
 "/?*",
 VI_NULL,VI_NULL,instrDescriptor);
 
then the instrDescriptor shows only  ASRL1::INSTR*, that 's ther series device ?
 
why I can't see the 1394 camera which can be seen in MAX.
0 Kudos
Message 1 of 4
(3,339 Views)
zy9,
 
    You should be able to access the camera with your code as you can in MAX.  It looks like you are actually getting the correct response.  ASRL2::INSTR is the visa resource name or descriptor for a port.  If I am assuming correctly as to what you mean, it looks like it's giving the response it should be when asked for the descriptor.
    If I am assuming incorrectly let me know, also let me know if you have any more questions.  Thank you!
 
-Allison S.
Applications Engineering
-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 2 of 4
(3,313 Views)

when I use "/?*INSTR" in viFindRsrc, it shows ASL1..., when I use "/FIREWIRE?*INSTR",

 

it gives :

NoN-Fatal run-time error, funtion viFindRsrc: (return value==-1073807343(0xbfff0011))

insufficient location information or the requested device or resource is not present in the system.

but my sony dfw x700 is connected, and max can see it.

0 Kudos
Message 3 of 4
(3,288 Views)

zy9,

    It looks like you are trying to do some sort of low level access to the camera.  Do you have our NI-IMAQ 1394 driver?  If not then you may need to do low-level access, but if so then you can use our sample programs, I would suggest looking in this folder: C:\Program Files\National Instruments\CVI80\samples\imaq1394\Samples without IMAQ Vision  (the path may vary based on the name of your main drive and your version of CVI).  They show the best ways to access and communicate with 1394 cameras through our software.  Let me know if that helps and if you have any questions.

-Allison S.

Applications Engineering

-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 4 of 4
(3,268 Views)