Error -1073807246

Hi,
I am new to labview.
I got the following error when I tried to read measurements from "Mark-10 Force guage-Model M4" using labview.
Error -1073807246 occurred at Property Node (arg 1) in force guage.vi:Instance:2->force guage.vi
Possible reason(s):
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
I have tried many things that have been posted in the forum including reinstall Visa but nothing work.
I am able to read the data from inside Instrument assistant but can not pull the data out of it.
please see the attachment.
I appreciate any help 
Thanks in advance
Attachments:
Error -1073807246.docx ‏94 KB

Figured out after reading an old post for you.
It was all about the termination character.
It is working now after I used the advanced example and changed the termination charecter.
Your old post:
http://forums.ni.com/t5/LabVIEW/Changing-termination-character-doesn-t-seem-to-work/td-p/1898241
Thanks 

Similar Messages

  • Atomic IMU and Error - 1073807246

    Hey everyone,
    I'm trying to construct a vi to read from multiple atomic IMUs for an aerospace university project.
    I've got the vi which is attached to the bottom of this code.
    Now, the imu is set up using BR@Y terminal so I know that it's sending the data and when I go into the Instrument I/O assistant and press the 'read and parse' tab then the individual readings come out as I expect them. The device is connected through USB and when looking at the individual readings (count, accel x etc) it comes out fine.
    My problem is that I don't understand how to get all of the data from there to running continuously so that I can plot all of the accelerations on one graph and all the rates on another graph. I have the two graphs and my issue is that firstly I cannot attach the waveform graphs to any of the readings.
    Furthermore, when I press 'Run' the program returns the error:
    Error -1073807246 occurred at Property Node (arg 1) in IMU Reading.vi:Instance:0->IMU Reading.vi
    Is this because of a timeout? I can;t understand it since if I run the program in the Instrument I/O assistant then it works well and gives me the data I am looking for.
    I'm not using DAQ since my device has no drivers and works fine over USB.
    To summarise, I want the program to take the data coming in over the USB (as correctly parsed by the Instrument I/O assistant) then plot the £3 accelerations v count" on one graph and the "3 body rates v count" on another graph.
    The next step is to get the program to write all of the data to a file but that is for another day I feel... :s
    Any help would be very much appreciated.
    Aryeh
    Attachments:
    IMU Reading.vi ‏84 KB

    Dear rubberhedgehog
    I recomend you to use the Instrument I/O assistant because I don´t think that you could find any drives for your atomic IMUs for labview.
    Without the knowledge of the not functioning code it is not easy to find out what causes the error.
    If your code is working like posted try to look on the XY Multi Plot.vi in Help>Find Examples. It should help you to resolve your problem with the graph plotting.
    The problem in your code is also that you have a graph which shows all the available data only once, and you enter only one element in every loop. That is why you would need to use a chart which remembers the previous data and add the new data to the plot. In your case you need to use XY graph to be able to show the count on one axis and i.e. the acceleration on the other. If it is enough for you to have only the final data and not see the graph during the measurement you only need to put the XY graph out of the while loop and create an array from all measured data. Beter would be to use a shift register whit an updating array and show the whole array in every loop on the graph. You could remember all elements in the shift register and in every loop ad new items to the array.
    I hope to help

  • I am using serial communication and always having error 1073807246, I try to solved using the idea given in the ni site but it still doesnot work. Looking for your help?

    I am using labview 6i. The ahrdware I am communictating is light modualtor.

    "Here is the definition of the error from LabView:
    "VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it"
    Are you able to communicate with the hardware manually using a sw like "HyperTerminal"? If so, configure the serial port setting to the same as that to communicate manually.
    It appears that you are using a valid comm port, but it cannot talk to the hardware for some reason. It could be as simple as a bad connection (wiring / soldering / etc) to the hardware.
    The first thing I would check is the ability to communicate manually. If it works manually and you duplicate the settings, it should work. If you can;t communicate manually, then you'll have to do some troubleshooting..
    -JLV-

  • Could you pls expalin me how to solve visa error 1073807246, I am serial communication with the hardware. thanks

    Hardware :- light modulator

    Here is the definition of the error from LabView:
    "VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it"
    Are you able to communicate with the hardware manually using a sw like "HyperTerminal"? If so, configure the serial port setting to the same as that to communicate manually.
    It appears that you are using a valid comm port, but it cannot talk to the hardware for some reason. It could be as simple as a bad connection (wiring / soldering / etc) to the hardware.
    The first thing I would check is the ability to communicate manually. If it works manually and you duplicate the settings, it should work. If you can;t communicate manually, then you'll have to do some troubleshooting..
    -JLV-

  • Error 1073807302 while connecting a third party USB device,and showing invalid setup

    While connecting a third party USB device,In NI MAX it is showing error 1073807302,Unable to start operation because setup is invalid,and error 1073807246 Object Reference is Uninitialized,in the USB settings Tab it is showing no pipe present in Bulk in pipe and in VIEW ATTRIBUTE Tab it is showing invalid property....
    please kindly reply me.....!!!

    sir,without configuring in NI-MAX how can we open a connection to VISA.
    If i install the device driver provided by supplier,i am not able to view my device in NI-MAX,so that, I had created and installed .inf file for my device using VISA driver wizard, In NI-MAX now I can see my device and its properties in visa interactive control.But it was showing some errors(Error-1073676418,error-1073807302,error-1073807298),in the USB settings Tab it is showing, "No pipe present in Bulk In-pipe", and in VIEW ATTRIBUTE Tab it is showing invalid property.In program it is showing error 1073807302,Unable to start operation because setup is invalid,and error 1073807246 Object Reference is Uninitialized,
    While Searching in ni.com, some one posted that change the USB Alternate settings to 1/2/3,default value is 0,but now also my problem is not solved.
    I am using VIATOR USB HART modem, Model 010031.

  • Error -107380724​6 when trying to control a circulator in Labview via RS-232

    Hi, I'm trying to control an F32 refrigeration/heating circulator through LabView via an RS-232 cable but am having trouble. I keep getting the error - 1073807246 at property node (arg1) in VISA configure serial port. What does this error mean and how can I correct it? I have already specified the values for Baudrate (4800), parity (even), handshake (RTS/CTS), data bits (7), and stop bit (1).
    Thank you,
    Hung

    It is rare to get a timeout when writing. I usually get this when I am reading a port. What value did you use for the timeout when you configured the port? I think the default is 10,000 ms, i.e. 10 seconds. If it were timing out, you would notice the code hanging for 10 seconds as the serial I/O function tries to run to completion.
    To avoid timeouts, check the following in your code.
    1) Make sure the configured timeout is long enough to handle the data stream sent on your write. If you are sending a long stream of data, you should test the time it takes and make sure the timeout is larger than the longest time for your longest data stream.
    2) When you are reading a port, make sure the number of bytes you request is equal to or smaller than the number of bytes being sent from your serial device hanging on the other end of the cable. Otherwise, it will always use the entire alotted time (the timeout value) attempting to read the data.
    3) Verify that the response time of your device is not abnormally slow. Some devices don't interrupt processes very quickly. In fact, some devices put a very low priority on the serial port and may not respond at all while executing certain functions. You need to set the timeout value to be long enough to account for the device's response time when reading a response from your device.
    If you don't know what to use as a timeout value, always start with a long one and try to handle timing variations in your code, e.g. read or write the data in chunks perform sanity checks as you go. Long delays in the response of your code will point you to a bug in the handling of serial port communications. You will get a long delay everytime the serial command cannot complete due to an unreasonable request, e.g. telling it to read 100 bytes when the device can only return 16 bytes for the requested command.
    You can use the NumberOfBytesAtPort property to help you determine when data is available for reading. Also, in a loop that may be used to poll a serial port, try to use a wait (the wristwatch timing function). This keeps you from pummeling the serial port to hard with futile requests.
    Another good way to avoid serial timeouts is to use a termination character. If your device always expects a as the last character in a command, or if it always sends a as the last character in a response, then configure your port to terminate a transmission automatically upon receiving the character. I think the default termination character is (linefeed character) it you elect to enable this feature in your configuration.
    jc
    Mac 10.4
    LV7.1
    CLD

  • VISA ERROR MESSAGE

    Hello,
    I am running the following small routine to start up a VISA session. I am reading from a Thurlby Thanda 1906 multimeter. It works perfectly with Hyperterminal.
    The error I am getting is as follows:
    Error -1073807246 occurred at an unidentified location.
    Possible reason
    VISA: the resource is valid, but VISA cannot currently access it.
    The error occurs at the VISA serial step.
    Any ideas?
    Nevica
    Attachments:
    Capture.JPG ‏32 KB

    Read this first: http://www.ni.com/support/labview/visa/verr3.htm
    If you still have a problem, please post back.
    Also, make sure HyperTerminal is not running.

  • Visa errors

    When I try to use the IO Assistant Express VI ... I can configure and talk to my instrument just fine but when I try and run the VI I get thye following error.  Error - 1073807246 occured at Property Node (arg 1) in Untitled 1:Instance:0->Untitled 1 ... Possible reason(s): VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
    I have tried everything I can think of with no success.  Anyone have any ideas?
    Solved!
    Go to Solution.

    Okay,  then go to my message that you marked as the solution.  Go to the options menu to the upper right and select "Unmark as solution".  If is it marked as solved, there may be some people who might skip over the thread who might otherwise help.
    I don't have any other ideas.  Other than rebooting and try again.
    Beyond that, sift the the message threads in http://forums.ni.com/t5/forums/searchpage/tab/message?location=Board%3A170&q=1073807246#message-list

  • Problem: Instrument via serial connection

    Hello Forum,
    I am trying to connect my instrument to my laptop via USB through Serial port. I used NIVISAIC and found the Resource name as ASRL3::INSTR. When I was working with Laview I found the following error
    Error 1073807246 occured at property node (arg1) in VISA configure serial port (Instr.). Reason: The resource is valid, but VISA cannot currently access it.
    Using the interactive control one of the attribut is in red (Is Port connected: VI_ATTR_ASRL_CONNECTED: Invalid property value
    Also when I send Identification query using NIVISAIC, it returns the same command.
    I did not understand much of it. However there is a software for the instrument, using which I could connect to the instrument the first time I switch on the system. When I disconnect it and tried once again, it was not connecting.
    I had earlier connected Keithley 2400 via GPIB KUSB 488. Is there any problem in connecting two devices. Or is the driver of the software and NIVISA are conflicting with each other.
    Please find the screen shots.
    Please help.
    Thank you.
    Attachments:
    2.JPG ‏57 KB
    3.JPG ‏80 KB
    4.JPG ‏93 KB

    Hello Dennis,
    It did not help much.
    7: Write Operation (*IDN?)
    Return Count: 5 bytes
    8: Read Operation
    Return Count: 5 bytes
    *IDN?
    I tried to query with \n and \r\n; but did no good. There is only one instrument connected to the PC via Serial port.
    I would like to know if the identification command is same for all instrument or does it change with manufacturers.
    Why does it return the same command that was given to the instrument.
    If I am to ignore this, please find the block diagram and manual of the instrument in the attachment. It was said that the commands should be sent as single characters and not as string.
    In the block diagram I have used VISA Configure Serial Port, VISA Write, VISA Read and VISA Close vi's. Please tell me whether this is correct. The Commands where given in separate lines or should I use separate VISA Write vi for each characters.
    Thank you.
    Attachments:
    interface.JPG ‏130 KB
    block diagram.JPG ‏14 KB
    PR-655 - 670 Manual.pdf ‏4053 KB

  • Serial vi build problems

    Hello All,
    My Configuration:
    WIndows 7 64bit
    LabVIEW 2010 32bit with application builder SP1
    My application runs fine as source code but when I build it the serial vis used do not work and report the following error: 
    -1073807246 
    Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Initialize Serial.vi
    Is there a work around for this problem?
    Thanx,
    Karl
    Attachments:
    Initialize Serial.vi ‏25 KB

    jkarl wrote:
    Hello All,
    So it turns out that LabVIEW can hold open this port and I may not have closed it properly as well in my code,  but the problem goes away when I exit LabVIEW and run my executable without LabVIEW resident
    Thanx,
    Karl
    That is correct.  Which is why you need to close out your ports when you are done with them.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Unable to find visa refnum

    I am trying to run several VIs connected to different serial ports-all at the same time.I got the error:1073807246-I was trying to clear it in the way described in this forum-by creating a VI with a 'refnum' wired as input to the VISA close session.I am only able to wire a 'control' to it-and again it shows me some other error(1073807346)-other than this,the VI seems to be perfectly(It is also surprising that I was able to run the same VI without any problems yesterday!Would it be a good idea to 'open' the VISA session just once in the beginning of the whole VI(which has several sub VIs)and then 'close' it only at the end of the whole process?
    any suggestions/ideas are welcome.

    Opening the VISA session once at the beginning of the program or process and then closing once done, is the usual way to handle it. It saves on a lot of opening and closing. Just pass the reference from VI to VI. This will speed things up a little as well.
    Rob

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • How can I duplicate a COM session?!

    Is there a way to dublicate a COM session? I'm using a external application which have to run on the same port (com1) as my LV app. Now I always get the error (-1073807246) from LV when I'm trying to open the same com1 session! How can I solve this problem?
    Although there is an input on the 'open VISA' for duplicate session it doesn't work and I get this error back! It's necessary to use the same port because of the app. so this means I can't switch to another one.
    Thanks
    Norick

    I have done similar, but I do not recomend it.
    If at all possible, go with Becktho's suggestion of eliminating the other software and just code everything in LV.
    I urge this approach because the sharing of the com resource (I believe) is an exercise in futility at best.
    If we have to stick with the other software then two extra serial ports and some custom built serial cables could be used to get this going.
    Here is what I have in mind.
    Com1 > Other software
    Com2 > LV recieve
    Com3 > LV transmit
    Wire the cable such that the transmit line from the device is connected the the recieve line of Com2. In LV copy all data from Com2 receive line to Com2 transmit. The cable should route Com2 transmit to Com1 recieve.
    Wire the compliment to tap into the transmit from Com1 >>> Com3 recv >>> LV copy >>> Com3 transmit >>> Device recieve.
    When you have all of this in place, and working the original software would talk out it own port have have no idea you are in the middle.
    At that point your LV code could insert commands and intercept responses as required.
    BUT...
    I would not be suprised if you end up having to learn enough about the protocol that Becktho's suggestion will look pretty simple.
    Happy wiring,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • PropertyNode: Interface Information: Interface Description fails on second call

    Hello all,
    I´m new here and I have a problem.
    As the subject already tells the property node: Interface Information: Interface Description fails on second call.
    I have written a SubVI to get the virtual COM Port of a specified Device, which is connected via USB to my computer.
    Therefore I use the "VISA Find Resource" VI to get a list of all active COM Ports and then use the mentioned property Node to get the device information.
    I search for a specific string in this device information and if this string is found, I have my needed COM Port.
    This is all working. Except for the case I start this SubVI a second time. 
    I always get an error from this property node saying: Error: -1073807246 in Property Node, VISA: (Hex 0xBFFF0072) The resource is valid, but VISA can not currently access it.
    I don`t understand why I´m getting this error. I don`t even open the VISA Resource. I just check the name of it and make a VISA Close.
    Maybe the problem is in my device?! I don`t know.
    If I switch my device off and on again. My VI is again working once.
    I hope someone has an idea, where this problem comes from and how to fix it.
    I have the part of my SubVI, which is relevant to see the issue.
    Thanks in advice
    Best regards 
    TDO
    Attachments:
    FindCOMPort .vi ‏20 KB

    Hi TDO,
    please indicate cross posts! (Even when this was 'just' the German forum…)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Exe com port error

    Hello,
    I am writing a program to pick com ports for the main program.  The com ports are actually USB devices and I want them to be able to choose different ports if they happen to change because of the USB.  So I wrote the program to populate a menu ring with the names of available com ports.  Everything works fine as a vi, but when I built it as an exe the property node throws errors.  I am running the exe on the same machine as my vi for testing.
    # -1073807246
    Property Node (arg 1) in pick comports.vi.
    The property node is : Property:Interface Information:Interface Description
    Using this as a VI it puts out names similar to what you would see in the windows device manager.  The false case just puts the words "Not Used".  The input is an array of Visa references for COM1 - COM10.
    Any ideas on why it breaks in an EXE?
    Solved!
    Go to Solution.
    Attachments:
    error.png ‏6 KB

    _Bryan wrote:
    It would be nice if the search engine would have pulled up that page you linked to.
    It does if you don't search in the forums only, but on the NI Website. The website search includes the forums, so it's usually a better place to start, especially if you have an error code/message then it might find some KB articles or similar in addition to forum posts.

Maybe you are looking for