NEITHER USB 6008 AI acquisition and generation of pulse
Dear users of LabVIEW,
Greetings for everyone. I am a beginner of LabVIEW and I have a problem that I solved partially. I would really appreciate your help and suggestions that I searched for days without a bit of luck. The problem is as follows:
I am the acquisition of tension HAVE (continue) 4 to 8 accelerometers. In the meantime, I send you a digital output signal each time when you click on the sampling frequency (i.e. 1000, 2000, 3000,...) If the sampling rate is 1000). In other words, try to send a signal of output digital (at a frequency n Hz) at intervals of 1 second (depending on the material). To make the digital output signal begins to blink a LED every one second. In addition, I need to write signals (voltage) AI and the LED blink timestamps PC (software) separately. All stages of the above are followed in my .vi program, but the real hardware/software level operations kill my timestamps. In other words each LED flash timestamps are not accurate, when I use LabVIEW measurement file express VI (the difference is not at least to the third decimal). In addition, the timestamp is kinda OK when I disable the file LVM write VI. Onemore thing I've noticed is that physically the LED blinks every second two times, I feel it's because of the shift register and loop delay of a second. Is there a way to control the speed of blinking (i.e. Boolean State must change to every 500ms without delaying the inside while loop).
Results and comments:
LabVIEW 2011 .vi, timestamp of files with or without generator of LVM (express VI) files are all attached. Please note that there is a considerable amount of drift in the consecutive timestamps when the file LVM generator is used, on the other hand there are derivative of 0.001 ms when the file LVM generator does not. The reason for horodateurs PC have is about aligning the various measures or observations or events to global time scale.
Please give me any suggestions or help me do at least accurate to milliseconds in VI of witten. Finally, is there any USB DAQ module relatively inexpensive which allows to send an impulse to directly from channel impulse of output digital channels when the "n" sampling frequency Hz is obtained by level of material which could all be accurate, so that the software timer is completely reduced to a minimum. Although there are very material sophistiated of NOR, but our goal of this project is to build and test the system profitable.
Thank you and I really appreciate your time and effort inavluable. Have a great weekend!
Just change the samples to the constant playback at the entrance of the DAQmx Read.vi from 1000 to 500.
Lynn
Tags: NI Hardware
Similar Questions
-
NEITHER USB-6008 connect to thermocuples and pressure sensors, control valve
I am endevoring to build a gasification plant biomass for bench scale test process control plans. NEITHER USB-6008/6009 will be adapted for use as a data acquisition. I'll take RTDS, thermocouples and pressure sensors. I don't want to use industrial automation controllers. It is also possible to use the channel of analog output for sending signals to a control valve position (using sufficient current/voltage between the two drivers).
(1) OK. I just wanted to be sure that you were aware of the potential dangers.
(2) an RTD is a resistance that has small changes in resistance per degree of temperature change. To measure that you have need of a current source and a sufficient resolution in order to detect small changes. At 25 degrees C a typical RTD is 109,73 ohms and resistance ohms 0.38 per degree changes. If you had 1 my crossing this RTD voltage through it would be 109,7 mV and the voltage change of 0.38 mV by degree.
The resolution of the 6008 on the most sensitive range is 0.49 mV > 1 degree. The accuracy of the 6008 is 1.5 mV typical.
For a Type K thermocouple, voltage at 25 degrees is 1.407 mV and change by degree is 39 µV. Millivolt solving half of the 6008 translates into about 12 degrees.
If you need a source of excitement for RTD and a kind of amplification for thermocouples and RTD before she would make any sense to try to use USB-6008.
(3) I have not used anything except LabVIEW with DAQ devices and drivers. I think DAQmx can be used with MATLAB and other languages.
(4) the 6008 is the low range made by NOR. You will need to go to a more expensive camera or add signals conditioning circuits. Talk to your representative OR assistance in the choice of a suitable device.
Lynn
-
Continues RT Acquisition and generation LabVIEW
I was referencing this example for a real-time application, I write:
Continuous acquisition and generation reference example LabVIEW Real-time
http://zone.NI.com/DevZone/CDA/EPD/p/ID/5366
I use the exact code provided. I have run the vi host, configure the target primary vi to the IP address of my computer and HAVE AO point cards on my system. Just like instruced in the comments. The front panel of the host displays my data correctly. Although time is not apear update waveform graph. The program expires correctly after 10 seconds.
The problem is the PDM file. The tdms file created is a stupid idea, nothing coherent when I go to open in Notepad. I see that the code is evaluated at 2.33 out of 5. Y at - it a correction for this code, or a better example to use?
gardma wrote:
The problem is the PDM file. The tdms file created is a stupid idea, nothing coherent when I go to open in Notepad. I see that the code is evaluated at 2.33 out of 5. Y at - it a correction for this code, or a better example to use?
Of course you can not read the file of PDM, you're not a computer
TDMS files are written in binary, so try to read in Notepad will be meaningless.
You need to convert to something readable as ASCII the first
-
NEITHER USB 6008 voltage offset using CSR and measurement of diff.
Hi all
I am currently trying the NI USB 6008 housing and I'm getting problems when reading voltage analog using CSR or differential.
So basically, what I want to measure is a PWM signal (0 to 12V), which is divided by a divisor of tension (by two). But instead of measured 0V and 6V
I am in a position a constant 0.8V and approximately 3V.
On the side of digital data acquisition, I give you on impulses for the SSR... and it works fine.
I connect it that way: http://digital.ni.com/public.nsf/allkb/95CC0CB11D7DF3D18625712E000C4ABD?OpenDocument
Would apreciate any help
Best regards
EDIT: Attached graphics acquired are
What is the impedance of your voltage divider? The input of the USB-6008 impedance is not very high. If the impedance of the partition is large, it could cause the effect you see.
Lynn
-
NEITHER USB-6008 and Linux Comedi compatibility
Hello!
Could you tell if NI USB-6008 compatible with:
-Driver Linux Comedi
- NI DaqMx Base
If it is compatible, please give me the link for documentation on installing and programming.
Thanks in advance,
Vadim.
Hi Vadim,
What version of DAQmx Base you trying to install? I recommend you to install NI-VISA first, version 4.5, here. Please let me know if this does not work!
-
NEITHER USB-6008 can measure an AC voltage
Now I am doing a project, but don't know if DAQ can measure an AC voltage or not, the acquisition of data that we use is USB-6008.
Yes, it can measure AC in the range of +/-10 volts and have a sampling rate of 10kS/s.
Application engineer OR
-
Dear all!
I'm looking for help on the NI USB-6008 case. I'm putting in place 4 K thermocouples using this USB-6008 4-channels. I made an express VI in the Labview 8.5 and I have installed all these 4 channels in this VI. The VI is attached for your review! Come to the problem! I get strange readings of these 4 channels even if I have no thermocouple connected to the terminals with respect to this USB-6008. Please help me and explain what is happening? Why am I getting these strange temperature readings while there is no connected thermocouple?
Greetings to all!
Tajim
Dear all,
I'm sorry for not attaching the screenshot of this configuration! Here, it's this time!
Kind regards!
Tajim
-
Hello
I have a problem with some NI USB 6008 OEM.
They do not work! I have attached to my PC and the light starts flashing, Windows detects new hardware and everything's fine (the same way it usually works with the regular OEM-NIUSB6008 Board, not).
Suddunly led turns OFF, and the jury never come back to life again. I run the MeasurementStudio, and I see the boards with a red cross or without serial number (when they are shown as if they were present in the system).
I bought 10 boards and I don't want to try with anyone, because I don't know what is happening and I don't want to kill them all :-(
We have developed some equipment with regular tips and there is no problem... What is the mystery with the OEM ones?
Help, please.
Thank you!!
Hi Luciano,
Thanks for your response and documentation on the flashing led behavior. It helped me a lot to know that if the led is flashing, it could be because it is not properly initialized.
In fact, I had the 8.1 DAQmx version installed on my PC that worked perfectly well with regular advice to the NI USB-6008 (boxed version).
When I plugged the OEM boards, the system seemed to load the drivers and then a message pops up saying "your device is ready to use", but as you know when I opened MAX he didn't have a serial number, or sometimes, he appeared with a red cross.
So, I downloaded a newer driver: DAQmx 8.8. ... I installed it on my PC (first remove DAQmx8.1) and it worked
So, the problem is solved! The problem was, I think, because of the bad initialization of the device. The problem is solved by installing a DAQmx 8.8 version. It works very well with regular and USB-6008 OEM boards.
-
NEITHER USB 6008 tension problem reading
Hello
I am trying to program a USB-6008 on a mac. When I connect to the input to analog 5V output I get a reading of 3.67volts, while on an osscilascope, I read a 5volts voltage. Is this normal? Need to load resistors? Also, I get the same effect with the release of tensions for the analog output.
Hi Zepp2,
Thanks for your post. The pins are you connect together on your device? Depending on the type of connection you have the wiring may not be quite right.
I found a few documents online which hopefully should help you:
Field of connection for analog signals: http://zone.ni.com/devzone/cda/tut/p/id/3344
USB-6008/6009 Getting incorrect voltage reading: http://digital.ni.com/public.nsf/allkb/95CC0CB11D7DF3D18625712E000C4ABD?OpenDocument
Input analog USB-6008/6009 reads about - 1.4V Offset: http://digital.ni.com/public.nsf/websearch/E687933C5694AB00862570BD00593CA3?OpenDocument
Please let me know if one of them will help out you.
Kind regards
-
NEITHER USB-6008 outputs in series to generate 10 V
We wonder if it is possible to connect the AO0 the AO1 as a series voltage source that generates 5 + 5 Volts?
The datasheet is not say, do or not, but he says they are independent.
Worst case being short, one of the outputs short-circuit if the ground is common?
-
acquisition and generation of signals synchronized redpitaya impetus
Hi, I'm new in collaboration with redpitaya and labview.
I've been trying to get the example of the "generation of signals a synchronized pulse and acquisition" has worked with labview. But I have a few problems.
FISLY, when I downloaded it, some varibles where the wrong type, so connection could not be made (fig. 1). So I use a block converter (from string to number) in order to solve this problem, because he wan't work I changed directly two of the entries from string to number and I kept the conversion of the rest of the string variables (picture 2).
I was getting an error, but the example did not work properly. When I play run, it only resgisted noise, but not the signal that it was created (image 3). I changed the table (chanel I used, amplitude, frequency, the shape of the signal itself)
To check that the wire and the RF input and output was OK I tried to change the signal, put it on my hand and the change in signal to noise, but there was still noise (picture 4). I tried each entry and exit, but I still have the same signal: noise.
To conclude: I can't do this example to work.In addition, I have a question on this example, the labview and Redpitaya libraries: How can I change input 1 input 2 and from exit 1 to exit 2, because I don't see that option 1 of chanel and chanel 2, but it does not say what combination of input and output is. and I can't find the block to edit entries and exits
If anyone has had the same problem, how to solve it?
Thanks in advance!
Entries you 'fixed' are not numbers, looks like they are channel names. The representation has changed some time ago, but it is an example of the former.
Mike...
-
acquisition and generation of signals
Hi all!
I'm new to labview and I need help. I am trying to acquire and generate data to two devices simultaneously. I reached successfully synchronous acquisition, but the problem I have is that whenever I run the program it is not compatible. Can someone help me and take a look at my code?
-
NEITHER USB 6008 help to order 3 relays.
Hello! I have a DAQ 6008, and I need to control the three relays for the filming of lights, so I scored a VI to activate the relay through three buttons. My problem is that I don't really know what kind of relay that I need. I need something like 5VDC to 230VAC. What do you recommend?
You will need a driver-relay or transistor to provide current to fly this relay.
On a datasheet for the relay, tried google? The part number printed on the side of the relay.
The ULN2003A is a good relay driver. A 2N4400 transistor will do the job too. Both are very easy to connect.
-
Counter the acquisition and generation of simultaneous signals of Daqmx triggered
I am writing a vi that collects the data of a specific length (1000 points) when writing the data of the same length on another port on the same card (PCI-6052e). Collection and production are both triggered by a pulse of a counter on another Board (PCI-6711). I am able to trigger both successfully, but not at the same rates and not to the desired resolution. The generation of waves and the collection forms should be 8 msec in duration. I have attached the screws. Any ideas would be appreciated.
Thank you
Jordan
Eventually clocked continuous generation, but the displacement of the wave write vi DAQmx out of the loop (just before the beginning of vi), and this fixed the calendar.
-
USB 6008 data acquisition: automatically turning in a port
Hi all someone could please help me.
I need to autoamtically send output didgital since my data acquisition based on a value. the bottom of my little project. I read in a database if a value is equal to a certain value, I want to send a digital camera of the signal of acquiring data in a relay, so for example if the value 1 database generates a digital signl 0 7 port line.
If someone could help it would be much appreciated
So what's the problem with sending AUTOMATICALLY one. You simply compare the value of the database. A comparison function returns a true or false, which is quite ideal to display a true/false signal.
Fix the code you wrote. This is not a service of howework and see some code real goes a long way to get detailed help.
Maybe you are looking for
-
I have the possibility for a few new emoticons on my phone, but they are not available on the desktop version? They will always be available, or can I download these separately somehow? https://support.Skype.com/en/FAQ/FA12330/what-is-the-full-list-o
-
DeskJet 3510 will print offline immediately when Windows wireless
With my brand new HP DeskJet 3510 series, the wireless installation completed "successfully" on windows 7 x 64. However, the first attempt to print immediately-even a test page - sends the printer offline. It will not go online again. But it prints w
-
Tried to install Windows Remote Desktop Connection.
I'm running 32 bit xp pro svc pk 3, ie 8. I have a friend who is running xp home, svc pk 3, IE 8. I want to set up a connection to remote so I can help with fixing on the xp pc problems at home. Search in the forums gave me this site: http://www.micr
-
Shared folders is disconnected and impossible to reconnect to the drive already in use error letter
I have a XP Pro SP3 with all the recommended updates installed as of 10/02/2011 that sporadically will lose connections to all shared folders on the domain controller Server 2003 SP2. The actions will connect and be accessible on initial login/start
-
Deadlock in Windows Update - Windows 7 running on Boot Camp
This is a new installation by using a product key and everything seem to be working now EXCEPT Windows Update - there's always the search. How can I get the life in it?