Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way for camera PIO to read an external hardware counter?

some 1394 camera with the PIO ports,  it is the standard feature of IIDC 1394,  4 inputs, 4 outputs, user can read the camera register to get input data. the input port0 already used for camera trigger,
 
port 1 ,2 ,3 still free, I wonder the 4 ports are just  1 bit per pin (physical pin)or some other way can get more data ? if we have a hardware counter, can we use the PIO input to get the counter value?
 
if it's just 1 bit per pin, then just can get hi, lo signal, then 3 ports can only get 0-7 states, then no way to get the count?  
 
we have multiple camera attached to multiple computers, if this way(PIO input) works, then we just need one external counter, output the count to all camera PIO, then save a lot money, the other way, we need to put multiple DAQ card with on board counter to each computer, let the DAQ card doing the counting, too expensive.
0 Kudos
Message 1 of 9
(6,031 Views)
Hi zy,
I'm not sure if I understand what you are looking for.  To rephrase your question, you are using an industry standard 1394 camera that has 4 input channels and 4 output channels, and you trigger the camera with its input port 0.
 
You asked about whether the ports transfer 1 bit per pin.  This sounds device specific.  What device are you referring to?
 
When you mention getting the hi or lo signal, I'm not sure if you mean that you are getting this from the camera or sending it to the camera.
 
Lastly, you mentioned that you have multiple cameras attached to multiple computers, but you want to send the same signal to all of them from the same counter.  Can you describe your application?  Are you trying to synchronize them?  What are you programming this in?
 
 
Luke
Applications Engineer
National Instruments
0 Kudos
Message 2 of 9
(6,017 Views)
1) the basler camera, with pio on it, rj45 has 10 pins, 4 input, 4 output, i mean one input pin can only accept one  "low or hi", just 1 bit information ? 
2) I want to assign the same counter value to all the images triggered the same time on multiple RT, because these multiple RT shooting one object the same time, I want to use the counter to stamp images on the same object. the conveyer transfer the object has a vary speed, some time fast, some time slow, Host computer receive the RT images at diff time, so we just want to put the count as unique id for images trigger at the same time.
0 Kudos
Message 3 of 9
(6,012 Views)
 
Hi zy,
I'm starting to get a better idea of what you are trying to do, but I still have a couple of questions.
1. I don't have access to one of these cameras, so I can't answer specifically about its configuration.
2. It sounds like you just need to generate a digital pulse at a regular rate to output to all of your cameras.  If you need the pulse to be very precisely timed, then I recommend that you use a device with a counter output to generate a pulse train.  If you don't need the pulse frequency to be exact, but rather just need to have all cameras receiving one signal, you could use something as simple as a USB-6008 to generate a digital signal.
 
Please let us know if we can offer any more help.
Luke
Applications Engineer
National Instruments
0 Kudos
Message 4 of 9
(5,946 Views)
thanks for the reply.
 
the pulse is from an optic encoder, like a treadmill, the tick count give how far the object on the conveyer goes. want to put this tick as a stamp on each collected image triggered the same time from diff RTs shooting the same object. if the IIDC fireware with PIO can do that, it will save us a lot of money, if not, then we can use PCI 6001 ? each will be $410, want to find a cheap solution. The RT has no USB port, don't know if we can add an USB card ?
0 Kudos
Message 5 of 9
(5,943 Views)
Hi zy,
I'm sorry, but I'm really not following what you are trying to achieve. 
Can you please specify:
1. What hardware (with model numbers) you are using.  I can't find any information about a PCI 6001.
2. What software are you using?
3. Can you describe step-by-step how you would like your application to work?
Thanks,
Luke
Applications Engineer
National Instruments
0 Kudos
Message 6 of 9
(5,830 Views)
1)using basler a102f with pio, input port0 triggering the camera, that's ok, want to use other pio input ports to get the count value  from an optic encoder pulse , if not working this way, may consider using PCI 6601, that will be expensive for multiple RTs(each one with a 6601) 
2)sw is labview7.1
3) the camera collect image by an external trigger, also as descripted 1), pick up an external count number, stick to this image as a "stamp".
0 Kudos
Message 7 of 9
(5,500 Views)
Seems to me, if you want to know whether the hardware on the Basler camera can be used for some purpose, you should be asking the technical support at Basler.
0 Kudos
Message 8 of 9
(5,494 Views)
Hi,

I am not sure that I am understanding your application correctly but it sounds like you are trying to use your camera as a counter.  Most cameras I have worked with cann't do that, but you may want to contact Basler to see if that camera is capable of being used as a counter. 

Regards,
GG
0 Kudos
Message 9 of 9
(5,425 Views)