Quantcast
Channel: Multifunction DAQ topics
Viewing all 6917 articles
Browse latest View live

Attempt to use Heritage Card PXI-6511 with CentOS 7

$
0
0

Hi Team,

 

I'm currently trying to use some heritage National Instrument boards (PXI-6511, PXI-65090) over a GeoTest chassis with the couple PXI-8360 and PCIe-8361 as MXI Interface.

As OS, we've chosen CentOS 7 kernel 3.10.

[username@localhost bin]$ uname -a
Linux localhost.localdomain 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

 

So far, the PXI interface does seem to work (after adding the pci=nommconf option on the kernel grub command line) as the lspci command does show:

[username@localhost bin]$ lspci | grep Nation
08:0f.0 Unassigned class [ff00]: National Instruments PXI-8360
09:0d.0 Unassigned class [ff00]: National Instruments PXI-6509
09:0e.0 Unassigned class [ff00]: National Instruments PXI-6511
09:0f.0 Unassigned class [ff00]: National Instruments PXI-6511

 

However, the lsdaq command, result of installing nidaqmxbase-15.0.0 and adequate 32-bit libraries, doesn't seem to give any results:

[username@localhost bin]$ lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
--------------------------------
[username@localhost bin]$

 

I shall add that I already tried to add the "memmap=4096M" option to the kernel grub command line.

 

Would somebody be able to confirm these boards are not supported anymore? Any reason why? 

Or maybe point towards a potential tip that I haven't found quite yet?

 

Thanks a lot for your help,

 

Jeremie


AI signal quality for Poisson signal

$
0
0
I have a PXIe-6356in a chassis that I'm using to sample electrons arriving at
a photomultiplier. The output from the photomultiplier is amplified and I'm
measuring it as a voltage using the analog input lines of the 6356. The
electron flux is<1 nA, so generally too high to sample fast enough to
count individual electrons, but it is still has a lot of instantaneous Poisson noise.
Presently if I sample at say 100 kHZ, the AI trace is quite noisier than compared to
the output from another vendor's hardware. I searched through the API for
functions so I might control the sampling period and averaging behavoir but
I've come up empty. Is there any sample-and-hold functionality or similar for this device?

At present the only approach I can see to reduce the signal noise is to
sample at the max rate and then average in software post-acquisition.

Are there NI PXIe cards that can do >1 MHz integrated sampling with some duty
cycle control?

I'm currently using the Python wrapper for NIDAQmx, but I'm happy to use the
ANSI-C API if needed.

I also have a PXIe-7962R FPGA in the same chassis which is being used to collect
data from a fast CMOS camera. Is there a way to trigger tasks for the 6356
from when the 7962R starts acquisition? Currently we have an external trigger line
but that creates some clock slew. The X-series reference manual mentions the use
of the 'PXIe_CLK100' clock. There's one example:

https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/ai_multi_task_pxie_ref_clk.py

but it shows two DAQmx devices talking to eachother. Is there an C-API for the
7962R? I searched but I couldn't find an API or even a reference manual for
the device.

NI-DAQmx Tracks and tasks

$
0
0

Hello
I'm new to the forum and new in the field, so I'm working on LabVIEW recently and I have a little problem is that when I am following tutorials on the internet they talk about NI-DAQmx to acquire data or simply take a measure so we must Configure tasks in MAX with Data neighborhood > Create new Object > Ni-DAQMX task > Acquire signals > analog input > Voltage and there one is supposed to choose physical channels I believe except that nothing is displayed, there is no list, just writes " No supported devices found "So what's the problem please?

thank you for your answers

6259 digital waveform generation issue

$
0
0

Hi,
I would like to generate digital waveforms on some digital lines of my USB 6259 mass termination module.Since digital waveform generation reguires
an external clock source, i've created a counter (Ctr0) task with frequency 1000.ctr0internaloutput is given as the clock source of digital output task and
rate given was 500. The data to be written to the output is saved in a TDMS FILE.My digital output loop runs at a rate of 200ms so each time it reads 200ms
of data from the file, converts it to digital waveform and writes to the output. Im getting a digital waveform in an irregular manner when i checked the
output. The waveform that im expecting at the output must be on at 3rd second and must be off at 3.5sec but i'm getting a different waveform(Pls see attached image).
If i'm generating a sequence which turns on at 2 and turns off at 3, i would get a proper waveform. Whenever i use fractions of seconds this problem arises.
What should i do to det a proper waveform?

Driver NI DAQPad-6015 in Windows 10

PCIe-6323 cards have a setoff when measuring analog input voltage

$
0
0

I used a function generater to input a 1V sine wave(setoff 0) into ai0 of BNC-2110 switching to the ground, but the test panel displayed a sine wave ranging from 4-6V.

And the setoff may vary with time, sometimes it can be 5V. Is there any way to avoid it? 

USB-6001 error 50808

$
0
0

Hi all,

 

I have test rig that uses the USB-6001 for Digital IO and Analogue IO.  The digital is used for control of relays which switch the polarity of voltage to a motor to control it's direction and E stop sensing. The analogue is used for temperature measurement using a calibrated Thermistor board.

 

The fundamental functionality is as expected, when it's working it works as expected, my problem is a USB one.

 

The PC being used is a Lenovo MIIX 320 tablet and keyboard. This PC has 3 USB ports, USB Type-C 3.0 on the screen (tablet) and two standard USB 2.0 ports either side of the keyboard.  The OS is Windows 10 Pro. We have loaded version 17.6 of NI DAQmx during the process of trying to resolve this issue.

 

The USB connection from the PC goes to a StarTech 4 Port Rugged Industrial USB Hub, the hub is powered from a 24V source.  Connected to this hub are the USB-6001, a USB to RS485 converter that we use for serial Modbus, a Tenma USB controlled PSU and sometimes a USB to RS232 converter that we use to connect to a load cell for calibration purposes.

 

When connected to the keyboard USB 2.0 ports everything starts up OK with no errors, my software runs and controls the test rig as expected, the issue in this configuration is that the USB connection between the keyboard and "tablet" is via spring loaded contacts and they seem a little unreliable. Often if the angle of the screen/tablet is adjusted the USB connection is disturbed and the USB-6001 reconnects to USB, the NI Device monitor popup for the USB-6001 appears confirming that the 6001 has reconnected to USB.

 

The obvious solution was to use the USB Type-C 3.0 on the side of the tablet/screen. Testing with a variety of adaptors between USB C and USB 2 or 3 sometimes gave an error as soon we ran "Test this device" from the popup (NI Device Monitor), other times when running the test panel trying to read analogue in.

 

USB-6001 Error 50808USB-6001 Error 50808We are using good quality Lindy USB cables throughout except for the tests we have done with the Type-C 3.0 to USB adapters.

 

The adapters we tried: 

  • Lindy USB 2.0 Cable, Type C Male to A Female, Part No. 41897
  • Cable Creation left angled USB Type C to USB3.1 GEN1 , Part No. CC0066
  • Syntech  USB C to USB OTG adapter

 

All the adapters failed,  in the end we tried a USB C to USB 3 4 port bus powered hub and this worked and has been working for over 24 hours:

Ucouso  Multiport USB-C Hub (USB-C to 4 port USB 3.0), model UC-H02b

 

My understanding is that USB C is backward compatible with USB 2.0 (and even USB1.1) so I'm struggling to understand why  USB C <> USB3/2<>Startech USB 2 hub  doesn't work (with the USB-6001)  but  USB C <> USB3 hub<>Startech USB 2 hub does work.

 

If anyone has come across this kind of issue and can offer any useful information I'd be grateful, if anyone from NI sees this and can raise it for the attention of the department with responsibility for the USB DAQs that would be good too.

 

Thanks in advance,

 

Simon G.

Analog Input Problems PCIE6343

$
0
0

Hello,

I am new to NI hardware and am having problems with my PCIE 6343. I have the card hooked up to 2x TBX-68 breakouts. 

 

In the NI Max Test panels, all analog inputs read -10.8volts

 

 In my test setup I have the wiper of a potentiometer connected to AI0+ (pin68). The other   two potentiometer connections are at +5v(pin14) and AI Gnd(pin32). AI0-(pin34) is connected to AI GND as well. With a multi meter, I can measure varying voltage potentials on the screw terminal of AI0+. But the test panels, and the Voltage Task read -10.8volts with no deviation from that number.

 

I have also tried a K type thermocouple, wired as per the connection diagram, on more than one port and the test panels consistently read -2.*** volts

 

My card resets normally, and passes the self test. Also I have verified the functionality of the 4 analog outputs (two on each TBX-68) which allowed me to rule out my cables or breakouts as the source of the problem and let me verify my understanding of the TBX-68s.

 

Any help would be greatly appreciated. 

 

 

 

 

 

 

 


PCI DIO 96 and PXI6509 error Code

$
0
0

Hello

 

I currently search an information concerning the PCI DIO96 and the PXI6509 card.

 

I want to detect if a pin I/O working or not on this two card. I search some information on documents and error code but nothing really conclusive.

So when we use the function "NIDAQmx.NIDAQmxCAPI.DAQmxWriteDigitalLines", the error code return by this function could or couldn't know if the I/O pin work fine ?

 

Best regards

 

TC Data Acquisition and logging 250+ pionts

$
0
0

Hello All,

 

I'm looking at putting together a data logging system for our lab and could use some advice on what hardware to use. I've been browsing around NI products and it seems like a PXI chassis with PXIe-4353 modules might be the right fit for our needs. Are other modules needed to support the 4353's, power supply modules, etc?

We need to read at least 250 TC's with 1000ms timing and be accurate within +/- 5 degrees F.

This is going to need a lot of TC wire somewhere around 2000ft. Maybe there are some other solutions to not having so much TC wire such as running an ethernet cable to a bank of TC wires to a module of some sort.

 

Still in the brain storming phase for idea's at this point and we would like to keep this system as cost effective as possible.

 

Thanks in advance for your advice and idea's everyone!

USB-6009 collect data in continuous mode will lead to the computer into blue screen of death

$
0
0

Hello, everyone. I have been puzzled by this problem for a week long, please give my some suggestions if you might know.

 

I am using Win 7 64 bit, Labview 2015 32 bit, DAQmx 15.1.1, USB 6009.

 

I tested the USB 6009 with its analog input with on demand mode, N samples mode, both will work. When I use continuous mode, it will collect data normally, but at the time I stop the code, the computer will show a blue screen of death. I have reinstalled Labview or DAQmx for many times, this problem still happened.

 

Could anybody explain why and how to solve this problem?

 

Some related files are attached.

 

Thanks in advanced to help me!

 

cDAQ 9174 and NI 9234 setup

$
0
0

Well, I'm new on this sutff so I have a doubt, well a lot but mainly this. Is it necessary to install drivers or controllers, for both hardwares (NI-9234 and NI-cDAQ-9174, which are NIXNET 1751 and NICRIO 1706) or I can work only using NXG? I'm doing vibration tests with PCB accelerometers and hammer, so I think there won't be a problem about it, but I still don´t know what to do about those softwares.

 

And, with NXG, Can I measure the Force that I'm hitting with the hammer??

 

I hope you can help me. Thanks.

What is the best way to guarantee that analog outputs and digital outputs return to 0V after an output sequence?

$
0
0

Hello friends,

 

I am interfacing with a NI USB-6229 device and have observed that analog output and digital output lines will remain at the voltage level of the last sample their corresponding software tasks output.

 

For example, if I write a DigitalWaveform to a digital output in finite samples mode and the last sample in the DigitalWaveform's collection of samples is set to DigitalState.ForceUp, then the corresponding digital output will remain high after the output of the DigitalWaveform is complete. The same behavior can be observed with an analog output.

 

How can I guarantee that all of my outputs return to 0V once the software tasks that use them stop?

PCI - PCIe expansion / Riser

Does this mean my PCIe-6343 is DOA?

$
0
0

 

I'm new to NI hardware am hoping that I am missing something simple to do with the setup of my card but.. 

 

In the text panels of Ni Max all of my analog input channels give me a reading of -10.8 volts. This does not fluctuate. Even the internal channels (such as those I would have used to calibrate) are flat line.

 

Using a volt meter I was able to test and verify the analog output channels of the card - so I know there is some level of functionality there. It also passes the self test. 

 

Attached is a screen capture of a test panel. 

 

Does any one have any advice? 


Compact System operating on a small battery running Labview and 9181 usb chassis (9234 module)

$
0
0

I've just started looking into this and began at a Raspberry Pi 3... which appears like the daqmx drivers can't be installed on, so rules that out for the chassis/module above I believe?

 

My application is a sensor bar (see attachment - made of aluminium of 40mm x 40mm section. At the current time we are using a laptop in our arms, a laptop bag that houses the chassis/module, cables going from the bag to the IEPE accelerometers on the sensor bar, and an IEPE hammer to excite the pole we are hitting.

 

We use labview for this application, and don't think it could be easily replaced with an alternative software.

 

Problems here are the cables from the sensors on the sensor bar, the usb cable from the chassis/usb in the bag to the laptop we are holding.

 

I was hoping to mount everything on the sensor bar, which a raspberry pi 3 and the chassis mounted on the sensor bar would have cut the cords... they would still need to go from the sensors ot the chassis still but that would all be local to the sensor bar.

 

We'd then need to get the interface to show, perhaps a small touch screen mounted on the bar. Then get power to it, perhaps the only external cord from a backback to the system that gets unplugged when on the move.

 

We could look into a cdaq chassis with an embedded controller/pc but these are larger, assume requires far more power and also a more expensive solution.

 

We could look into one of the windows sticks possibly?

 

Are there any other alternatives? Perhaps having a chassis mounted on the sensor bar, that then we remote desktop into through a wireless switch? This would require a lot of power though and only cutting the cords down between the user and the bar, not the volume of equipment which goes up actually.

How to find the phase difference between many signals by using python?

$
0
0
I'm a new user to python. For part of my project, I have 10 signals which more or less are in the form of "sine wave" with the same frequency and amplitude.
 
I plot each one of them separately and it looks good.
 
But, when I wanted to average them, I found some strange effect on each other and I supposed that there is a Phase difference between them.
 
Can anyone help me to determine the phase difference between them? any suggestions?
 
Thanks

Long DAQ Output Signal

$
0
0

I am using a USB-6351 to control a stepper motor by generating step and direction signals. I have to ramp the motor up and down to keep if from stalling during starting and stopping, so I can't just put out a periodic signal. Also, the test needs to know exactly how many steps were taken, so I can't just keep track of time on the PC, because the steps are less than 1ms apart from each other. What I have done so far is create an array to hold step and direction data, then feed the array into the DAQmx write using a finite samples task with hardware timing. Everything works as expected, but now I am being asked to have have the motor run for several hours while still putting out an exact number of steps. I have to use a ~240kHz clock to get the motor to move the way it is supposed to, so there is no way I can create an array that big.

 

I thought that maybe I could use a finite samples task with regeneration then replace the ramp signal when the motor is up to speed. When I am ready to ramp down, I would do the opposite, but I'm not sure that's possible, especially not without interrupting the output.

 

Does anyone know how I might output a very long, digital, hardware timed, non-periodic DAQ signal?

Measuring voltage with USB-6212

$
0
0

Good afternoon everybody,

 

I have a question about the feasibility of a measurement: I have an electrical DC circuit, in which the maximum current is going to be under 1 A, and I want to measure the voltage drop across a 5 Ω resistor under different load conditions.

 

In order to do that, I was thinking about connecting the two ends of the resistor to the center and sleeve of a BNC cable that then feeds into an USB-6212 DAQ board. From the manual, the equivalent impedance of the board is 10 GΩ // 100 pF, and from my understanding this will definitely limit the current in the BNC cable, and by consequence the power transfered to the DAQ. However, I am not sure if this is what's actually going to happen, and I am afraid I am going to burn the DAQ board somehow.

 

Sorry for the very noob-y question, but this is my first time using a DAQ to acquire data.

AO grounding, PCI-6733 + BNC-2110

$
0
0

We have a PCI-6733 card that is connected to our experiment through a BNC-2110. We've recently tracked down one of our day to day fluctuation to the change of the output voltage of these boards caused by grounding. We simplified our setup and we could reproduce the issue with the following procedure.

 

When the ground (BNC shield) of the output is not connected to anything, the output we measure (using a battery powered multimeter) is stable and accurate. However, as long as we connect the output ground to any real ground (including the one the computer is plugged in), the output starts to change by as much as a few hundreds of mV (though, more often between +- 30mV).

 

Almost all of the online document we've find are about grounding when using the analog input function and not analog output. We did make sure the BNC-2110 switches are all at FS position though switching to GS doesn't seem to make any difference. It's not really an option for us to make all the devices driven by this board to be floating either (we don't even have control over all of the devices).

 

What's the right way to solve this problem/is this a known issue? Do we have to have some output buffer for all the analog output channels?

 

Viewing all 6917 articles
Browse latest View live


Latest Images