Hi, I have a problem. I designed a board and I have to send a packet through com port to the board and receive another packet from board through another serial port. The problem is that I can send the data but I can't receive. And I know the problem is not from board because I used another RS485 MOXA and it worked fine. I can send from PCI but I can't use it to receive. Baudrates and other things are adjusted correctly.
Can't receive serial frome a board with pci 8433
Driver files for Ni-9861
Hello all,
Does anyone have the driver files for NI-9861, or the path where the driver files are located?
Device manager recognises "NI 9861", but not able to find drivers for it.
i have installed Xnet 17.5 (alsto tried 17.01), but the driver is not loaded. cDAQ-9171 works fine.
Running on windows 7 sp1
I also have NI-can 17 installed.
USB-GPIB-HS+ status lights alternating green-amber
Forgive me for such a simple question, how does one stop the alternating green and amber status light on the USB-GPIB-HS+ interface?
Context:
Downloaded the linux gpib 4.1 driver library and compiled on a RPi3. Modified the /etc/gpib.conf file to specify ni_usb_b board type and ibtest and ibterm work great (at least I can do *idn? and set frequency or report frequency on a clock generator). However, the status light on the GPIB dongle is alternating green and amber. I found documentation on the NI site that says:
Alternating Amber/Green | The GPIB-USB-HS+ is not ready to use. You must install (or re-install) the NI-488.2 driver before using the GPIB-USB-HS+. Note: Windows 8 and later suspend power to a USB device that does not have a driver attached. If the LED does not light, try reinstalling the NI-488.2 driver. |
Nothing in the log file indications any kind of problem loading the driver. Given the maturity of this product and drivers, seems like I have missed something.
Thank you.
Instrument Firmware Requirements
Hello all,
I am developing a new instrument and I want it to be USBTMC compliant. The instrument firmware will run on a Raspberry Pi 3b. In terms of the physical interface, I would like to be able to support USB as well ethernet, but I'm planning on starting with USB. Any suggestions or links on how to make the Raspberry Pi into an instrument? Thanks.
where can i find TNT 5002 WINDOWS DRIVER?
Recently developed an PCI GPIB interface card WITH TNT 5002
where can i find TNT 5002 WINDOWS DRIVER?
USB-485 driver under linux modprobe
hello one and all,
i have a linux box and i have the AT-SERIAL.tar.gz file and its drivers *.c files under that tar file. how do i use these to install the USB-485 hardware to get the kernel to list the hardware as a tty* or ttyUSB* device under /dev?
the USB-485 device does show properly under lsusb as like:
Bus 001 Device 004: ID 3923:703c National Instruments Corp. USB-485 RS485 Cable
and the kernel finds it also under dmesg | grep 1-1.2, which lists the links for the device under /bus/sys/usb/devices with the proper above idVendor=3923 and idProduct=703c as under the above ID.
but i can not figure out what to do with the AT-SERIAL files, which there are essentially 4 of them, FIFOtrigger, rs485, serialtest, and termisos_program, and install or get them into the modprobe or /sys/bus/usb-serial/drivers or /sys/bus/usb-serial/devices to translate the usb device into the tty* or ttyUSB* device.
does that make sense? how do i do this? thank you in advance, lucas
connection between Optidiver (E) and labVIEW using 'TCP open connect', savy device through Ethernet cable
Hello LabVIEW users!
I am new to LabVIEW program and trying control the variable refrigerant flow compressor speed through LabVIEW program. Using the following LabVIEW functions and hardware..
- TCP Open connection: IP address has been defined in the TCP open connection.
- Speedy: (driveweb.com) : This speedy device is connected with network card using Ethernet cable.
- OPTIDRIVE E : This device controls the ‘Variable Refrigerant Flow” compressor speed(manually and based upon LabVIEW written program). This device is connected to network card through speedy by using Ethernet cable.
Hardware configuration:
OPTIDRIVE E ( IP 20 & IP66 (NEMA 4X) AC variable speed drive ( 0.37 – 11 kW) ( 110-480 V)
Questions:
1. Has anyone tried this before, if yes can you share the instructions.. ?
- what’s the simplest way to know whether the network card receiving signal from NI LabVIEW and communicating with OPRIDRIVE E ?
Any help will be appreciated !
Thanks!
oscilloscope configuration problem
Hi all Labview user ! i'm just a student and starting my self study in labview ! i faced some problem that while i try to trigger Lightning impulse from DSO6052A scope but when i started my VI i can't control everything on scope and can't get 100% those waveform value to my computer !
need some recommend from all of u !! my English not too good
best regard! thanks
how to write cost function in MPC
Hello everyone.. I need little guidance please ....
I have attached image of equations, i want to implement MPC but don’t know how to write cost function. In equation (11) energy of fan is written ,,, i have write it in labview and now have Ek value 850W.. after that I don’t know how to do with equations 12-14. Please guide me how to implement remaining equations
viOpenDefaultRM leads to App crash in MacOS
Hi:
I imported visa.framework into a objective-c project to control CMW500 in Mac OS via visa.
But unfortunately I found an issue : When no CMW500 connects to Mac, the App will crash; But the app works ok when a CMW500 is connected.
Through debug, I find the viOpenDefaultRM leads to App crash
My confusion is that why not the viOpenDefaultRM return fail but abort when no CMW500 is connected?
serial communication
Hi,
i need to debug my vi which reacts to some bits send to the the port through serial communication between labview and FPGA.
Is there some way i could write something on my serial port without actually connecting the FPGA(otherwise i have to program the fpga for different cases).
Thanks in advance.
NI PCIe GPIB card not detected
Hi,
I have a problem after installing a PCIe GPIB card to my PC. The GPIB driver 4.17. is already installed, but the windows device manager just finds the card as a "PCI communication controller" and therefore is not able to connect a driver to the device. Also, if I try manually to install the driver, windows still thinks that these are not the correct drivers.
What can be the reason for this?
Also, I have a second card, (not PCIe, but PCI) which is known to be working on a different PC, but behaves same on mine.
Best regards,
Bodo
Simultaneous acquisition of waveform on multiple channels of NI PXIe-5105 in LabVIEW via IVI driver
Hello,
for my master thesis I work on setting up a test bench to measure short-time (< 1 microsecond) electric contact interruptions. I use a NI PXIe-1082 System with a PXIe-8840 Quad Core and two PXIe-5105 Oscilloscopes.
Now to my question(s):
I am new to the usage of IVI drivers and was wondering if I can acquire the waveforms on multiple channel simultaneous (I've so far only found VIs regarding a single channel).
I know that a VI can be set to be called upon in multiple instances, but does the same go for the dll library the VI calls upon?
And can the device even handle simultaneous commands for different channels?
Greetings,
Max
Simultaneous acquisition of waveforms from multiple channels of a NI PXIe-5105
Hello,
for my master thesis I work on setting up a test bench for short-time (< 1 microsecond) electric contact Interrupts using a NI PXIe-1082 System with a PXIe-9840 Quad Core and two PXIe-5105 Oscilloscopes.
Now to my question:
I am new to the usage of IVI Drivers and was wondering if it is possible to acquire waveforms from the 8 different channels of each oscilloscope simultaneous?
I know VIs can be called multiple times simultaneous, but what about the dll library the VI calls upon?
And can the device even handle simultaneous commands to different channels?
Greetings,
Max
NI 488.2 static linking
Hello,
It seems there is a problem with using the /MT (static link) option when compiling programs using NI488.2. The /MD (dynamic link) option works fine.
The issue is even present when compiling standard example scripts, such as "FindInstruments.c"
The error messages during compilation are:
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__fread referenced in function _LoadFunction@4
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__fopen referenced in function _LoadFunction@4
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__strncat referenced in function _LoadFunction@4
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__rand referenced in function _LoadFunction@4
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__srand referenced in function _LoadFunction@4
1>ni4882.obj : error LNK2019: unresolved external symbol __imp__time referenced in function _LoadFunction@4
There is no problem compiling with /MD.
Here are some old threads I found on the topic with no resolution for using static linking, the only "solution" is to use dynamic linking. But many applications (including mine) require static linking...
https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Linker-error-VC-2008/td-p/1045477
Has anybody got it to work using 488.2 libraries with static linking?
Simple VISA Write/Read not working in LabVIEW 2015 (works in LabVIEW 8.5)
Hi,
I have an issue when I try to use LabVIEW 2015 to talk to a Tektronix TBS 1052B oscilloscope using VISA (with a USB connection). In particular, I seem to be able to write commands (e.g. '*IDN?'), but 'VISA Read' always returns nothing, and without errors. I know that VISA Write is working because I am able to write in a LabVIEW 2015 VI and then successfully read using the VISA Test Panel.
What is most confusing to me is that the both the VISA Test Panel as well as an identical VI written in LabVIEW 8.5 both Write/Read perfectly fine. I've attached screenshots to show the two VI's, as well as a log from NI Trace.
LabVIEW 2015:
LabVIEW 8.5:
NI Trace log:
You can see that in 8.5 and in NI Trace, the read commands return 'TEKTRONIX, TBS 1052B...' while 2015 returns nothing. All give no errors.
Things I've tried:
- Playing with Termination Character. I thought that maybe 2015 VISA Read always immediately encountered a Termination Character '\n' and thus returns 0 bytes. I tried disabling the Termination Character in the Instr. Property Node before VISA Open, but this didn't change anything.
- Adding a delay before VISA Read. I tried up to a 2 second delay to give the oscilloscope time before the Read command, but this didn't change anything.
- Different version of NI-VISA. Both NI-VISA 17.0 and NI-VISA 15.0 give the same results. Note that LabVIEW 8.5 uses NI-VISA 4.4.
Anyone have suggestions? Another question: what are the differences in the LV8.5 VISA blocks and the LV2015 VISA blocks?
Thank you for the help
NI IO Trace
I have an old Mac running an old version of LabVIEW and I need to see if signals are successfully going out to a GPIB device. Can I use NI IO Trace running on a new laptop with a GPIB-USB adapter between its UBS port and the stack of GPIB connectors and record any signals?
NI-488.2 Runtime 17.0.0 download fails
Whenever I try to download NI-488.2 Runtime 17.0.0 (target computer: Windows 7 64 bit), the download always fails at the very end. I've tried MSIE (version 11), Firefox (version 57) and Chrome (version 63) with no success. Firefox and Chrome say it's a network error, whereas at the end of the download MSIE hints that it may be a spam/phish link or other unsafe file. In the past, NI used to manage it's downloads with a downloader stub, but now it wants to download the entire 680 MB file in one huge chunk. Is there an alternate download link?
Can't restart cRio 9074 with Automation & Measurement Explorer
Hi,
First, excuse me if my question is trivial, i'm new with National Instrument communication.
I need to restart a distant cRio 9074, programmed with labview 8.6.1. I installed NI-RIO 4.0, and I can see - very slowly - the cRio in Measurement & Automation Explorer V5.0. However, it stays "disconnected", and the "restart" command is disabled.
Any idea?
Thomas
Multiple serial read overrun error.
Hello All,
I am scanning two serial ports (barcode scanners on usb ports with usb to serial converter) simultaneously and creating an array for the different entries as shown in VI
Apart from it I am also scanning Digital inputs (not shown in attached VI, in a while loop).
Sometimes, I get an overrun error, how can I overcome it or what changes should I made in my VI.
I am using LV 2013
Thanks & Regards
JP