LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I use Microsoft Message Queuing in Labview 64-bit mode?

I have an application in which I am trying to use MQ messaging to talk directly to our database, to which we send and receive messages regarding the product we are testing. I am using Labview 2016 and Windows 10. The .NET version is 4.6.0 and the MQ messaging version is 7.0.1. The application runs great in Labview 32-bit, but when I switch to 64-bit it won't work, I get an Unknown System Error when I initiate the MQ connection function to send a message. I noticed that when it fails, the MQ reference input to the MQ Connection property node passes in a zero. When it worked it would pass in a valid reference number. I am trying to switch to 64-bit to enhance the memory usage.

 

 

 

0 Kudos
Message 1 of 8
(1,911 Views)

Off-hand, I'd say that the 64-bit dll for the messenger - if there is one - isn't installed on the computer.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 8
(1,889 Views)

Thanks for the input, but I checked and all the necessary MQ dlls are loaded.

0 Kudos
Message 3 of 8
(1,886 Views)

@kskaro2 wrote:

Thanks for the input, but I checked and all the necessary MQ dlls are loaded.


They are 64-bit dlls?  This is important, because a 32-bit app can't call a 64-bit dll and vice-versa.  I know you probably checked that, but since you didn't mention it, specifically, I thought I'd just make sure.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 8
(1,873 Views)

I understand what your concern is, but I was told by the person from our company, who developed the tool implementing the MQ messaging, that all necessary 64-bit dlls were loaded as part of the tool.  

0 Kudos
Message 5 of 8
(1,859 Views)

@kskaro2 wrote:

I understand what your concern is, but I was told by the person from our company, who developed the tool implementing the MQ messaging, that all necessary 64-bit dlls were loaded as part of the tool.  


I figured you had that base covered, but I just wanted to make sure, since you didn't mention it explicitly beforehand.  Now it makes it more complicated.  I see rumblings about LabVIEW 64-bit and ActiveX on a Google search.  You might want to look at that.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 8
(1,852 Views)

Thanks a lot for your input Billko. I will check out your suggestion.

0 Kudos
Message 7 of 8
(1,845 Views)