This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC60096EVM: Scripting button doesn't do anything except close DAC GUI

Part Number: DAC60096EVM

Hello

I am trying to use the scripting tool  on the DAC60096EVM GUI, to set the EVM's outputs but whenever I press the scripting button it closes the program. Also, maybe this is related, the help button doesn't work. I installed python 2.7 and the DAC GUI seems to recognize it because I am no longer getting an error that states " Python 2.7 not installed"

P.S 

I have not received the evaluation board yet. I wanted to create a script before I received the evaluation board so that the board can do what it was designed to do. Plug and Play

Thank You

  • Hi Miguel,

    Did you install IDLE with the python installer? That is also required. In addition, please check if you have any other programs that could be using port 6640 on your PC. If you need help identifying if there is a program, please run “netstat –a -b” in the command prompt. This sometimes generates a long list, so you may need to increase the CMD screen buffer size by right clicking the title bar of the command prompt and increase the "Screen Buffer Size" Height field on the Layout tab. If there is a process or program using port 6640, it will likely need to be closed.

    Thanks!
    Paul
  • Hello Thank you for your response
    It looks like the IDLE file did not install, I located the file in this Path C:\Program Files (x86)\Texas Instruments\DAC60096 EVM\Scripts. There are 2 other files that have a similar compiled file next to them. The Launch_Idle file does not have a compile file next to it and when I execute it, it pops up and shuts down to quickly to see anything.
    The command netstat -a -b request operation requires elevation. but I already maxed out the command line buffer to 999 lines and 999 buffers. Is there another way to look at port 6640, maybe through device manager?
  • Hi Miguel,

    IDLE must be installed for this to work - you should be able to set it in the installed programmed on the PC. You might have to run the Python installer again an make sure it was set to be installed. Once you are sure it installed, try launching the scripting window from the DAC60096EVM software. You may also try launching the GUI with administrator privileges.

    Thanks!
    Paul
  • Every time I launch the GUI it asks for administrative privilege. I am reinstalling the GUI program but I noticed that it did not ask to install IDLE, it only asked to install labview and the DAC60096EVM GU. First thing I checked was the scripting tool and it is still not working and once again the IDLE file was not compiled
  • Hi Miguel,

    IDLE should be installed from the Python installer, not the DAC60096EVM GUI installer. Do you see IDLE listed in your installed programs? IDLE should be able to be launched on the PC regardless of whether the EVM GUI is installed.
  • Hi Paul

    Yes, IDLE is installed. After uninstalling and reinstalling all DAC GUI, Lab View, and Python. This error is now showing up but I found that the GUI will not run without LabView so how is it that the GUI stops can't find LabView when it is running off of it. I don't know, please help

  • Hi MIguel,

    Looks like the LV Runtime Engine has been uninstalled when you uninstalled LabView.  The run time engine is not included on the DAC60096EVM GUI, but you can likely down load it from NI, but might be easier to just install it from one of our other EVM software GUIs.   An example of this would be the AMC7832EVM.

    I recommend you install the AMC software, install Python and IDLE, then launch the DAC60096EVM as an administrator.  Try launching the scripting window then.

    If it still closes, we will need to check the port.  You should launch the command prompt with administrator privileges - do this by right clicking the Command Prompt icon and selecting 'Run As Administrator'.  The netstat command should work then.

    Thanks!

    Paul

  • Hi Paul

    Thank you for sticking with me until this was solved. 

    That fixed it. I downloaded Lab View 2010 from NI and now the scripting page is accessible. 

    Before I went directly to the NI website to download the 2010 Lab View, I tried downloading the ACM software as well. However, downloading the ACM software did not work probably because the wrong versions of lab view were being downloaded. I checked the NI folder and I have Lab View 2010, 2012, 2015, 2016, and 2017

    Thanks Again Paul. I hope this helps the next person as well

    - Miguel 

  • Great! Good to hear!