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

3 wire RTD sensor on USB 6341

$
0
0

Please advice whether USB 6241 can handle 3 wire RTDs and how to connect them.

 

Thanks


USB-TC01: LabView crash when trying to change thermocouple type

$
0
0

LabView crash when trying to change thermocouple type in this way.

(DAQmx 16.0 / LabView 16.0)

 

How can I select thermcouple type programmatic?

 

 

Initialize ethernet CDAQ without NI-MAX using only C API

$
0
0

Ethernet cDAQ chassis with AI module is connected to a Windows computer with NI-DAQmx Base installed. The chassis and module were earlier configured using NI-MAX, but on a different computer. The name and (configured as static) IP of chassis are known.

 

Can the module be initialized and used by means of C API calls only, without installing NI-MAX? Would it be sufficient to find the device with NISysCfgFindHardware() and reset with NISysCfgResetHardware() ?

 

Thanks,

Mikhail

Sending boolean array trough DAQmx digital output

$
0
0

Hello,

I'm trying to send the 3 boolean array trough 3 line of my DAQmx usb 6002. But i see nothing an their is no error shown. What is wrong with the graph i did ?

 

Thanks,

 

 

PCIe 6509 Change detection and error -200284

$
0
0

I'm using a PCIe 6509 board and Measurement Studio 16.1.45.70 in a C# program in order to get data from 12 digital channels using change detection (one specific channel indicates that data is ready every 50 µs).

Tasks runs for a varying period of time and then times out with error code -200284.

Error appears then very quickly, before the timeout period has elapsed.

I've already read threads dealing with such a similar problem but did not find any solution...

The attached code sample retrieves 3000 samples and a screenshot displays the error.

I've already tried other solutions (asynchronous reads) with no luck...

 

Help would be appreciated.

Cyril

 

Data Acquisition - RTD Sensor

$
0
0

Hello,

 

I would like to read a RTD sensor at a rate greater than 100hz which seem to be a limit on the CRIO RTD modules (9216, 9217, 9226(50hz)).  I am currently using a pxi system using an analog output and reading the voltage drop across the RTD sensor.  I would like to be able to just use a module since my current setup requires and external circuit to limit the current to the RTD. 

ENET-9163 C module not supported

$
0
0

Hi All, I have a ENET-9163 case. I find it in the "Netrwork Devices" typing the IP address manually. When I try to add to the list a message appears like "The module is not supported by ENET-9163"

I have tested with NI9401, NI9221 and NI9402 C modules.

When I switch ON the case, only the power LED is ON in green, the others are in OFF

I,m using Labview 2015SP1 with DAQmx installed.

Attached one screen of the problem

 

Thanks in advance

 

Software Handshake Implementation

$
0
0

Hello Everyone!

 

So I have posted about a project I am working on and I believe that I have come a long way. My current obstacle is LIN based programming. My company develops automotive switches that use multiple types of communication. Digital, Analog, LIN, CAN, etc. The tester that I am developing is intended to be able to test any type of switch that we connect to it.

 

I would like to focus on LIN for this topic. Formerly, we have used NI LIN cards for testing our LIN based switches. What I have done is created a LIN bus using an ATmega32M1 and LIN Transceiver using ATA6662C. This is intended to be the interface from the switch to the computer that will be running our LV test procedures. What I and having trouble with is the actually data acquisition, or "handshake," if you will, between the DUT and the computer. I would like to know what important functionality needs to be written. I am aware that the NI DAQ Cards are much more robust than the specific purposes that I need for my tester.

 

If there are any NI Application Engineers that have experience with automotive switch testing that are available please let me know!

 

Dennis


Multiple channels on PCIe-6320 using C API

$
0
0

I am using a PCIe-6320 DAQ with the C API on Windows 7.

 

I need to generate a regular pulse output on myDAQ/ctr0 and then at random intervals read the DI ports myDAQ/port0:2.

 

As I understand it I can only run a single task on this card, so I have been trying to create multiple channels on the same task. However I am getting DAQmxErrorMultiChanTypesInTask. In pseudo code I call

 

CreateTask()

DAQmxCreateCOPulseChanTime("Daq1/ctr0")

DAQmxCreateDIChan("Daq1/port0:2")          <-- this gives DAQmxErrorMultiChanTypesInTask

 

What am I doing wrong? Is there a better way to accomplish this?

 

Any and all advice gratefully received.

 

Thanks

 

Patrick

 

Diagnosing noisy analog output

$
0
0

Hi,

 

I have a 6221 PCI DAQ.  I'm trying to diagnose noise in the analog output signal.  When I give a static output I measure 2mV RMS with my oscilloscope (and a similar figure when recording the output via an AI input).  This seems much too noisy, and I'm trying to determine whether this is a problem with our board or I am somehow picking up a lot of noise from the environment.  I'm using the SCB-68A breakout board, and I have it contained inside of a steel box and wired to BNC outputs.

 

Sorry if this isn't the right place for this kind of question.  If I've understood correctly then I would have to pay NI to answer this question, so I thought I would start here first...thanks!

USB 6218 seem to be mixing AI channels

$
0
0

Hey, we've got a problem with a NI USB-6218 (DAQmx 14.5.1 and LabView 2011).

We are running a Task with 27 AI channels and reading continuous 2D data. Sometimes the 2D output data is mixed up: for example channel 0 appears at index 20 instead of index 0.

Starting, reading, stopping over and over produces various results.

Once the task is running, the result stay the same (=correct order of channels or mixed up).

We are sampling with 1000 Hz and it's no difference if reading 5 samples per channel or 200 samples per channel.

In MAX it seems to run fine.

 

Are there any known issues for our HW/SW combination?

 

Thank you!

NI-8452 SPI script latency reduction

$
0
0

I am looking to control an external SPI switch device as part of an aquisition system.  The basic state machine is, setup switches -> make reading -> change switches -> make reading...  The reading is made by a PXI DAC ADC combo however the switches and signal conditioning are housed in a custom piece of equipment controlled by an NI-8452.  There is a connection between the PXI and DAQ to start the aqisition as soon as programming is complete.

I would like to reduce the latency of the state machine as possible.  Is it possible to preload a script into the DAQ, for example?

Synchronized Analog Input and Output (USB-6211)

$
0
0

Hello,

I am trying to read and write analog signals synchronously.

Code.png
To test, I have linked the analog output back to the analog input on my usb-6211.

However, the output is offset by 1 sample:

Output.png
What am I doing wrong?

I suppose I could hack a fix but prehaps something more fundamental is going wrong?

Thanks

Nick

Contact Sensing

$
0
0

Hello everyone.

 

I have a USB-6225 with 80 Analog input channels and 2 Analog output channels.

For a project I need to sense if a contact is connected or not.

 

As a test I want to take a banana connector, male and female, connect to to the DAQ and see if it is plugged or unplugged.

The problem is that I have no clue how to connect to my DAQ.

 

Can I do this with one of the analog inputs? One end of the contact into an input and the other to GND? 

(But then there isnt any voltage across the connector)

 

Thanks in advance, 

 

best regards,

 

Michael

Fast Read/Write loops using USB 6356

$
0
0

Hi,

 

I am running into trouble setting up a read/write loop on my DAQ board.  From the hardware side I have two analogue channels in and one out.  I want to read in single values of the input, do some math with those two numbers, and then output the result as fast as possible.  I have attached a screenshot of my program for what I have gotten to work so far.  This seems to only be able to loop at 500 Hz, and I need to run  >2 kHz.

 

Previously I have run this program (without the writing task) at 3 kHz without any problem so I do not believe that it is the math required in the sub VI's that is slowing me down.  I realize that the write task is currently software timed which is probably slowing me down a lot, but I haven't been able to setup any timing on that task without getting errors that my device doesn't support continuous write without a buffer.  But if I buffer the write task then the output will not be synchronous with the input data?

 

In short, I need the information coming into the DAQ to be written to the output with as little latency as possible and with as fast a rep rate as possible.


Thanks, I appreciate any suggestions on what I could do to speed up my loop!

 

-Zach-


cDAQ-9132 and NI MAX

$
0
0

Hello all,

 

I'm looking to use our cDAQ-9132 for an upcoming project.  I starting messing with it today and I was able to access it by remote terminal from another computer.  But I'd really like to access it directly by ethernet from a single laptop via NI MAX.  I used the simulation feature in Ni-MAX so I have an idea what the cDAQ should look like in the Ni MAX menu.  But when I hooked up the cDAQ directly to my laptop via ethernet earlier today I was not able to get it to show up in Ni MAX. Any idea what I might be doing wrong?  

 

Additionally, if I want to trigger off of another channel do I have to use the PFI0 connector or can I trigger off of another analog channel from one of the cards in the cDAQ chasis?  

 

Configutation:

cDAQ-9132 (4 slots with 16 GB)

Modules: Four NI-9222 modules

Computers running windows 7

Labview Version 2010 (Ni MAX 9.9) and Version 2013 (Ni Max 14)

 

Thanks for your help,

 

Radman

Need help. Student working on data acquisition.

$
0
0

Hello,

I am a student working on a project that requires a data acquisition system.

The design requires data acquisition for test variables including torque, temperature, pressure, vibration and so on.

I need to come up with a solution for the client with proper selection of daq hardware, sensors, wireless protocol, wiring route.

I've been reading over lectures and articles, but they go too much into theories and lack practical information.

Can someone advise me on how I can find good resources on implementing industrial daq system?

 

Thank you.

LabWindows/CVI doesn't detect the NI-DAQmx in the PXI crate

$
0
0

Hello,

 

I have a problem with connecting to NI-DAQmx (NI-6221) which is inside a PXI Crate (PXI-1044), with a controller (8108 RT). When I try to connect using LabView or NI-MAX to the device I can do it, I see it and I can generate a simple analog signal on an analog output. 

 

Whereas, when I try to create a task in LabWindows for the NI-DAQmx I can't see any DAQ device. I'm attaching a screenshot. I'm using LabWindows 2015 with SP1, NI-DAQmx 16.1.0 and my os is Win 7 Enterprise.

 

Any help would be gratly appreciated.

 

Kind regards,

Piotr Zdunek 

OSX 10.12 driver for DAQ 6001

$
0
0

Hello,

 

I have tried many of the existing drivers but I am not able to have my DAQ 6001 recogmnized on my macbook pro running OSX 10.12. The same DAQ works fine on my windows partition.
When I look for a driver for this specific device on the NI website everything seems to be Windows only. Any advice to get it running on the Mac?
Thanks
Sebastien

software command list for cDAQ-9184

$
0
0

Hi,

 

I plan to use TCP or UDP from Web broser to send command to cDAQ-9184 for output control. There is only one NI 9477 on this cDAQ-9184. From related document, I found that  "With CompactDAQ systems, you can develop measurement and test applications in multiple programming environments, including ANSI C/C++, Visual C#, and Visual Basic .NET. However, tight hardware and software integration makes the LabVIEW development environment the best choice for getting the most performance out of your CompactDAQ system with the least programming effort." but my requirement does not allow to use LabView to do it. I can image that likes using DAQmx in its test panel to do the output demo.

 

My questions:

1. What is the command list (software- timed generation) that needs to send to cDAQ-9184 for contorl output in NI 9477? I hope it is a simple command like scripe text.

2. Is it possible to use TCP/UDP with web browser to do it?

 

Thank you,

Garrison

 

Viewing all 6897 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>