LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VLC Player with 64-bit LabVIEW

Solved!
Go to solution

Hi Everyone,

 

I had an application developed with 32-bit LabVIEW which was playing a video using VLC player. The application was controlling the video playback from LabVIEW.

As there was a need to build the same application with 64-bit LabVIEW I have found 64-bit supporting VLC player, which is running as a stand-alone application just fine. But when I try to access it with the corresponding DLL from LabVIEW (exactly the same way is in case of 32-bit), it throw an error 1097 on call library function node.

 

"LabVIEW: (Hex 0x449) An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW."

 

Does anybody have an experience with controlling a video playback with VLC from LabVIEW, and specifically with 64-bit version?

 

Thanks in advance.

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

     

 

0 Kudos
Message 1 of 5
(4,330 Views)
Solution
Accepted by arevh

Hi,

 

That error typically occurs with a parameter mismatch, as outlined in the KnowledgeBase below.

 

Error 1097 While Calling DLL with Correct Calling Convention

 

I think I recall that you may need to change the library call function parameters from Signed 32-bit Integer to Signed 64-bit Integer to make it work.

 

What operating system are you currently using? 

Kevin S.
Technical Support Engineering
National Instruments
Message 2 of 5
(4,283 Views)

Hi Kevin,

 

Thank you very much for the hint. It helped. I change data types to I64 and now it functions properly.

 

To answer your question I'm using 64-bit OS.

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

     

 

0 Kudos
Message 3 of 5
(4,272 Views)

May I know where to change data type to I64... Is in function return or ??

0 Kudos
Message 4 of 5
(2,164 Views)

@gopinathbb wrote:

May I know where to change data type to I64... Is in function return or ??


Likely anywhere handles or pointers are used.

 

If you are having a similar problem, it would be good to include the definition of the function that is generating an error and how you have the call library node configured.

0 Kudos
Message 5 of 5
(2,128 Views)