Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

PCIe-1430 Horizontal Hardware Scaling Problem

Setup:
PCIe-1430 Cameralink Framegrabber
Prototype Dual Channel Linescan Camera

One channel is factor of four larger than the other channel.

I want to overlay frames via descale.

I want to use horizontal hardware scaling via the command:

imgSetAttribute (myPortData->Sid, IMG_ATTR_HSCALE, IMG_SCALE_DIV4);

I get an error -1074397093 (the value of IMG_ATT_HSCALE or IMG_ATT_VSCALE is invalid.

I am using 'IMG_SCALE_DIV4' so what is invalid?

Thanx.
0 Kudos
Message 1 of 5
(3,778 Views)
Csk,
 

Thank you for your post.  It looks as though some of your settings for your camera may not match the specifications for the image returned by the sensor.  Are you trying to modify the camera file for the camera or are you call DLL methods in C? 

 

The following post discusses a little about the parameters you mentioned.  You may find it useful:

 

http://forums.ni.com/ni/board/message?board.id=200&message.id=1053&requireLogin=False

 

Thanks,

 

Scott Savage

National Instruments

Applications Engineering

www.ni.com/support
0 Kudos
Message 2 of 5
(3,760 Views)
Unfortunately there is no documentaion on making ICD files other than the utility made by NI. Maybe there are additional undocumented commands, dunno. Thats why the HELP request....

We developed the camera in house so I know what is going on via Camerlink and within its DSP.

The scaling is something the Cameralink board does onboard to the image 'after' the acquisition from the camera.

Is scaling possible for linescan cameras?
Does the PCIe-1430 support hardware scaling?

TIA
0 Kudos
Message 3 of 5
(3,757 Views)

Csk,

Most of our ICS files are made in house and we do provide limited tools for customers to create files from scratch.  Scaling is a hardware feature, and is not available on all boards.  I am checking into the specific functions of this board to see if this is supported.

Thanks,

Scott Savage - National Instruments

0 Kudos
Message 4 of 5
(3,740 Views)
Csk,
 
I did get a response from my R&D team.  Hardware scaling is not supported by our 3rd generation boards (1429, 1430).  It is supported in our 2nd generation boards (everything else except 1408). 
 
Thanks,
 
Scott Savage
National Instruments
Applications Engineering
www.ni.com/support
0 Kudos
Message 5 of 5
(3,695 Views)