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

NIDaqmx on windows XP

$
0
0

Hi. I was using LV2014 until last year and now I upgraded to LV2017. One LabView program that I am using is installed on Windows XP, Win7 and Win10. I made a important change on this program and all was ok on win7 and win10, but LV2017 is not running on WinXP. I made a copy and saved all my project for a previous version (2014). However my program use NIDaqmx and when I try to run the new execute on XP the next message appears:

 

"LabVIEW: Resource not found

An error occurred loading VI 'DAQmx Create Channel (AI-Voltage-Basic).vi'.

LabVIEW load error code 3: Could not load front panel."

 

Who knows how to solve this issue?

 

Thanks in advance


NI-MAX 16.0 Issues

$
0
0

Hello All,

 

I have a system that consists of a NI PXIe-1065 Chassis and a SCXI-1001 chassis. The 1065 has a PXIe-8370 MXI-4 connected to a desktop computer running Windows 10 64-bit. The system has been working up until this point. After about a month or so of down time we booted the system and attempted to run our data acquisition VI. It produced an error claiming it could not find the hardware that our VI called for. For example our high-speed DAQ cards are referenced as "HSCard1, HSCard2, etc."

 

It was recommended that we reset the NI-MAX database. After performing this step our VI still fails to run. I've attempted to run a self-test on the system and the PXIe-8370 reports that is "Unable to find the hardware." It advises I should restart and if continue to have problems that i need to contact National Instruments. I've also run the Device Manager and the PXIe-8370 card is not listed here. Then again I do not recall if it ever was.

 

Another item I've noticed in MAX is that before, I could bring up test panels and see individual channels on our cards. I could display either a table or graph of the signal coming into that particular channel. I don't have this option since resetting the database. The only options are "Rename and Open VISA Test Panel."

 

Before I run down the road of contacting NI, has anyone had any experience with this?

Inserting array of data into sql

$
0
0

Here i'm sending array of data into sql db. I'm facing a error 91, i don't know to deal with that error.

I have succeed in passing one value to db, from that i come to know there is no problem between my database and labview communication. i have to send bulk of array values into db . I tried lot to get result but i failed. I attached my vi ,i hope that will provide more details about the problem.

I'm new to LabVIEW please help me to get the result.

Thanks in advance

Too long AI-read time for USB-6353

$
0
0

Hi!

I am having some problems getting my NI USB 6353 to behave, so I am hoping someone more competent than me can explain what I am doing wrong.

Here is the situation: I want to start sampling one AI-channel during 1 ms after an external digital trigg signal goes high. I sample at a rate of 1MHz, and I take 1k samples.

You can see my little test-vi below. I check the time elapsed between start and stop of AI-read.

The external trigger goes high every 10:th ms (f_trigg 100Hz). The AI-read time should theoretically be 1 ms, with plenty of time to wait for the next trigger, 9 ms later. 

 

However, it seems impossible to get the AI-read time below 40 ms. Clearly something is wrong in my code, but what?

 

f_trigg100Hz.jpgTrigg frequency 100Hz, period time 39 ms --> NOT OK

 

I would be most grateful for any advice regarding this.

Thanks!

NI 9155 not shown correctly in MAX

$
0
0

I'm not sure if this is a LabVIEW issue, a hardware issue, or a combination of both. I have two cDAQ 9139 chassis', and a NI-9155 MXI RIO chassis.

When I connect the first 9139 to the 9155 with the MXi cable, the 9155 shows up in MAX correctly (Shown here in Figure 2 - http://www.ni.com/white-paper/14079/en/).

 

If I use the same setup as previously and connect the second 9139 to the same 9155 chassis, the 9155 shows up in MAX with the FPGA icon and not the chassis icon. 

 

 

Is there a piece of software that I am missing on the second 9139 chassis that causes the 9155 to show up as the FPGA icon and not the chassis icon? I would normally suspect that this means the 9155 chassis is setup for FPGA mode, but then why would it switch when I change the 9139 chassis connected to it? I have searched on here and google and haven't been able to find an answer yet. If this is better to post in the Hardware forum let me know.

 

Thanks for any help!

cDAQ differences in AO and AI measurement

$
0
0

Hello everyone

 

I am using following setup: NI cDAQ 9174,NI 9234 (AI) and NI 9269 (AO). The Matlab data acquisition toolbox is used with DAQmx.
In the most simple case an analog output is placed over a resistor of 1kOhm and at the same place the voltage is measured by the analog input card.

The signal is a chirp cosine (sweep) with an amplitude of 1 V that increases in 30 s from 1 kHz untill 25.6 kHz. This maximum here is half of the samplefrequency (51.2 kHz). The problems I experience are visible in the attached PDF. Also the code to generate and measure the signal is added.

 

There is a fixed delay in the beginning of the measurement. When the frequency increases, the amplitude decreases (this is not the case when measured with an oscilloscope). Also there is some strange behaviour at the end of the measurement (even far from the maximal value). In this way I cannot rely on the defined output, and I always have to measure it as well.

 

Is it possible to explain these effects by for example some kind of low pass filter that is not mentioned in the datasheet or a feature of the BNC cable itself? The amplitude difference worries me the most.

 

Thanks in advance

how to turn on/off relay using NI DO 9476??can i do the same using AO module??

$
0
0

how to turn on/off relay using NI DO 9476??can i do the same using AO module??

raw data width

$
0
0

Hello,

I have been using PXI 6251 for a while, and I am changing to PCIe 6361.

I developed visualisation tool for the .tdms files that I want to continue using.
The .tdms files have now a row data width of two instead of 1, and are not readable anymore in my visualisation tool.
How can I solve that?

Configure the PCIe to output data with a width of 1?
A tool to open the file and set it back to 1?

Thanks


throughput limitations - USB FIFO

$
0
0

RE: USB-6002 & LabVIEW throughput

 

I want to sample 5 ADC channels, each at 4096 Hz

(5x4096 = 20,408 samples/sec) on a USB-6002 for about 10 consecutive seconds (204, 080 total samples) in LabVIEW.

 

Two Questions:

  1. Given the above sampling requirements and the USB-6002 limitations, is this a reasonable task regarding stream rate (total through-put) for the ‘USB-6002 to LabView’ combination…….

given the limitations of serial USB, small 2047 FIFO size and LabView/Windows 10?

 

2.) The what is the definition of “Bandwidth 300 KHz’ in the USB-6002 data sheet?

 

Thank you !

current measurement

$
0
0

how to measure current using current sensor and fetch the current sensor data through ni hardware.

which c series module i can use??

Data acquisition ( current measurement )

$
0
0

Hi , 

I am working on LabVIEW 2015 project, i have in my test specification a need of measuring of the output current of the product with an average of 10 ms time window, that means in 10 ms I should have an N simple  and there  average  , 
1- I created my task in NI max  , but i don't know which are the best configuration for this test  and how i can used with labview : 
image.png

 2- i have 7 Ni chassis cDAQ-9184 with the same configuration ( Ni xnet +   Ni ni9227 ) 

 the software must be compatible with all the chassis without any modification in the Ni max   but  there is a difference of the address Mac  on those chassis ,  I tried to change  the name of address mac but it doesn't work correctly, have you an idea about this please, 
image.png
Thank you , 

enabling PrecisionWaveformTiming

$
0
0

Hello,

When querying data from a NationalInstruments.AnalogWaveform<TData>, I can access the Timing member to get timestamps.

The doc tells about the difference between Timing and PrecisionTiming.

However, it is unclear when PrecisionTiming is available.

Can I force "precision" timing ? When creating a task ? When creating the AnalogMultiChannelReader ?

Is "precision" timing automatic according to the DAQ being in use ?

 

 

Una domanda da un milione di euro.

$
0
0

Ho acquistato la scheda NI-USB6009

1 - Ho reistallato W7 Ultimate nella partizione C del mio notebook

2 - Ho scaricato ed installato  2013sp1LV-WinEng

3 - Ho scaricato ed installato  NIDAQ990f0Conficg

Ho avviato NI MAX (Version 5.6.0f0).

Ho espanso "Devices and Interfaces" e ho trovato NI USB-6009 "Dev1"

Ho configurato senza problemi "Dev1".

 

Ho avviato NI LabView 2013 SP1

Ho aperto Blank VI

Click Destro su Block Diagram; click su Express; click su Input: DAQ Assist NON APPARE

 

Mi è venuto un'idea:

Ho cancellato in C: le cartelle Windows.old e Windows.old.000

Fatto questo  DAQ Assist APPARE anche in Block Diagram e lo posso utilizzare come voglio.

Domanda da un milione di euro: Perchè  DAQ Assist adesso APPARE

Grazie e un saluto a tutti

Luigi

 

 

 

 

 

NI USB-6002 anti-aliasing filter

$
0
0

Hello,
I'm using a NI USB-6002 to take simultaneous voltage readings on a couple of different channels and sampling rates. I'm aware that to avoid aliasing effects I need to low-pass filter each signal before it's sampled by the DAQ. In the USB-6002 user guide I can't find any mention of anti-aliasing filters. Does this mean that I need to pass the voltage signal through an external low-pass filter myself before the DAQ inputs, or is anti-aliasing 'built in' to how the DAQ works?
Thanks in advance.

PXI-6071e triggering

$
0
0

Hi

 

I’m a relative newbie to DAQmx and wondered if anyone could give me a few pointers on this. I need to measure the voltage on 16 solenoid outputs, which are connected to a PXI-6071e card via some signal conditioning. The test involves sequentially turning each output on & off and checking the remaining outputs haven’t generated any spikes or glitches. I was intending to trigger off each output in turn and from what I gather, I’ve got 2 options – either, OR the outputs together via a summing amplifier & route this to the PFI0 trigger input, or dynamically create a DAQmx task, re-ordering the channel list so the one I want to trigger off is the first entry. If I’ve got that right, which is preferable?

 

Looking at the DAQmx trigger options, there’s one called ‘Start Analog Multi Edge’ which seems to be exactly what I want. However, when I try & use it, I get an error saying ‘Requested value is not a supported value for this property’ which I’m guessing is because it’s not available on a series E card. I was wondering which DAQ cards do support this and whether there are any code examples. It’s possible the 6071e might be upgraded to a 6255/6355 in the near future.

 

Thanks

Bruce


Connecting PCIe 6361

$
0
0

Hi all,

 

For my measurement setup I am using a NI PCIe 6361.

As my measuring devices put out data every 4 microseconds I have to use a data frequency of 250 kHz.

The measurement cycle is initialized as continuous measurement and the data acquire subVI is called inside a while loop.

Inside this while loop I want to not only save the data but also du some calculations.

The idea is to check one channel and determine if the mean value over 256 measurements is zero and then stop the inner while loop and execute other orders.

I often get the error that the software is not fast enough for the hardware, it seams that there is any sort of buffer which fills up over time and at some point the whole VI stops working/responding. A quick restart of the VI does NOT solve the problem.

First completely shutting down LabVIEW and all its instances and restarting my VI lets me perform another measurement.

 

I attached a minimal example of the VI I use, some features I use to initialize are missing but the main part stays the same.

 

Is it possible to run several VIs parallel connecting to the same PCIe card?

In my case using one VI to measure the data generated by my setup and saving it to hard disk, the other VI to also measure the data and perform another task if the mean of 256 measurements of one channel drops to 0.

 

(further information: PC: Win7 64bit with 8 Gig of RAM and CPU 2 Quad)

 

I hope you guys can help me out with my problem.

If there are further questions feel free to ask.

Regards, Max

Using USB-6001 DAQ for reading digital encoder

$
0
0

Hi,

 

I am trying to read digital encoder using USB-6001. Channel A and Channel B are being read by DI pins (1.1 and 2.0). Idea is to determine the phase difference between two channel. Based on its sign (positive phase or negative phase), direction of motion will be determined and counts will be incremented or decremented accordingly.

 

Challenge being faced: USB-6001 has only one counter pin but I require two of them to determine the position and the direction. Therefore, I decided to make use of its digital pins. 

 

 

VI logic : Rising edges are being detected from each signal and rising edge index is stored in an array (as suggested in this post). Difference of first index can be thought of as phase difference. Positive value of the difference of index indicates positive phase (A leads B--> positive direction).

 

The VI(attached) is not outputting the result as expected. I seek help for figuring out flaw in logic and rectify it. Any alternate approach for reading a digital encoder using USB-6001 will also be helpful. 

 

Thank you in anticipation.

How can I set start point on Waveform Graph?

$
0
0

I am using an PCI-6220 device and are reading analog signal from ai15.

I am trying to read data at an manual set trigger point to show up on the Waveform Graph.

 

How can I do that?

 

The Device is reading continuous at samples 40k and rate at 200k.

From the 40k samples I want it to start showing data from a set trigger point and show the rest of the data on the Waveform Graph.

 

The "Trigger & Gate" vi found under Signal Processing Works but I have to reopen and edit trigger point everytime I want it to start at an different Place. I want to be able to change it using an knob.

Connecting external power supply to NI 9205 to allow voltages outside nominal input range

$
0
0

I am currently working on building a new DAQ system for running various tests, which include supplying power to DC motors. I would like to have an input that can read the voltage/current from an external variable power supply and send the same signal out back to the motor. However, the voltage range of the ADC module (NI 9205) we have is +/- 10 V, and I need to be able to set the power supply to up to 18 V for our larger motors. I have been working off of a DAQ that is already set up that does this, but whoever built it did not route the wires in a way that is particularly easy to follow. Would someone be able to assist me in properly wiring my hardware? Thanks.

log in to c-DAQ to update firmware

$
0
0

Hi, I've a problem with a c-DAQ9185 with a ni9205 c series module in it. The computer runs on win10, max 18.1, ni visa 18.0. Window fast startup is also disabled. After a restart of the computer I always have to restart the card to use it. I get error -88705 and error -201003 and error message: "There was a problem contacting the system web server on the target".

I thought this might had to do with firmware so I downloaded the latest firmware and press update firmware in max and chose the file. Then I get this:

log in.PNG

 

Why? I have not set any user or password for my loggingcards.

I run max as administrator, I tried my ni user, my administrator user but nothing happens.

Viewing all 6882 articles
Browse latest View live


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