I'd like to create a test device with multiple sensors and actors, whereby one device communicate by rs-232.
I didn't found any information regarding this, thats why the question:
can I use a usb-600xx device to communicate with RS-232?
Thanks!
I'd like to create a test device with multiple sensors and actors, whereby one device communicate by rs-232.
I didn't found any information regarding this, thats why the question:
can I use a usb-600xx device to communicate with RS-232?
Thanks!
Hi guys,
I'm having the following problem with Labview NXG and cDAQ9189; I'm acquiring analog and digital input at 1000 Hz, analog for 300 s, digital for 5 s, 1 s pretrigger.
I've done 10 tests and everything worked out fine but in the past few days I've been experiencing some problems: data acquisition is shifted (lagging) around 30 s (both digital and analog) from trigger signal so i'm missing pieces; I can't figure out what's happening.
Obviously this happens only when I run real test, if I run a "blank" test everything seems fine.
I'm attacching correct (blank test) and uncorrect (real test) behaviour.
thanks
Hello,
I'm using a USB6212 (BNC) that I was recently able to get working to take inputs from 10 sensors thanks to somebody on these forums. (Thanks again). This DAQ only has 8 physical ports for analog inputs, and to be able to read 10, I set up ai0 and ai1 as open ended to get ai8 and ai9. I set the rest to open ended as well for consistency. DAQ is grounded to the power supply I'm using, and switches on DAQ are all set to GS per the manual. I haven't set up a VI, I'm currently just collecting readings from nimax to make sure everything was working okay and I've run into this issue.
At some voltage x (at any voltage I use, the issue is present), ai8 and ai9 are reading about 0.4 volts low, and they are much more responsive to stimuli than ai0-ai7 (more than twice the voltage increase). I grabbed a screen shot of this that I'm including, but this does not include the response, just the voltage difference when static. If I only read ai8 and ai9 without their counterparts(ai0 and ai1), the reading looks ok. When I look at them together though, the issue shows up. Also when I look at these readings on the test panel, the issue is not present (I'm assuming because I can only look at one at a time using that method).
At this point I've eliminated everything that isn't the DAQ itself, switched sensors around, etc.
Maybe someone can see if there's something I'm missing, or some setting that I haven't been able to find.
Thank you in advance.
Bonjour,
nous avons un module NI9215 inséré dans un porte module NI ENET 9163. Ce système a été installé et a été parfaitement fonctionnel et n'a pas été utilisé pendant longtemps. En essayant de redémarrer le système, il n'est pas reconnu dans Measurement and Automation Explorer (MAX). J'ai remarqué que la LED Status est toujours allumé, ce qui pourrait expliquer les problèmes. Je n'ai toutefois pas réussi ni a l'éteindre, ni a reconnaître le module dans le MAX, et ce malgré les différents conseils données dans le manuel (section troubleshooting).
Merci par avance pour votre aide!
Hi,
Do you have a direct or close replacement for the hardware listed below?
5 MS/s, 12-Bit, Simultaneous-Sampling Multifunction DAQ | NI PCI-6110/777475-01 |
2333 kS/s, 16-Bit, 16-Analog-Input Multifunction DAQ | NI PCI-6052E/777745-01 |
Noise Rejecting, Shielded I/O Connector Block | SCB-68/776844-01 |
Shielded Cable, 5 m | SH68-68-EP/184749-05 |
Thanks,
Rick Gonsalves
Lockheed Martin
I want to take 2 channels of data at 1 mega-samples/sec each. I would prefer to use Digital Reference triggering. The problem is it could be up to 2 hours before I receive the trigger. Is it even possible to have a big enough buffer for this situation given this hardware: PXIe-1075 chassis, PXIe-6368 card, and PXI-6133 card? Should I consider different triggering or different hardware? I'm using LabVIEW 2016.
The current error I'm receiving is:
Error -200361 occurred at Sync DAQ only.vi
Possible reason(s):
Onboard device memory overflow. Because of system and/or bus-bandwidth limitations, the driver could not read data from the device fast enough to keep up with the device throughput.
Reduce your sample rate. If your data transfer method is interrupts, try using DMA or USB Bulk. You can also use a product with more onboard memory or reduce the number of programs your computer is executing concurrently.
Task Name: _unnamedTask<1A>
Using USB 6341 DAQ box can i measure the DC current?
cDAQ9132打开权限设置、文件传输都提示web服务器连接不上,日期设置时也是提示终端权限不够。
I am using a USB-8452 SPI Module to as a MASTER to 7 UUTs. In one test case, the Chip Select line needs to be Active HIGH (not default LOW). Can the CS polarity be changed programatically in LabVIEW to be Active HIGH for a specific
SPI nCS line.
Thank you
Feras
Hello,
I am using a USB-6218 device in labview. On a new computer, the device is not recognized in labview. In NI MAX, the device is recognized, but with a black generic USB icon (see below).
Normally, when the device connects to the labview program, it appears with a green computer chip icon (see below). We wonder what these means, and if this is the key to our issue.
The System is an x64 Windows 10. We have tried:
Uninstalling & Reinstalling All Programs
Switching USB Ports
Switching USB cables
Self Test (Results: Device appears to be connected)
Reinstalling d2xx USB Drivers
Any further troubleshooting suggestions are welcomed, thank you.
Hello,
We have a USB-6218 device that connects to a labview application. It has done so successfully on other computers in the past.
On our new, Windows 10 x64 bit computer, the device is not recognized in the labview application. It is recognized in NI MAX; what is peculiar is that it is recognized with a black, generic USB icon (see image below) whereas normally it is recognized with a green computer chip icon (see image below).
We have tried the following troubleshooting steps:
Different USB Cable
Different USB Port
Running a self test (device seems to be working fine)
Reseting Configuration Data
Manually verifying correct FTDI D2xx drivers for the computer's USB port
NI Max version 14.0. Any further troubleshooting steps would be appreciated. Thank you.
Hi all,
hope you can help me.
In a scheduled process we are setting the voltage output on a specific AO channel. The first couple of times it works, but after 3,4 times the DAQ returns the error -200287.
Below is the C code, pretty straight forward. Yes this is JNI as we call the C code from a Java environment but this should be an issue.
The error description of -200287 is totally unclear to me:
Attempted to write to an invalid combination of position and offset. The position and offset specified a sample prior to the first sample generated (sample 0). Make sure any negative write offset specified will select a valid sample when combined with the write position.
Can anyone explain what this error means and perhaps based on the code below identify possible mistakes?
Thanks,
The C code:
JNIEXPORT jint JNICALL Java_com_es_suite_devices_ni_PCI6221_analogGroupOutput (JNIEnv *env, jobject obj, jint group, jdoubleArray dArray, jint noOfValues) { double *doubleArray = malloc(noOfValues*sizeof(double)); doubleArray = (*env)->GetDoubleArrayElements(env,dArray,0); float64 *writeArray = malloc(noOfValues*sizeof(float64)); int i; for(i=0;i<noOfValues;i++) writeArray[i] = (float64)doubleArray[i]; error = checkDAQError(DAQmxWriteAnalogF64(outputTaskArray[group],noOfValues,TRUE, DAQmx_Val_WaitInfinitely,DAQmx_Val_GroupByChannel ,writeArray, NULL, NULL)); free(writeArray); return error; }
I'm getting an Invalid Task error (-200088) when trying to create an AI voltage channel on a PXIe-6341 card. I've attached a sample Python script which triggers the error. I checked NI-MAX and the test panel there can read the voltage I'm trying to read. The script has previously been running correctly, but has started triggering this error recently. I suspected a driver issue, as we recently upgraded the computer it's on to Windows 10, but reinstalling the drivers and NI-DAQmx had no effect. Anyone have any suggestions for what may be causing this error?
Hello,
I am using NI-USB-6211, for temperature measurement via Thermocouples (Type J), and of course i have to introduce the CJC value to have the accurate temperature values.
Ni-USB-6211 does not have a built-in cold junction compensation. and i have to take measurements continuously through a year.
How can i use a thermistor as a Cold Junction Compensation (CJC through a channel) for my measurements with the thermocouples ??
thank you.
Hi all
I'm trying to use the 6341 NI daq with MATLAB. Actually I need just to sampling the counter with differents high sampling rates. according to the MATLAB supporting I need to add an analog channel for clocking. I'm running this code:
s = daq.createSession('ni');
addCounterInputChannel(s,'Dev1', 0, 'EdgeCount');
addAnalogInputChannel(s,'Dev1', 0, 'Voltage');
s.Rate=500000;
[data, time] = s.startForeground();
plot(time, data);
And I get this error: "Timeout expired before operation could complete"
If I add manually an external clock it works but I can sample only with the sample rate of the clock - 100 kHz, this is the code for it:
s = daq.createSession('ni');
addCounterInputChannel(s,'Dev1', 0, 'EdgeCount');
addClockConnection(s,'external','Dev1/100kHzTimebase','ScanClock')
s.Rate=100000;
[data, time] = s.startForeground();
unfortunately, I need to be able to change the sample rate. I will glad if somebody can help me
Thank you!
Hello,
I have an application written in C/C++ that uses DAQmx totally standalone from LabVIEW to access NI hardware (PCI/USB/CompactDAQ/etc).
I just wanted to check that if I purchase a NI cDAQ-9136 embedded controller with WES 7 that this should basically work "out-the-box" and that the controller will appear in MAX as "cDAQ1" and the C-series modules along the lines of "cDAQ1Mod1" etc. just as if I was using a USB or Ethernet cDAQ module plugged into a "normal" PC.
Thanks, Ben.
Hi,
Where to find info on how to connect to the PFI terminals on a cDAQ-9171
Cannot find any info in the manual. No specification about such stuff which NI was good at in earlier days.
I want to use the PFI1 as output but what is voltage and max current it can source ?
/Dan Larsson
Industrial Measurement Developer, Sweden
I have used PCI 6229 + NI-DAQmx 15.5.1 + LV2012 + Windows 7 64bit for several years now. Having switched to Windows 10 and having read all related information provided on the NI website PCI 6229 + NI-DAQmx 15.5.1 + LV2012 + Windows 10 64bit is compatible. However, it does not work. What is wrong?
I am measuring the voltage on a photocell. When I hook it up to a multimeter I get the expected result - ~0.4V when illuminated, ~0.1V when dark. But when I hook it up to Channel 0 (Differential Mode) I get two states: either the correct voltage of ~0.4V OR it locks at ~3.0V. Then it unlocks and shows the correct voltage. Then it locks again. It is possibly triggered to lock by forcing the photocell voltage towards zero, but I am not certain. Any ideas what is going on?
Thanks,
Bob
Hello,
I'm trying to configure my NI-PXIe 4304 for differential input tasks but the device pinout is a bit confusing to me. Single-ended configuration is straight forward but I'm not sure about the differential because the task will have to be set up using only the differential pins.
Can someone explain how to configure differential tasks for the is card. I've attached the pinout screenshot.
Thanks