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

TROUBLE BUILDING VISA Configure Serial Port .vi

I posted by mistake in DAQ.  My application Builds fine in LV 7.0, however in LV 8.2 using the Project folder, I receive the following :
 
Polymorphic VIs cannot be used as Startup/Exported or Dynamic VIs for applications or shared libraries.
C:\NEM DS18S20 TEST-8.20\NEM0775B\NEM0775B.llb\VISA Configure Serial Port
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1035 occurred at ABAPI Dist Check if PolyVI.vi -> ABAPI Load All Libraries And VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> EBUIP_Item_OnDoProperties.vi -> EBUIP_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW:  Operation is invalid for this type of VI.
 
I am using, Polymorphic VI = VISA Configure Serial Port to configure my serial port and then count bytes received for certain serial Port CmDs.
 
I am only using the Serial Port (Instr) of the Polymorphic VI.  What is the easiest way to BUILD a application that will work????   I've used this method back to 4.1.  Can I change VISA Configure Serial Port .vi from a Polymorphoric to a Non Polymorphic and still initialize the Serial port??  This new BUILD/PROJECT METHOD is not good. 
 
Please Help
Brian Campbell
 
0 项奖励
1 条消息(共 3 条)
2,894 次查看
Briancam-

Have you set the VISA Configure Serial Port as a startup VI in your build specification? If you are using that VI as a subVI in one of your VI's, then you do not need to manually add it to the startup list, LabVIEW should automatically add it as a dependency.

Xaq
0 项奖励
2 条消息(共 3 条)
2,865 次查看

Please Disreguard, I needed to CHECK the VI Server In the Project >> BUILD.

Now I can BUILD the .EXE in LV 8.2 OK.  Thank You

 

0 项奖励
3 条消息(共 3 条)
2,711 次查看