Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

webservice dll delay problem

I use labview 8.2.1 to generate webservice dll. It seems like this dll causes problem on the production machine. It runs OK on my develompment machine. But when I run it on the production machine, it is slow. I am sure why? I wonder if anyone can help me. It has been two weeks but I didn't find a solution yet. Please help.
 
0 Kudos
Message 1 of 5
(3,767 Views)
HI,
Thanks for posting.  Could you elaborate on what you are trying to accomplish with the DLL you are building?  It also would help to know how you are trying to call the DLL.  I would also check into the differences between your development machine and your production machine.  Reply with some additional information and it will help us figure out what is going on.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 2 of 5
(3,749 Views)

Hi Eric,

Thank for quick responding.

Working Process

1. User Select Work Order Number from a drop down menu (Work Order Number ger from MfgPro by using ODBC connection)

2. Input Work Order Number information into SQL Server Database (WO#, Quantity, Model)

3. Dectect count signal from PLC (500ms debound)

4. When PLC signal is detect, Increase the completed quantity in SQL Server database)

(This program helps to prevent over built project)

-------------------- Now how to setup this system----------------------------------

- NI USB 6525 IO Card is used to detect the signal from PLC for counting. This signal will pull high for 500 ms. In timeout event structure, I set if Count is change, then go to make a count in Database that mean increase the complete quantity.

-There is two ODBC connection datasource, one is for SQL DB, another for Mfpro

-When user select Work Order Number, Program will go get Quantity, Model from MfgPro and input into SQL Database (if this work order's quantity and model are not in SQL DB)

----------------------------DLL----------

Before I use DLL webserver to get data from MfgPro to put in SQL DB. I thought DLL causes problem, so I I don't use DLL, instead using ODBC to connect to MfgPro and get Work Order's quantity and Model to put into SQL DB. But it still has same problem.

I hope my explain is clear. Otherwise I can provide more infor for you. Can I send my lv code for you? I am very new with Labview. I just learn this lv for a week at basic training course.

 

 

0 Kudos
Message 3 of 5
(3,742 Views)
I finally found what problem is. When apps starts up, it opens serveral connection on MfgPro. I accidently don't close the connection, so it causes delaying.
0 Kudos
Message 4 of 5
(3,734 Views)
Hi,
I am glad you were to figure out your problem and thanks for replying to your post.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 5 of 5
(3,732 Views)