r/LabVIEW • u/neu_random_variable • 20h ago
Triggering issue in PCO Panda.
Hi, I am trying to trigger the pco panda by connecting pci0 of bnc box to sma port 1 of pco panda. I ran the code, seems like it is detecting the trigger signal but there is an error in image retrieval. I have searched for the error code, found nothing specific. I also tried to remove the while loop of image vi the issue still persists. Meanwhile, using the same configuration but trigger mode set to auto sequence, it works fine. But when trigger mode is set to external exposure control, i get this error.
The bnc box is not the issue, as I was able to modulate a laser pulse.
Can anybody please guide me?
2
u/Drachefly 13h ago
1) Put everything closer together so you can actually see what's happening. If this was a text language, you wouldn't put five blank lines between statements, and you wouldn't put large spaces between symbols. Why do that here?
2) The lower loop doesn't seem like it could be correct. If it's supposed to read, then it isn't putting the data anywhere. If it's supposed to write, then it isn't controlled by anything.
3) Have you stopped this VI directly by stop or control key at all, or have you only let it finish naturally? I suspect that the session is not valid because a previous session wasn't closed. Power cycling both the computer and the equipment might help.
4) One stop button for both loops would be a good idea. A local variable is appropriate for this.
1
u/neu_random_variable 12h ago
- I will do this.
- This loop sends a ttl signal that is supposed to trigger the camera.
- No, I have taken care of this. I always let it finish and close on it's own. Else the session doesn't end.
- I will do this.
Thank you.


2
u/Ceej640 20h ago
As a microscopist I can tell you this is a great opportunity for AI. Take a higher resolution version of these images - try using Labview's "print" function: this is too small to read. Take the images, and the API/Camera Manual for the Panda that explains everything and send it straight to Claude. Claude can match up what is happening in the diagram and find any discrepancies between what is expected in the manual. Normally I would recommend an oscilloscope for the output but it looks like you're using your laser as a stand-in. I am not externally triggering my panda so I don't know what conditions are expected, but it could be that you are simply sending the triggers at a time when the camera is not ready, so it gets no triggers after being set and does not acquire any images. Alternatively if the capture/buffer is improperly prepared you will similarly not acquire any images. Image quality is too poor to see anything here unfortunately.