11-05-2010 05:01 AM
Hi,
I have made a programme in cRIO for Massflow-Control with RS232-Interface. But now i becomme Error code-63195 in SubVI READ and WRITE of Real Time. I searched different solving in your website, but the manipulation : tools, options, environnement "close automatiquelly the VISA session" oder "in LabVIEW.ini file changing to "cleanupVisa=False"" don't work.
When FPGA finish compiling and download successfully,but all of first Elementen are not excecuted.
Do you know this Problem? Please give me the Solution!
Thank you and regards,
Nan.
11-08-2010 07:50 AM
Hi Nan,
at the moment i only found the same with automatically closing the VISA session should solve the problem.
After changing this have you recompiled your VI? (Strg + Run)
Please tell me your Hardware, Driver and LabVIEW Version so i can find out more.
How many sessions are opend?
Have the serial ports worked in the past?
11-09-2010 06:08 AM
Thanks for the reply Duffy2007,
My Hardware are CRio with Chasis 9022 und NI 9870 for RS232 Interface, i use Drive Crio 3.5, Labview 2010. My System is new bought, and haven´t worked in the past.
Here is my Programm, may be you see it and find directly my Problem: http://www.mediafire.com/?3q4leokt45dv2la
Thank you very much.
11-10-2010 09:17 AM
Hi Nan,
sorry i can´t test your code, because the hardware was in use. But i have found an example for the 9870 and my question is have you tried this on your machine and work it?
NI 9870 - Continuous Serial Read - On-Demand Write
11-10-2010 09:43 AM
Hi Nan,
i think your programm is based on Modbus Communication Reference Example for cRIO,
did the example work? If yes, then you can look into the code what the difference is.
You can use the compare function in LabVIEW Tools--> compare to compare the VI´s what was changed.
11-12-2010 05:20 AM
Hi Duffy2007,
thank you very much for help, my Problem is solved. In my main RT i don´t use more SubVI, i copy all of code in Subs and past to the Main RT. And than i do not becomme the Error.
Thank you and regards,
Nan.