LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error 34 "Print Dialog Error" from System Exec. all of a sudden?

Solved!
Go to solution

Hi,

 

I am getting an error 34 in a vi that erases the internal memory on an MCU before flashing the firmware. This code has been working for me for a couple of years, and can not find the cause. 

 

I have attached the vi, and a screenshot with inputs & outputs.

 

Any thoughts would be greatly appreciated!

 

Thanks,

 

George

 

LvTech_0-1622816235628.png

 

Download All
0 Kudos
Message 1 of 5
(1,112 Views)

34 is very likely the error code (errorlevel) returned by UsbdmFlashProgrammer.exe which is not a LabVIEW program.

So, don't convert it to a LabVIEW error, it's by no means related. Read the flash programmer documentation to search the meaning of the returned error code.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 5
(1,104 Views)

Hi Paolo,

 

Ahh that makes sense. Was converting to LV error just so it could travel through my app & get to error log with the rest of the LV errors. I thought the error was more likely a Windows error but will check the documentation for the programmer I see what I can find.

 

Thanks for the suggestion!

 

George

0 Kudos
Message 3 of 5
(1,073 Views)
Solution
Accepted by topic author LvTech

From here: http://usbdm.sourceforge.net/USBDM_V4.12/USBDM_JB16/html/_u_s_b_d_m___error_messages_8h.html

 

error code 34 = BDM_RC_WRONG_BDM_REVISION  

Rolf Kalbermatter
My Blog
Message 4 of 5
(1,071 Views)

Hi Rolf, 

 

You beat me to that page by a minute or 2!

 

Thanks to you both for steering me in the right direction!

 

George

0 Kudos
Message 5 of 5
(1,067 Views)