SAPHIR - Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to properly compile executables that contain your VIs under LabVIEW 2011?

The toolkit is correctly activated.... When i built the application i don't have any error... This is this report when i try to remote debug the application..

####

#Date: mar 27 mar 2012 15:54:34

#OSName: Windows 7 Professional Service Pack 1

#OSVers: 6.1

#OSBuild: 7601

#AppName: LabVIEW

#Version: 11.0 32-bit

#AppKind: FDS

#AppModDate: 06/22/2011 10:12 GMT

#LabVIEW Base Address: 0x00400000

WarnHistoryEntry::FinishInit() top level ident: [LinkIdentity "MySQLVIEW.lvlib:MySQLConnector.lvclass" [ 129.0.0.19/startup.rtexe]

27/03/2012 16:52:37.805

Crash 0x0: Crash caught by NIER

File Unknown(0) : Crash: Crash caught by NIER

minidump id: 38b437da-8cfc-4cff-b772-92f2b21279c4

ExceptionCode: 0xC0000005

0x01AA0EC9 - LabVIEW <unknown> + 0

0x01AA1408 - LabVIEW <unknown> + 0

0x7C37FDB4 - MSVCR71 <unknown> + 0

0x77E574DF - ntdll <unknown> + 0

0x77E19EC5 - ntdll <unknown> + 0

0x00000000 - <unknown> <unknown> + 0

*** Dumping Bread Crumb Stack ***

*** LabVIEW Base Address: 0x00400000 ***

#** Loading: "C:\Program Files (x86)\National Instruments\LabVIEW 2011\vi.lib\SAPHIR\SmartSQLVIEW for MySQL(tm) database\NetworkStream\MySQLNetworkStream.lvclass\MySQLNetworkStream.ctl"

#** compile: "c:\ni-rt\startup\startup.rtexe\1abvi3w\vi.lib\SAPHIR\SmartSQLVIEW for MySQL(tm) database\NetworkStream\public\ReadPacket.vi"

*** End Dump ***

0 Kudos
Message 11 of 13
(1,086 Views)

I'm not really comfortable with this report log. I don't know what is the meaning of it. Anyway, one thing taht surprise me: why is it loading MySQLNetworkStream.ctl from you desktop computer ? It seems that there is a bad link somewhere. As far as I can't reproduce this on my cRIO it's difficult for me to find what's the issue.  I would try to start a new empty project, add target, create a new VI an try to build an exe that just open/close database. Perhaps, it would solve this link issue   In an other hand, we have to know what's happen at start time on the RT target. I don't know well vision devices, is it possible to plug a display to see loading information ? We can achieve this without display on cRIO via Hyperterminal --> http://digital.ni.com/public.nsf/allkb/354A5124E6A667988625701B004A77CD If it's possible try to get these information in order to see what happens when EXE start.  Thanks,  Olivier


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 12 of 13
(1,086 Views)

Hello Alberto, I've receive more information from NI (thank you Robert 🙂 ) this night. They've done test on a NI 1722. As me, they are able to build an EXE containing SmartSQLVIEW for MySQL functions. It runs well on the NI 1722. However, they observes a LabVIEW crash when they attempt to debug an RTEXE remotely. I've reproduce this behavior on my cRIO. Note that the code continues to operate properly on the target even if LabVIEW crashes.  Is your issue related debug exe attempt or not ? If not I'm affraid that you will have to reformat your target.  Thanks,  Olivier


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 13 of 13
(1,086 Views)