myRIO VISA error-1073807192

Hello world

My problem is this: my myRIO can see successfully a Hokuyo URG - 04 LX module that I have connected to the USB host port. However, when you use VISA resource open, I got the following error:

-1073807192: VISA: (Hex 0xBFFF00A8) is denied access to the resource or to the remote machine. This is due to the lack of sufficient privileges for the current user or the machine.

KBs online suggest that it is a security issue to do with the address IP, but MAX shows the myRIO security settings allow communication on all ports.

So, at this point, I'm stumped! Does anyone have any suggestions?

Additional information:

The myRIO detects not that kind of default device, I had to follow this tutorial to learn first how to get LabVIEW to recognize a connected device ttyUSB as a FTDI chip and then deviate from the tutorial slightly so that it supports the class of device Communication USB (ttyACM), which is the type of device class the URG - 04 LX adheres to.

The code I used is:

In the file/etc/mdev.conf, under #typical of devices, I added the line:

ttyACM [0-9] * root: ATS 666

In etc/rc5.d/, I added the S10SetLnUSB file that is provided in the tutorial, except all the entries pointing to ttyUSB were replaced by ttyASM:

#! / bin/sh
#echo '==> SymLnk ttyACM0 creation. "
#ln s/dev/ttyACM0/dev/ttyS2
n ='ls

/ dev/ttyS * | kind | tail-1 | tr ' ' ' | AWK ' {print $2} "
num = 'expr $n + 1'.
ln s

/ dev/ttyACM0 ' / dev/ttyS$ {num}.

Finally, the tutorial recommends using this command to recognize the addition of the script:
#chmod a + x /etc/rc5.d/S10SetLnUSB


At this point the myRIO can successfully see the connected device.

I reformatted back to the standard driver implementation myRIO plus all additional drivers additional NI-VISA (5.4) such as the passport of USB of NI-VISA. It turns out that after all debugging, all you have to do to get a class of devices of Communication (CDC, ttyACM) module to get recognized within LabVIEW RT is to do the following:

  1. Download your LabVIEW RT remote target visible in MAX.

  2. Plug the module USB to the USB of your target remote host port control.

  3. SSH in LabVIEW RT.

  4. Make sure the device you are using is a CDC. You can do that by typing the command #dmesg, and get a response that looks like this:

    [173.342694] usb 1-1: new USB full speed device number 2 using xusbps-ehci
    [173.635010] cdc_acm 1 - 1:1.0: ttyACM0: USB ACM device
    [173.652955] usbcore: registered new interface driver cdc_acm
    [173.652977] cdc_acm: driver model USB abstract control for USB modems and ISDN cards

    Your real answer my vary slightly.


  5. Run the command #rmmod cdc - acm. If the command line returns does not return a response, the device driver has been deleted successfully.

  6. Go to NOR-MAX on your host machine and refresh the list of devices and Interfaces for your remote target. The material should now appear.

Tags: NI Software

Similar Questions

  • VISA error message

    I recently spent Dev Suite 2009 to 2010, and since then, I get a VISA error set up a Serial Port (Serial Instr) .vi after that property Serial Instr node is executed:

    VISA: (Hex 0xBFFF0011) insufficient location information or the device or resource is not present in the system. The resource refers to a USB port on one of our DUT, TXUSB. I know little about the VISA, but thought that it was set up in MAX and don't think that that would get changed during an upgrade. MAX is indeed the place to set up the names of these resources?

    Thank you

    JVH

    Dev suite is a set of several applications and drivers. What precisely do you have installed? If you upgraded your version of NI-VISA, you may need to update MAX. Do you not see the com ports it?

  • Upgrade of the CVI / Win: now receive VISA error: insufficient location information...

    Hi all

    I am faced with the following question:

    We replaced our old computer laboratory with a new model and took the opportunity to also move to a more recent operating system (from Win XP to Win 7 64 bit) and to the current version of the CVI (2013 SP2) and its runtime of all device drivers (2014 versions of VISA's most recent...).

    One of our data acquisition software (written several years in CVI 2009, 32-bit) now at startup displays an error message:

    VISA error: information about the inadequate location or the device or resource is not present in the system.

    Unfortunately, for me this information is detailed enough: we have six tips of NOR, even, we used before. MAX indicates all the boards, if at first glance it is not so obvious to me what to learn from this error message, or how to continue...

    Any advice is welcome

    After you open a support request our kind local support informed me today that there is a known issue, CAR 242354, supposed to be fixed in VISA 15.

    Kudos to him

  • VIsa error code: 1073807195

    I have set up a debug for coding environment. I use c# mode for remote debugging. The program running on my laptop and camera and GPIB Board are on another machine. When my code (laptop) run this sentence: mbSession = (MessageBasedSession (ResourceManager.GetLocalManager(":GPIB0:16:INSTR"). There is a mistake: the interface type is valid, but the number of specified interface is not configured.  VISA-1073807195 (0xBFFF00A5), ErrorInterfaceNumberNotConfigured error code. But I can't find the instrument by NIMAX (on another machine). So I guess I have to use my laptop to install the device control and GPIB card directly. Am I wrong? Now the problem is that my laptop can't install a GPIB card and I have to use this mode for remote debugging. How can I do? does anyone have experience?

    Hardware solution: use a USB-HS-GPIB adapter

    Software solution: try "VISA of distance." See How can I check my VISA from another computer device?

  • VISA: Error-1073807252 (0xBFFF006C in hexadecimal)

    Get following VISA reading in a series base error message write and Read.vi:

    Error-1073807252 (0xBFFF006C in hexadecimal)

    Possibble reason (s):

    VISA: (Hex 0xBFFF006C0 an overrun error occurred during the transfer.) A character not read in the material before the arrival of the next character.

    Had a look on the forum, but could not get a clear answer on how to solve this problem.

    I did not explicitly define the IO buffer size front and applies default 4096. I've now increased the size of the buffer using the size of the buffer IO set VISA sub - VI and it solved my problem. Not sure why I have not encountered this problem before.

  • myRIO install error TARGETDIR is undefined table incorrect directory

    During the installation of the software for myRio, I bought Aug 2014

    Disc 1 shows the screen of LabVIEW 2013, and the folloing popup error message

    TARGETDIR is not set, the Directory Board seems incorrect.  Abandonment

    I use windows 7 on this laptop, but received the same error message on my windows laptop 10.

    Check where you have the installation program located.  Here's a knockout who explains how to fix this problem:

    http://digital.NI.com/public.nsf/allkb/24E09BDC314EB93A8625758D004ECBC6?OpenDocument

  • After repeated close features, I still get the VISA error "the resource is valid, but the VISA cannot access to this.

    I'm currently building an application on a device cDAQ, which involves the use of a scale. The scale uses the RS232 communication, but is connected to an RS-232 adapter / USB and plugged into one of the USB ports on the cDAQ (COM 10). I am contacting the scale using the basic functions of VISA: VISA Open > VISA Read > clear VISA > VISA family. I created an application using the scale that worked correctly, but now whenever I try to access the scale - whether through MAX, a VI or a version rebuilt in the same application - I get the error "the resource is valid, but VISA can not currently access."

    The scale has three options for data transmission: "No. Data Output" "data output continues" and "Normal output when you press the Print button. I have it set to "data output continues, I don't know if this information is useful.

    The c-data acquisition is a NEITHER cDAQ-9138

    I have tried several things to get rid of this error:

    -Restart the cDAQ

    -Functions "Close VISA" running repeatedly on COM Port

    -Completely unplugged and powered off the coast of the scale

    -Connect the scale on a different COM Port

    -Repeatedly in the course of execution 'unblock port' VISA functions on COM Port, as a colleague has suggested that perhaps the problem

    None of them have worked.

    Does anyone have any suggestions of reliably, get rid of this error?

    I have attached a vi showing how I try to read from the device. Any help would be appreciated.

    A colleague of the Department of electrical engineering of the company has solved the problem. The scale has a material defect that will constantly try to communicate with a VISA session, even if the session is closed for a long time on the computer. Essentially, the VISA session on the scale does not, stop even if she ends up on the computer. He says it's a mistake he has not seen in 3-4 years.

    How to fix the error is to unplug everything from the balance and leave it unplugged for at least 30 seconds to make sure that all of his equipment off completely. When you plug the scale, it will be sensitive to a new VISA session. I tried it and the balance works again through VISA.

  • All my instruments back VISA errors

    I recently added the cryogenic temperature controller pilot Lake Shore model 336 in the folder instr.lib under program files of National Instruments. When I tried to run one of the example programs accompanying the driver, LabView gave:

    1073807346 error occurred while VISA opening to edge the Lake 336.lvlib:Initialize.vi-> Lake Shore 336 write Curve.vi

    Because I was working on an another VI at the time I just ignored the error and planned to fix it later. The other program, which had a servo error since last week-free motor, are also starting to give an error:

    Error 1073807343 has occurred to clear VISA

    Improper installation of the Lake Shore drivers affect somehow my other instruments? I am running LabView 2012 and have NI-VISA 4.6.

    Thanks for any help.

    Lakeshore pilots apply their own version of VISA?  Sometimes conflicting versions of VISA can cause problems.

    Lynn

  • Visa errors

    When I try to use the IO Assistant Express VI... I can configure and talk with my instrument very well, but when I try to run the VI I get following error thye.  -1073807246 error in the property node (arg 1) in Untitled 1 Untitled 1:Instance:0->... Possible reasons: VISA: (Hex 0xBFFF0072) the resource is valid, but the VISA cannot currently access.

    I tried everything I can think of without success.  Anyone have any ideas?

    You close hyperterminal?  Or at least close the com port in hyperterminal?

    I asked "is another program using the com port.  I don't have to ask "is another device using the com port.

  • Data are not acquired due to a VISA error!

    Hello, I had a something causing problem of ownership VI data acquisition. I have attached my VI in case you want to see my VI. When I tried to connect my VI assembled to the test, he didn't acquire data of it. The error has been shown "property Node (arg 1) visa set up a Serial Port (Instr) .vi-  It should not cause all ports or any computer systems because I already tested an another Sub vi (Data_read (adapted), you can find it in my sub package vi) with the bench test and it ran correctly. Any ideas?

    Thanks in advance


  • visa error, except if it is logged on as admin

    I install a LV program on several computers running Win7. It uses the VISA to communicate with three separate instruments. If I am logged on as administrator, everything works perfectly, but when someone without administrative rights logs I get VISA "resource not found" error This seems to be the two serial ports on a map, COM1 which is edge port works. I installed on the same computer yesterday and did not have this problem.

    Thanks for the reply. Seems to have solved the problem. I reinstalled basically just serial ports and VISA and the problem disappeared.

  • Get visa error 1073807194 after the power of the instrument cycle

    Hello and thanks in advance,

    I connect to an instrument via VISA with the port and IP address of the device. Normally, this works well, but if the loss of instrument (and camp) power during execution of the VI, LabView must be restarted for the VI to work again. (It's all labview, not only my VI). Error code: 1073807194 | VI_ERROR_CONN_LOST | The connection of the given session has been lost. None of these instabilities occur when only one connection is disrupted and restored. It is still a valuable resource for VISA. Can I solve this problem by disabling the port or plug and if so, how? I wish to insert a code to check if the connection is blocked and if so, erase it.

    I'm under LV 8.6 on Windows XP using measurement and automation to assign the resource VISA by manual selection of the socket. The VI is attached.

    This thread is useful, but the links are dead: http://forums.ni.com/t5/LabVIEW/visa-write-connection-has-been-lost/m-p/342028.

    Thank you very much!

    When you quit LabVIEW, and restart, LabVIEW automatically close all Sessions VISA.  Try to use the function of re-closing VISA close the existing session and open a new one.

  • 1456 CVS - VISA error connection problems?

    Hello

    I bought a new unit 1456 of old stock, put CVS to update its bios and all the software and will have questions, operate without errors.  It is connected to a Point gray Flea2 640 x 480 camera.  I use Vision Builder for Automated Inspection 4.0 (trial for now, the full version is on order).  Here is a description of the problem.

    1. I can see and connect to the camera via VB for AI or MAX.

    2. There is an error VISA to the MAX with the camera:

    0XBFFF00A8 (VI_ERROR_NPERMISSION)

    viFindRsrc return 0xBFFF00A8 (access to the resource or the remote machine is denied. This is due to the lack of sufficient privileges for the current user or machine).

    Please check the settings of the remote machine and make sure that you added the computer's network address to the whitelist.

    Possible causes of this error:

    1. the remote machine, you access didn't you leave granted.

    2. the remote machine, you access you refused permission to access its resources.

    3. you may have configured your server with a specific IP address and set up your client computer to different IP address rather than the computer name (IE, the client IP address is assigned by a DHCP server).

    3. all software appear to be up-to-date.

    4. There is also one uninstalled OR-IMAQdx with a component IEEE 1394.  Currently installed is NOR-IMAQ for IEEE 1394 2.0.5.  When both are installed, the camera is listed twice.  Which of these is best, or necessary, or both are needed?

    5. the error when I create a new acquisition in VB to HAVE.  I can well access the camera, capturing images and change the settings.  As soon as I try and run the inspection (which brings me to register the program in the unit of 1456), program errors, the inspection does not and does not allow me to acquire new images of the camera until the unit of 1456 has been restarted (reopening the program does not help).

    6. the error that appears after trying a purchase of the aircraft of 1456 is:

    ---------------------------

    Inspection open error

    ---------------------------

    The validation of inspection returns errors. Possible reasons include:

    -Some image files used by acquiring simulate steps are not available on the remote target.

    Save the image folder 'c:\User Images' folder on the target.

    -The screws used by LabVIEW enforcement measures are not available on the remote target.

    Save the screw or LLBs in the folder 'c:\User screws' on the remote target.

    -A few steps of inspection are not supported on this goal.

    -Inspection step on the target plugins are missing or damaged.

    Details:

    State: Inspect - step 1: 'Acquire picture (IEEE 1394) 1' could not be initialized.

    This problem has been resolved.  Apparently the 1456 dislikes Point Grey Flea2 color cameras, but it works very well with mono 8 - bit counterparts.  Thank you
    Tom

  • NI-VISA error string

    Hello:

    Is it support in the library of NI-VISA (4.6 and more) to get the string describing an error message returned by a function? NOR-DAQmx has this kind of facility, for example.

    Thank you

    -Ilya.

    I found this:

    ViStatus viStatusDesc (ViObject vi, ViStatus State, Bruno [desc])

    The viStatusDesc() operation is used to retrieve a readable string user that describes this status code. If the string cannot be interpreted, the operation returns the warning VI_WARN_UNKNOWN_STATUS code. However, the output desc string is valid regardless of the return value of status.

    -Ilya.

  • Card VISA ERROR: 1073807195 CVI can´t control 82350A GPIB

    Hello

    I have a problem with a PCI GPIB to agilent 82350A

    CVI reports 1073807195 ERROR "interface type is valid, but the number of specified interface is not configured.

    I ve check that NI-VISA is main library of VISA (C:\windows\system32\visa32.dll--> right click-Properties-version TAB).

    I ve also checed in MAX-tools-NI-VISA-Options VISA-passports--> NiVi488.dll - NI-VISA passport to the GPIB is checekd.

    I see racing card OK in device (GPIB INTERFACE--> Agilent Technologies 82350 PCI GPIB) Manager and connection Expert Agilent (GPIB0--> all of the GPIB0::13:INSTR instruments...) where I can verify that the target is ok because I can communicate with instruments...

    I have to install Agilent IO libraries 15.0 (this install the driver for the card agt82350.sys)

    Under MAX, I have can´t see the GPIB card.

    Any help?

    Thank you very much

    Felix

    Hello

    The solution to this problem is that the VISA first must be Agilent, nickel-free.

    This hotfix, the problem, CVI doesn´t report no problem (even if it uses agilent library VISA...)

    Thanks in any case.

Maybe you are looking for

  • Yosemite and LV 8.5 or 8.6

    I want to spend my LV codes written in 8.5 and 8.5 in Yosemite.   Can I do it smoothly?

  • The task bar has been moved to the top of the screen, it cannot move down

    Taskbar moved to the top of the screen, don't know how it happened as granddaughter did.  Lock the taskbar was I think.  Cannot restore the bottom dragging.  shortcut icons on the desktop are now planted vertically.  All topic elements normally to th

  • How to fix msiexec.exe

    Overview of the files Norton wishes to inform this file or program msiexec.exe uses 404 mb (total for this process) how can I fix this problem

  • Model of rewritable disc of EZ - DUB DVD/CD LiteOn DX-20A4PU

    Ive tried fixin the problem with ppl from Liteon and said ask me yall. I copyed and pasted into what I was talkin to their topicCody: I have a model ez - dub: 20a4puTechnical support: you briefly describe your problem?Cody: and when I arrived at my d

  • PDF to JPEG?

    can I convert a PDF to JPEG using Adobe PDF Pack?