I seem to be having a problem with my Sony XC-EI50 camera. I'm using the 1410 card and am trying to externally trigger it to grab one frame (using FPGA, which isn't really relevant here). I have the DC-700 camera adaptor, so the trigger signal is connected to the TRIG BNC input. The camera's DIP switches are configured so that only the 7th and 8th switches are ON, while the others are OFF. The Video 1 Output is connected to the framegrabber, and the image is acquired via channel 1.
The camera's grab and snap features are working perfectly in MAX, but I can't seem to use the Sony XC-EI50 icd file, which might be causing the problem. I get an error message when trying to load it, so I use the RS-170 file instead.
Attached is a simple .vi I wrote just to get the camera to work. I run it and send a trigger before the "get buffer vi" times out. I then get a "Error -1074397153 occurred at IMAQ Get Buffer.vi
Possible reason(s): NI-IMAQ: Cannot detect recognizable video source" message.
I would love to get your opinion on this, as I've already tried all of the relevant solutions I could find in this forum.
Solved! Go to Solution.
Thanks for your reply.
I've tried that, but it has nothing to do with the timeout. The error appears exactly when the camera is triggered, which is before the vi times out.
I think the image which is acquired (for some reason) does not seem like a good one to the vi... even though the images I obtain on MAX look quite good.
Attached is a screenshot of the vi I'm using just to test a simple one-shot acquisition. The timeout is set to 10 seconds, just so I could have enough time to manually trigger the camera, but just as I push the trigger button (sending a TTL), the "get buffer" vi returns an error (see above).
In addition, I'm sure I have the right channel set, because it's the same one I acquire images through MAX, and when I play around with it the program errors at the first frame of the sequence (before even reaching "get buffer").
I really appreciate your help.
There can be a lot of different sources for this error, usually which point to the power supply for the camera, but that doesn't seem to be the case. Are you initializing the image buffer with the proper data type? If this doesn't work, some other suggestions are given in this KnowledgeBase article: Error Codes with NI IMAQ
Feel free to post back if those suggestions don't work.
Thanks for your reply, Marti.
I don't think I quite understand your question... Are you referring to the interface name?
I've tried everything relevant in the link you sent me, and still no luck...
I've also discovered that if I delete the "configure trigger vi" and just run the program, it manages to capture a frame (without timing, of course, since the camera is not activated by a trigger) and the image is displayed on the front panel, but the "save to png" vi still claims that there's no image to save.
Any thoughts? Maybe this is a trigger problem and not a camera configuration problem...?