From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler error in LabVIEW

I got this error
Compiler error genDRLoad bad type: xc=0x50
Im attaching the error message and example code
Download All
0 Kudos
Message 1 of 3
(2,466 Views)
Try running your app without "minimize window.vi".
I have found these VIs to sometimes cause problems.

Alan Brause


"atoanha" wrote in message
news:5065000000080000003F2B0000-999158726000@exchange.ni.com...
> I got this error
> Compiler error genDRLoad bad type: xc=0x50
> Im attaching the error message and example code
Message 2 of 3
(2,466 Views)
Hello,

What version of LabVIEW are you using? If you are using version 5.1, make sure you have the 5.1.1 update installed. If you are using version 6.0, make sure you have the 6.0.2 update installed. Both of these updates are available from the NI website.

Also, one possible solution to the "bad type" error is to search your diagram for "coercion dots", where you have wired a source and a sink of different types. LabVIEW will perform the proper conversion to get the data into the same type, but I have seen extremely rare cases in the past where the conversion had to be performed explicitly in the diagram in order to avoid the error. You can find the datatype conversion functions in the Numeric >> Conversion subpalette.

Good luck with your applicati
on, and have a nice day.

Darren N.
Message 3 of 3
(2,466 Views)