LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use two classes in DLL(COM component DLL)

Rencently I need use a VIAIF.DLL to communicate with Phone. My Program screenshots is show below. Run 7 steps When the Program runs at 4~7 Steps. The Phone can't received messages by monitering with com port tool.so My question is How to use two classes in one Component DLL. In this program ,I need to use two class IViaSetup and IViaInterface. I use IViaSetup->LoadDefinition to do initialization, IViasetup->OpenCommInterface to open the Com port.Then Use IViaInterface->SendMessage to Send command to phone.ThanksIMG_20160421_192444.JPG

0 Kudos
Message 1 of 2
(2,962 Views)

Total 7 steps.When the program runs at 4~7steps,No message will send to phone by monitering the com port.

0 Kudos
Message 2 of 2
(2,941 Views)