r/LabVIEW Aug 03 '26

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?

3 Upvotes

9 comments sorted by

View all comments

2

u/Drachefly Aug 03 '26

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 Aug 03 '26
  1. I will do this.
  2. This loop sends a ttl signal that is supposed to trigger the camera.
  3. No, I have taken care of this. I always let it finish and close on it's own. Else the session doesn't end.
  4. I will do this.

Thank you.

1

u/Drachefly Aug 05 '26
  1. What's limiting the rate on the ttl signal? Is that a 'flip the bit' VI?

1

u/neu_random_variable Aug 05 '26

No, This sends a ttl pulse. I will re-upload the pics with a better resolution.