VISA read in exe file is not working

Hi all,
I am having problems with VISA read in an exe file created.
I am trying to write to and read from a programmable power supply via RS232. The VI writes a command to the instrument to set the voltage level. It then writes another command, requesting the resulting current value. This value is then read by VISA read
The VI is working fine on the development PC, which has LabVIEW installed. The exe file is also working fine on this PC. However, when I try to run the exe file on another PC (I've tried several) everything seem to work except for the VISA read functions. The voltage level command is sent, as well as the On and OFF commands, but the current is not read back.
I guess there must be something I have missed in the installation. I am working in LabVIEW 8.5. I have created an installer and included
Runtime Engine 8.5.1
VISA runtime 4.5
Is there something else I should do? I am really running out of ideas here...
I hope someone has a clue about this!
Clara 

Clara-
1. Have you verified that the COM port settings in Windows (check under device manager) are matching how you initialize them (Baud, bits, parity, and flow control) and that these match the power supply's settings?
2. Also, are you trapping an error message after the attempted Read command (this will make it a lot easier to diagnose).
3. Do you programmatically close the VISA session at the end of the program?
4. You can always post the code to see if the forum members will catch the porblem.
~js
2006 Ultimate LabVIEW G-eek.

Similar Messages

  • GPIB in a LabView-application running as EXE-file does not work

    I try to connect an Instrument over GPIB and I use VISA from a Windows2000 PC without LabView installed. The GPIB-card is not from National Instruments. The Programm is running as EXE-application. What else do I have to install beside the EXE-file to access the Instrument?

    NI_VISA.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Oracle 9iLite download setup.exe file does not work

    Like many people (I am discovering more by the minute), I am unable to install 9i Lite.5.01. When the setup.exe file is triggered, a hourglass appears for a second, then nothing...
    I am installing on a windows 2000 terminal server, therefore I have to go through (Control Panel) Add/Remove Programs. The Oracle Universal Installer says that setup.exe is either a directory or is corrupt.
    I have tried a couple of fixes suggested in this forum, such as unzipping the files to /install/disk, but to no avail. I have also tried downloading the software again, but with the same results.
    Is there anyone out there who has successfully overcome this problem ?

    Yes, there has been a problem reported with setup.exe on the Pentium 4 processor.
    To overcome the problem, copy the contents of the CD on to your hard drive.
    Then search for every occurence of the file symcjit.dll under the base directory where u have copied from your CD.
    and rename them to symcjit.old.
    Then launch setup.exe.
    This should take care of the problem

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Exe file will not start using a Measurement studio 2013 component

    Hello,
    I use Meausrement studio 2013 with visual studio 2012 and vbnet on windows 7.
    On a new project (windows form application), i use a form and a ScatterGraph component. I compile, no errors and it works fine. 
    Now, i try to start this application on a another Windows 7 station. (The framework 4.5 is installed on its station).
    The exe file is in a directory with the natrional Instruments dll files.
    The exe file will not start, no errors.
    PS: Before, with Meausrement studio 2010 and visual studio 2010 all worked fine. 

    Hi, virgule
    It sounds like you are using the "Publish" feature in Visual Studio (a.k.a., ClickOnce) for deployment, is that correct? If so, unfortunately ClickOnce is not supported by Measurement Studio components.
    If you are looking for a good way to deploy Measurement Studio applications, I would highly recommend upgrading to Measurement Studio 2015, which ships with Measurement Studio Installer Builder. You can read more about this here: http://www.ni.com/white-paper/52669/en/
    If you cannot update to Measurement Studio 2015 and are using Visual Studio 2013, NI recommends using WiX for creating your installer. More information on WiX deployment can be found here: http://digital.ni.com/public.nsf/allkb/764B727C9BD2C4C686257C970053D059
    Thanks,

  • .jar file is not working properly :developed in NETBEANS

    Hi Gurus,
    i am using NETBEANS IDE 7.2.
    i am developing a project that interacts with databases 10g and COM ports of machine , these all processes are performed by .bat file which i am trying to run from jFramform , code works perfectly .bat file is also called perfectly when i run the project using F6 from the NETBEANS, for testing i placed some dialogue boxes on the form to test it ,
    but when i run executable .jar  file , form run successfully and dialogue box works perfectly but .bat file is not called by executable .jar file.
    this is how i call the .bat file...
      String filePath = "D:/pms/Libraries/portlib.bat";  
            try { 
              Process p = Runtime.getRuntime().exec(filePath); 
            } catch (Exception e) { 
                e.printStackTrace(); 
    and below is the contents of portlib.bat file
    java -jar "D:\SMS\SMS\dist\SMS.jar" 
    you must probably ask why i am calling a .jar file using .bat file .
    reason is that this .jar project sends message using GSM mobile , System.exit(); is compulsory to complete a job and then do the next one ,
    if i use the same file to execute this job it makes exit to entire the application (hope you can understand my logic).
    that's why i use extra .jar file in .bat file , when single job is completed .bat exits itself and new command is given.
    Problem is that code is working perfectly in NETBEANS when i run the project but when i run .jar then .bat file is not working  ,
    thanks.

    Thanks Sir ,
    You need to first test an example that works like the one in the article.
    There are plenty of other examples on the web - find one you like:
    http://javapapers.com/core-java/os-processes-using-java-processbuilder/
    I tried this one.
      try {
                ProcessBuilder dirProcess = new ProcessBuilder("D:/SMS/SMS/Send_message.bat");
                 File commands = new File("D:/SMS/SMS/Send_message.bat");
                 File dirOut = new File("C:/process/out.txt");
                 File dirErr = new File("C:/process/err.txt");
               dirProcess.redirectInput(commands);
                 dirProcess.redirectOutput(dirOut);
               dirProcess.redirectError(dirErr);
                 dirProcess.start();
            } catch (IOException ex) {
                Logger.getLogger(mainform.class.getName()).log(Level.SEVERE, null, ex);
    as instructed in the article i compiled  both the projects at same version or sources and libraries which is 1.7
    here is my version details
    C:\>javac -version
    javac 1.7.0_07
    C:\>java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
    Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
    inside the NETBEANS IDE c:\process\err.txt  remains empty and code works perfectly , but when I run executable .jar file( by double clicking on that file in dist directry) then c:\process\err.txt becomes full with this error text and there is no response from calling D:\SMS\SMS\send_message.bat
    here is the error text
    java.lang.UnsupportedClassVersionError: sms/SMSMAIN (Unsupported major.minor version 51.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Exception in thread "main"
    here is /SMS/SMS
    unknown source ?

  • After downloading the latest version of iTunes and updating my iPhone everytime I turn on my computer I get a message that reads: AppleSyncNotifier.exe - Entry Point Not Found. Does anybody know what this means?

    After downloading the latest version of iTunes and updating my iPhone, everytime I turn on my computer I receive a message that reads: "AppleSyncNotifier.exe - Entry Point Not Found. The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQlite.dll" Help! Does anybody know what this means and how I can fix it? Thanks.

    Yes.  I just solved the problem on my PC.  Here goes...
    Issue:  My Windows7 computer was producing the pop up box with the error text as you described.
    The Problem: You have another application on your computer that uses the like named .DLL file... in this case a DLL supporting SQLite on your local PC.
    Solution: 
    1.  You need to use the Windows File search feature to look for the name "SQLite".  This will quickly locate the offending DLL in the other application.
    2. Decide which program you like the most, in my case "Mobile Me", and uninstall the offending application.
    3.  Uninstall Mobile Me.
    4.  Restart your PC.
    5.  Reinstall Mobile Me.
    6.  Mobile Me should sync at this point, but if not, restart the PC once again.
    In my case, the offending program was my Aptana Studio development application.  I had recently the SQLite3 database to my Ruby On Rails configuration...
    This is where the file was located:
    C:\Users\<USERNAME>\Aptana Studio 2.0\plugins\com.aptana.radrails.sqlite3.win32_3.5.7.1278709071\vendor\SQLite3.d ll
    I hope this helps,
    Ron

  • File- Print not working from SQL Developer 1.2.1 Build MAIN-32.13

    File->Print not working from SQL Developer 1.2.1 Build MAIN-32.13.
    I downloaded sqldeveloper-1.2.1.3213.ZIP and extract to a local directory. From the extracted directory I ran ..\sqldeveloper\sqldeveloper.exe from Windows XP sp2. The program itself seems to run just fine but File-Print doesn't do anything. In Help-About, Java Platform is reported as 1.5.0_06 and Oracle IDE is 1.2.1.3213. I'm not sure where to look for what is causing the problem.
    Thanks

    I hadn't tried CTRL-P before but I did today. On the first attempt, I saw a small jump in the memory usage for sqldeveloper.exe as reported in Windows Task Manager. Otherwise, there was no change. A second CTRL-P in the same session produced a further bump but subsequent attempts in the same session produced no further change in CPU or Memory Usage.
    Using Task Manager to monitor this further, I tried File->Print again and saw that sqldeveloper would periodically climb to 1 or 2 percent CPU and consume a little more memory. After a minute or so, though, all activity stops again.
    I do not get a print dialog box from SQLDeveloper using either CTRL-P or File->Print

  • File sharing not working 10.6

    file sharing not working on 10.6

    Rather more information is needed!
    With what are (not) sharing?
    Other computers on a network? (if so, are they all Macs or some Windows?)
    Other Users on the same Mac?

  • Flash file, clicks not working in one environment

    Hi everyone,
    I have produced files using Captivate 2, that have output as .exe. These work perfectly across all of our sites, except one.
    The only issue with the site where the files are not working is:
    - Click box within the Flash file do not progress to the next page
    I have output with 'Playback control' and the users at the site in question are able to progress through along the Playback bar. However, I only placed this in for the purposes of testing the file. The final files need to not have the 'Playback control'.
    Does anyone know what I can do differently, to ensure the click boxes work on this site in question?
    I look forward to hearing from you.
    Ravi Sandhu

    Hi Ravi
    I'm not sure I fully understand your question. You seem to be saying a Click Box isn't working. But you say the "Click Box within the Flash File". I'm not sure if this means you have used Flash to create a button or something that you are trying to use with Captivate or if you simply mean that you have used Captivate to create a SWF, and inside that SWF the Click Box doesn't seem to work.
    What would be helpful is if we could see the project first hand. Are you able to post the .CP file for us to download and view? If that's not possible, what about posting a screen capture of the slide with the issue where we can see the entire timeline and all objects.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Due to Photoshop Elements 12 Organizer I uninstalled the program.  When I re-installed Photoshop Elements 12 on the same computer the "Photoshop Elements 12.0.exe" file is not available.  I have tried loading Photoshop Elements 12 from the Adobe web site

    Due to Photoshop Elements 12 Organizer I uninstalled the program.  When I re-installed Photoshop Elements 12 on the same computer the "Photoshop Elements 12.0.exe" file is not available.  I have tried loading Photoshop Elements 12 from the Adobe web site without success.

    The Elements 12 shortcut can't find the Elements12.0.exe file so the program will not load.  I can load the editor from its .exe file but not the organizer.

  • File collaboration not working

    This is still an issue for me and has been for over a week. Latest Safari and the latest Chrome, different emails, they all produce the same result for me.
    Sounds like the same issue that @Quaetapo reported.
    Mac OS X 10.10.3

    I have forked the discussion (from Library collaboration not working to a new forum thread and updated the topic to File collaboration not working.
    Two things to try:
    Clear the browser cache and cookies and see if the error goes away.
    Open the browser's Developer Tools and go to the Network tab. Do you see any 4xx or 5xx errors (usually the call will be colored red).

  • Browse for file/img not working - Win 7

    Browse for file/img not working still - Win 7
    I have tried "run as Admin" and in "XP Compatibility mode" but still no luck fixing this issue in Win 7. Anyone have a potential fix so I can stop wasting time double checking every link/img on new work?
    Thanks!

    Are you referring to this issue?
    Problem selecting local root folder in Vista & Windows 7
    http://forums.adobe.com/thread/478327
    If so, there's no fix yet and not likely to be one.

  • input type="file" multiple / not working in IE 10.

    < input type="file" multiple /> not working in IE 10.
    I am trying to use the HTML 5 multi-file upload capability in a MVC 4 app.
    The control allows me to select multiple files when running under localhost but does not work when trying it from the web server.
    Is there some web server configuration I need to do? Web server is running IIS 7.

    Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).

  • Mini ipad is disabled and I downloaded Itunes but the exe file will not run

    mini ipad is disabled. says connect to itunes. I downloaded itunes but the exe file will not run.What to do?

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

Maybe you are looking for

  • 3G Speeds in Cape Town South Africa - False Advertising

    About 7 months ago I decided to upgrade to a Blackberry, not knowing much about them I did my research and was also advised by many store sales exec's that the Bold is the way to go as it is 3G! I coughed up and financed the other portion for the han

  • ORA-01850: hour must be between 0 and 23

    Hi techies, We have created a procedure for our daily report.its running fine for two location.when we run for a location we end up with this error.our current NLS_DATE_FORMAT is HH24:MI:SS.but its running successfully when we set nls_date_format='DD

  • How to update around 12 lac record when using co-related update

    Hello Everyone I have two tables and 14 columns in them are similar, I mean have the same name Now I want to update 1 column using the records in the other table by using join condition so I wrote a code but as the records are around 12 lac which nee

  • Formula to get sum of records per page

    Post Author: dreamer_0244 CA Forum: Formula Hi! I'm trying to create a formula that would get the sum of a field within each page of the report. Does anyone have an idea on this? Thanks!

  • Facebook follies

    Hi! Got a pre back in July, very happy with it. Then, froze and I got a new one. I have tried to add my facebook account, but no contacts are brought over. None. Zip. Nada. Says I successfully added the account, but the sync takes 10 seconds. No cont