LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can basler camera use its input port to read a hardware counter?

have a basler a102f camera grabbing image, the same time also want to use it's daq input to get an external hardware counter value, is it possiable ?

a102f daq has 4 input ports and output ports,

right now have no idea which kind of hardware counter I can use which can port the count value signal(interface) to the camera daq input port. the hardware counter just count a pulse signal with 200hz to 0hz .

any suggestion ?

thanks

0 Kudos
Message 1 of 4
(2,971 Views)
Hi,

Thank you for using the National Instrument Discussion Forums.  I believe the camera that you are refering to is a firewire camera, and you are trying to read in a digital signal to trigger the camera.  If you have your camera set in trigger mode then you can read in a digital signal on one of the input trigger lines.  You may want to check in the Basler User Manual for more information about how to set up the camera for triggering?  Is this what you are trying to do?  Are you having difficulty programing the camera to use triggers in LabVIEW?  If so you may want to look at some of the example programs that are included with IMAQdx.  There is an example called Trigger grab that would be usefull for you.  I hope this helps.

Regards,
GG
0 Kudos
Message 2 of 4
(2,939 Views)

sorry may be my description not accurate, my basler camera already used port 0 as trigger(triggered by an elec optical sonser) grabbing image, every thing ok. it also has on board daq(instead NI daq board), what I want is using another daq port to grab an external hardware counter value (the counter counts an external pulse 200hz to 0 hz )and attach the counter value as a stamp to the grabbed image.

like

image #                 counter value

image1                  000001

image2                  000023

image3                  000025

image4                  000100

the count value as a stamp attached to the image.

 

0 Kudos
Message 3 of 4
(2,935 Views)
Hi,

I read through that user manual some more and I didn't see anywhere that specifies that you can use any of those inputs as a counter.  So I don't think that your camera is capable of doing what you are trying to do.  You may want to contact them for more information about the camera though. 

To clarify you are trying to capture the four images at the counter value that you have specified below.  And you are reading in a pulse train on one of the digital input lines.  The problem is that there is a trigger counter on your camera, but it only counts every time an image is triggered.  If a trigger is recieved, but no image is acquired then the counter won't increment.  Again you may want to contact Basler for more information about your camera.

Regards,
GG
0 Kudos
Message 4 of 4
(2,917 Views)