我现在在用labview做标准仪器通信接口,电脑安装的是labview2014+NI VISA 16,使用LAN接口,VXI11协仪,labview是客户端,linux应用程序是服务器我在网上下载了一个程序,用labview 2007写的,VISA版本应该是3.x或4.x,我用labview2014打开,可以和我写的服务器正常通信,程序是着样的
抓包发现VISA write的数据发给了服务器,服务器也正常接收了 注意看图中的VISA write是着样的, 而我使用NI VISA 16中的VISA write将程序中的VISA write替换后,就不能和服务器正常通信了, 抓包发现VISA write这个函数好像根本没执行一样,其它的包都是一样的,就少了VISA write这一步 现在,VISA write的图标是着样的 右上角多了一个时钟图标,求大神解答一下,这2种VISA write有什么区别吗?谢谢 |
NI VISA write function different versions of different
NI PCIe-8372
Hi
I'm pretty much lost as where to post this question, but this looks to be the closest forum.
I have a PCIe-8372 4-lane cablePCIe PCIexpress card. It is connected via cable to custom hardware. When operating in 4-lane mode the system (NI board, cable, and our custom board) work fine.
If we lower the lane width to x1 on our board (simple FPGA re-programming), then the host PC will not 'see' our hardware and the PCI-8372 does not even attempt to negotiate a connection.
Is this normal behavior? Must the 8372 always be operated in x4 mode?
Thanks.
Will a PXI-8360 work with a PCIe-8361?
Hello,
Would a PXI-8360 work with a PCIe-8361 in a 1062Q chassis? A broader question would be, can I match PXI and PCIe hardware?
Thank you.
Letter of Volatility for 779163-01 and 778032-01
I need the Letter of Volatility of the following items:
NI VXI-USB Slot O Controller (USSB 2.0 to VXI), P/N: 779163-01
NI PCI-GPIB Interface Card, P/N: 778032-01
RS232 port problem of CompactRIO
Hi everyone,
I have a problem in communication of CompactRIO 9025 with third party hardware. Let me explain you what my problem is;
I connected my Ethernet cable in between my computer and CompactRIO. I can collect data in this way. There is no problem. But when I connect third party hardware to the RS232 port of CompactRIO, I can not communicate with the hardware.
To find out what happens, I tried to make loopback testing. I shorted RX and TX pins of the RS232 and observed. But when I sent a command which is for example 5-byte, I read 0 byte from the VISA Read function and the program gave me no error.
In MAX, I can not see com ports. Also I can not see com ports on Device Manager menu.
I really do now know what is going on. Any help please?
64-bit NI-IMAQdx C library file
I'm currently trying to write camera control code in C/C++ using the NI-IMAQdx functions (Hamamatsu, Orca R2). The header file for the IMAQdx function prototypes are fine, but I'm running into "unresolved external symbol" errors. The only thing I can think of is that the niimaqdx.lib file is 32-bit and not 64-bit. I've read around Google and found some posts in 2008 that this is because the old NI Vision/CVI software that the library file is a part of is only available in 32-bit. However, this being almost ten years later, I would hope that this is no longer the case.
Is there any chance that I've missed some download somewhere for the 64-bit version of the niimaqdx.lib file?
Running NI-VAS 2015 as well as compiling in Visual Studio Express 2015, by the way, if it helps.
Hopefully, this is the right place to post this question.
Edit:
Here's the old post: https://forums.ni.com/t5/Machine-Vision/64-bit-niimaqdx-lib/td-p/1148730
GPIB-ENET Port Forward in VM-Ware WorkStation
Hello,
I am trying to set up VM-Ware Port Forwarding for the NAT settings in the VMWare Virtual Network Editor to allow my virtual machine access to a GPIB-ENET device (100 and 1000). I know from this link that ports 5000, 5010, 5003, 5005, and 5015 are used by the ENET devices. When TEIS sets up these ports in their routers to cross from one VLAN to another, everything works fine but when I set them up for a VM using VMWare running on a host machine that is connected to the business VLAN at TE, it does not function properly.
Below is how I am setting them up. Are all of these ports TCP or are some of them UDP? Has anyone else been successful in configuring VMWare workstation with a NATted VM to work with GPIB ENET boxes?
Port 5000 Details
Other Ports
I save 2 voltage mesurments for eachc cicle of execution
I m using USB-6008 for doing some test and I have some problem.
PROBLEM 1
When I tried to save some data that i adquired with the DAQ, it saves 3 values, the namber of the iteration, and 2 values of diferent voltages for each iteration of the bucle that I have used (I tried while and timed while), I have that problem when I tried to use a timed loop with a signal generation with diferents times of execution, but In this case I don't know where I have failed. Also I have another problem.
PROBLEM 2
When I tried to execute a program where I try to generate a signal, and at the same time to read it with an analogi terminal, sometimes the generator sends ha signal but the analog port waits many seconds befor start to read.
How I could solve my problem? Thanks in advance!
Can 8 units of USB-6509 work at the same time using USB hub connected to one PC?
Dear,
I currently using 2 units of USB-6509 and Labview 8.5 which works fine by defining two DAQ assistant in my Labview program. For the new system, we are going to use 8 units of USB-6509, will they work at the same time by connecting all of them to one PC using USB hub?
Thank you,
Best,
USB raw device name changes on reboot of pic 18f4450
Hello every body.
am using a interface labview connected with a pic 18f4550 usign USB link, but sometime my pic reboot and the name of my USB raw change so i have to switch on the new name manually.
My question is : is there any way to fix the name of the USB raw or switch automatically to the new name when the pic reboot??
Parallel port accessing
Hi ,
I am trying to access the parallel port and use it as a general purpose I/O , i used VISA , but it only access 8 bits (pin 2->9) and pins 11 , 12 must be grounded.
I want to use the pins from (1 to 17) as Inputs and outputs.
I am using labview 16.
Thank you.
Replacement for GPIB-ENET/100
Hello,
I have a GPIB--ENET/100 port - Part Number: 186852H-01
I need to purchase a replacement. Is the part number obsolete? If so, what would be an easy swap replacement?
We have had a few brown outs recently after which the GPIB will not power up. The power light comes on, but dissipates after a couple of seconds. My assumption is that there is a capacitor issue, but I have yet to find an issue in the circuit.
I'd like to purchase a spare just in case.
Thanks!
GPIB NETMF Compatibility
There was another post in regards to this question but it was never answered.
Has there been any firmware developed for GPIB communication in .NET MICROFRAMEWORK (NETMF)----> NOT REGULAR .NET (this is a modified version of the .NET Framework for use in micro controllers, hence why I am posting here and not in the .NET thread)
If anyone has had to interface this technology please contact me! It is quite complex and would greatly appreciate assistance!
****.NET .dll's are not cross compatible with .NETMF ****
Thank you!
Harrison
Error 1722 when installing VISA and 488 on Windows Server 2012
Hello,
I'm trying to install NIVISA1700Full and NI4882_1700f0 on a bare bones Windows Server 2012R2 installation. Both of them allow Winzip to unpack them and start the installer. After going with all of the default choices installation begins and gets to about 30% (on the VISA installation) when a pop up appears:
The "NI MXS 17.0.0" installation has failed with the following error:
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
Continue?
Choosing yes immediately causes the installer to fail. Both packages were downloaded from NI and both have worked on a Win10 laptop I have. I have copied them from the source a couple of times and it isn't a copying error.
After searching I found this (https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/NI-VISA-install-errors-on-Windows-2008-R2/m-p/1405774) thread about a similar situation Win2k* server without resolution. Per that thread this is just a base server + drivers installation. No anti-virus is present and remote desktop (server or client) is not enabled. Here are the logs from the setup, note that I didn't contact the server for updates during the setup log creation as it had already failed in previous attempts.
I'm sure this is just a server thing since these have worked on Windows 10 installs. Any help is appreciated. As a note to the NI guys I'm just across 35 on Parmer if you'd like to stop by.
Thanks,
Simon
stm32 connect with labview
Hi, I have a problem, i wanna connect mi board discovery stm32f4 with labview and work like arduino board, control de peripherials, gpio, uart, adc, etc. But no found documentation, can you help me ? My idea, is conect a Ethernet module and do a interface with x-plane (simulator the airplanes), if you can help me, my email is jufeor933@gmail.com, thanks for all
TNT4882 IEEE 488.1 capabilities analyzer
We are developing a product with TNT4882 chip.
Is there an automatic/semi automatic test to check which of the IEEE488.1 capabilities our instrument pass?
With the IEEE488.1 capabilities, I am referring to (SH1, AH1, Tx, TEx, Lx, LEx, SRx, RLx, PPx, DCX, DTx)
I imagine it could be some test that could run from NI MAX through GPIB-US-HS/+ connected to our instrument for example.
Using FTD2xx.dll but not seeing device
Hi all,
I am evaluating a HMC703 PLL board. The eval board is connected to PC through a USB interface. The driver is provided and include ftd2xx.dll. I am trying to open a connection with a device in labview using the functions in the dll. The program returns "device not found". Anyone familiar with Ftd2xx can help ?
Attached is my block diagram and the USBview showing the serial number of the device. Thanks.
USB 3.0 Support by NI-VISA driver
Hello.
I was wondering if NI-VISA has or will have official support for USB3.0.
From what I searched, it seems unclear if USB 3.0 is currently supported or not.
NI-VISA 5.3 - No support https://forums.ni.com/t5/forums/forumtopicpage/board-id/232/message-id/14381/agent-type/internal-crawler
NI-VISA 5.4 - Maybe No Support https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Does-NI-VISA-5-4-or-5-4-1-Driver-Wizard-support-USB-3-0-devices/m-p/3025805
2017Feb - Maybe Yes?? https://forums.ni.com/t5/LabVIEW/VISA-support-USB3-0-devices/td-p/3587356
Thank you!
Keithey 2410 - How To Read Out All Filtering Measurements?
Hi,
I'm using a Keithley 2410 (controlled via python) to source a list of voltages and measure the current at each voltage. The Keithley's "repeating filter" is enabled so that the current reading at each voltage is actually an average of 10 measurements. In the end I get a list of voltages and the corresponding (averaged) current at each voltage - but I want also want to know the details of the 10 individual measurements that were taken at each voltage. Does anyone know how I can read out this information?
Any suggestions would be much appreciated!
Thanks
RS232 (cRIO 9030 ) - VISA cannot currently access it
Hello guys,
I have received recently a cRIO 9030. Now, I want to test its RS-232 port (please see attached) but I am getting the error message below.
" VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it. "
The device is present in max but I can't open the Visa Test Panel:
Device Status : VISA returned this device when finding resources, and MAX was able to use VISA to parse the resource name. The resource was busy, so MAX could not successfully open a VISA session to the device.
Does anyone have a solution for this issue?
Thank you