Hi all Vee Expert,
i am newbie here, pls help me to cope with this problems.
I am currently want to communicate with the equipment which have a DLL file provide by the vendor.
The equip is connected to PC through RS232 only.
But i have no idea how to do it.
Pls someone gv me an example and guide me ok.
Thank
Regards,
Bernard Tan
i am newbie here, pls help me to cope with this problems.
I am currently want to communicate with the equipment which have a DLL file provide by the vendor.
The equip is connected to PC through RS232 only.
But i have no idea how to do it.
Pls someone gv me an example and guide me ok.
Thank
Regards,
Bernard Tan
Okay - if you can communicate directly via RS232 i.e. you know what codes/text/whatever to send to your item ( it might help if you tell us what you're trying to communicate with ) then the best way is probably to do that without the DLL.
If you need or want to use the DLL then there are examples e.g. look at the Manual 49 ( as I recall ) which links in some C code with VEE. You need a header file which informs VEE the signature of the functions in the DLL ( their names, how many parameters each function has, what data types the parameters are and the data types returned from the functions ). Then on the device menu use the import compiled library and give it the details. Once imported you can call the functions in the library.
My recommendation would be: try direct if you can. If not then have a look at the manual example mentioned. If that makes no sense then come back to this forum with some more details on what you have and what you are trying to do with it.
Mike