Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Saved image appears stipped like unsynchrone

one shot acquisition,stillcolor,composite RGB32 ; Acquisition works well, display too, saving to disk works but opening ( bmp ) a saved image with any application it appears coherent but stripped (5 or 6 bended strippes) I don't use vision
0 Kudos
Message 1 of 3
(3,033 Views)
What are you using to save the image? If you right click the image from MAX, are you able to save a bmp from there?

Also, there is a great example on ni.com that you may not have seen yet that shows how to save images without Vision. It can be found by typing "save images without vision" into the main search field of ni.com. It is called Saving Images Without IMAQ Vision (IMAQ Only) and has examples for LabVIEW, CVI, and Visual Basic.
0 Kudos
Message 2 of 3
(3,033 Views)
Thanks for your answer
I have seen this example
I use this portion of code:
Private Sub Snap_Click()
CWIMAQ1.Interface = Interface.Text
CWIMAQ1.LoadInterfaceDefaults
CWIMAQ1.Configure
CWIMAQ1.StillColorMode = cwimaqStillColorModeComposite
CWIMAQImage.Type = cwimaqImageTypeRGB32
CWIMAQ1.ImageRep = cwimaqRepRGB32
CWIMAQ1.BlackReferenceVolt = 0
CWIMAQ1.WhiteReferenceVolt = 1.15
CWIMAQ1.AcquisitionType = cwimaqAcquisitionOneShot
CWIMAQ1.Start
End Sub

Private Sub CWIMAQ1_AcquiredImage(ImageIndex As Variant)
CWIMAQ1.WindowPlot Picture1.hWnd
CWIMAQ1.SaveImageToDisk Path.Text, CWIMAQ1.Images(ImageIndex)
End Sub
As it is this code save a unredeable picture (my video source is a composite color camera PAL)
Changing the value of cwi
maqimagerepRGB32 for any valuable value, save a black an white but redeable picture.
Perhaps have I omitted some declaration, but which?
Thanks for help
0 Kudos
Message 3 of 3
(3,033 Views)