NI產品與技術 討論區

取消
顯示結果 
搜尋替代 
您的意思是: 

LabVIEW Build DLL Return Value

已解決!
前往解決方案

Hi All

 

I know LabVIEW can build a DLL with return value with a function prototype like

 

void functionname (arguments);

 

We could set the return value at arguments.

 

However, could LabVIEW build a DLL with return value instead of "void" such us

 

int functionname (arguments);

 

If so, how?

 

 

Please don't be angry if this question has been asked before,   I'm lack of familarity

of LabVIEW communicating with other languages.

 

Thank you

 

Kirika

 

Thanks

0 積分
1 條訊息(共 2 條)
4,121 檢視
解決方案
由主題作者所接受 Kirika

hi Kinka,

 

If you build a VI with numeric indicator, and connect it to the connector pane.

 

When you build the dll, you can select it to be the return value as shown in the attached image.

 

Best regards, 

 

NITW AE Chuck

0 積分
2 條訊息(共 2 條)
4,087 檢視