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

intermediate result display

$
0
0

Hi, I have an analog input task which slowly reads finite amount of data. I need to display intermediate results :

 

request N points

start

  

while all data not ready

    get what is ready (M pts)

    diplay what is ready (1st to M pts)

    wait a little

 

diplay all (1st to N pts)

clear

 

what is the best implementation of this protocol in ANSI C ? if i use DAQmxReadAnalogF64 do i need to append each ready chunk of data myself ?

 

Thanks!


Loop powered device and NI 9265

$
0
0

I have been working with a cRIO 9023 with a 9114 chassis that includes the FPGA. On the chassis I have a NI 9265 4 chan 0-20mA output module. On the test bench I have wired in a Laureate Series 2 panel meter set up for mA with a Dale RH-5 5 watt 7.5 ohm resistor between AO0 and Com to simulate load (so the meter will read output.) This set up works fine and I can read output from the 9265 that varies with the LabVIEW program control.

 

In the field I am using this signal to drive a Parker 24v 4-20mA pump driver card (pn 027-22063-0) The 24vdc power is being passed through a signal conditioner coming from the 24vdc batterys for the engine. the signal conditioner acts as an isolator for the ground to prevent ground loops from the other systems. The 4-20 mA signal is being supplied by the NI 9265 (the pump driver requires two different circuits one for 24vdc and one for 4-20mA) However, the issue is that the pump driver card does not recognize the 4-20mA signal from the 9265 as a loop so the pump driver does not work.

 

I have tested the pump driver card with a Dwyer ASG 0-20mA signal generator and external power supply (set up the same way that it is in the field) and the pump driver works, so I am at a loss as to what the difference is between the Dwyer generator and the 9265 card.

 

So my question is do I need a diode from AO0 to Com in order to have the driver card recognize the loop? Is that adviseable (I have not done this yet) or is there some other way for the 4-20mA signal coming from the 9265 to be recognised as a loop by the driver card?

 

To be sure I have checked all wiring from the cRIO 9265 unit to the pump drive in the field and there are no breaks or issues. I did this by pulling the wires off the 9265 and connected them to the Dwyer ASG and the pump card worked. I can post the test program from Labview but it works fine as I am getting output mA in the test lab.

 

As of now I have a driver card on one channel and a 5watt resistor to laurel meter on another channel in the test lab. I can see the output on the meter when i run the program but still not on the driver card.

 

thanks

USB 6008 performing random resets

$
0
0

Hi all, 

 

We are using the USB 6008 to control two motors and acquire data from a number of motion sensors. We are controlling it with LabVIEW 2010 on Windows 7 on a laptop. Usually it works fine, but sometimes for no reason we can see the USB-6008 resets, causing a TRUE output to all channels, causing the motors to whir round and round until stopped.

 

It once happened three times in one day, and then didn't happen for a week. It once happened when sensors were activated and sometimes not.

 

Does anyone have any idea how to prevent this, or alternatively how I might check for this in the software and stop it if it happens?

 

Thanks,

Danielle

labview fpga compile error

$
0
0

Dear colleagues, I am struggling with compilation of Labview FPGA software for sbRIO 9637. When I chose the local compiler option (installed on local PC), I get the following error message:

 

"The compilation cannot be performed by the compile worker. The compile worker may be configured incorrectly for this compilation, or it may be in an error state"

 

However, if I open the Compiler Worker window, I do not see any errors. 

 

I was trying to find answer among older topic, it seems that some people were dealing wih the same issue, but it has not been resolved yet.

 

 

Custom Scaling Error 200077

$
0
0

Hello,

I have a cDAQ-9188 chassis and seven modules. My VI consists of a DAQ-Assistant to acquire signals. With this I created a channel "Luftdrucksensor". For the Calibration I used a Custom Scaling in which I created a characterisitc curve. My sensor has an output range of 4-20 mA and 0,9-1,1 bar. But when I want to start the measurement an error occurs.

Can you help me?

 

Thank You

Regards

 

bnc-2110 compatible with x-series devices

$
0
0

is bnc-2110 compatible with x-series devgices ?

PCI 6733/6713 Error with expansion

$
0
0

So I actually have the PCI-GPIB with the expansion chassis.   The expansion is connected to a PCI Express to 4 slot PCI expansion System (http://www.startech.com/Cards-Adapters/Slot-Extension/PCI-Express-to-Four-Slot-PCI-Expansion-Bay~PEX2PCI4) and is connected to 1 PCI6733 and 1 PCI6713.

 

I have the latest drivers installed (I tried erasing the driver and reinstalling it).

 

My issue is in Device Manager, my pci standard pci-to-pci bridge device shows error 31 "The device is not working properly because Windows cannot load the drivers required for this device. (Code 31)".  I tried doing what microsoft suggests (https://support.microsoft.com/en-us/kb/942959) but that did not work, so now I am wondering if anyone can suggest a fix?

 

Thanks in advance

signalexpress

$
0
0

Hello,

I am new to NI environment, I found a NI USB-6259, I am going to use a PC to control it to generate anolog waveform.

 

I should have a labview liencse, but I an not a good labview programmer.

 

Can I use signalexpress to drive this box directly by just configure the box. the list price of signalexpress is over $1000, I am going to download a freetrial and test it, but it is a little expensive for my budget, is there a cheaper software can do drive this box.

 

Sincerely,

 

David

 

 

 


Writing a single analog waveform to pxi-6363

$
0
0

 

Hi,

 

I want to write  a fixed set of samples to the analog output and then stop.   I am using C# but that isn't the important thing.  I don't want a continuous signal.   Lets say I have 1000 Samples / second or a sample per 1 ms.    I want to be able to generate single waveforms of anywhere from 10 ms to 1000ms wide.   The shape is arbitrary but once the samples are done I want it to stop and remain at the last sample written.

 

I typically want synchronous writes, i.e. the .write is blocked until finished.   I need the start and stop of the signal generation to be deterministic.

 

I haven't found a way to do this.  It either regenerates or if I tell it not to regenerate I get an -200290 error.   I don't want to regenerate and I want it to stop waiting for more samples.

Encoder sampling at old clock speed

$
0
0

I’m having some trouble collecting points from the encoder on a USB 6221 board on Windows 7 x64 using NI-DAQmx 9.3.0. Here is a little bit of the background on what we’re doing. Our application creates a single encoder task and keeps it alive for the duration of the application. We do this in order to preserve the counter value because stopping and creating a new tasks causes the encoder counter to be reset back to zero. Whenever the application is sitting idle, we sample the encoder at 200 Hz in order to present a “live” display. Whenever we are ready to sample the encoder to collect a waveform, we do a little magic to clear out any potential stale values in the buffer and provide a new clock at the desired sampling speed.

This all worked well on Win XP using NI-DAQmx 8.9.0, but now on Win 7 the first few points we collect when calling DAQmxReadCounterU32 appear to be sampled at the old clock speed. It’s very random in nature, which leads me to believe it’s a timing issue.

Since nothing has changed on our end except the OS and the NI API version, I’m not entirely sure how to tackle this problem.

Any suggestions?

 

Encoder2.png

 

Problemas con tarjeta NI 9234

$
0
0

Buenos dias, tenemos 4 tarjetas NI 9234 , y modulos de adquisicion DAQ 9188 , 9171, 9191, dos de las tarjetas han presentado medidas solo de 60 Hz   y armonicas (frecuencia de AC), que puede estar pasando. No lee otra señal o no muestra otra señal. La falla es solo en dos tarjetas en su cuarto canal. Las fallas dan en todos los modulos de adquisicion.

Saludos

Edgar Andrade 

Difficulty Getting Data from Load Cell to MAX

$
0
0

I have a load cell connected to an SCC SG24 attached to a NIDAQ board (the SC-2345). I have set up a Strain Virtual Channel in Measruement and Automation Explorer sooftware and am running the channel. When I bend the load cell (it's actually a thin-beam strain gauge), there is no change in the measured strain, just constant fluctations due to noise. What exactly am I doing wrong? I have made sure that all my settings are correct, but I am still not getting any data.

 

Switch Relay Control Deprecated? How to use NiSwitch to control more than 1 Relay?

$
0
0

How do we control more than one relay at the time (PXI-2569) using niSwitch?

 

The former relay control from DAQmx that opened multiple relays is now considered as deprecated.

 

Thank

MAX on Windows 10

$
0
0

I haven't been able to find anymore information on this so I'm hoping the forums may be able to help.

I have a Windows 10 Home PC that I am trying to install and run a labview developed program on. I have installed the NI System Configuration 15.0 in addition to all of the installers required to run the program.

2014 SP1 F3 RTE

2015 RTE

NI Max 15.0

DAQmx RTE 15.0

DAQmx RTE with Config Support

DAQmx with App Support

 

When MAX is opened up the device is identified and named "dev2" as would be expected, and the device is appearing in the Device Manager, however when selecting the device I am only presented with the options to Self-Test or Self-Calibrate, not Test Panels or Configuration.

 

Is this expected behaviour for MAX on Windows 10? Is there any way to access the Test Panels? Did I miss something in the install?

PCI-MIO-16E-4, NI 183139B-01 and SC-2050

$
0
0

Hi all, 

 

i have to work on an old machine but i have some problem to understand the pinout of this. My system is composed by the board PCI-MIO-16E-4 connected to a adapter NI 183139B-01 so i can exit with a ribbon flat that reach a SC-2050 shield. I don't understand the pinout:

 

I have seen by the datasheet that the PCI have a pinout as in the image1 but in the SC-2050 this is change as image2. Where the pins are swapped? In the adapter? 


NI 6733 Not Recognized In MAX

$
0
0

I am having issues with getting MAX to see my PCI 6733 (and a 6713 as well). The cards use the BNC 2110 connector, so I have configured that.

 

My first thought was the drivers.  I installed the most recent drivers and in my PCI Bridge in device manager I have the following

 

C:\Windows\System32\drivers\nipbcfk.sys

C:\Windows\System32\drivers\nipcibrd.sys

C:\Windows\System32\drivers\nipxibrc.sys  \

 

Any troubleshooting ideas?  I am running LabView 2012 64 bit and I have Windows 7.

Recovering deleted devices in MAX

$
0
0

I am using a PCI device in MAX.  It recently went unnoticed in MAX, but it showed up in the device manager.  I saw a couple posts that I should just delete the device.  So I did that.  That did not work, but now in my data Neighborhood, all the virtual channels associated with that device are gone.\

 

Is there any way to recover this?  Or when I get the device to show up (different problem) in MAX will it automatically remember that information?

Using multiple PFI inputs for a single trigger

$
0
0

Hi,

 

I'm currently using an X-series PCIe-6323 multifunction card running on a Windows 7 PC. For this problem I'm programming in visual c++. I want to trigger an analogue output based on either of two digital inputs (which I must keep separate from each other) but when I try and specify two PFI channels for the start trigger, I get an error.

 

As al alternative, I tried setting up two separate analogue output tasks, each generating the same signal but delivered to different output channels (which I can then combine) and each with a different PFI channel specified as the start trigger. However, this also generated an error (perhaps because you can't have two AO tasks running at once even if they are controlling different AO channels).

 

Can anyone suggest a workaround?

 

 

analog signals "simultaneously" USB DAQ 6210

$
0
0

Dear all, can I detect two analog signals "simultaneously' , using NI USB DAQ 6210 ?

starting a read task, after a write-task was active, all lines (even outputs) will be set to zero

$
0
0

Hi...

i ve som problems with simple daqmx read/write.

I'v got a DIO24 pci card (NI PCI-6503). the card has 3 ports by 8 bits,  wich each can bi configurated as input or as output.

 

When i start a read, i stop the write-task and start the read-task. the problem there is, that starting the read-task (with DAQmxStartTask), all lines of this port are going to zero. i only have two input lines, the other are outputs.

 

is it possible, that starting the read-task dont clear de whole port ?

 

i'm programming with the daqmx lib over labwindows cvi 2013 ...

 

thanks and excuse my bad english

 

king regards

 

lukas roder

Viewing all 6883 articles
Browse latest View live


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