Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Using internal Pulnix LUT

I have a Pulnix 1402 Camera Link camera connected to an NI PCI-1428 card.  The Pulnix is capable of utilizing an internal LUT for preprocessing before data ever gets to the 1428 card.  Can you tell me how to send the necessary commands to the camera via the 1428 card?  The camera file I have does not provide support for the internal Pulnix LUT.
 
0 Kudos
Message 1 of 5
(3,737 Views)
Hello Stan!

Thank you for contacting National Instruments.  You will first need to figure out how your camera can enable this processing by knowing which commands to send to the camera.  You can then use our IMAQ Serial Write and Read VIs to send the correct serial commands.  Let me know if this is unclear or you have other questions. 

Thanks and have a great day.

Regards,
Mark T
Applications Engineer | National Instruments
0 Kudos
Message 2 of 5
(3,724 Views)

Try using the AccuPixel software from Pulnix. You can download it from their webpage. This should work for what you want to accomplish.

 

0 Kudos
Message 3 of 5
(3,718 Views)

Thanks for the responses.  I am actually writing in VB using Measurement Studio for .NET so I don't have the VIs.  I have not found equivalents for IMAQ Serial Write under Measurement Studio.

As for using AccuPixel, I believe I was able to change the LUT setting in the camera.  I used AccuPixel to "write" out a new LUT and was able to "Load" it so a new setting is there, but it is not being used when using the NI Vision components.  I think Vision settings in IMAX may be forcing a default setting.

I can figure out the necessary serial commands to send (unless someone happens to know that already), I just need to find the Serial Write function in Measurement Studio or IMAQ.

Stan

0 Kudos
Message 4 of 5
(3,713 Views)
Hey Stan,
 
Another option that you have is that you can modify your camera file to include Attributes that send your camera the serial commands you want to send it to modify its Internal LUT. You can use the ... NI Camera File Generator in order to do this. The NI Camera File Generator will allow you to easily set up any Attributes that your camera can do, as long as you know the commands that your specific camera requires. Usually the camera's commands can be found in its User Manual. You can open your camera's existing camera file in the Camera File Generator and then add to it. There is great Help documentation that comes with the Camera File Generator so you can quickly learn how to add an Attribute that has different options for the LUT for your camera (or other attributes of the camera). Then you can call the CWIMAQ1.set_CameraAttributeor the CWIMAQ1.set_Attributeproperties in your program. This will allow you to change the LUT in your program, instead of having to go into another program to change it.
 
I hope this helps.
 
Regards,
DJ L.
0 Kudos
Message 5 of 5
(3,703 Views)