Cannot acquire two channels?

I'm missing something... I can't acquire mutiple channels. It will work if I delete one of the channels.

glskinner wrote:

If I delete the other creation of channel and create another 'read' inside my time, loop that connects to my first creation of channel... How to stipulate that this new channel number 'read' is?

Not quite.

Create the task with two channels and then your read reads and returns the data from these two strings in an array of waveforms.  Just hint about the desired waveform.  (Or their separate plots on a graph chart)

Tags: NI Software

Similar Questions

  • Acquired two binary channels.

    I apologize if it's incredibly simple, but I seem to be at an impasse. My goal is simple. I want to use Labview to gather acoustic data (sampling at 50 k per channel) since a DAQ card two channels of NOR. I would like to pass these two strings in binary files (one file containing both channels, or one file per channel). Next, I want to be able to use a separate vi to open these files and convert data into .wav (or anything, really; .wav seems appropriate for the acoustic data).

    My problem is that the 'write waveform in the file' tends to create very large files that cause memory problems when opening.

    I tried several variants of use write a binary and reading binaries that have given rise to very mixed data.

    Any help would be appreciated.

    What about using intermediate tdms as binary files? they are standardized, then you do not need to create parser vi-s and have very good performance

    The NI TDMS File Format

  • Outbreak of similar PCI-6251 reference edge does not work with two channels?

    I use this card PCI-6251 to acquire data from two channles of entry. I need to use reference similar edge trigger. the trigger for the chan signal 1 and acquire data from chan 1 and 2 chan. However, the error is that this card can't take two channels with similar trigger edge reference. Please check if it's the PCI-6251 limilation. If so, can you suggest any other card can do this work? The normal extent can trigger from one channel and acquire data from many other channels.

    Thank you

    Liming


  • Cannot acquire IP address, or to renew or repair... How to fix this?

    I'm trying to help my friend to get his work computer. For some reason, it cannot acquire an address of network on a wired or Wi - Fi. The strangest thing about all this is that I am able to connect to my wireless network but it says that I have little or no connectivity. Just for the heck of it, I was able to connect to my router (IP: 192.168.0.1) and has been invited for a connection.

    My IP address when connected to wifi is 0.0.0.0 and my subnet mask is 0.0.0.0... everything else has no value.

    One strange thing I noticed right away, is that when I run 'ipconfig' the 'the connection-specific DNS suffix"has been set to"aDomainName.net"which has the same area as his previous ISP name. I removed that there is NO suffix more. That has not changed a thing. So here's what I've tried:

    • The TCP/IP value to set a static IP address and even separate servers DNS (OpenDNS).
    • Repair the connection.
    • Remove winsock and winsock2 registry, and then restart. Hoping that windows would create new and solve the problem.
    • Any registry winsock and winsock2 starting from the backups that I did.
    • Tried flushing DNS with: "ipconfig/flushdns" and running "ipconfig / renew" I got the following error message:

    "No operation can be performed on the connection to the LAN, so it has its media disconnected

    An error occurred while renewing interface wireless network connection: the RPC server is unavailable. »

    • Before and after removing the winsock from registry, I also tried running: "netsh int ip reset resetlog.txt" and received the following error:

    "The procedure entry point MigraeWinsockConfiguration cannot be locatred in MSWSOCK.dll dynamic link library."

    Can someone help me?

    A few comments (which can not solve your problem, but it's late)

    1. the "Teredo Tunneling Pseudo-Interface" part of IPv6 (the new version of the TCP/IP Protocol).  It is almost never necessary in personal computers, especially the XP computers.  (BTW, what version of XP is installed, including service pack?)

    • Open network connections (start > run > ncpa.cpl > OK)
    • Right-click on the icon for your network adapter (you should do this on the connection to the LAN (wired) and the wireless adapter) and select Properties.
    • On the general tab, look in the list of "this connection uses the following items.
    • Most Windows XP-based computers must have a maximum of 4 following
      • Client for Microsoft networks
      • QoS Packet Scheduler
      • File and Printer Sharing for Microsoft networks
      • Internet (TCP/IP) Protocol
    • If you see an item for IPv6, select it and click the uninstall
    • OK your way out

    2. I'm a little skeptical about this KB article.  The registry key to designate "CurrentControlSet" instead of "ControlSet001", I would have expected

    Any, however.  Use the Services applet to confirm the appropriate dependency:

    • Click Start > run > services.msc > OK
    • DHCP client scroll down and double-click
    • Click the Dependencies tab and wait that it is filled.  It should show
      • SFM network support environment
      • NetBT
      • TCP/IP protocol driver

        If you expand (by clicking on the +), TCP/IP protocol driver will be also under NetBT and IPSEC driver will be under (two places) TCP/IP protocol driver

    Assuming that everything is there (and it probably is), the next thing to check is if all these "Addictions" are running.

    • Open a command prompt window (start > run > cmd > OK)
    • Type of entry following, pressing after each line

      SC query afd
      SC query netbt
      SC query tcpip
      SC query ipsec

    You should get the following result which shows the State of all 4 as 'operational '.

    C:\>SC request afd

    Service_Name: afd
    TYPE: 1 KERNEL_DRIVER
    STATE: 4 RUNNING
    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0

    C:\>SC query netbt

    Service_Name: netbt
    TYPE: 1 KERNEL_DRIVER
    STATE: 4 RUNNING
    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0

    C:\>SC query tcpip

    Service_Name: tcpip
    TYPE: 1 KERNEL_DRIVER
    STATE: 4 RUNNING
    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0

    C:\>SC request ipsec

    Service_Name: ipsec
    TYPE: 1 KERNEL_DRIVER
    STATE: 4 RUNNING
    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0

  • Generating signals simultaneously on two channels (SMU-5451)

    Hello!

    I'm trying to generate 2 different signals on the two output port of my SMU-5451.

    Signals transmitted from data read from the file of PDM.

    I'm able to generate 1 1 channel signal. But I can't ' figure out how to complete the data for my 2 channels memory and let generator simultaneously press these data or their respective!

    Can any help? Maybe an example?

    Thank you!

    Hello Mr. Gambini,.

    You can find all the information to do this here:

    http://zone.NI.com/reference/en-XX/help/370524P-01/siggenhelp/5451_ni_5450_multichannel_allocation/

    Particularly:

    "To write waveform data to two channels at once, you must first striping of the data. "Once the data are interleaved, call the VI niFgen write Waveform (poly) or one of the wave functions write niFgen with the channel parameter set to"0.1"

    Kind regards

  • measure with the two channels of the virtual bench simultaneously in labview, error 375903

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    I have included the VI and a screenshot of the error.

    Thank you!

    NGKai wrote:

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    ASM takes only supported a session unique instrument and your VI uses two. To use both channels, delete the second session MSO and specify channels in the MSO configure Analog Channel.vi

    Here's an example that uses two channels brought:

    VirtualBench: Bode Analyzer with the FGEN and MSO

    http://www.NI.com/example/52076/en/

  • How to createt two channels in AFG3102

    I am trying to create two channels on AFG3102 but we manage only create one channel at a time.

    can you explain how?

    Hey kamils,.

    I tried your VI with material real (I have a Tek AFG 3252) and it does not resemble the generation was already enabled for the first string. So, when I ran your code it has been implemented both slots but it turned only on channel 2. I added a function to configure output on the end of the VI for channel 1. I tested the code changed with my 3252 and exits the scope and it seems to work fine. The two waveforms are identical you currently give the same data at the same time, but this can easily be changed to fit your application. Take a look at the attached VI and let me know if you have any other questions.

    Lars L

  • How to control two channels of simultaneous functions AFG 3200 B generator?

    The AFD 3200 B function generator has two channels. I want to use both channels generations some vague simultaneous sin. I downloaded the labview driver: Tektronix AFG 3000 Series.

    I did three things:

    (1) try to connect to two channels in VI.

    However, all the screws of example do not support the connection of the name of two channels simultaneously.

    (2) run only two signals generating VI with another name for channel at the same time.

    However, a single channel runs after the other.

    Do you have any suggestions?

    Thank you!

    Wu Yue

    Hey Wu,.

    You need two sine waves to be completely synchronized (aka having the same exact phase)?

    If they must be synchronized, then the AFG should on the two output channels at the same time, but you will probably need to configure serial in your program.

    If they do not need to be synchronized, then is there a reason why you would not be able to simply divided between the output signal two BNC? If this isn't an option, then you will probably need to make some kind of trigger to get both channels to start at the same time.

    Lars L

  • Using two channels of both HAVE ANSI C

    Someone at - it an example in ANSI C to 2 different transducers at the same time data collection? The examples I've seen are for one HAVE only. I need to collect data in the form of two distinct components. AI0 data should not be discarded with AI1 data. Start with two distinct tasks? If so, is there an example?

    I solved the problem by using NISpy and change the settings to see what effect they have had on the program. I was trying to read two channels with data of each 1000 points. I thought that my buffer size was the problem, but he was in the call to:
    DAQmxErrChk (DAQmxReadAnalogF64 (taskHandle, 1000, 10.0, DAQmx_Val_GroupByChannel, data, 2000, & read, NULL));

    I did not realize the importance of the arraySizeInSamps of setting and left it to 1000 when I added the additional channel.

  • Cannot add new channel - tiara mΘmoire

    Hello

    I loaded a chunk of data to my tiara. I've got 92 groups with approximately 740 channels each and a Channellength with about 1000.

    Now I can't do anything in tiara

    When I try to calculate a channelaverage betwenn two channels, I get the message "Die gewunschte Kanalmenge nicht but werden konnte. I can't yet do ChnLinGenImp.

    Is there a way to increase the memory allocated to the tiara with a parameter? Or is it just too much data to all the...

    Here is my systeminfos:

    Tiara 12.0.1 SP1b

    1.410.700K RAM usage

    Operating system: Win7 Enterprise SP1 64-bit

    CPU: i5 M520 @ 2.40 GHz

    RAM: 4 GB

    Kind regards

    Martin Kozlowski

    Hi Martin,

    TIARA has a maximum global chain of 65335 counter (2 ^ 16).  Based on figures you provided, it looks like you're bumping into this hard limit.  Would it not possible to load the part of all of the data in the data portal and do your calculations in steps?

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Create a channel by combining smaller values of the other two channels

    Hello, I have two channels (v + and Volts1 +) and I am trying to create another channel (Volts_Small) that will have smaller values of the two channels. I need to compare each data point in the two channels and add little value to the new channel.

    THS is what I tried without success:

    I have Sun
    Dim: Set Group = Data.Root.ChannelGroups ("200_68")
    Dim Chn1: Set Chn1 = Group.Channels ("v +")
    Dim Chn2: Set Chn2 = Group.Channels ("Volts1 +")
    Dim Chn3: Set Chn3 = Group.Channels ("Volts_Small")

    For i = 1 to Chn1.Size
    If (Chn1.Values (i) > Chn2.Values (i)) then
    Chn3.values (i) = Chn2.Values (i)
    On the other
    Chn3.values (i) = Chn1.Values (i)
    End If
    Next

    I would give much help appreciate with this! Thank you.

    Cedric

    EDIT:

    Nevermind, I solved this problem:

    I have Sun
    Dim: Set Group = Data.Root.ChannelGroups ("200_68")
    Dim Chn1: Set Chn1 = Group.Channels ("v +")
    Dim Chn2: Set Chn2 = Group.Channels ("Volts1 +")
    Dim Chn3: Set Chn3 = Group.Channels ("Volts_Small")

    For i = 1 to 900000
    If (Chn1.Values (i) > Chn2.Values (i)) then
    Chn3.values (i) = Chn2.Values (i)
    On the other
    Chn3.values (i) = Chn1.Values (i)
    End If
    Next

    Hi Cedric,

    I strongly advise to use the calculator channel and the MinV() function that is already integrated to tiara.  You have less code that runs much faster, especially for the largest data sets.

    Dim: Set Group = Data.Root.ChannelGroups ("200_68")
    Dim Chn1: Set Chn1 = Group.Channels ("v +")
    Dim Chn2: Set Chn2 = Group.Channels ("Volts1 +")
    Dim Chn3: Set Chn3 = Group.Channels ("Volts_Small")
    Var Variables: Variables = Array ("Ch1", "Ch2", "Ch3")
    Dim channels: channels = Array (Chn1, Chn2, Chn3)
    Call to calculate ("Ch3 = MinV (Ch1, Ch2)", Variables, channels)

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Try to use the same pattern for more than two channels (CSR configuration) with usb 6000

    Hello

    I am currently trying to implement a LabView code to get readings of voltage using 5 different places at the same time. I want to only use the first location in the ground and get 4 measurements of voltage between the ground and each of the other 4 channels. I use a USB 6000 which, for now, allows me to use the same pattern for only two channels. Is it possible to use the same pattern for 4 channels?

    Thank you

    Maria

    The images do not explain everything. You must explain what are the sensors. I think you totally wrong on how they should be linked. CSR, all sensors must be a common understanding and the outputs not individual channels as I have already explained. If you are unable to do this, you should probably not use CSR and you have the wrong data acquisition device. If you want a side of a sensor as a reference, you need differential connections.

  • How to find the time between two channels of entry in the data acquisition card or pci 6036

    Hello

    I read a lot-related posts on the simultaneous measurement of two input voltage of similar channels in map data acquisition. I know that the best material is "simultaneous measurments of the Series DAQ cards" but I only pci data acquisition card 6036 and I try to understand what is the time between the reading of the two channels . This period is always constant? (must it rely on a voltage (amplitude, frequency, waveform..). I send the sine wave (s) to the two channels and read the values of V, if they read the same value, the difference should always be zero but I get-0,002 to 0.002 Volt difference (I must find a way to convert it in time). A screenshot of my VI is attached. I wonder how I can accurately measure the time delay between the channel.

    I am open to any suggestion, my final goal to read exactly two channels at the same time ((ou connaître le délai exact donc je peux correspondre les données correspondantes étant donné le temps de retard))

    Hi spinup,

    better you should post your question in the forum of LabVIEW, LabWindows/CVI is used

    Good luck.

  • some computers cannot acquire images using the PCI-1410

    I have a big problem in the acquisition of the images using the PCI-1410.

    It was a standard camera (SONY XC-ES). The test of the device is OK with my computer.

    I can not get a correct image via MAX. Also, I try to use the file of the camera for that camera.

    But it did not work properly.

    I consulted it toward the Korea of NEITHER and they discover THAT PCI-1410 worked properly with different computers.

    So, I try to change PC. Most of my computers cannot acquire the image even if the unit is OK of MAX.

    However, only a few computer works properly. (Work computers are from SAMSUNG. The other

    computers that did not work propely, were assembled in the lab.) (I have tested almost 6 computers for this purpose.)

    The problem is that there are at least 3-4 PCI ports for our applications. The work computer (SAMSUN) only has 2 ports PCI.

    What should I do to select the right computers? I can't buy dozens of computers to test the PCI-1410.

    Why is this kind of problem occurs?

    Thanks in advance for your advice. (Email: [email protected])

    Hello

    We also had a lot of problems in the past with different PCs and the problem came from the motherboard. Since that time, we only use motherboards with intel because we know that labview works very well with them.

    It was 2 or 3 years ago, and I thought that the problem has been resolved since then... you know the type of motherboards you use?

  • How can USB-6210 I synchronize two channels of ctr

    Hello

    I use LV 8.5.1 and NI USB-6210. A small application I want to generate two different impulses with synchronization but simple starting point. When I configure a task with two channels the second channel configured always starts a ms later. But, if I configure both channels in terms of frequency, they start synchronously.

    My idea is bad in general? The DAQmx part is fixed.

    Thanks in advance

    Hi there, too.

    the release of the finite pulse trains, to two meters for each task. Therefore, your application will be the first impulse using two output counters and then to exit the second impulse using the two counters.

    Like the USB-6210 don't not have outputs DIO correlated, you'll generate two infinite pulse trains (which can be started at the same time throug a trigger of arms) that you explicitly stop before the start of the second pulse (using the DAQmx abort task from a parallel loop), or upgrade your hardware at least a USB-622 x card series and a digital output model... Alternatively, you can use the PCI-6602 counter card and use a counter to Gate two others doing an infinite impulse train uses a relaxing break...

    Synchronization of two meter in NOR-DAQmx tasks
    http://digital.NI.com/public.nsf/allkb/BB7AE2D12BB04CBE862574FA005D3826?OpenDocument

    Using a counter to generate a redeclenchables Train digital pulses with a PCI-6602 and DAQmx
    http://digital.NI.com/public.nsf/allkb/4A9AF19480E50C6D862571B70058142A?OpenDocument

    Several counters on the same card with a single trigger pulse
    http://digital.NI.com/public.nsf/WebSearch/CE99A0B2A9048A2A86256C630062F550?OpenDocument

    Best regards
    Sebastian

Maybe you are looking for

  • No internet connection when hotspotshield connects

    When I connect to the Hotspot Shield VPN elite, my WIFI internet connection stops working. I use a Macbook Pro. Help, please

  • Update of lion in El Capitan

    I'm under lion 10.5.7 should I move to El Capitan?  I heard that people have problems after the update.

  • Dial-up does not not-> error 680

    Hey everybody. Not sure can someone help, but the laws gave me their laptop to update on my broadband connection. After I updated everything that I brought it regularize their and their dial upward would no longer work. It keeps the error 680. Its no

  • I can't open regional and language option

    Hi, I can't open regional and language option and and when I turn on any program I have to press fn and ctrl 4 times to set lathin letters, what can I do?

  • Nagle algorithm affecting TCP listening

    I have two LabVIEW applications communicate with each other over TCP for a monitor streams data to a receiver. Ideally, I'd like my monitor, that generates the data, to listen to a TCP connection and then send data via this connection when my receive