Visa error -1073807339 when reading or writing to com 2

Good morning,
I am using both com 1 and com 2 to communicate with instruments using Labview 7.1 and Windows XP. Com 1 which works without any problems is communicating with a HP 34970A and com 2 which sporatically works is communicating with a Valhalla 2430 power analyzer. When I get the error, I open MAX and com 2 has an explanation point indicating a problem.
Thanks for your help.
Everett

Hello again and thank you for all the responses. Valhalla charges money for their driver so I doubt they would want it posted in the discussion forum. I ran NI-Spy and will attach the logs. I also changed the byte count from 32 to various lower numbers but 21 seems so far to operate without an error running the Valhalla VI only. This afternoon I will try it again in the program to see if an error occurs or if I don't get my data sometimes. Capture 1 was done using max and open visa for com 2. I ran it several times. Capture 3-1 is after I changed the byte count to 21 and added some delay on the VISA read.
For some reason it won't let me post a .spy extension
The file does not have a valid extension for an attachment. jpg,gif,txt,xls,vi,zip,doc,bmp,llb,pdf,png,seq,c,h,cpp,cs,vb,ini,gz,ctl,scr,ico,tar,z,uir are the valid extensions
Everett

Similar Messages

  • VISA Error -1073807194 When trying to connect to Dynamixel MX-28

    VISA Error -1073807194 When trying to connect to Dynamixel MX-28
    I'm trying to connect to a Dynamixel MX-28 and receive the above error when I run my VI.
    The COM ports detected by the VI match the ones that I see in Windows 7 Device Manager.
    Any other ideas?
    I've attached the code I'm running below.
    Attachments:
    Single MX-28 Position Control.vi ‏23 KB

    slow wrote:
    I had no idea, actually. I'm just learning Labview (and was handed this code by the previous guy). I appreciate the help.
    I'm guessing I need to replace the "VISA resource name" and "VISA resource name out" blocks (that are currently in the above linked VI) with the "VISA configure serial port" block?
    In a related question, what would be the best way to expand this so that a larger number of servos could be controlled at once?
    Would I just make multiple copies of the current blocks (with several position knobs on the front panel)? Would that make the most sense?
    LOL I was making fun of the unusual place that NI put the VISA serial config, not being sarcastic about you not finding it.  Sorry about that. 
    The config will go right before your write.  If you turn on context help (the little ? in the upper right corner) and mouse over the various things on the block diagram and front panel, you'll see how to use them. 
    Not really sure about a desing suggestion.  An array of position knobs to be indexed accordingly?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to resolve the error -1073807339 when using Agilent LAN/GPIB Gateway (E5810A)?

    Dear Sir/Madam,
    Appreciate that you could advise me on the following error occur when connect power meter E4419B to computer via E5810A LAN/GPIB Gateway(remote interface) & run with Labview: 
    -1073807339
    VISA Write in E4419_read_power.vi
    I have added 5s timeout to Labview program but the result as previous.
    There no error occurs when the power meter to computer via USB/GPIB interface(82357B).
    Is it related to E5810A driver or the program I wrote?
    How to resolve it?
    Attachments:
    E4419_read_power.vi ‏16 KB

    Hi.
    I'm experiencing the same problem when connecting a laser controller (New Focus Vortex TLB-6000) via the Agilent E5810A to a PC.  
    There are no problems when connected through a regular serial port, but timeouts arise every few seconds through the E5810A.  I have another controller (SRS LDC501) which works very well with a second Agilent console.
    Have you managed to find a solution to this problem?
    Thanks,
    Orel.

  • Error -1073807339 when using IVI (setup in MAX) to initialize instrument

    I'm using LabVIEW 2014 and the most recent version of the Measurement & Automation Expert (MAX) to communicate with an Agilent 33500B series function generator with IVI drivers on a Windows 8.1 computer. (I also see this problem when trying to communicate with an Agilent oscilloscope). I've used the MAX to create an IVI logical name and tied the name to the appropriate driver session following the instructions in: http://www.ni.com/white-paper/4594/en/. In LabVIEW, I have created the IVI instrument, tied it to the appropriate logical name, initialize the instrument, and then close the session. When I run this program, the Initialization block runs (resetting the parameters on the function generator) AND THEN I get the following error:
    "Error -1073807339 occurred at IviFgen Initialize With Options.vi
    Possible reason(s):
    Primary Error: (HEX 0xBFFF0015) TImeout expired before operation completed.
    Complete call chain:
        IviFgen Initialize With Options.vi
        IviFgen Initialize.vi
        <myfilename>.vi
    I read in the documentation that I should not simultaneously initialize with options in LabVIEW and in MAX, so I am using the Initialize block which still calls Initialize With Options. The same error occurs when I:
         1. Uncheck all the options in MAX and run the code
         2. Uncheck all the options in MAX and replace the LabVIEW Initialize block with Initialize With Options and run the code
         3. Add a Wait block between the initialization and the close blocks and run the code.
    However, I am able to communicate with the function generator when I use the VISA Test Panel (opened in the MAX) and send it a VISA command. I am also able to communicate with the function generator if I use the VISA I/O blocks instead of the IVI blocks in LabVIEW.
    Is it really a timeout issue? If so, how do I change the timing? If not, what is going on?
    Thanks.

    sagha wrote:
    According to the MAX they are correct (IVI driver for the Agilent 33519B downloaded from the NI website). When I run the IVI Initialize block any frequency, amplitude, offset, etc. settings on the function generator are reset to the default values. So, something is being sent to the instrument.
    However, I've also tried adding the General Error Handler block right after the Initializaiton block to cancel the -1073807339 error. Then, I add the IviFgen Configure Standard Waveform [STD] block to set the function generator frequency. The program throws an error that looks like a resource problem:
    "Error -1074130544 occurred at IviFgen IVI Error Converter.vi
    Possible reason(s):
    The session handle is not valid.
    Complete call chain:
        IviFgen IVI Error Converter.vi
        IviFgen Configure Standard Waveform [STD].vi
        <myViName.vi>
    What could be the reason for an invalid session handle? I've followed the NI tutorials on setting up IVI instruments in MAX and in LabVIEW.
    Okay, this is new information.  Nothing in your previous posts mention that the initialztion did anything at all besides return the timeout error.  The invalid session handle is because you closed the session.
    I'm having trouble following your descriptions.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Error -36 when reading/writing with firewire drives (400 & 800)

    This is only happening when I connect the drives to my G5, but the drives work fine on my MacBook Pro. I first thought I had a problem with my drives, but then when they worked on my laptop I figured it must be a problem with my G5. One of the drives is a smartdisk firelite drive connected via firewire to the front of my G5, the other is a G-Drive connected via FW 800 in the back of my machine.
    Any ideas of what I need to do on my G5 to fix this issue?
    Thanks!

    Hi-
    The error is an I/O error. One possible cause is low power on the firewire bus, or, the drives require more power than is available. Placing a powered hub between the G5 and the drive may be the solution.

  • VISA error: 0xBFFF0011 When trying to connect FBG Interrogator via Ethernet

    Hello, I have a SmartScan Dynamic FBG Interrogator and I've been wanting to switch it over from the proprietary SmartSoft (a suite of labview based applications) to LabVIEW. I have some VIs lying around that seem like they would be helpful in getting a LabVIEW VI with all of the functionality of the SmartSoft package, however they make use of a DAQassistant that references something that isn't there. And so I need to properly connect the device in NI MAX
    I don't know that much about LabVIEW but I was able to find that since the interrogator connects via cross-over cable that I should install VISA and add it in NI MAX. But when I try and do this, the automatic find device option when I try and create New VISA TCP/IP resource finds nothing and the manual entry method doesn't work for me. Now I know the IP address, as it is static and when I open SmartSoft I am able to connect to the device using it; also I have pinged the IP successfully. However, it asks for the port number and I've seen a few possibilities based on a UDP Message Format Guide that was with the VIs that I mentioned I had found earlier. I've tried 'validating' with all of the port numbers the guide lists which are for Diagnostic, Maintenance and Data messages, but I always get the error I list in the topic title. I saw other threads with this error but it was always in regards to serial communication.
    Am I headed in the right direction using NI VISA? And if so, do you have any suggestions on what could be preventing NI MAX from connecting to the device?
    Any and all help would be appreciated,
    Colin

    Well, I didn't really ignore the reference so much as I wasn't sure if it was a VXI-11 instrument or not, so after the other method didn't work I thought I'd try it. Based on that not working I would assume that it is not a VXI-11 instrument.
    And sorry, by manual entry I meant Manual Entry of Raw socket. Which is why I brought up my concerns of whether or not I had the right port number. 

  • Error message when reading PDF files

    I'm running FFox 5.0 and have the Adobe Acrobat plug-in (V10.1.0.534). My system in WinXP/SP3. I recently updated my Adobe Reader to Version X and ever since then I encounter an error when trying to read a pdf document on a web site. The document comes up, but in a bit of a strange way. First I get an "(JavaScript Application)" error box showing the message "Load: TypeError: browser is unidentified." Then when I touch the OK button the document is displayed, but with a double window header, the upper one showing "Mozilla Firefox" and the lower one the orange-shaded "Firefox v". As I said, the document is displayed OK, but something isn't normal. Is it the fault of the updated Adobe Reader, or FFox V5, or what?

    Does it work the first time after you delete your Normal.dotm file? You may be running into the same issue that is detailed in this post Unable to open document. Please check to see if you have read permission for the above file.

  • Error TSV_TNEW_BLOCKS_NO_ROLL_MEMORY when reading into internal table

    Hello guys,
    below are snippets of my code and when its goes into the select statement, i get this error TSV_TNEW_BLOCKS_NO_ROLL_MEMORY. Do you have any idea what went wrong? here are the table declaration and select statement.
                                  BEGIN OF ty_instfact,
                                   ucinstalla           TYPE
                                   /bi0/oiucinstalla,
                                   ucoperand             TYPE
                                   /bi0/oiucoperand,
                                   ucop_str1           TYPE /bi0/oiucop_str1,
                                  END   OF ty_instfact
      DATA :           i_instfact TYPE STANDARD TABLE OF ty_instfact.
      SELECT ucinstalla ucoperand ucop_str1
          FROM /bic/azinf_d0100
          INTO TABLE i_instfact
          FOR ALL ENTRIES IN RESULT_PACKAGE
          WHERE ucinstalla EQ RESULT_PACKAGE-ucinstalla
          AND ucinstalla > 0
          AND ucoperand = 'E-NSRD'
          OR ucoperand = 'G-NSRD'.

    Hello All,
    SAP came back to me regarding this issue. There are only way to eliminate this error is to:
    - use InfoSet rather than JOIN
    - increase Extended Memory or Heap Memory for Background WP.
    We have doubled the memory per process (4-->8GB) and it works fine now.
    Kind regards,
    Roman

  • Received an attachments (.docs)...when trying to open, it says error occurred when reading document...is there a way to open it? when reading document...is there a Walter..

    Éden

    What are you using to save as a pdf? Reader doesn't have anything to do with creating the pdf. If you are simply using the "Save As>PDF in Word then yes, it's a Microsoft issue. No Adobe product is involved in that part. Adobe Reader is only seeing what is created.
    But, when you say it's being cut off do you mean it's cutting it off in the pdf itself or is it all visible in the pdf but is being cut off when you print?

  • Preserving CDATA when reading then writing XML files

    Hi All,
    I have some source XML that needs to have an update applied and then written back out into a new directory. This all works fine except some of the other elements have values with CDATA around them in the input file and on the output file the CDATA is replaced and the characters substituted ie: turned in &amp;
    This is (I guess) default behaviour but I would like the CDATA preserved and writing out into the new XML file.
    How can I do this ?
    Regards,
    Steve

    Found the answer :
            DOMParser dp = new DOMParser();
            dp.retainCDATASection(true);
            dp.parse(xmlFile);
            xmlDoc = (XMLDocument)dp.getDocument();

  • Error-200279 when reading Analog Wfm Nsample

    I'm calling the attached VI at least 10x in the main VI and works fine but sometimes it's giving me an error-200279. Can someone please tell me why?
    Thank you in advance.
    KowdTek
    LabVIEW 2009
    One Step At A Time, Maybe Two...
    Solved!
    Go to Solution.
    Attachments:
    Detect Frequency.vi ‏25 KB

    Your buffer isn't big enough.
    You are collecting 20,000 samples per second, but only set it for 2000 samples per channel.  So that is 1/10 second worth of data.  You are reading 1000 samples at a time, so about 1/20th second.  If the loop is running fast enough, you can keep up and won't get an error.
    If there is a small delay (perhaps Windows goes off and does something else for 50 or 100 msec.) your buffer will overflow.
    I'd suggest eliminating the 2000 constant where you set the samples/channel and try again.  See if it behaves better.

  • Why NI 9234 create error 20308 when reading pulse measuremen​t of my tachometer​?

    Hello,
    I am monitoring a machine condition using a triaxial accelerometer and optical tachometer for speed. I have 8 pulses each revolution.
    Please find attached my screen shot for the error and the VI. It runs few seconds and stops.
    Please try to find what am I doing wrong? 
    Many thanks in advance for your help and support.
    Attachments:
    screen shot error tachometer.png ‏18 KB
    Tachometer7-2-3013-2.vi ‏110 KB

    Hello Bibb, 
    You are receiving this error because you are not crossing the reference levels often enough. The reference levels, described in the help files here, help determine one cycle. If your reference levels are too high and your signal is not crossing them, it will not be able to determine the measurement interval of one complete cycle. Also, if your frequency is too low, it will not cross often enough as well. 
    Maggie
    National Instruments
    Applications Engineer
    ni.com/support

  • VISA error 1073807339

    I am new to LabVIEW. I am acquiring my temperature data from 20 T type thermocouples using Agilent 34970A. I get an error that timeout occured before the operation terminated.
    Please debug the attached vi.
    "Winning isn't everything, Its the only thing"
    Attachments:
    DAQ34970Atigmanshu.vi ‏20 KB

    Here are the screenshots in the form of ppt. Please go through and advice ASAP. Thanks in advance
    "Winning isn't everything, Its the only thing"
    Attachments:
    Codescreenshots.ppt ‏308 KB

  • Timeout error (Hex 0xBFFF0015) in NI VISA test panel when attempting to read from device

    Hello,
    I am attempting to control the set position of three daisy chained four-way actuator valves. They are VICI Valco and model # EUHA. I have them connected via RS-232 to USB into my computer. I was able to communicate with them when I sent some simple commands through hyperterminal and when I open MAX the devices appear and the panel says the devices are functioning properly. However, when I go into the test panel and try to run some default commands, I get the timeout error, 0xBFFF0015, when reading the command. Thank you for any help you can provide.
    Solved!
    Go to Solution.

    Okay I'm running it again today and I'm noticing that its displaying results when I attempt to read from the valve but still tells me it timed out. Aside from the timeout error, both hyperterminal and visa are providing comparable results. The two commands I have been trying to read from the valves are AM (to check what mode the actuator is set to) and CP (to check what position the valve is at).

  • Error when reading back a binary file

    Hello,
    I am writing out a binary file consisting of U32 arrays, packed strings, and clusters. I get error 116 when reading back. As long as I am synchronized on the correct data position why should LV care what I write to the file? In the example I write a simple 16 element array and a time stamp cluster. When reading back the array I get the error. What is the correct way to do mixed structures? Thanks.
    Attachments:
    file write.PNG ‏44 KB

    David,
    You can solve the problem in various ways. The easiest might be to modify the writer VI by wiring a True constant into the "header (F)" input of your first Write File node. That forces LabVIEW to include a four-byte header that specifies the length of the array you are writing.
    When you wire up the reader code the way you did, the length of the array you wire to the "byte stream type " input is irrelevant; by wiring nothing into the "count" input, you are implicitly telling LabVIEW to look for a header to determine the length of the array you are asking it to read. Because you didn't write any header, LabVIEW is interpreting the first four bytes of the array itself as a length. That length doesn't match the actual amount of data present in the datafile, so LabVIEW generates your error.
    An alternative solution would be to leave the writer unchanged and modify the reader VI: wire an I32 constant into "byte stream type" and wire a 16 into "count". The choice depends on what you prefer and whether or not these binary files need to be compatible with some other program or not.
    Another aside: you can dispense with your case that checks whether the datafile already exists. Just change the function input of the Open/Create/Replace to "create or replace" and wire a False constant into its "advisory dialog" input.
    Hope that's clear,
    John

Maybe you are looking for

  • Pricing update

    Hi! I have a problem with pricing update. For example I change information in pricing procedure adding new condition type but this new condition type appears in orders only in several hours. CRM version 5.0. Tell me please what can I do to speed up t

  • Getting error while posting reports on Unix Process Scheduler Server

    Hello , I am getting the below error while posting reports on Unix Process Scheduler Server . PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed. PSDSTSRV.14338 (2) [09/08/09 08:2

  • Template page won't display on the web.

    One of my web pages was saved as a template and won't display graphics when uploaded, just code.  It has the extension dwt.  I thought probably what I should do is make an html page copy and use that.  I don't know how that is done, or if that would

  • Regarding Weblogic Server 5.1 and Jview.

    I have an applikation running on a Weblogic server 5.1 and have to access COM Components - I used MS J++ to wrap the COM components and started the server with jview. That work just fine as long as I dont include the rt.jar from the jdk1.3 library in

  • Smart Albums iPhoto Ver. 6

    When looking at photo thumbnail view of a smart album have noticed the performance is very poor (slow). Also noticed when paging the thumbnail resolution is not clear (fuzzy). If dbl_click a photo to edit, click done, the screen repaints and the thum