10-28-2016 04:08 AM - edited 10-28-2016 04:18 AM
Hi all,
I have:
- LabVIEW 2015
- mvBlueFOX-124C USB camera
My problem is that in NI MAX I see the CameraAttributes:
- Brightness
- Exposure
- Gain
but not the others like White Balance etc.
In LabVIEW I can control these three attributes.
Is there missing a driver or do you know what is the problem?
Thank you in advance!
Best E
10-28-2016 05:45 AM
10-28-2016 06:15 AM
I am already in the advanced view options. Thanks
10-28-2016 06:50 AM
-Can you post snippet of LabVIEW code showing the parameters?
-NI MAX was showing earlier other parameters or it was not?
-Can you check .icd file for camera manually and see if you can see the paramters? If you are using Windows Vista, Windows 7, Windows 8, or Windows 10, place the *.icd file in C:\Users\Public\Public Documents\National Instruments\NI-IMAQ\Data
-Delete above file and reconnect camera and see if it works.
-Did you try connecting to other USB ports?
-What is the IMAQdx and Vision Acqusition Software version you have? Do you have latest?
-Did you update Directshow drivers?
-Try resetting NI MAX DB and see if it shows?(http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9)
10-28-2016 07:11 AM
-labview_code.png
-NI MAX was never showing other parameters
-What do you mean with the .icd file? I also have no Data folder in C:\Users\Public\Public Documents\National Instruments
-I put the USB in another port but it didn't change anything
-programs.png
-I don't know... where can I see?
Thanks
10-31-2016 10:46 AM
I found the .icd file, but there are only the same cameraAttributes I see in NI MAX.
Does somebody has another idea?
Thank you!
11-01-2016 05:22 PM
Is this a USB 2 or 3 camera? What version of Vision Acquisition are you using? From my research it appears to be a USB 2 camera.
If this is the case, there is no standard for USB 2 and it is pretty typical that this few attributes show up due to this. If you can access the attributes you want to access through the BlueFOX software, I would make the changes in their software or use a call library function node in LabVIEW to call into their dlls.
If it is USB 3 Vision, there should be an xml file in the same place as the icd file. Could you send me this xml file?
11-02-2016 12:20 AM
Whatever parameters the camera supports for adjusting will be shown in MAX.
-The code which you sent doesn't show the White balance parameter.
-Try with LabVIEW inbuilt example Low level Grab with attributes and see if it shows(I am curious because you said you were able to tune these in LabVIEW!!)
-You can expand the Software Tab in MAX or use NI License manager to check what version of NI Softwares installed.
11-02-2016 04:07 AM
It is a USB 2 camera.
I am using the Vision Acquisiont version:
-VISA.NET Shared Components 5.6.0 (64-Bit) 5.6.0301
11-02-2016 05:24 AM
I have NI MAX Version 15.0.0f0.
My .icd file looks like this:
[NIIMAQ_HEADER]
Type = 2
Version = 8
[CAMERA_DATA]
AcquisitionAttributes::Bayer::Algorithm = "Bilinear"
AcquisitionAttributes::Bayer::GainB = "1"
AcquisitionAttributes::Bayer::GainG = "1"
AcquisitionAttributes::Bayer::GainR = "1"
AcquisitionAttributes::Bayer::Pattern = "Use hardware value"
AcquisitionAttributes::BitsPerPixel = "Use hardware value"
AcquisitionAttributes::IgnoreFirstFrame = "false"
AcquisitionAttributes::ImageDecoderCopyMode = "Auto"
AcquisitionAttributes::OutputImageType = "Auto"
AcquisitionAttributes::OverwriteMode = "Get Newest"
AcquisitionAttributes::PixelSignedness = "Use hardware value"
AcquisitionAttributes::ReceiveTimestampMode = "None"
AcquisitionAttributes::ShiftPixelBits = "false"
AcquisitionAttributes::SwapPixelBytes = "false"
AcquisitionAttributes::Timeout = "5000"
AcquisitionAttributes::VerticalMirror = "false"
AcquisitionAttributes::VideoMode = "1600x1200 RGB32 4.68fps"
CameraAttributes::Brightness::Mode = "Manual"
CameraAttributes::Brightness::Value = "-10000"
CameraAttributes::Exposure::Mode = "Auto"
CameraAttributes::Gain::Mode = "Auto"
I tried to add "CameraAttributes::WhiteBalance:: = "Auto" ", but it didn't work.
I know that I only can control cameraAttributes in labView when I also can control them in NI MAX, so somehow I need to add these Attributes to NI MAX.