NI Daq 6008 and Labview
hello;
For the NI 6008 card sampling frequency equal to 10 kS / s and it has 8 analog inputs, but if I will use the 8 analog inputs simultaneously, what is the value of the new échantionnage frequency for each input analog obtained during an acquisition in labview?
The data sheet also says the maximum sample rate for multiple channels is 10kS/s aggegate. I take this to mean that the entire channel sweep is done at 10kHz.
You could always try it and see what happens. Read all 8 channels as a waveform with the sample rate set to 10KHz and see what the dt is in the waveform.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
Hello,
how can I make a recording an analog input in first .tdms file (for example in 1 second) followed by a recording in another file (for example in 1 second)?The simplest would be to configure the DAQmx Streaming feature to write your analog reads to a TDMS file. You can use a DAQmx Read property node to set the number of samples to put into each TDMS file. A new file will automagically be created once that number of samples have been streamed.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
NI daq 6008 simultaneously analog input
Hello;
For the NI 6008 card sampling frequency equal to 10 kS / s and it has 8 analog inputs, but if I will use the 8 analog inputs simultaneously, what is the value of the new sample rate for each input analog obtained during an acquisition in labview?
best regards.Duplicate post - http://forums.ni.com/t5/Multifunction-DAQ/NI-Daq-6008-and-Labview/m-p/3095362
-
my daq 6008 wil not drop the 5V on a digital output after the VI is stopped, i have a digital signal going from the error out on the daq in the while loop to the error in on the daq outside the while loop and a boolean going to the data of the daq outside, but i can t seemto get it to work
i attached the block diagram so you can have a look
Attachments:
PID Temp control.docx 120 KB -
Is Windows XP supported, and by which versions of NI-DAQ and LabVIEW?
Which versions of NI-DAQ, LabVIEW, and LabVIEW Run-Time run under Windows XP?
For all Windows/LabVIEW/Toolkits compatibility questions, check out this KnowledgeBase.
(I know this is a pretty old post, but I'm replying anyway for posterity.)
Happy developing!
Sarah K.
Search PME
National Instruments -
DAQ and Labview on different partitions
Hello,
I installed DAQmx (8.9) on a C partition and Labview (8.6) on a D partiton but LV does not see DAQmx ?
Is it the reason ?
I tried to edit the path the palette (I would have like to just replace the D by a C), in fact LV looks for in C:\Na......\menu.mnu.
I also tried to add a palette, but then a lot of VI are missing.
I also wanted to modify the labview.ini, but I was not able to recognize the path to the palette tool.
To I tried to reinstall LV from the DVD and when it asks my for the driver, I tried my own installation, but the installer asks me
insert media for the driver. I do not have the media for 8.9 (the one on the media is 8.7.9 if I am correct), so I tried to
give it the path of the dowloaded file(NIDAQ890f1) as well as the path to the directory where I unzipped the dowloaded files,
but any of thoses paths are accepatble for the LV Installer.
Is it not possible to have a separated installation of DAQ and LV ?
ThankHi pdupre,
i never tried to install it on different pations, but in which order did you install it? You first have to install LabVIEW and then the Driver.
Hope it helps.
Mike -
I have been trying to program for some new experiments and have a vi setup to record the time-of-arrival for a signal using buffered event counting on two channels. We really wanted to be able to measure the frequency of the incoming photons on both channels and thought we could just make a sub vi using simple event counting and count the number of rising edges on a source pin for a second and report that number and repeat the measurement until we were done..
All of our vi's have to be programed using the Traditional NI-DAQ drivers as the NI-DAQmx drivers do not play well with the FIFO overwrites on the 6602 card that occasionally occur in our measurements (high instantaneous count rates from bursts of photons). The way other groups using the 6602 card and labview have dealt with this is to ignore the error that come from the Read Buffer.vi used with the Traditional NI-DAQ drivers when a FIFO overwrite occurs. Trying this same technique with the NI-DAQmx drivers has not worked so we are stuck with the old drivers.
With this all said I made a vi that counted the freqency on one counter just fine but when I adapted it for two channels it doesn't like me anymore
I attached the llb file and any comments would be greatly appreciated
-Shane
Attachments:
Counts per second.llb 202 KBHello Sprice,
Browse the shipping examples according to “Directory Structure” and then select
DAQ to find the Traditional DAQ examples.
There a lot of examples that are written for counters (Counter >>
daq-stc.llb >> Count Edges (DAQ-STC).vi).
What kind of signals are your photons creating? Are they TTL compatible at a certain
frequency? You don’t care about overwriting
your buffer?
Respectfully,
Rob F
Test Engineer
Condition Measurements
National Instruments -
Can I use USB 6008 with LabVIEW 6.1 RT?
Hi there,
I've been using LabVIEW 6.1 RT for my applications and so far I haven't felt the need to upgrade.
However, I decided to try the USB 6008 and I'm learning the hard way that this device will only work with NI-DAQmx and apparently not with the latest NI-DAQ 7.4.2 (legacy) In fact, I can't see the device in MAX 4.1
Is there any way I can use the USB 6008 with my 6.1 RT version of LabVIEW ? or should I send the thing back to NI ?
I will appreciate your guidance on this issue.
Thanks a lot,
atHi at -
Allisso is right. There is no way to use the USB-6008 with LV 6.1, because neither of its drivers (DAQmx and DAQmxBase) support that version of LV. You'll have to either upgrade to a current version of LV or work with another device. I recommend contacting your sales rep at NI for help.
David Staab, CLA
Staff Systems Engineer
National Instruments -
Separate Analog Input/Output Tasks for Multiple USB-Daq 6008
Hello, In my application I'm using two separate USB-6008 DAQ devices, they are to be used simultaneously,
i.e both tasks will start in a same loop, there are both writing to some channels and sampling some data from
some channels, the problem is, when I'm trying to define a task, via Daqmx base Configuration Utility, I
sucseed at defining the task, for the first Device, but unable to define nearly same task but for the
different Device, since the OK button is grayed out (Disable).
I'm using Labview 7.1 and a NI-Daqmx base ver. 2.0
Following attachment shows what I'm talking about.
Attachments:
daqmxbase.JPG 59 KBActually it is not the easiest to use the full version of daqmx is easier, It is also very easy to set this up in MAX (measurement and automation explorer) What version of labview are you using. have you made sure that the device is recognised in MAX and that the device number is correct. i have a couple of 6008 and have run them alot without any trouble so it must be the way you have things setup. Could you post a section of the code that gives you the error. also try running each device in max with the test panels for each one and see if it works there.
Joe.
"NOTHING IS EVER EASY" -
Random Differential Voltage Drop (DAQ 6008)
While measuring a constant voltage of 5V with the DAQ-6008 I get voltage drops (from 5V to near 0) randomly and for very short periods of time. I've found the same issue even when using different voltage sources. I am attempting to use the voltage on this particular channel as an analog trigger. So, as you can infer, the random voltage drops cause unnecessary triggering. Any Ideas?
RegardsThank you for your response.
I am including all of the requested information:
1. The LabView vi
2. .txt data output file (open in notepad)
3. A picture of an example setup I am using to test the triggering system (note, this is one of several setups that all have the same triggering issue)
I'm certain the connections are not the problem considering the simplicity of the test circuit as shown in the attached image.
I have my DAQ-6008's ai3 port hooked up to the voltage input (the battery pack as shown in the picture, E.G.). Normally, the ai3 port would be connected to a binary sensor that ouputs either a 5v output or a 0v output depending on the presence of an object. As you can see in the vi, I am attempting to compare each of the incoming ai3 voltages to a value (4.5); if the incoming voltage rises from 0V to above 4.5V, a true signal is outputted and the trigger should activate once by incrementing the wheel count once. The problem presents itself here by incrementing the wheel count randomly even if a constant voltage source remains above the 4.5 threshold value. You can see in the data file that all of the values are 5.208543. Again, this constant voltage is exemplified by the battery pack in the picture. There is no random incrementing if the voltage source remains at 0V.
Attachments:
ME481 DAQ WORK 10.vi 110 KB
IMG_20111128_131137.jpg 777 KB
test_11-11-28_1300.txt 694 KB -
Can DAQ 6008 control degree of servo motor ?
Hi, I'm new using DAQ and LabVIEW. I've project to control degree of servo motor. can device NI-DAQ6008 control it? I ever used pwm example but I had some error before the program running it.
example motor servo which I want control.
thank'sHello NMaolana
This is another thread that actually talks the same issue https://forums.ni.com/t5/Multifunction-DAQ/usb-6008-dc-stepper-servo-motor/td-p/2320144 and in there you can see that you can't do a proper control for a servo due to the jitter given the fact that this device only has software timed outputs. If you would like, read through said thread.
Juan B.
National Instruments -
Hi,
I am using NI LabVIEW, NI PXI 4071, and NI PXI 6070E to measure current through a variable resistance. Now, I am using one channel from SCB-68, but I want to add another channel in parallel so that I can have two resistors instead of one that I cam measure current through them.
I have attached a Pdf file showing the setup for hardware in use and LabVIEW code also.
Can anyone look at these files and give me guide lines or ideas that can help me resolving this issue, please.
Thanks in advance.
Best Regards,
Shaheen.
Solved!
Go to Solution.
Attachments:
IV copy for HS.vi 55 KB
Layout of NI Cards.pdf 248 KBYour 4071 can only do one measurement at a time. Your DAQ cannot measure resistance either nor has it got any analogue inputs.
However, you could use a multiplexer and multiplex your 4071 DMM. This wont give you simultaneous measurements but can acquire data one after the other, the speed is obviously dependent on the multiplexer you choose!
Hope this helps.
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
Getting the data in file using DAQ assistant in Labview
I am using SCXI 1000 chassis, SCXI 1125 input module and SCXI 1320
terminal.
I am using DAQ assistant in labview to obtain temperatures and store it in
a file. The experiments run the whole day and I need the whole data
generated during this time to be stored in a single file, but I am unable
to store it in a single file.
Can someone please give me some insight as to how can I achieve this?Hi Mr,
It would be helpful to see your code to see exactly how you are acquiring the data. Are you doing continuous buffered measurements? Or are you performing single point temperature measurements in a while loop?
Either way you will want to use the "write to spreadsheet" VI in your loop. Simply wire your data into the "write to spreadsheet" vi and se the "append to file" input to TRUE. This will make the data add on to the end of the file with each iteration of the loop. The "write to spreadsheet" VI is located in the file IO pallette in LabVIEW.
Thanks,
Sal -
How to arm channel 1 of a PCI 6133 DAQ card using labview?
Hi,
I am new to the Labview and I need some help. I have a PCI 6133 multifunction DAQ card and I'm using Labview 8.2 to capture five channels waveform data. I setup channel ai0 to be the trigger channel and I need to capture data from ai0, ai1, ai2, ai3, and ai4 when ai0 is trigger.
Question:
1) I am using DAQ assistant to configure my channels. How can I arm the channel ai0? I have an "execute button" and it should arm the scope when I click it.
2) Is there trigger ready signal, so I can save all the channels data when channel ai0 is trigger?
Can anyone provide some help?
ThanksHello wirte spreedsheet,
Thanks for posting to Discussion Forum. It looks like you are using the
PCI-6133 to acquire analog data from ai0:ai4. You want to use ai0 as
the trigger for the other channels.
Does your application need to be retriggerable?
Are you doing continuous acquisition?
Are you doing Analog start trigger or reference trigger?
Take a look the following shipping examples, found in LabVIEW click
Help>>Find Examples. On the browse tab, Hardware Input and
Output>>DAQmx>>Analog Measurements>>Voltage:
Cont Acq&Graph Voltage - Analog SW Trigger.vi
>> This example demonstrates how to perform an analog software
triggered acquisition. The example allows the user to specify the
triggering condition and the number of pre-trigger samples to acquire.
Cont Acq&Graph Voltage - Int Clk - Analog Start.vi
>> This example demonstrates how to continuously acquire data
(Waveform) using the DAQ device's internal clock and an analog slope
start trigger.
Take a look at these applications and let me know if you have any questions or comments.
Have a good day.
Regards,
Sandra T.
Applications Engineer | National Instruments -
Set up and control "counter" in S7-300 by OPC and LabVIEW
Hi everyone,
I am using a PLC S7-300 and OPC Server for my projects. I have a problem: S7-300 has a counter module which count digital signal. I only can set it up by using SIMATIC STEP 7. Can I set up counter module by only using OPC Server and LabVIEW
does anyone have any solution or any idea for my problem?
could you please help me...
thank you
Solved!
Go to Solution.Hi Echion,
NI-DAQ(mx) is used just for NI-Hardware: no you can't use it.
To program the PLC you need to use the right programming environment. For Siemens S7 you need to use Simatic (or maybe some other 3rd party software supporting IEC61131). Point.
The OPC server is used just for data exchange. It's no programming interface!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Maybe you are looking for
-
hi all i am using sap business one 2007b as soon as i start xlrepoter its giving an error like " Unable to connect to XL Reporter, Error! server connection failed,cause ActiveX comonent cant create object". can any one help me to solve the problem. r
-
I am not able to backup my Iphone to Icloud because my wi-fi is greyed outon my phone. The wi-fi button will not slide to the ON position, therefore, Iam unable to backup my phones contents. What can I do? I need to save my pics, info....etc, becaus
-
When I take photos using my flash, the photos turn out dark?
I cant take photos with my flash because it will show as a black screen or a really dark image as if I did not use the flash. What could be the cause of this? Is there a way to fix it myself?
-
Can I assign some SSIDs to some specific APs in the mesh network?
Hi All, We are thinking about putting a mesh network in the site. But some wireless client only work at some specific area and they are not moving around. So I want to limit that ssid only at that area. So I wonder whether I can assign that ssid to 1
-
Random behaviour for multiple JSP
I tried to create Oracle PDK java portlet that will have multiple JSP. Which i want to call one after the another in the flow. I did created in entry in provider.xml sas follows <pageParameterName>rs_next_page</pageParameterName> My JSP has sample co