No valid laser type found. (galvo fiber)

Is my device not supported?

  • lightburn 1.2.01 on linux (NixOS 22.11.20220812.c4a0efd (Raccoon) x86_64)
  • Board_Model: LMCV4-FIBER-M
  • Board_Rev: 20150811
  • Raycus 30W Source: RFL-P30Q/A3/115/2

I connected the usb to another laptop which doesn’t run windows xp. If necessary I could try Ubuntu or Fedora. The usb might not auto run.

  • lightburn doesn’t ‘Find My Laser’, it returns nothing.
  • So I tried ‘Create Manually’ by selecting: ‘Ezcad2.12.1(20150422)/plug/markcfg7’
    Which errors on import:
No valid laser type found.

EZCad Config Summary:
Click Next if settings are correct.
Otherwise import another config or cancel.
Laser Type: Invalid Laser Type 
Fiber Source Type: IPG_YLP 
Field Size: 100 mm
Field Angle: 0 °
Enable PWM: Yes 
Min Freq: 1 kHz
Max Freq: 20 kHz
Enable Q-Pulse Width: No 
Open MO Delay: 8000 ms
Galvo 1 is X: Yes 
Galvo 1 Negate: No 
Galvo 1 Scale: 1 %
Galvo 1 Bulge: 1 
Galvo 1 Skew: 1 
Galvo 1 Trapezoid: 1 
Galvo 2 Negate: No 
Galvo 2 Scale: 1 %
Galvo 2 Bulge: 1 
Galvo 2 Skew: 1 
Galvo 2 Trapezoid: 1 
Frame Speed: 3000 mm/s
Red Dot Always On: No 
Red Dot Offset X: 0 mm
Red Dot Offset Y: 0 mm
Red Dot Scale X: 1 
Red Dot Scale Y: 1 
Red Dot Rest Pos X: 0 mm
Red Dot Rest Pos Y: 0 mm
Red Light Port: -1 
Start Marking Port: -1 
Ready Light Port: -1 
Ready Light High/Low: High 
Start Mark High/Low: High 
Red Dot High/Low: High 

markcfg7:

[LMC_CFG]
CFGSIZE=12816
LASERTYPE=1
FIELDSIZE=1.000000e+002
FIELDOFFSETX=0.000000e+000
FIELDOFFSETY=0.000000e+000
FIELDANGLE=0.000000e+000
GALVOX=0
GALVODISTOR0=1.000000e+000
GALVODISTOR1=1.000000e+000
GALVOHORVER0=1.000000e+000
GALVOHORVER1=1.000000e+000
GALVOTRAPEDISTOR0=1.000000e+000
GALVOTRAPEDISTOR1=1.000000e+000
GALVOASPECT0=1.000000e+002
GALVOASPECT1=1.000000e+002
GALVONEGATE0=0
GALVONEGATE1=0
ENPOWERANALOGOUT=0
ENFREQANALOGOUT=0
ENPWMOUT=1
MAXPWMFREQ=20000
MINPWMFREQ=1000
ENPWMTICK=1
PWMTICKPERIOD=5000
PWMTICKPULSEWIDTH=1
ENFPK=1
FPK=40
STARTCMDBLOCK=2
ACTIVEAXIS0=0
ACTIVEAXIS1=0
INCERTAXIS0=0
INCERTAXIS1=0
AXISID0=0
AXISID1=1
AXISROTATE0=0
AXISROTATE1=0
AXISZEROFLAG0=0
AXISZEROFLAG1=0
AXISZERODIR0=-1
AXISZERODIR1=-1
AXISSTEPPERRO0=2.000000e+002
AXISSTEPPERRO1=2.000000e+002
AXISDISTPERRO0=5.000000e+000
AXISDISTPERRO1=5.000000e+000
AXISMINPOS0=-1.000000e+003
AXISMINPOS1=-1.000000e+003
AXISMAXPOS0=1.000000e+003
AXISMAXPOS1=1.000000e+003
AXISMINSPD0=1.000000e+002
AXISMINSPD1=1.000000e+002
AXISMAXSPD0=5.000000e+003
AXISMAXSPD1=5.000000e+003
AXISMAXG00SPD0=5.000000e+003
AXISMAXG00SPD1=5.000000e+003
AXISZEROSPD0=1.000000e+002
AXISZEROSPD1=1.000000e+002
AXISGEARRATIO0=1.000000e+000
AXISGEARRATIO1=1.000000e+000
AXISPARTDIA0=1.000000e+001
AXISPARTDIA1=1.000000e+001
AXISACCTIME0=1.000000e+002
AXISACCTIME1=1.000000e+002
AXISZEROOFFSETE0=0.000000e+000
AXISZEROOFFSETE1=0.000000e+000
AXISRETSPACE0=0.000000e+000
AXISRETSPACE1=0.000000e+000
AXISCOMP0=0.000000e+000
AXISCOMP1=0.000000e+000
AXISHEAR0=0.000000e+000
AXISHEAR1=0.000000e+000
AXISTIMEOUT0=10
AXISTIMEOUT1=10
AXISACCURATEZERO0=0
AXISACCURATEZERO1=0
ENSTARTMARKSIGNAL=1
ENFLYMARK=0
FLYRIGHT2LEFT=0
FLYCONTINUEMODE=0
FLYCONTINUEMODETOTALNUM=0
FLYSPEED=0.000000e+000
ENPOWERADJUSTDELAY=1
MINPOWERDELAY=0
MAXPOWERDELAY=0
MAXFREQDELAY=0
ENMARKSTARTDELAY=1
MARKSTARTDELAY=0
MARKFINISHDELAY=0
MINLINELEN=1.000000e-002
ARCTOL=1.000000e-002
AFTERMODE=0
AFTERPOSX=0.000000e+000
AFTERPOSY=0.000000e+000
REDLIGHTSPEED=3.000000e+003
REDLIGHTOFFSETX=0.000000e+000
REDLIGHTOFFSETY=0.000000e+000
REDLIGHTOUTPORT=-1
REDLIGHTSCALE=1.000000e+000
REDLIGHTSCALEY=1.000000e+000
REDLIGHTSHOWCONTOUR=0
REDLIGHTINPORT=-1
DOORINPORT=-1
PULSEWIDTHREVERSE=0
ENABLEANALOGFPK=0
FPKDIRLOWTOHIGH=0
ANALOGFPKMAXV=5.000000e+000
ANALOGFPKMINV=0.000000e+000
ANALOGFPKTIME=100
ANALOGFPKTIME2=1000
MARKOUTPORT=-1
MARKFINISHOUTPORT=-1
STARTMARKPORT=-1
LASERPOWERPORT=-1
SPLITMARKNOGOTOSTARTPOS1=0
SPLITMARKNOGOTOSTARTPOS2=0
ENABLEDIGITALQSWITCH=0
IPGSLEEPTIME=600
HWFLYMARKBYORDER=0
FLYDISCHECKSTARTPORT=0
TOTALPARTNUM=0
m_nIPGOpenMoDelayTimeMs=8
m_nIPGSerialNo=0
m_bEnableCo2QuickPulseMode=0
m_bPowerOffSaveFile=0
m_bDisableContinueOptimizeMode=0
SIDEREDLIGHTOUTPORT=-1
SIDEREDLIGHTOUTPORTLOWVALID=0
m_nLaserReadyOutport=-1
m_nLaserReadyOutportLowValid=0
m_nLaserReadyInport=-1
m_nLaserReadyInportLowValid=0
m_bEnableMarkPause=0
m_bEnableLockInputport=0
m_dMarkTimeRatio=1.000000e+000
POWERANALOGMAP0=1.000000e+001
POWERANALOGMAP1=1.500000e+001
POWERANALOGMAP2=2.000000e+001
POWERANALOGMAP3=3.000000e+001
POWERANALOGMAP4=4.000000e+001
POWERANALOGMAP5=5.000000e+001
POWERANALOGMAP6=6.000000e+001
POWERANALOGMAP7=7.000000e+001
POWERANALOGMAP8=8.000000e+001
POWERANALOGMAP9=9.000000e+001
POWERANALOGMAP10=9.700000e+001
POWERMAP0=1.000000e+001
POWERMAP1=1.500000e+001
POWERMAP2=2.000000e+001
POWERMAP3=3.000000e+001
POWERMAP4=4.000000e+001
POWERMAP5=5.000000e+001
POWERMAP6=6.000000e+001
POWERMAP7=7.000000e+001
POWERMAP8=8.000000e+001
POWERMAP9=9.000000e+001
POWERMAP10=9.700000e+001
FREQANALOGMAP0=1.000000e+001
FREQANALOGMAP1=1.500000e+001
FREQANALOGMAP2=2.000000e+001
FREQANALOGMAP3=3.000000e+001
FREQANALOGMAP4=4.000000e+001
FREQANALOGMAP5=5.000000e+001
FREQANALOGMAP6=6.000000e+001
FREQANALOGMAP7=7.000000e+001
FREQANALOGMAP8=8.000000e+001
FREQANALOGMAP9=9.000000e+001
FREQANALOGMAP10=9.700000e+001
PIXELMAP0=0.000000e+000
PIXELMAP1=1.000000e+001
PIXELMAP2=2.000000e+001
PIXELMAP3=3.000000e+001
PIXELMAP4=4.000000e+001
PIXELMAP5=5.000000e+001
PIXELMAP6=6.000000e+001
PIXELMAP7=7.000000e+001
PIXELMAP8=8.000000e+001
PIXELMAP9=9.000000e+001
PIXELMAP10=1.000000e+002
CURRENTMAP0_0=0.000000e+000
CURRENTMAP1_0=0.000000e+000
CURRENTMAP0_1=1.000000e+001
CURRENTMAP1_1=1.000000e+000
CURRENTMAP0_2=2.000000e+001
CURRENTMAP1_2=2.000000e+000
CURRENTMAP0_3=3.000000e+001
CURRENTMAP1_3=3.000000e+000
CURRENTMAP0_4=4.000000e+001
CURRENTMAP1_4=4.000000e+000
CURRENTMAP0_5=5.000000e+001
CURRENTMAP1_5=5.000000e+000
CURRENTMAP0_6=6.000000e+001
CURRENTMAP1_6=6.000000e+000
CURRENTMAP0_7=7.000000e+001
CURRENTMAP1_7=7.000000e+000
CURRENTMAP0_8=8.000000e+001
CURRENTMAP1_8=8.000000e+000
CURRENTMAP0_9=9.000000e+001
CURRENTMAP1_9=9.000000e+000
CURRENTMAP0_10=1.000000e+002
CURRENTMAP1_10=1.000000e+001
STOPIOHIGH=0
STOPIOLOW=0
STOPIOMSG0=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG1=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG2=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG3=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG4=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG5=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG6=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG7=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG8=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG9=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG10=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG11=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG12=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG13=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG14=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
STOPIOMSG15=Í£Ö¹Ðźű»´¥·¢£¬µ±Ç°¼Ó¹¤±»Í£Ö¹£¡
PSW=
ENABLECORFILE=0
CORFILE=
AUTORESETCOUNT=0
STARTSIGNALPULSEMODE=1
DISMARKWHENREACHTOTALCOUNT=0
FLYHWENABLE=0
FLYSIMU=0
FLYMULTI=1.000000e+000
MARKTOTALTIME=0
MARKTOTALTIMEMS=0
DYNAMIC_RADIUS_0=1.000000e+001
DYNAMIC_Z_0=32768
DYNAMIC_RADIUS_1=2.000000e+001
DYNAMIC_Z_1=32768
DYNAMIC_RADIUS_2=3.000000e+001
DYNAMIC_Z_2=32768
DYNAMIC_RADIUS_3=4.000000e+001
DYNAMIC_Z_3=32768
DYNAMIC_RADIUS_4=5.000000e+001
DYNAMIC_Z_4=32768
DYNAMIC_RADIUS_5=6.000000e+001
DYNAMIC_Z_5=32768
DYNAMIC_RADIUS_6=7.000000e+001
DYNAMIC_Z_6=32768
DYNAMIC_RADIUS_7=8.000000e+001
DYNAMIC_Z_7=32768
DYNAMIC_RADIUS_8=9.000000e+001
DYNAMIC_Z_8=32768
DYNAMIC_RADIUS_9=1.000000e+002
DYNAMIC_Z_9=32768
ENABLE_DYNAMIC=0
INCREMENTZ=500
MICROINCREMENTZ=50
LINEARZ=1
DYNJUMPSPEED=5.000000e+002
DYNMARKSPEED=5.000000e+002
RECTLENGTH=5.000000e+000
ENCO2FPK=0
CO2FPKSTARTPOWER=1.000000e+001
CO2FPKINCPOWER=1.000000e+001
SHOWSTARTDLG=0
ENEXEBATFILE=0
REDCONTMODE=0
REDALWAYSSHOW=0
SPIWAVE=0
SPICONTINUES=0
SPISIMMERCUR=8.000000e+001
STEPMARKMODE=0
MAXSPEED=1.000000e+004
MINSPEED=1.000000e+000
m_nRedLightOutportLowValid=0
m_nMarkOutportLowValid=0
m_nMarkFinishOutportLowValid=0
m_nMarkFinishPulseTimeMs=10
m_nMarkStartPortLowValid=0
m_nMarkLaserPowerPortLowValid=0
m_nRedInportLowValid=0
m_nDoorInportLowValid=0
DYNAMIC_Z_OUTSIDE=32768
DYNAMIC_MODE=0
m_nEnableAnalogCurrentFpk=0
m_nAnalogCurrentFpkTime=100
m_bReverseEncoder=0
m_bEnFlyEncoderFixOffset=0
m_dFlyEncoderFixOffset=0.000000e+000
m_nFlayEncoderFixOffsetDelayTime=0
m_bFlyEncoderLowSpeedMode=1
m_bFlyEncoderAddToY=0
m_bEnableExcelCorFile=0
dExcelStartX=-5.000000e+001
dExcelEndX=5.000000e+001
dExcelSpaceX=5.000000e+000
dExcelStartY=-5.000000e+001
dExcelEndY=5.000000e+001
dExcelSpaceY=5.000000e+000
strExcelCorFile=
QSWITCH_StartTime=100000
QSWITCH_HighTime=20000
FLY_ENHARDSTARTSIGNAL=1
FLY_STARTINPORT=8
m_nEnableIPGTickle=0
m_nIPGTickleFreq=80000
m_bIPGEnableLaserLeakHandle=0
m_bHwFlyEnMarkHoldEntOrder=0
m_nFirstLaserOnComp=0
m_nFirstLaserOnPtX=1.000000e+002
m_nFirstLaserOnPtY=1.000000e+002
m_bEnableIPGSetPulseWidth=0
m_bEnableOutputDaZ=0
m_dOutputDaZDelayMs=1.000000e+001
m_bEnableHideLaserType=0
m_bEnableUseHardCheckInput=0
m_bDisableCheckLaserState=0
m_bAlarmIsSizeBigThanPeri=0
m_bEnableEncoderOnlyA=0
m_nAlarmOutport=-1
m_nAlarmOutportLowValid=0
m_bEnableIPGPrepump=0
m_dOutputDaZMap0=0.000000e+000
m_dOutputDaZScale0=1.000000e+000
m_dOutputScaleX0=1.000000e+000
m_dOutputScaleY0=1.000000e+000
m_dOutputDaZMap1=2.000000e+000
m_dOutputDaZScale1=1.000000e+000
m_dOutputScaleX1=1.000000e+000
m_dOutputScaleY1=1.000000e+000
m_dOutputDaZMap2=4.000000e+000
m_dOutputDaZScale2=1.000000e+000
m_dOutputScaleX2=1.000000e+000
m_dOutputScaleY2=1.000000e+000
m_dOutputDaZMap3=6.000000e+000
m_dOutputDaZScale3=1.000000e+000
m_dOutputScaleX3=1.000000e+000
m_dOutputScaleY3=1.000000e+000
m_dOutputDaZMap4=8.000000e+000
m_dOutputDaZScale4=1.000000e+000
m_dOutputScaleX4=1.000000e+000
m_dOutputScaleY4=1.000000e+000
m_dOutputDaZMap5=1.000000e+001
m_dOutputDaZScale5=1.000000e+000
m_dOutputScaleX5=1.000000e+000
m_dOutputScaleY5=1.000000e+000
m_dOutputDaZMap6=1.200000e+001
m_dOutputDaZScale6=1.000000e+000
m_dOutputScaleX6=1.000000e+000
m_dOutputScaleY6=1.000000e+000
m_dOutputDaZMap7=1.400000e+001
m_dOutputDaZScale7=1.000000e+000
m_dOutputScaleX7=1.000000e+000
m_dOutputScaleY7=1.000000e+000
m_dOutputDaZMap8=1.600000e+001
m_dOutputDaZScale8=1.000000e+000
m_dOutputScaleX8=1.000000e+000
m_dOutputScaleY8=1.000000e+000
m_dOutputDaZMap9=1.800000e+001
m_dOutputDaZScale9=1.000000e+000
m_dOutputScaleX9=1.000000e+000
m_dOutputScaleY9=1.000000e+000
m_dOutputDaZMap10=2.000000e+001
m_dOutputDaZScale10=1.000000e+000
m_dOutputScaleX10=1.000000e+000
m_dOutputScaleY10=1.000000e+000
m_dOutputDaZMap11=2.200000e+001
m_dOutputDaZScale11=1.000000e+000
m_dOutputScaleX11=1.000000e+000
m_dOutputScaleY11=1.000000e+000
m_dOutputDaZMap12=2.400000e+001
m_dOutputDaZScale12=1.000000e+000
m_dOutputScaleX12=1.000000e+000
m_dOutputScaleY12=1.000000e+000
m_dOutputDaZMap13=2.600000e+001
m_dOutputDaZScale13=1.000000e+000
m_dOutputScaleX13=1.000000e+000
m_dOutputScaleY13=1.000000e+000
m_dOutputDaZMap14=2.800000e+001
m_dOutputDaZScale14=1.000000e+000
m_dOutputScaleX14=1.000000e+000
m_dOutputScaleY14=1.000000e+000
m_dOutputDaZMap15=3.000000e+001
m_dOutputDaZScale15=1.000000e+000
m_dOutputScaleX15=1.000000e+000
m_dOutputScaleY15=1.000000e+000
m_dOutputDaZMap16=3.200000e+001
m_dOutputDaZScale16=1.000000e+000
m_dOutputScaleX16=1.000000e+000
m_dOutputScaleY16=1.000000e+000

If this is all because the groups(dialout & tty). I’ve added them and will retest next week.
I don’t have network at the location.

This is not working.
Can anyone tell me why I get the error during importing?

Board:


Source:


Your Laser Type is set to YAG (laserType = 1), it seems. That value should be ‘3’ for a fiber laser or ‘0’ for a CO2, which is why it’s complaining - we don’t support YAG lasers yet.

If you edit the Markcfg7 file with notepad and change that to a 3, it should import properly.

2 Likes

Ty,
I’ll try

It’s a plain copy from the xp, weird it’s wrong

nixos config:

config = lib.mkIf cfg.enable {
    home-manager.users.${config.ncfg.primaryUserName} = { ... }: {
      home.packages = with pkgs; [ lightburn ];
    };
    users.users."${config.ncfg.primaryUserName}".extraGroups = [ "dialout" "tty" "video" ];

    # Fiberlaser: run: dmesg to find idVendor & idProduct
    services.udev.extraRules = ''
      SUBSYSTEM=="usb", ATTRS{idVendor}=="0000", ATTRS{idProduct}=="0000", MODE="0666"
    '';
  };

While last I checked NixOS isn’t one of the “main OSes” we support, (Fedora and Ubuntu for Linux flavors primarily, due to there being hundreds of distros and spins with tons of configuration options being difficult to cover every possible base), I suspect you might’ve transposed those characters in the configuration you shared. Those would be common to any distro, not just NixOS, and as such, you may need to poke at it a little more. I’ve made the same mistake it a few times myself and accidentally locked myself out of a server 100+miles away… twice.

The group is dialout and/or tty, if I’m not mistaken, and if attempting to match the USB access mode based on the USB VID/PID (not familiar with NixOS USB perms), you’ll also likely want to have it match that of your laser as shown in your lsusb output.

Hope this is helpful :slight_smile:

1 Like

I know/understand Lightburn doesn’t support it. It was just for reference because I said linux and nixos in the fp.

${config.ncfg.primaryUserName}

This is defined somewhere else in my nixos configuration

I fixed the typo, it wasn’t a problem for me because I had the correct groups enabled in another module.
The 0000? I just anonymized them.

Thank you.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.