LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i was unable to establish a serial communication using a DLL library file

i had designed a VI application in Labview7.1, now i had upgraded Labview to 8.5 but my application is not responding. The design includes

 

Application: I am trying to access a third party controller, through serial communication(RS232 Cable). I am configuring the serial port using a third party DLL library file using call library function block. but i cannot get the starting reciever response.

0 Kudos
Message 1 of 9
(3,163 Views)

HI

I think you have not register the dll, use

 

regsvr32 <dll Path>

 

Hope this helps

 

Regards

Santosh

0 Kudos
Message 2 of 9
(3,143 Views)

How to do it? 

 

 

i just tried to register as u said by typing the command at command prmpt, but it is saying the folowing error message

   Module not found

0 Kudos
Message 3 of 9
(3,136 Views)

Use following command

regsvr32 "<dll full path>", this command you can use start >run or command prompt

 

0 Kudos
Message 4 of 9
(3,134 Views)

hi santosh,

                    thanks for ur reply, but when i tried to do it as u said at the command prompt i am getting an error message as below

 

 

                                           "DLL server point is not available, so the file cant be registered"

0 Kudos
Message 5 of 9
(3,122 Views)

Of course it doesn't work. You only register ActiveX dlls and if you had an ActiveX dll you would never had used the Call Library Function Node.

 

Do you get any error code back from the dll? Do you happen to have open any other serial program such as Hyperterminal or VISA? Is this the same pc that you had your 7.1 application working on?

Message 6 of 9
(3,120 Views)

hi santosh,

                   i cant get u, How do i check whether the dll is activex dll or not. else i do have an activex dll. Mouse, keyboard are USB connected. no other serial communication is connected to it. I am geting 2 errors when i tried to register the file

                     1. DLL server point not found          --    sometimes

                     2. The module was not found        -- sometimes

 

              One more thing is i am able to get the reciever status for the first time but was unable to connect for the consequtive bit/byte loadings. to the third party controller connected at the other end.

0 Kudos
Message 7 of 9
(3,093 Views)

The suggestion to register the dll was wrong. Stop trying.

Message 8 of 9
(3,076 Views)

sir,

        please suggest a method to do it.

0 Kudos
Message 9 of 9
(3,059 Views)