LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In labview 64bit, Use PostLVUserEvent with user data cluster, unhandled exception occured.

My labview is Labview 2009 64 bit, I use PostLVUserEvent to post message with cluster data to labview. The following is  the struct in dll:

 

typedef struct {
    int32 dimSize;
    uInt8 elt[1];
} TD1DINT8;
typedef TD1DINT8 **TD1DINT8Hdl;

typedef struct{
   int32       interruptSource;
   TD1DINT8Hdl portData;
}DIInterruptData, *PDIInterruptData, **HDIInterruptData;

 

In labview, the DIInterruptData corresponds to a cluster, in which there are a int32 integer and a uint8 array. 

It works well in labview 32bit. But in labview 64bit, unhanlded exception occured. why?

 

0 Kudos
Message 1 of 3
(2,026 Views)

Dear,

         You posted same thing twice.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 2 of 3
(2,024 Views)

Hi Danil,

 

when complaining about double-posts one should provide a link to the other thread to guide other users...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,020 Views)