several channels switch scanning DMM

Hello

I use DMM (PXI of NI 4071) and switch (NI TB 2627). I want to make the measurement by scanning of a channel, then start to measure, after that, go to another channel and start measuring again (the so-called syncronous).

But I have problem in my code to display the output of each channel. I can just show the output of channel 0 only.

Here, I am attaching my code. Instead of display the output of the channels, in fact it can only show the output of channel 0 according to how many samples that I want. Which is why I'm trying so hard to show output from the other channels.

can anyone help?

Thanks for your help. =)

Sorry, my code is very messy.

Try changing your code as shown in the attached file.

Tags: NI Software

Similar Questions

  • Error in the capture of several channels using pre-trigger

    I have problems of acquiring data with pre-trigger samples during the capture of several channels, using hardware NOR-PXI-6071E and Analog Input VIs in Labview (inheritance OR-DAQ).

    My goal is to trigger a signal, while capturing another. Unfortunately, I can't use the PFI0 for external triggering, as our cables/material have already been built, so I have to use an analog input as the trigger channel. I understand that to do this I must capture the two strings and the string I want to trigger outside must be the first string in the list.

    If I trigger and capture on the same channel (I tried 1-4) then it works very well, regardless of the number of samples before relaxation together. If I capture more than one channel (the channel of the relaxation to a first), with no pre-trigger samples, then trigger and capture both work very well. However, if I do the same thing with pre-trigger > 0 sample I get the following error:

    Error-10621 to AI control. Possible reasons:
    NOR-DAQ LV: The specified trigger signal cannot be assigned to the resource for the trigger.

    I don't have to such limitation explained in the user manual, and the forum search, I found a few other people who have had the same problem but they had no solutions. Any ideas?

    Hi Jackson,

    Unfortunately, this is a hardware limitation when you reference analog trigger via one of the lines to HAVE.

    Please see this knowledge base. Particularly the second paragraph says

    The error-10621 appears immediately when the VI running if you try to assign scans of relaxation before while scanning multiple channels and using one of the entries as your trigger channel.

    Details are explained in the third paragraph:

    Because all the entries are multiplexed before being sent for analog triggering circuit, it is possible that the trigger on the trigger channel conditions might miss while the device is multiplexing by another channel. In this case, the trigger will not be detected.

    It is explained in the E-Series user manual page 10-3.  Specifically the second paragraph of the section entitled "Analog Input Channel".

    Eric S.

  • Several channels AND DAQ

    Hello!

    I have a problem regarding the acquisition of data from multiple channels. I get a channel data in time, but when I try to do a similar code to get data from another channel, it will not work. This can be done with the DAQ assistant, but I want to avoid this solution, because it slows down the program a little.

    The snapshot accessory show how this is done for 1 channel. Can I use a similar program for the acquisition of several channels?

    Thanks for your help.

    You must only specify several channels in your task - i.e. Dev1\ai0:1 and replace the DAQmx Read N channels. Go to the task in MAX and click the channels button Add. Follow the directions.

  • DAQmx create several channels of

    I downloaded the program entry OR bridge-continues and tries to modify it slightly to allow several Wheatstone bridges to connect. Currently, it has the ability to connect to a single channel but don't not to acquire information from several channels simultaneously. All information regarding the shunt calibration, bridge information and waveform graphic output remains the same. Ideally, the program displays the greatest value in the final waveform graph, but it is fine if it shows separate graphs for each of the two entrances. I was playing with it without much luck though if I start from scratch and you use the DAQ assistant, I'm able to get information without penalty. Any help would be appreciated.

    In fact you are 99.99% of the way.

    You just need to 4 characters

    The name filtering on this control is even properly defined to allow multiple selections and just shift click on the second channel

  • Use several channels in the order of RT

    Following this post, and based on a simple sequence of RT that monitors a single channel, now I want to control multiple channels with setting specific time and level. The logic of this was to pass an array of strings that you want to monitor in the .vi create sequence parameter assignment (channel) and use arrays to manage all the time and level settings.

    However it seems that the sequence of RT cannot manage this type of object... so, how do I extend this functionality to several channels... Maybe that's the wrong avenue to use rt sequences?

    L.

    ... well, I look at one of the approaches is to create several calls sequence on a given sequence, each with different settings, then start them all in parallel. It seems to work for the moment.

    A simple question as opposed to events is used (for now) to detect when each called sequence stops and returns its result.

    Laurent

  • Dynamic data of several channels in table, then save in Excel

    Hello

    I am acquiring data from several channels (4-5) and I'd like to collect samples at low rates (10 Hz for 3 minutes max). For various reasons I use Dynamic Data type, although I know that it is not the best way (some say it is a wrong data type ). I also want to save data to a file (the best option would be data excel file).

    If I acquire data 10 times per second, it is quite slow to save in excel (this is the slowest option of all types of data). So I would like to fill a table or matrix of acquired data and then write Excel file (I use scripture to measure file). But I don't know how to do - if I convert DDT in DBL, build an array and connect it to change registry, it works but I lose the information in column names and I'm wasting time. If I connect to build the table a DDT and then shift record another, it returns the table 1 d of DDT. I would like to have 2D DDT, which collects all the information loop.  Is there a suggestion how to solve?

    I'm sure it would be easier solved my problem with the double data type but I also use select signals VI which is the VI I am not able to replace at this time.

    Good day

    Lefebvre

    I don't know if there is a question here, or what.  Doing what you say you want to make, acquire the data of 4-5 channels at low rates (10 Hz for 3 minutes) and save the data in an Excel file (I assume you mean really Excel, i.e. a file with the extension .xls or .xlsx) is really a very easy thing to do in LabVIEW, especially if you are not using :

    • DAQ Assistant
    • Dynamic Data
    • Write to the action file.

    Indeed, you seem to realize this, but I guess you want to 'do the hard', in any case.

    Good luck.

    Bob Schor

  • At the same time Record several channels in DAQ

    I'm currently configured to play two channels in data acquisition using DAQ Assistant. I wonder what would be the best way to go on the sampling of these channels at the same time, or as close as possible. The vi that I currently use is attached.

    Thank you

    Sawyer

    DAQmx manages the calendar under the hood and does it quite well.  If you want to change advanced sync settings you can, but of course, you will have to abandon the DAQ ASSistant and write a LabVIEW code.

    I assume you are using a multiplexing card right?  The only real solution for true simultaneous sampling is to buy a card that has several a/d converters like the S series cards.

    For the second poster: you do not have the same problem as the op.  It can be implemented in multiple channels.  If you want to help, you must provide further information that "it gives an error.

    EDIT: I bet you are trying to use separate tasks for each entry, aren't you.  If you do, you'll get a resource conflict error.  You must use a SINGLE task and set up several channels in this task to collect more than one signal.

  • FFT on several channels in FPGA

    I have a client with a 9076 (Spartan-6 LX45) who wishes to perform the FFT on several channels of a module of 9205.

    I never run FFT on several channels and never run out of space on the FPGA before, but I strongly suspect that this could change that.  Before I start to code this and play, someone can experience with this scenario - that offer you an optimal architecture / let me know how many channels can I expect to treat?

    Hey Jed,.

    As someone who has done a very similar application, but with the DC/RMS measurements, I can say with confidence that Yes, this is going to change that... How many channels your client wants to do and what kind of flow? I was able to get up to 64 is going, but it took most all of the fabric, and I had to write my own calculation of DC/RMS multiplex VI. So under a flow of course (I think we had each channel was updated to 1 Hz with 1000 samples per channel). Therefore, when writing a VI that multiplexes across all channel data, you could theoretically get many channels out there, but you sacrifice a flow.

    Basically, I modified the existing Express VI to store its State in BRAM between each call and he's travelled to the number of channels * samples I was doing. Not terribly difficult, but your time trying to find a good balance for the given application.

  • Missing virtual channels PXI-4070 DMM


    Problem has been resolved in office. Cannot create global to the DMM virtual channels as the DMM uses the pilot DMM and global virtual channels are a method of the DAQmx and traditional DAQ drivers.

    LeeM
    NIUK

  • How to parse the input data of several channels simultaneously via an NI USB-6251 box by use of a single DAQ Assistant?

    I did separate VI for reading signals from several channels on a map of NI USB-6251.  I would like to combine these in a VI VI alone so that they can run that at the same time, however, there is an error if there is more that a single DAQ Assistant in the same--> error-50103 VI was held at DAQmx controls Task.vi:32 (the specified resource is reserved. The operation could not be performed as indicated.)

    All the inputs of channel must then be read in with a single DAQ Assistant, but all of the data on different channels are not separated.  Can save this data in a matrix or otherwise manageable which allow to facilitate the analysis of the data from the separate channel entries?

    I tried to view the data in a file of measures, but then when I tried InPort data, I could all the data I wanted.

    Hi AggieGirl,

    Good afternoon and I hope that your well today.

    First of all, you will not be able to have more than one DAQ Assistant by input analog or analog output task because the device has only one of each. So, you must have a DAQ task to HAVE and AO. (This is not the case for DIO static).

    There is far from split signals using the express VI - signal splitter.

    When you say you saved this file and it does not work, how it did not work? The Express VI - save a file of measures needed to manage multiple waveforms. Can send you your code & explain more about what was not OK on the file?

    Thank you

  • A large flat Virtual pass vs several virtual switches

    experts,

    What is the advantage of having a large flat Virtual pass Vs several virtual switches for all types of traffic of the virtual machine (management, Vmotion, Vm Network). Any improvement in performance.

    What is the advantage to have the virtual machine and networking on two different VLANS.  improved performance or security?

    Our current configuration has a virtual switch with all eight physical NICS are assigned.

    Vswitch 0 <-vmnic0, 1, 2, 3, 4, 5, 6, 7

    |

    Management network (Vlan 100) <-Vmnic0 (active), Vmnic7 (at rest)

    |

    VMotion (Vlan 150) <-Vmnic7 (active), Vmnic 0 (standby)

    |

    The virtual machine network (vlan 100) <-Vmnic1, 2, 3, 4, 5, 6 (all active)

    We will be setting up a new environment Vmware (5.0) and I would like to configure two virtual switches as follows

    Vswitch 0 <-assigning two physical network adapters (Vmnic 0, Vmnic 7)

    |

    Management network (Vlan 100) <-Vmnic0 (active), Vmnic7 (standby)

    |

    VMotion (Vlan 150) <-Vmnic7 (active), Vmnic0 (standby)

    And allowing that Vlan 100 and 150 Vmnic0 and Vmnic7 traffic

    Vswitch 1 <-assignment remaining interface cards physical network (Vmnic1, 2, 3, 4, 5, 6)

    |

    Computer virtual network (vlan 101) <-Vmnic1, 2, 3, 4, 5, 6 (all active)

    Allow only the Vlan traffic 101 on above NIC

    I am thinking propose above configuration.  If I go with above setup, I get an improvement in performance? or other benefits. Please explain?

    sansaran wrote:

    I am thinking propose above configuration.  If I go with above setup, I get an improvement in performance? or other benefits.

    I don't think that there should be no difference in performance in the two installation options that you have. The only advantage to create two vSwitches would be to simplify the configuration, less risk of errors if Setup lots of armies and easier to check quickly as the configuration is correct.

    A small advantage with the creation of a large vSwitch is that you could (if you wish) experiment with the help of multi-NIC-vmotion in ESXi and assign several VMNIC for vMotion and it would be easy to give the VMNIC 'return' for the virtual machines more later if wanted.

  • How to select several channels in the drop-down list for switching?

    Hello

    I use TS2015 SP1 and SwitchExec 2015. I created a list of routes that are now visible in the properties of the step "Activation" in the drop-down list field "Way (s) to connect".

    Here, I can click on an item in the list to select it.

    What can I do to select a second item in the drop-down list?

    It seems that I have to write the second element after the decimal point manually. Is this correct? Or y at - it something to select back in the menu drop-down?

    Thanks for help

    My bad!

    I wanted to say: «M2_C6R6 and M2_C7R7»

  • Number of channels of "scan list" to decode

    Is it possible to decode the number of channels in a scan list?  The example of NOR (niSwitch Thermocouple Measurements.vi) that I use, requires the entry of "scan list" and "number of channels.

    Hello Ddemara,

    If you're multiplexing through a bunch of thermocouple, the scan list will be not complex, then we could easily write code to determine the number of channels.  Our code will have to do the following:

    (1) start a counter with the value 0.

    (2) Iterate through scan list user-defined and add 1 to the counter whenever you find a comma.  The last element will not have a comma, so we will need to add 1 to the value at the end.

    (3) find each instance of a colon (":"), then find the two numbers on each side of the colon, subtract these two numbers and then add them to the value of the counter.  We don't need to add one to the value of end here because we have already included the first item in the series

    (4) the value of the counter is at this point the number of channels in the scan list.

    If you have any questions to set this up, after. Have a great day!

    FYI: The number of lanes in the example you mentioned allows us to recover data from the DMM as the first element of the array is always the thermocouple.  If the number of channels is wrong, extract indexing element 0 will cause plug wrong value to the CJC for thermocouple input scaling of vi.

  • Urgent problem! Help, please. digitizer high-speed, too long channel switching time!

    Dear all experts of digitizer high-speed OR:

    I have a question about the two channel configuration using NI5154 digitizer (see need help to set up an acquisition of two channels using NI5154).

    As we need to make a measurement with NI5154 purchase very soon so a suggested by Efrain such DAQ card is not an option for our next experience. So, I'm trying to configure the NI5154 acquisition of two channels. I have set up the NI5154 to count impulses to both channels. Our experimental set-up will send impulses to channel 0 to 400 ms, then stop. 100 ms later pulses from another source will be sent on the channel 1 to 2 s.  I thought that the dead time of 100ms in our configuration would be long enough for the digitizer switch between channel 0 channel 1. But after some testing, I found that the digitizer takes longer to switch between channels.

    I did a test vi (NISCOPE - Timing.vi) just for the ms count how much it takes to the digitizer switch between channels. In the vi attached, if you run only one channel for a loop takes about 20 ms in my pc. If you run for the two channels, there are about 130 ms for a single loop. If you run a dual channel from the time of the loop is about 40 ms (I mean stop a channel and then re-run the channel).

    I don't understand why it takes so long to switch from channel 0 channel 1.  As I have tested the niScope Commit.vi consumes a lot of time for the second string. Is it possible to avoid this? We cannot extend the time-out for a long time of 100ms of series up so I have to get rid of this problem.


  • Several channels of voltage measurement

    Hello

    I want to measure two different voltages of the two channels to a single device.

    I looked at several examples, which I understand. However, I still can't figure out why my code doesn't work.

    Here is a simplified version.

    Thanks for the help.

    I use a box USB-6211.

    Thank you to try, I just connected a second voltage signal - now everything works fine!

    It was probably a problem of grounding!

    See you soon!

Maybe you are looking for

  • Data card support Mac El Capitan

    Hi team, I have a new Mac book pro 13 "non-retine with os El Capitan. I need a map data for internet connectivity. Someone you suggest which is the map of data taken in charge of Mac. My preferred brand is Dlink. Any brand is fine with which works ve

  • Can I change the descriptions of training?

    Is it possible to change the descriptions of training for Apple Watch? I never use the elliptical trainer or rower so I would have something that best fits my activity. Thank you!

  • Unable to connect WiFi: Services.msc maybe?

    I use several wireless receivers.  A PCI card and 3 Wireless USB devices.  Just bought a brand new Netgear N300 yesterday.  The modem is a type of Belkin N.  I can connect on a laptop that is about 3 years old, but not on my desktop.  I think there i

  • Problems with video files on 8 gb microSDHC

    to understand my problem, you should first read the following problem. [thread quote: http://forums.sandisk.com/sansa/board/message?board.id=sansafuse&thread.id=5849] Incompatibility issue with technology Kingston 8 GB microSDHC memory card and playi

  • MGI photosuite will not load on windows 7

    used this program with windows xp, no problem at all.