Incorrect voltage to a channel with NI9205
I measure 10 tension of cell with a NI 9205 (differential mode, volt min. = 1, maximum voltage = 3).
Everything works fine, until tensions are higher than 2.7 V. channel 17 (cell number 10), the voltage begins to decrease.
All the other channels (0-7 and 16) works correctly.
For example, when the real tension is 2.72, the measure shows 2.64 (and the value is not very stable). The more the voltage of the cell increases more 2.7 V, the more the measure of this cell voltage begins to decrease.
I also connected the voltage of channel 17 to channel 18, but the problem remains. Both channels show too low voltage (but not exactly the same value).
My sampling rate is 15, my conversion of clock frequency is 200.
In addition, I have two NI9217 in my cDAQ-9172 chassis to measure 8 temperatures.
Everything is measured in a task (10 voltages, temperatures of 2 x 4).
Any ideas how to fix?
Thanks and greetings
with 10 cells in a row you are likely well beyond the sides of the 9205 input voltage. Please note that the 9205 offer channel for floor insulation, but not from track to track. The voltage for each channel must remain in +/-10.4 V of the common. With your stack of the cell you are probably larger than this limit and reduced tension that you see is the result of the entry of the 9205 amplifier starts to saturate.
As a solution, you will probably use a second analog input module and divide your channels in the middle of your stack of the cell.
Tags: NI Hardware
I wish I had 2 configurations of channels with MCE. One antenna, the other with satelite. Is it possible to save different configurations and switch from one to another easily?
I hope I got what you want. :)
AFAIK if you are using a standard antenna you should scan all channels and all available recorded under different program numbers. The use of satellite antenna, you will have to find that a single channel because the channels must be modified on the sat receiver.
You can first connect the antenna and scan all available channels. After that, choose an empty channel and manually configure for sat receiver. Login feature, you can choose and watch your channels. On this way, you can also configure the VHS recorder.
I'm calculating and then by creating a cumulative channel, multiple channels. Negative values in these channels aren't necessary, and I need a nice way to replace each negative value in these channels with a value of '0'.
My current code is:
If Data.Root.ChannelGroups (2). Channels (i). Values (II)< 0="" then="" data.root.channelgroups(2).channels(i).values(ii)="0 ">
II = ii + 1
Loop until the second > Data.Root.ChannelGroups (2). Channels (i). Properties ("length"). Value
II = 1
i = i + 1
Loop until I > Data.Root.ChannelGroups (2). Channels.Count
It works, but I don't like. He adds a few seconds when running my script, which was almost instantly. Is there a better way to do it?
The fastest way to go through a channel and check the values less than or equal to 0 is through the canal's calculator. The code below takes all the channel first channel group (with the exception of the first string that is be the weather channel in my example data set) and replaces the values<0 with="" 0="" through="" the="" iif="">0>
Set Group = Data.Root.ChannelGroups (1)
iMax = Group.Channels.Count
FOR i = 2 to iMax
Adjust the strings = Group.Channels (i)
Formula = "= IIF (y '.<0, 0,="">0,>
Call to calculate (formula, Array("y"), Array (Channel))
NEXT ' I
In this example we overwrite the existing values of data channel with 0, but you can also copy the channels to make sure that your raw data is available.
The calculator of channel is extremely fast for this type of operation because it does not create a loop to go if each line separately and check the values he...
I hope this is useful,
I want to multiply all my channles with a constant value say 4.3
So I thought to generate a new string with all its value as 4.3 and multiplying this channel with my current channel. I used
Dim MyChnName, I have
MyChnName = ChnAlloc ("Mass", 2400, 1, DataTypeFloat64, "Numeric") ' Allocate channel of text
For i = 1 to 200
CHT (i, MyChnName (0)) = "4.3" & I "create value of text
But it generates values as 4.31, 4.32... 4.3XXX
I want that all the values are constant. How can I modify my code to do this?
Or multiply all my channle with 4.3 values directly (without creatine a channel) how to move forward with this?
Do you really speak a text - which means «abc123...» » ? According to me, not because you set a digital channel with chnalloc. And in the next line, you connect traction chains:... = '4.3' & I. VBS connection string is just the strings together as "abc" & "123"-> "abc123". I think that this is not what you want to do. If you use a loo, you must set:... = 4.3 + i
But in general, you must use the DIAdem Standard mathematical functions because they are much faster than looping through the unique string values.
In the DIAdem mathematical basis, you will find the functions you need, like scaling, offset correction...
I accidentally created more global virtual channel with a single physical channel, for example:
global virtual channel physical channel
My questions are:
1. How can I change the virtual channel as follows:
global virtual channel physical channel
2-How do I re-name/remove the virtual global channel, when it is not in the task?
Thanks for your time, Dylan
I decided to go head re - install the DAQmx tonight and re-imported the right config file known about it. So far, all global virtual channels are now under the management of devices and interfaces plus all unwanted virtual channels have disappeared - Yippee! I tried to browse a unit test to make sure that the virtual channels work too, they seem good.
Finally, the issue is resolved. I would like to say thank you to you for you and Roberto Bozozlo have spent the time to help me through this.
I want to measure 8 current channels with different values of Shunt resistance.
Problem: The channel create DAQmx (HAVE current Basic) specifies that a value of Shunt resistance.
How can I set the value of Shunt resistance for each channel individually?
Take a look to get attached.
I use card NI USB-6221.
The C API using, I need to generate 6 digital output channels, with frequencies of diffrenet and Heavy duty.
To be more precise, the 2 are totally identical, but I need them to be reversed, and the other 4 are similar to another, but should be shifted in time (I.e. There is a delay between each of the channels).
I used the 2 channels of CO that the USB-6221 takes charge for the first two signals, and it works very well (the two signals are synchronized and are reversed).
Now I need an additional 4 channels for the other vague square.
I saw an articale NOR by JohnP web site with the title:
Generate multiple channels of digital output with different frequencies and Heavy Duty
The following example shows how to create and generate a digital with the non-regeneration wave form so that you can change the frequency and the duty cycle on the fly with the M Series DAQ hardware X. The example uses output digital rather than counters to achieve this, so if you need more output than the available counters, it would be a good option (Note: on the materials of the M series an external sample clock must be provided, this may be caused by one of the counters if you want).
that seems to be exactly what I need, but the examples are for LabView which I did not.
Can someone explain how to do this with the C functions?
The important thing to note is that you can clock of arbitrary digital waveform (up to 1 MHz on the 6221). The real data acquisition programming is pretty easy once you have the waveform. My Example LV used LabVIEW Base generating function VIand then converted to a digital waveform to generate the signal from each channel.
The functions of LV helped tremendously with to achieve the waveforms to be updated on the fly (the basic function generator keeps track of phase for you).
If you do not need to be updated on the fly, then the construction of the waveform in C should not be too bad. For example:
P0.0 [1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0] * 1
P0.1 [0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0] * 2
P0.2 [0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1] * 4
P0.3 [1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1] * 8
[9 9 9 9 9 3 3 3 3 3 6 6 6 6 6 12 12 12 12 12]
The table above U8 would give you 4 output waveform of 50% duty cycle at Fs/20, shifted 90 degrees to eachother. The lines would be p0.0 by p0.3 (the bit rate of the U8 corresponds to what line goes high).
Hey, I'm tasting 4 simultaneous channels to 51.2 kech / s rate for each channel with the NI 9234 module.
I use a callback function to read from the buffer.
I am accept to get to playback 4 channels of 51.2 k * 4 = 204.8 k s/s.
and I still recive data 51.2 kech / s.
Need help, I don't know what's wrong with my code.
I enclose my hope of code it will help...
My installation information:
Material: NEITHER 9234
Version of Windows: XP
Language: Qt (C++)
When you have installed DAQmx, did you also install text code support? There are several examples that should have installed with DAQmx which is very helpful in getting you started. "" "" "They can be found by going to your Start menu, then all programs" National Instruments "NOR-DAQ" NOR-DAQ "support textual Code ' ANSI C examples.
In case you do not installed the supported text based code, I have attached two examples which I think would be more useful to you. Try to run these examples and see if you get the same errors.
It is possible to write all digital channels with a value decimal for a device with 96 channels at the same time?
I have a USB-6509 camera and I want to write each value of Pentecost bit 1 in the loop (for the first transfer I write 0,1,2,4,8,16, 32, 64 and 128) with the line "Dev3/port0 / line0:7", but if I want to write all ports at the same time, how to set the line and the "write.vi DAQmx?
You can configure the reading and writing in the ports of 8 bits with the 6509. For example, you could write just 128 to "Dev3/port0. If you want to write to all 12 ports, I recommend doing a task that is several channels on the 6509 module, each channel of the task being a port. You can then use the channel Multiple, single sample of writing of your values. Your values must be in a table of U8.
I'm trying to find the right place to report this problem.
When library scanned for channels recently that he hasn't found a bunch of DTT hd (clearqam) who are present and unencrypted.
Scanning with the help of the application of the tv tuner has revealed that the channel was present and unencrypted.
He showed that the channels have call signs which were not present in the digital guide. that is a call sign was "KPHO HD" when the digital guide for the channel list KPHODT
I had checked in the list of all channels that find the Media Center and the numbers were not present in media center.
This seems to be a bug because the channel should be found even if no digital guide for the channel is found.
The solution is to locate the actual channels by another application.
Add channels with the guides Add missing channels
Change the channel to have the correct list and the channel number.
Check out these links
TV on your computer: understanding and TV tuners TV signals:
TV signals that are supported by Windows Media Center:
The transition to digital TV and Windows:
Set up a TV signal in Windows Media Center:
This question is more theoretical, because I found a work around. On a layer, I have a gray color, that I sample, and it becomes the desired foreground color.
I would like to fill a selection in an Alpha channel with this gray color.
However, when I view the Alpha channel, my forground color is lost for black and white, I understand, because the Alpha channel is a grayscale image.
But I'm able to taste a shade of gray to a foreground color, but how can I keep my chosen original Gray selected from a layer? The only way I know would be to make a new shade and then use it when I'm in the channels.
Hope I am clear.
Don't know what you're saying. Sampling the RGB would eventually produce the colors 'Sales', aynway. This apart, of course sampling one color produces 3 values for all 3 components that define the color that can be applied directly onto a single channel a sense or the other. If you must have an 'academic' way to fix, you need to associate mathematics channel as for example combining the Red layer with Alpha using calculations of the image or creating a separate channel which holds the light / gray value. However, if your swatch method works for you, I see no reason to geek. Sometimes simple, hacky techniques are most effective...
I AM WRITING A PROGRAM THAT USES A SIMPLE USB-6008 ANALOG INPUT CHANNEL. I WANT TO READ CONTINUOUSLY THE VOLTAGE FOR 60 SECONDS. I WANT TO COMPARE A TENSION FOR THE PREVIOUS OF THIS SAME CHANNEL VOLTAGE, MAINLY FOR THE PERIOD OF TIME MAX VOLTAGE GIVEN, THEN GET A FINAL VOLTAGE READING. THE OUTPUT OF THE VI IS A DBL. I WANT ONLY TWO TENSIONS OF EXPORT TO EXCEL. TO SAVE TIME, I KNOW HOW TO EXPORT. CAN SOMEONE HELP ME WITH THIS ONE.
VI needs an register shift related to the Max & Min function. The current value would be the entrance is and the entrance of x is the left shift register. The max value gets wired for the shift register to the right. Don't forget to initialize it. The output of the shift register is the max you would write and the value of the DAQmx Read out of the loop of wire will give you the last reading.
Your waiting for 45 seconds makes no sense since you said that you wanted to read continuously. You also said that you wanted to read 60 seconds and all this logic is missing. A simple function of time elapsed, it's all you need.
I have a PCI-6229 connected to a SCB-68. All channels are reading 10.56V, even if nothing is connected. I've set up at several ports of transducers and they are all read 10.56V on test device of MAX, but when I measure the voltage on the SCB-68 with a multimeter I am reading values which are realistic and fluctuate. I implemented a regulated power supply to give 6 V, the multimeter confirmed that food was infact providing 6V, but MAX has shown reading as 10.56V. When I unplug the transisters there is no change in the voltage measured on MAX rest to 10.56. I tried a new card of the SCB-68 and got the same readings. When I changed the PCI-6229 map to a map another laboratory measures voltage max match those of the multimeter, so the problem is with my card PCI-6229. The strange thing is that the map of the SCB-68 is connected to a fan, the fan can be still controlled labview, so PCI-6229 map is not completely blown. How is that possible? The card is completely shot (they need: a replacement/repair) or because the card can still control the fan is a different problem that I can fix here?
One thing that you can do the checking of the fictitiously your card is to read the internal channels of the device. In the test Panel, select channel DevX/_calref_vs_aignd. In my view, that this string should read around 5V Read DevX/_aignd_vs_aignd. This should read around 0 V. If these channels read correctly, I'd take a look more close your connections. If these channels do not work, then I think that there is a problem with your device.
I am running a NOR-USB-6211 is connected to an instrument that runs labview 8.5. What I want to do, it's current 1 and 2 channels of voltage measurement channel. All are separate physical channels. I use an express VI to separate the 3 channels on the box USB-6211 and trying to draw on maps of distinct waveform stacked in a way that it respond independently (as they should be physical separate circuits). I can ALMOST that it works. I can measure the current very well. The problem is with the tensions. If I change the voltage on channel 2, channel 3 meets both equally (eg. increase 5V on channel 2, channel 3 increases of 5V); However if I change the voltage on channel 3, channel 2 does very little (such as increase of 5V on channl 3, ~0.05V increase to channel 3). Not the best result, but better than the reverse. Channel 1 is not affected by changes in voltage, but it affects the Channels 2 and 3 (current increase, increase of tension of channel 2 and 3). I have no idea why this is happening. I saw the same thing when I used only 2 channels (current and voltage). When the current (channel 1) is changed, the (channel 2) voltage changes, but when the voltage, the current does not work. There must be a problem with the program because I get the same behavior when I physically disconnect channel 3 (for example, always responds when I change the voltage of channel 2). It seems like it should be a simple installation and a simple solution, but I can't understand it.
I've included a snapshot of the program. I share the channels so I can selectively save some data in a file. I tried to simply connect the VI express to a graphic, and does not either (tensions influence each other). I also tried to replace the cluster with a table, but that did not work or the other. I tried to simulate the data with sine waves and I can get this to work without problem. I don't know what I can do.
Thanks for your help.
interference of signals of high-level signals at low level is normal with inputs high impedance of a multiplexer.
put a short channel shorted inbetween and measure this also but throw the zero.
I installed the software and the USB but I can't locate all channels. There is no signal.
Help what can I do?
What software do you use to watch TV?
I m not an expert external tuner but most often you will need an application like a MCE (media library) to receive signals and channels.
But the first step should be the installation of material success. I think that you have received the software with this external tuner or drivers. So check the installation guidelines and, in addition, you might check if this TV card appears in the device as recognized Device Manager.
Maybe you are looking for
Player updates are saved on my computer is full. I have 24 GB of free on another logical drive. I need to know how to get all the other updates to record on this disc. Thank you
I can do all the stages of merger and mailing in XP, up to the printing stage, but it will not be printed. Also struggled to XP when you try to print a chart since 2005 of the family tree. I have to use a new driver for the printer?
Hard drive of my computer dell laptop crashed. After replacing the drive hard windows would not load so I made a boot xp from my office (also xp) drive. It worked but I had to use the product code of the dektop pc. It is a way to put the good prod co
Hello, pls help.I have brought three named 'field1', 'Field2' and "field3".And the user will be key in a number of 'Field1' and after the key of the user in another number in 'Field2 '.The number will be automatically the number of "field1".If the 'f
I ask that my client, which provides a service to a Paypal button where a customer can enter any amount of the payment. The button pay now seems to require a fixed amount. When the user clicks on the button pay now Paypal window will appear showing a