取消
显示结果 
搜索替代 
您的意思是: 

VirtualBench NI vis Call Library Function Node broken input

已解决!
转到解答

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 项奖励
1 条消息(共 8 条)
2,099 次查看

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 项奖励
2 条消息(共 8 条)
2,062 次查看

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 项奖励
3 条消息(共 8 条)
2,050 次查看
解答
接受人 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
4 条消息(共 8 条)
2,042 次查看
解答
接受人 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.
5 条消息(共 8 条)
2,029 次查看

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 项奖励
6 条消息(共 8 条)
2,010 次查看

Hi, Matt!

Thank You for reply.

 

I tried, the same.

 

AleksaBaid_0-1630825460604.png

 

0 项奖励
7 条消息(共 8 条)
2,006 次查看

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 项奖励
8 条消息(共 8 条)
1,977 次查看