MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem running RealSim 7.01 under windows XP

We are using RealSim with an AC104 target system, and I have successfully integrated RealSim 7.01 with MatrixX 7.1.6 (yes, it can be done with some modifications in the RealSim installation). This works well under Windows NT, but I cannot get it to run properly under WinXP. All the host functions work OK, but the application Download and Run command results in the following error message:

REALSIMGUI-I-RTMAIN, Executing rtmain as a background process
RTMAIN-I-CONNECTRY testing FTP link with ac104 ... successful.
RTMAIN-E-NOPORT No FTP ports are available to connect with ac104.
An RTMAIN session may be running an application on ac104. 

On the AC104 target system, the FTP-program writes the error message "File creation error" on the screen. However, we are able to set up an FTP session to the AC104 computer from a command window in the XP computer, and that works OK.

We have traced the error cause to the following command in the RTMAIN.BAT script in the C:\matrixx\rs_70.1\bin folder:

   print FTPFILE "quote site cpcprj $projname8 > %%temp%%${psep}temp.$temp_ext\n";

This FTP command creates a temporary file in the target system. The existence of this file is then checked with the command

   print FTPFILE "get %temp%${psep}temp.$temp_ext $chkdir\n";

and after that check the temporary file is deleted on the target system. If the file doesn't exist, FTP hasn't created it. This means FTP on the controller is dedicated to an existing RealSim IASVR process, hence the error message. But this is not the case, instead it is the file creation that fails when done from an XP computer. But when the same RTMAIN.BAT script is run on an NT machine, everything works fine.

Does anyone have an idea what could be wrong???

Best regards
Anders Wallenborg

 

Message Edited by Anders W on 07-28-2006 08:11 AM

0 Kudos
Message 1 of 2
(8,245 Views)

The problem now appears to be solved by doing a global replace of "%%" with "%" in the script file RTMAIN.BAT in the C:\matrixx\rs_70.1\bin folder. I am now able to Download and Run the RealSim application from my XP computer to the AC104 target.  Smiley Happy

Time will tell if there are other snags related to running RealSim on Windows XP, but it seems like we have at least found and removed one major obstacle.

Many thanks to Carl Ljungholm at LabView R&D, National Instruments, for suggesting this fix! 

0 Kudos
Message 2 of 2
(7,993 Views)