07-27-2005 05:17 AM
07-27-2005 06:30 AM
I don't understand your question.
Do you want to use the same port at the same time from 2 different programs? You probably can't, and if you can open a connection to the port from both programs, you will probably get meaningless data.
Do you want to mix this in the same program? To start a connection with LV and to read and write through DLLs? If so, why? Why not use LV or CVI all the way?
Write some more details about what you're trying to accomplish and why you want to do whatever it is you want to do.
P.S.
I don't know anything about CVI, so I hope I didn't misunderstand something basic.
07-27-2005 06:42 AM
Sorry for my bad explanations,
i have developped dll thanks to labwindows where i send and receive frames with serial ports , and especially RS232 library (openCom, ComWrt, ComRd)
Now i want to integrate these dlls in a labview environnement, so i want to continue to use the controls of read
08-03-2005 01:14 PM
Hello,
The best and more logical method is to use only the VISA LabVIEW VI's in your application to handle the opening, reading, writing and closing communication sessions. You can use a CVI DLL with an exported function for each operation (open, read, write, close) but do not try to mix the VISA VI's calls with your DLL calls.
Greetings from Paris.
Matthieu G. , NIF