From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-20-2015 02:22 PM
Estoy usando el Step7 para programar un PLC s7200 para realizar ejemplos modbus rtu usando el puerto seria de mi PC; me ha funcionado perfectamente el step 7 hasta que realicé un ejemplo en labview de comunicacion modbus con el PLC (el ejemplo funcionó perfecto) pues ahora no puedo comunicar el step 7 con el PLC pues me dice "imposible abrir el puerto puede que otro porgrama lo este usando"; no quiero desinstalar Labview; conocen qué ejecutable o archivo es el que esta capturando el puerto?
Tengo instalado Lbview full development system, Real Time y DSC en version de pruebas.
solo dispongo de un puerto serial en la PC
no dispongo de conversores USB/485 ni el cable USB de siemens
04-21-2015 12:15 PM
Hola RNARIAS!
Puedes intentar lo siguiente: reasignale el controlador correcto (driver) a tu puerto desde el administrador de dispositivos.
Esto es, dirigete a Panel de Control, busca tu dispositivo/puerto, hazle clic derecho, selecciona la opción "update driver" » "Browse my Computer for driver software" » "Let me pick from a list of device drivers on my computer" » en este punto, tendrás una lista con los drivers que se le pueden asignar a ese puerto, ahorita debe de estar utilizando un driver de NI, pero debes de poder seleccionar el que utilizaba Step 7 previamente.
Saludos!
>Daniel C.
04-21-2015 01:12 PM
04-22-2015 09:41 AM
"Google translate is saying that your answer is that the low level hardware driver needs to be changed. That's wrong of course so I'm going to have trouble trusting the translator from now on."
"Only one APPLICATION at a time can access a com port so either run LabVIEW or Step 7." that's what it should be; but in mi case before run labview the step 7 could program the PLC; and after run labview the port was "captured". what should i do to release the port?
and if is not the labview driver or low level hadware driver no needs to be changed ¿do you have some idea what is happening?
04-22-2015 09:55 AM
Hello RNARIAS,
I apologies that my last recommendation was not helpful.
1. Is it an executable LabVIEW application or is it a .vi file running from LabVIEW Development environment?
2. Did you make sure to close the port session reference before finishing execution in the LabVIEW program?
"VISA Close Function"
http://zone.ni.com/reference/en-XX/help/371361J-01/lvinstio/visa_close/
3. Do you close LabVIEW completely before trying to use the Step 7 software again?
4. If you reboot the computer, does that releases the port?
Regards,
>>Daniel
04-22-2015 12:48 PM
04-22-2015 12:57 PM
04-26-2015 04:44 PM
THANKS, I FOUND IT!!, in LabView task manager was an "unilited1.lvi" folder that was runnig yet, even when closed the app or restarted the PC.