LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VirtualBench NI vis Call Library Function Node broken input

Solved!
Go to solution

Hello!

I have a problem, please help me to solve it.

Task: communicate with VirtualBench 8012 using NI vis.

Problem: VirtualBench NI vis Call Library Function Node broken input:

 

AleksaBaid_2-1630573826162.png

 

How can I fix it?

Instrument handle that i get from device is "_mso0".

How is gets on call library function input format "I32"?

 

Thanks in advance for your answer.

0 Kudos
Message 1 of 8
(2,073 Views)

Hello Aleksa,

I assume that you have configured the Call Library Function Node incorrectly.

You have to configure the inputs and outputs.

For this please refer to the link, it contains useful information that will help you to do that correctly.

 

Configuring the Call Library Function Node - LabVIEW 2018 Help - National Instruments (ni.com)

 

Please pay more attention to Selecting the Parameter Type section it will help you.

 

Hope that this will help you,

Best regards

0 Kudos
Message 2 of 8
(2,036 Views)

It looks like the first parameter is configured as a Signed 32-bit Integer. Other LabVIEW hardware APIs will often use an Unsigned Pointer-sized Integer so I would see if that works.

Matt J | National Instruments | CLA
0 Kudos
Message 3 of 8
(2,024 Views)
Solution
Accepted by topic author AleksaBaid

I think I would do a repair of the NI VirtualBench LabVIEW 2018 Support package.  Hopefully, that will fix your issue.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 8
(2,016 Views)
Solution
Accepted by topic author AleksaBaid

Was it ever properly installed?

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.
Message 5 of 8
(2,003 Views)

Hi!

Thank You for reply.

 

The problem is that specified Call Library Function Node is not mine, it configured by NI (manufacturer software). And I have no any description about it's variable format. Help data includes only vi`s inputs/outputs description, like this one:

 

AleksaBaid_0-1630825125670.png

 

0 Kudos
Message 6 of 8
(1,984 Views)

Hi, Matt!

Thank You for reply.

 

I tried, the same.

 

AleksaBaid_0-1630825460604.png

 

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

Hi!

It was very good idea.

All process took two days )) Reinstall killed my system finally, so I had to reinstall my Windows too.

Solution is:

LabView 2018 (32bit) + VirtualBench Software 2018 = it works!

Maybe it will work at 64bit too, I didn`t check. It seems like VB driver requires the same version of LabView.

 

Thank you all!

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