Control PXI via PyVisa devices?

Is it possible to control PXI peripheral via PyVisa in the same way as USB and GPIB devices?

Hi k-rhyme.

It should be possible to do so. You can definitely control devices with NI-VISA PXI and PyVISA is simply a Python wrapper, it should be possible. It also depends on the version of VISA that is using PyVISA. I recommend you look at the manual of user NI-VISA for more information PXI of specific functions.

With the help of the Assistant of the Driver NI-VISA and NI-VISA to develop a PXI (e) /PCI (e) driver in Windows

http://www.NI.com/Tutorial/4713/en/

NI-VISA user manual

http://www.NI.com/PDF/manuals/370423a.PDF

Tags: NI Hardware

Similar Questions

  • How to add a PXI on DAQmx device to simulate

    Hello

    I am trying to create a simulated map PXI-8461 DAQmx device. But it is not in the list of devices that I can create. How can I add this devie point to the list?

    Thank you very much

    Ray

    CAN devices do not use DAQmx.  Therefore, you can create a simulated DAQmx version.

  • Get FrontPanel control references via ActiveX

    Hello

    I tried to get the references to controls frontpanel via LabVIEW ActiveX Server, equivalent to the LabVIEW code:

    but I can't find the ActiveX methods / propertis to use.   Is there a way to do this?

    / LeifS

    The ActiveX Automation Server interface to the LabVIEW VI server exposes only a very small subset to the real VI LabVIEW server. Basically, it's enough to load and run special and pass the values to the controls on the front panel by name, but that's all.

    The reason is twofold. When VI Server was introduced in around LabVIEW LabVIEW 5.0, it was especially exposed total VI server functionality. He was not at all script and controls only limited access to the hierarchy of the objects of the façade. Even in this case the ActiveX interface not only exposes all methds and VI server properties, in part because exposure of LabVIEW internas would have required a vast typelibrary ActiveX, in part because it was not a major concern to be able to do more than launch screw through it. It was better than the DDE interface already by a long stretch.

    VI server was then extended in later versions, but the ActiveX interface was really changed much, also because Microsoft had .net and declared the exaggeration of the ActiveX from a few years earlier to be discouraged anyway.

  • VIA a device manager suddenly appeared on my PC.

    via a device manager suddenly appeared on my pc.

    What is it and where did it come from?

    Hello rooster33,

    THROUGH the Device Manager is a software very probably that was installed by the manufacturer of your motherboard, when you installed drivers or software from their website or disc.
  • I'm trying to control adobe via VBA in Excel

    I'm trying to control adobe via VBA in Excel, well I can control some things, like opening the window 'about' and so on. However, what I want to do is click on the button "Prepare form" by using VBA, and I tried a lot of different ways to do this. HOW to trigger the button to "prepare the form?

    Grateful for answers!

    You can automate Adobe Acrobat in various ways, but none of them involve button clicks, and several button clicks are not things that can be automated. Programmers wishing to work with Acrobat need the Acrobat SDK kit.

    I notice that you just say "Adobe". Maybe you mean the free Adobe Reader/Acrobat Reader software. If so you're out of luck, some interfaces in the SDK Acrobat Reader will not be cut.

  • Controll PXI-4072 via VISA

    Hello

    I try to communicate with the PXI-4072 using VISA drivers. I m using Fluke MetCal / MetTrack to calibrate the 4072 and want to

    do this automatically, without use of th niDMM FrontPanel.

    But MetTrack Fluke will scan only the RS232, LAN, GPIB and USB Bus for a device, not the PXI chassis.

    Anyone know a solution to calibrate or adjust the PXI - 4072 FlexDMM (or any device PXI)?

    Thank you

    Robert

    You must use the API OR-DMM to calibrate the 4072. The generic driver of VISA will not cut, because you will not be able to log of calibration, take action, make adjustments, or really do much else than reading/writing specific registers, which is not supported or recommended. In addition, you cannot use the Soft Front Panel for calibration, as this must be done in a very specific order at a meeting of calibration.

    I do not personally know with MetCal/MetTrack, but it seems that Fluke has provided certain procedures for the PXI-4065 and USB-4065. Since they don't seem to have a procedure published for the PXI-4072, if you want to use MetCal, you will need to code your own version of NOR published the calibration process, which is installed with NOR-DMM and is also available via this link (I searched ni.com for "4072 calibration").

    In general, for any device PXI, you don't want to use VISA to communicate, but rather use the appropriate API, calling in DLLs of the API (nidmm_32.dll or nidmm_64.dll in the case of NOR-DMM).

    Your other alternative is to use NI Calibration Executive, who has the procedure of calibration for all the NOR-DMM ready to go.

    Please let us know if we can be of further assistance.

    Tobias

    Software engineer

    Modular instruments

    National Instruments

  • bottleneck of apparent control "sounds and audio device properties | audio tab | sound

    Lately, this becomes a little more than one gene, to the point where it seems there are already some solution out there : I often want to spend (internet radio or mp3s) music that I send now based Creative Media USB "broadcasting" (home use - audio send anywhere where I could want him in my house)-for a random downloaded video programming.  Video noise must never be sent to the speakers of my monitor-entertainment (although I wouldn't mind if that sound signal should also go through the creative system to other points in the House.)  But it's scary, sometimes I have to play music, to turn on the monitor and sauté with the music of great volume until I can mute or mute the volume.  But it is never necessary for my music be routed to the monitor.

    I drive the monitor via a HDMI cable and adapters changed just after the last of them went wrong, so the new audio software NVIDIA can get complicated this unduly now.  But it seems that the only way for me to join the audio track from any video source given the monitor is to go through the tedious process to navigate to the audio tab and then change the default devices of the Creative device to the NVIDIA device.  If I have already started the video until I realize that I am still set up for music, I have to leave the VCR and the restart before it will route the audio through the HDMI.

    Then of course if I want to stop watching the video source and go back to something with music as a background, I must reverse this procedure as a whole.

    More complicated still is the panic that can ensue when I receive a Skype call - it can be quite EXPLOSION on the monitor speakers.  These levels seem to chronically inadequate because I assume that they share the same slider control as something else (it's still too low volume without be turned up to 11) and are not put to level automatically, or something like that...

    Certainly I'm not the only one annoyed by these audio problems.  What are the solutions are there for these problems?  I would like to be able to choose speakers, based on sources: mp3s and other audio-only stuff would be default to the Creative device, while avi and other video stuff would be only of course exit by default for the NVIDIA card.  Seems kind of obvious... but it does not work like that?

    Hi 808pants,

    You can try to change the settings for the audio mixer Panel to help relieve this problem:

    http://Windows.Microsoft.com/en-us/Windows7/adjust-the-sound-level-on-your-computer

    In addition, most programs can be configured to use a specific audio adapter. In the case of Skype, you can check the following link to set up Skype:

    http://www.Skype.com/help/guides/soundsetup_vista.HTML#4

    Note: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Unless the program is designed to specify the audio adapter, the only way that you can choose where will the audio is by setting the audio adapter by default.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to control the implementation of devices that cannot run any agent, such as thin clients, printers, and other press.

    I have an OOB layout that has all the ports from the switch controlled by the same profile. I would like to be able to place clients on a network, printers on one another and tell on another unix systems. Right now I have a filter that lets the clients on the network, and they are put on the vlan by default to access via port profile. The filter is by MAC address.

    What is the only way we can do that?

    Can we put things on different networks, using this method, if so how?

    Any help would be appreciated.

    Hello

    When you create a new filter for a specific MAC/IP, we should select the "Access Type" for this device.

    As shown in the attached screenshot (taken from the NAC 4.8), we also have the ability to define the type of access based on a specific user role.

    Kind regards

    Fede

    --

    If this helps you or answers to your question if it you please mark it as 'responded' or write it down, if other users can easily find it.

  • Digital time line controlled PXI-6251

    Hello

    I need to create a Boolean control moment.

    For example, a digital line is set to False. I would like to change to true status for a certain period of time (e.g., 150ms).

    Is this possible with PXI-6251?

    Thank you

    Hello

    Yes you can. Set a task in the buffer output as e.g. "digital - end Output.vi.

    You can use an external clock, it generates throught counter output or use ananog/output sample clock.

  • RefNum of control in a custom device

    I currently develop a device custom Veristand 2011 with Labview 2011.

    It is an Inline model.

    During initialization (and only in the initialization stage), I'm trying to list recursively all the controls within a Cluster (which represents a data structure).

    This does not work when you try to deploy the veristand project. I get the error code 1055:

    Error 1055 occurred at a location not identified
    Possible reasons:

    LabVIEW: Object Reference is not valid.

    I tried this simple example, and I can't get the name of the control, or any other prperty.

    I tried the same code in a project of labview RT and that works perfectly.

    Is there something I missed?

    I don't think that code RT when it is run in an exe built as NI VeriStand has a façade. Therefore code like this one will not work. If you build your test vi in an EXE RT you get the same problem?

    Why you have this code? Maybe we can find an alternative

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • my sound keep disappearing. When I go to the volume control, it says no device installed. I have been through all the steps. How can I get my sound back?

    my sound keeps disappearing.  I go through all the help and support the steps but still no sound.  the volume control is all grey and says no audio device found.  but the Device Manager indicates that all is well.  What is the problem that I continue to have?

    Hello

    1. the troubleshooting steps are you referring?
    2. don't you make changes on the computer before this problem?

    The following article might be useful.
    No sound in Windows
    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

  • Inspiron 1525 not able to select the internal microphone for the webcam, or it appears on the Control Panel, sound, Audio devices

    Initial problem was Dell Webcam video recording record any sound.

    In the Panel configuration, Device Manager, sound video and game controllers, there are two high definition Audio devices listed: location 1 (internal Bus High Definition Audio) - I take it that it is the internal mic. and location 2 (Audio High Definition Bus Interior) - I take it that it is the external microphone jack. Both have the same version of the driver.

    Control Panel, sound, the recordings tab showed 2 devices that looked like identical except the bars that show green with volume were only on the first, which is also the default and would detect sound if you're real close to the webcam microphone when you talk. The two devices displayed as 'work '.

    Accessories, Sound Recorder records are silent any distance you get to internal webcam mic.

    Dell WebCam Audio Source tab has two selections, the two reading Microphone (3 - high definition Audio Device). Both selections recorded the sound with the EXTERNAL microphone jack. There is no way to select the internal microphone webcam, it is not an option.

    According to the instructions found on the web, I uninstalled the first device only in the Device Manager and rebooted. The same version of the same driver has been installed. But now the parameters have changed. Device Mgr shows Loc 1 and 2 pass. However, under the Øresund, tab records there are always 2 features, but the first said "currently unavailable", is always the default and the sound bars that go for green for the audio tests are ANOTHER unit now instead of the first. If you check the properties of each device, they BOTH show the same location 2 (inside Bus High Definition Audio), i.e. the external microphone jack.  Loc 1 device (built in mic) does not appear!

    Accessories Sound Recorder works with the EXTERNAL microphone. (How does he know that one to use, it is not giving me a choice?)

    If the tracking device 1 (internal microphone) does not appear anywhere besides than Device Manager. I want to use the internal microphone for Skype and webcam. Somehow, I need to get the Loc 1 unit appears on the sound - recording tab and in the Source Audio Webcam list? What should I do?

    Thanks in advance for your help.

    Jimco
    Go to the Inspiron 1525 support page

    http://www.Dell.com/support/home/us/en/04/product-support/product/Inspiron-1525/drivers

  • RV120W - cannot access static IP via VPN devices

    Hello

    I have a RV120W used to provide VPN access to several industrial devices. Some of these devices are assigned via DHCP from the router IP address. Can not do DHCP, so there a self-determined static IP.

    The VPN works well for all devices that are affected intellectual property. However, it does allow me to connect to the device that has a static IP address. I can connect to it very well when I'm on the LAN or WLAN, but it cannot ping via the VPN.

    Help!

    Thank you-

    Bailey

    Hi Bailey, it seems that the static device has no default gateway are entrusted to him.

    -Tom
    Please mark replied messages useful

  • Disabled in Control Panel audio playback device, now I can't get it back for him!

    In my control panel > hardware and audio, I tried to Exchange my lack of reading, and to do that I hit "disable." he removed the device in the list so I can't select it to re - activate. It is always installed and can be found in my device manager, but I can't enable / define a default manager. How to get back the unit in question in my control panel? Thank you!

    Hello

    · What is the number and the model of the computer?

    You can run the troubleshooter from the link and check if it helps. Diagnose and automatically repair audio playback problems: http://support.microsoft.com/mats/no_sound

Maybe you are looking for

  • ICloud requested at startup saved passwords

    Recorded in iCloud passwords asked when connecting my iMac (retina 5 K, 27 inches, end of 2014). OS X Yosemite 10.10.5 Happen when starting after being shut down for the night. The first time it happened to other passwords including password of Facet

  • Drivers for HP Pavilion 15-n015ee - Win 7

    Hello I recently bought a HP Pavilion notebook 15-n015ee and page driver drivers compatible only with windows 8 or 8.1, but I need all drivers to be compatible with windows 7 64-bit please. Thank you.

  • opening programs open in Media Player

    any program I try to open, think it must be open with media player... How can I solve this?

  • 881 failure: The Application author does not match debug author token

    Hey guys, I'm a newbie at software development and don't know anything about the other languages except HTML and CSS so I decided to try the apps program to see how it works and if it's the right think for me. I received my 'key' for the playbook and

  • QNetworkRequest Basic authorization

    Hello I'm trying to REST the call with the base permission // Creates the network request and sets the destination URL. QNetworkRequest request = QNetworkRequest(QUrl(strURL)); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded")