《Vision Idea Exchange.docx》由会员分享,可在线阅读,更多相关《Vision Idea Exchange.docx(18页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、VisionIdeaExchange15KudosPythonScriptinginVBAIStatus:NewSubmittedbyvarga.smon11-06-202008:57AM2CommentCallingapythonscriptfromVBAIrequiresmanysteps.PleasemakeitsimplerandmoreintuitivetorunaPythonscriptdirectlyfromVBAI.EveniflimitingthereturntypestothedatatypescurrentlyavailableinVBAIwouldbefine.This
2、wouldallowVBAItoeasilyutilizeOpenCVmoredirectlyandmoreintuitively.Today,theonlywaytocallaPythonscriptistobuildthecallthroughLabVIEW,thenbuildtheLVVIfordistributiontoVBAI,thenuseacallLVstepinVBAI.ForsimplePythonscripts(e.g.manipulatingtextstrings,move,renameordeletefiles,gettingvaluesfromdictionaries
3、)thisisalotofunnecessarystepsthatpreventpeoplefromusingVisionBuilder.EvenseasonedLabVIEWusersoftenhavedifficultingbuildingaLVstepsuchthatitcanbeaccessedbyVBAI.CriticalforDebugging:Duringrun,theVBAIstepshouldalsoreturnthenameandpathoftheenvironmentbeingused.Bonus:AsimplePythoneditorlaunchedfromVBAIwo
4、uldbeideal(suchasthefreeversionofVisualStudioCode).Labels:VisionBuilderAI5KudosIMAQOverlayLineStyleStatus:NewSubmittedbyvarshinee97on02-01-202101:27AMCommentSimilartoDrawLine/DrawMultipleLinesfunctionavailableforPicture,itwouldbegoodtohavelinestyles(asmentionedintheattachedimage)forIMAQOverlayLine,I
5、MAQOverlayMultipleLines2.linestyle.PNG4314KBLabels:VisionDevelopmentModuleTags:OverlaysViewAll(1)5KudosMakeIMAQimageanativedatatypeStatus:NewSubmittedbydreeves73on11-27-202005:19AM2CommentThisisprobablynotasimplethingforNItoimplementbutIalwaysthoughtitwouldmakesensetomaketheIMAQimageanativedatatype.
6、WhenIfirststartedusingLabVIEW,ittookmeawhiletogetusedtotheimagedatatypeandunderstandthatitisjustapointertoanamedimageinmemoryandthepointerispassedbetweenimageoperators.Iamusedtoitnowbutitstillseemsclunkytome.Whycantanimageconstantorcontrolimplicitlycreateanimageandtheycanbeimplicitlydestroyedattheen
7、dofaprogram.Branchingawirewouldcreatetwocopiesofanimagethatcouldbeoperatedonindependently.AtthemomentmyimagingcodealwayslooksquitemessybecauseIoftenneedtocreatetemporaryimagebuffersforintermediateoperations.IthinkthiswouldmaketheimagingtoolsamorewholisticadditiontolabVIEWandmakeitfeellesslikesomethi
8、ngthatwasadaptedfromanotherlanguage.Suretherewouldbesomeimpactonperformance,butisntthatwhyweuseLabVIEW?Simplerprogrammingatahigherlevel.Labels:VisionDevelopmentModule17KudosVisionDevelopmentModuleDeploymentlicensenonsenseStatus:NewSubmittedbyX.on03-05-201907:17PMCommentrantAuserofminewhohadtriedasof
9、twareIhadreleasedasanexecutableusingthetriallicenseofferedbyNIwhenfirstinstallingtheVisionDevelopmentModuleRTE,decidedtogoaheadandpurchaseasingleuserlicensefromNItobeabletocontinueusingit(note:IdontgetadimefromthistransactionandinfactIwouldarguethatbeingaresearchonlytool,thereshouldbenoDeploymentLic
10、enseFeechargedtoanyuser,butthisisanothertopic).TheusercalledNI,whotoldherthattheproductwouldshipin3daysfromnow.Theuserreportedthistome,andIimmediatelycalledNItofigureoutwhatwasgoingon.Afterall,thedeploymentlicenseisasimplelicensenumberandthereisnoneedtoshipanything,sincetheRTEcanbedownloadedforfreeo
11、nNIswebsite.Well,thingsaredifferentatNI.Yes,thewebsiteconfirmsthatadeploymentlicensedoesntneedanydelivery(nomediaistheonlychoiceontheproductpage:/ni/en-us/shop/select/vision-development-module).Butstill,whenyoupurchasealicenseonTuesday,itonlyshipsonFriday.IhadtotalktotwoNIemployeesbeforeIcouldgettot
12、hepointwhereIwasofferedtogetatriallicenseextensionformyuser(butnoadmissionthatthefactthatasoftwarelicenseneeds3daystobegeneratedisbackwards).Icertainlywillnotgothroughthisasecondtime,andwillclearlyspellouttheantiquatedprocessthatanypotentialuserofmysoftwarewillneedtogothrough,shouldtheydesiretopurch
13、asealicense.endofrantIdea:Makeitsimpletogetavisiondevelopmentmoduledeploymentlicense(asinquickemaildeliveryshortlyafteronlinepurchase).Labels:VisionDevelopmentModuleTags:X_IdeaViewAll(1)14KudosMakeiteasiertopanimagesintheVisionAssistantStatus:NewSubmittedbyng1902on11-14-201809:54AM3CommentLatelyIveb
14、eenworkingonprojectsthatusehigh-resolutioncameras(10+MP).TypicallyIusetheVisionAssistanttoquicklyprototypeavisioninspection,thenrewritetheinspectioninLabVIEW.Whenworkingwithlargeimages,Ioftenneedtopanaroundtodifferentpartsoftheimage.However,theonlywaytopantheimageintheVisionAssistantisbyusingthescro
15、llbars,whichoftenfeelsclunky.Iwouldlovetobeabletonavigatearoundtheimagemoreeasilyandfluidly.Afewpossibleideas:AddthePantooltothetoolbar,liketheImageDisplayindicatorshaveinLabVIEW,sothattheimagecanbenavigatedbyclicking+draggingClickthemiddlemouse-wheeltotogglepanningwiththemouseposition,likeinChrome/
16、Firefox/ExcelClick+holdthemiddlemousebuttontodragandpantheimage,likePaint.NETChangethebehaviorofthemousescroll-wheeltoalignwithfamiliarsoftware,likeChrome/FirefoxandPaint.NET,insteadofjusthavingtheschoolwheelbezoom,thatis:Scrollingup/downwouldpantheimageup/downShift+scrollwheelwouldpantheimageleft/r
17、ightCtrl+scrollwheelwouldzoomin/outLabels:VisionDevelopmentModuleTags:visionassistantViewAll(1)24KudosImprovedImageZoomToolStatus:NewSubmittedbyX.on01-04-201712:22PM4CommentThezoomtooloftheimagedisplaycontrolisantiquated.Currently(Vision2016),youselectitandthenclickintheimagetozoombyafixedamount.Con
18、siderupgradingitscapabilitiestomatchmodernUIs:-SelectingarectangularROIwiththezoomtoolshouldzoomtothatROI,i.e.,theROIshouldbeexpandedtofilltheimagdisplaycontrol.-supportmousewheel(andtouchscreenifneeded)toactasazoominandoutnomatterwhichtoolisselected.-supportfixedaspectratiohotkey(e.g.Ctrlkey):zoomi
19、ngwiththeaboveROIselectionwhilethehotkeyispressedwillzoomtheimagetofillthedisplaywiththelargest(orsmallest)dimensionoftheROI.Feelfreetoaddsuggestionsbelow.Labels:VisionDevelopmentModuleTags:Image_Zoom_ToolX_IdeaViewAll(2)19KudosBreakingthe2GBlimitforimagefilesStatus:NewSubmittedbyMaximon06-21-201705
20、:57AM6CommentWiththereleaseofLV2017andthereforeVision2017Iexpectedthe2GBlimittobegone.UnfortunatelyandwithgreatdiappointmentIhavefoundoutthatthiswasnotthecaseanditsstillnotpossibletocreateorhandleimagefilesgreaterthan2GBeveninLV64bit2017.Latestlinearimagesensorscangoupto32.000pixels(perlineandpercha
21、nnel)andwecurrentlyusea16Ksensorinourcameraandeasilycanexceedthe2GBlimitwhenwescanlongmaterialsspeciallyif16bitprecisionisrequiredandRGBcolorisalsoneeded.Thismeansthatwehadtoimplementseveraltricksinordertobreakdowntheimagesize(weprocesseachRGBcolorlayerasaseparateimagefileanddividetheimageinseveralc
22、hunks)butwearestillanywayexperiencingmanybottlenecksandarefrustratedinthesoftwaredevelopmentbecausewecannotusemanyoftheexhistingVisiontoolsthatarelimitedto2GB.AndofcourseVISION/IMAQlibrariescannothandleimageprocessingwhenimageinformationisdistributedintodifferentimagesandthereforewehadtowriteourownl
23、ibraries(evenforimageviewing)soastohandletheimagesproperly.Furthermore,despitetheTIFFformatislimitedto4GB(not2GB)itsrelativelyeasytosplittheimagefileintoseparateTIFFfileswhileitsnoteasytohandleorprocessimagedatainseparatechunksorchannels.Furthermoretherearealsootherimageformatsthatallowsforverylarge
24、filesizes(i.e.BigTIFFwhichisextremelyeasytoimplementasitsonlya64bitextensionofthecurrently32bitlimitintheTIFFformat).Somysuggestionis:tobreakthe2GBlimitandfinallyallowhandlingverylargeimagefilesdirectlyintoLabviewandtheVisionlibraries!Labels:VisionDevelopmentModule11KudosFastwayofrotatinganimage90de
25、greesinIMAQStatus:NewSubmittedbyandreasbjon08-31-201806:17AM3CommentProblem:Ineedtoacquireimagesfromacameraandrotatethem90-degreescounter-clockwiseonacRIO-9034target.Rotatingtheimageonthecamerasensorisnotsupportedbythecamera.Currentsituation:Itiscurrentlypossibletorotateanimageusing“IMAQRotate.vi.Th
26、isVIhasafloatingpointinputanglewhichcanbesetto90degrees.Itishoweverabitslow(around80msonacRIO-9034fora3840x1200image).Itshouldbepossibletoimplementafasterwayofrotatinganimagewhentheangleisinincrementsof90degrees.Mysuggestion:CreateanewIMAQviforrotatingimagesinincrementsof90degrees.TheVIcouldbesimila
27、rtoIMAQSymmetry.viwhichcanbeusedtoflipimageshorizontallyandvertically.Labels:VisionDevelopmentModuleTags:ImageimaqrotationvisionViewAll(4)3KudosNi-IMAQdxskiperrorStatus:NewSubmittedbysafaron07-02-202005:22AMCommentWhenIhaveacamerawithaparameteroutofrange,IcannotopentheconnectiontothiscamerawithNI-IM
28、AQdx,theonlywaytoconnectwiththecameraistouseanotherPleoraSoftwarelikeGevPlayertocommunicatewiththecamera.ThisSWcanopentheconnectionandintheparametersoutsidetherangeitputsasign(!)infrontoftheparameter.myideaistoallowtoopentheconnectionwiththecameratheresultisnotanerrorbutawaringindicatedthefirstparam
29、eterthatisoutofrange,withthiswecancorrecttheparameterandcontinuecapturingimage.Thefunction(IMAQdxConfigureGrab.vi)itshouldreturnerrorincaseaparameterisoutofrange,butfunction(IMAQdxOpenCamera.vi)itshouldnotreturnanerrorbutawaringassaidbefore.ThesamewithCameraValidatoronlyreturnsanerrorcodewhichmeans(
30、unablegetattributevalue)Labels:VisionAcquisitionSoftwareTags:improvefunctionalityViewAll(1)17KudosSupportforU32,I32andRGB128Images/ImageTypeStatus:NewSubmittedbyAndi_Son02-22-201712:03AM3CommentCurrentsituation:Moreandmoreimagesensorsdosupportbitdepthsofmorethan16Bit.Justtwoexamples:AptinaMT9M034,Om
31、niVisionOV10640CurrentlyitisnotpossibletohandleimagefromthosesensorswithinLabVIEWexceptasa2D-Array/Matrix.UsingtheSGLimagetypewouldbepossibleonthefirstsightbutithasseveraldisadvantages:storingofthoseimageisnotpossibleandalotofimageprocessingandcalculationfunctiondonotsupportSGL.Improvement:Addsuppor
32、tfortheimagetypesU32,I32andRGB128.PersonallyIseethepriorityatU32andI32becausethosetypesareneededtohandletheRAWdatafromthesensors.Veryimportant:Donotjustaddthosetypestoyourtypedef!Theremustbearealsupportfromallbasicfunctions!Basicfunctionsareinmyopinion/formyusage:writetofile,readfromfile,allfunction
33、sinthepalettesVisionUtilites,Processing,Filters,OperatorsandthefunctionsHistogram,Histograph,LineProfile,ROIProfile,LinearAveragesandallotherstaticsfunctions.Labels:VisionBuilderAIVisionDevelopmentModuleTags:I32imagetypeU32ViewAll(3)22KudosVision:handlingsingleimagefiles2GB!Status:NewSubmittedbyMaxi
34、mon03-16-201603:07AM6CommentImexpectingthisalongtime.butateachnewLabviewreleaseImdisappointed.Despite64bitLabviewandVisionlibrariesareavailablesincealongtimenow,itsstillnotpossibletoallocatemorethen2GBforasingleimage.Wouldbenicetoremovethatlimitationoratleasttoextendit!Labels:Analysis&ComputationExe
35、cution&Performance13KudosVisionDevelopmentRun-timeLicenseneedstoTransferfromVersionsWithoutre-Licenseing(ex.2016-2017)Status:NewSubmittedbyBB500on08-25-201703:07PMCommentIhaverunintothisproblemwiththeVisionruntime,VisionAcquisitionruntimesinceIbeganusingLabview.TheproblemhereisthateverytimeIupgradem
36、ydevelopmentsoftwareforexampleVisionDevelopmentModule2016to2017thenupdatemycustomerstheyneedtoactivelyre-licenseboththeVDruntimeandVAruntimes.Thisseemstomakenosensesincebothruntimeswerealreadyactivatedinthepreviousversion.Thisisarealissuewhenyouareupdatingsoftwareoncustomersmachinesthathavenointerne
37、taccess.TheVisionDevelopmentruntimesneedtoautomaticallytransferfromversiontoversionsincetheVisionruntimekeysaregoodindefinitelyforupdates.Thiswouldpreventcustomersfromhavingtore-licenseyearlyliketheydonowwhichinmyopiniondoesnotmakesense.Attheveryleasttherecouldbeawaytoadda20charactercodeproblematica
38、llywhenupdatingversionssousersdonthavetoworktheirwaythroughNIslicensemanager.Labels:VisionDevelopmentModuleTags:licenseViewAll(1)17KudosAddingOptionforDisplaywhileRightclickingonImageIndicatorStatus:NewSubmittedbyPalanivelThiruvenkadamon09-15-201601:19AM2CommentThisideaistohaveanoptionintheImageIndi
39、catortochangetoImageDisplay.CurrentlytogetImageDisplayDeveloperneedstorightclickontheFrontpanelofImageIndicator-Replace-SelectVisionandtheneedstoselectthekindofdiplayneeded.IfbydefaulttherightclickoptionprovidesDisplayalsoasanoption,thenitseasytonavigateinsingleselection.Labels:VisionBuilderAITags:d
40、isplayViewAll(1)22KudossimulatedimaqdxcamerasStatus:NewSubmittedbyfalkplon01-20-202107:16AMCommentThisideaissomethingIhaveimplementedinhouseandpostingismotivatedbythefollowingdiscussion:/forums.ni/t5/Machine-Vision/Simulate-GigE-Vision-Basler-Runner-Camera-ruL2098-10gc/m-p/3076940#M44384Iwouldliketo
41、havetheabilitytoaddasimulatedimaqcamerainmaxtousewiththeimaqdxdriver.Thecamerashouldbeabletospecifywitheritislinescanorareascan,aswellassensorsizeandspecifications.Thesimulateddeviceshouldsupportthebasicpropertynodes(AOI,exposurelineorframerate.couldevenhaveaxmlforiGenCam).Ideallythesourceoftheimage
42、(directory)couldbespecifiedsothatgrabsorsnapswouldplaybackpreviouslyacquiredimagesoratestpatterncouldbeselectedinstead.Imightbeaskingfortoomuch,butthisallowsforofflinetestingonvisionsystems,somethingthatiscommonafterdeployment.Labels:VisionAcquisitionSoftware20KudosEnableOverlaywhenconvertingfromVis
43、ionAssistanttoVIStatus:NewSubmittedbyR.Kuwajimaon05-22-202110:57AMCommentWhenVisionAssistantstepsareconvertedtoLabVIEWVI,theoverlayofresult(i.e.edgedetect,particlecounts)islost.AddingoverlayfunctiononVIrequiresnotonlyLabVIEWskills,butVisionknowledgeduetoimagememoryhandling.Soitdbenicetohaveanoptiont
44、okeeptheoverlayfunctionalityonVisionAssistantevenwhenconvertingtoLabVIEWVItohaveasmoothtransition.RyujiKuwajimaLabels:VisionDevelopmentModuleTags:LabVIEWoverlayvisionassistantViewAll(3)7KudosUpdateVIsthatprovideconstantsthatarealreadyavailableinVisionAssistant(kernels,palettes,.)Status:NewSubmittedb
45、yb.ploetzenederon09-14-201806:13AMCommentTherearemultipleplaceswherewecanconfigureconstantsinVisionAssistant,butwhicharenotavailableinsideLabVIEW.Forexample:IMAQGetKernelisseverelylimitedbythekernelsize(3,5,7).Nowadays,imagesarelargerandcomputersarefaster,soweoftenrequirelargerkernelsizes.Itispossib
46、letocreatelargerkernelsinVisionAssistant,soportingthatfunctionalityshouldnotbeaproblem.Also,VisionAssistantprovidesmorepalettesthanIMAQGetPalette.(DICOMHotIron,DICOMPETetc).Inbothcases,itispossibletocreatecodefromVisionAssistantandcopy-pastetheconstants,orcreatecustomversionsofthevis.Butthisissuchaw
47、asteoftime.Labels:VisionDevelopmentModuleTags:filterkernelsgetkernelGetPaletteViewAll(3)1KudosVisionRuntimeLicensingwithaUSBDongleStatus:NewSubmittedbycarlosss123on12-17-202006:41PMCommentThiswillbeusefultodeployprojectstoend-usersmoreeasily.Currently,NIonlyprovidestheUSBDongleSolutionforLabVIEW,Tes
48、tStand,andLabWindows/CVI.MoresoftwareintothisUSBDonglewillprovidemoreflexibilityinthelicensingoptionstodeploytoend-users.s:/ni/pdf/manuals/372534d.pdfLabels:VisionAcquisitionSoftwareTags:LicenseManagerUSBViewAll(2)13KudosBeingabletoread/writemp4/h.264filesStatus:NewSubmittedbymarkwardon12-15-202110:
49、52AM1CommentItwouldbe_really_helpfulifLabViewcouldread/writemp4/h.264files,sopleasecouldthatbeaddedtoafutureversion?Imworkingwithacompanywhogeneratelongmp4filesthatarequiteefficientlycompressed.TheseneedtobeanalysedusingLabVIEWbuttocreateanmjpegversionjustsothatLabVIEWcanopenitwastesalotoftimeandspace+needsanothersoftwareinstall.ItsembarassingtosaythatLabVIEWjustc