Multiple S series DAQ card

Hi,
i will use multiple S series card (PCI 6143). I want to thread them as one card (by connecting them with RTS cables).
How can i program them?  I can't find any example about this
Thanx

Hi eesen-
I'm assuming that you'll most likely want to share a sample clock and/or AI start trigger between the two devices over RTSI.  In order to do this you will need to first export the appropriate signal from the 'master' device, like this:
theSTC->RTSI_Trig_A_Output.writeRTSI_Trig_2_Output​_Select(trigSelect);
// Set output select first, then route to RTSI to avoid glitching
theSTC->RTSI_Trig_Direction.writeRTSI_Trig_2_Pin_D​ir(1); // 0=input, 1=output
where RTSI_Trig_n refers to any of the RTSI trigger lines <0..6>.  Valid values for trigSelect are outlined on page 388 of the DAQ-STC Technical Reference manual.
On the 'slave' device you will then want to import the signals from RTSI.  For the ai/SampleClock, you'll need to make this change to the aiSampleStart() function (or just call this method with the appropriate setting):
theSTC->AI_START_STOP_Select.setAI_START_Select(tr​igSelect);
theSTC->AI_START_STOP_Select.setAI_START_Polarity(​tSTC::tAI_START_STOP_Select::kAI_START_PolarityRis​ing_Edge);
where AI_START refers to the ai/SampleClock signal that clocks each sample from the input ADC's.  Valid values for trigSelect are shown in the tSTC.h ChipObject file in the tAI_START_STOP_Select::tAI_START_Select enum.
For the ai/StartTrigger on the 'slave' device, you need to change this setting similarly as before (as shown from aiTrigger() in the DDK examples):
theSTC->AI_Trigger_Select.setAI_START1_Select(trig​Select);
theSTC->AI_Trigger_Select.setAI_START1_Polarity(tS​TC::tAI_Trigger_Select::kAI_START1_PolarityRising_​Edge);
Hopefully this helps-
Tom W
National Instruments

Similar Messages

  • Which type of ADC is used in M Series, S Series and C Series DAQ Cards?

    Hi
    I want to know which type of Analog to digital converters(ADC) are used in M Series and S Series DAQ Cards. I know that DSA Cards and some C series are using Delta Sigma ADC. What about the ADC used in non delta sigma C Series modules. Why Delta sigma ADC is not used in M series and S series DAQ cards.
    Regards
    Samuel J

    Hi Samuel.
    The ADC type used is Succesive Approximation ADC. You can refer to the following links for your reference.
    http://digital.ni.com/public.nsf/websearch/32FD9AA817D0EBE68625708C005E1B26?OpenDocument
    Hope this helps.
    Thank You.

  • How do I read the FIFO correctly on an M series DAQ card?

    I have a PCI-6229, which I have working with the exception of a bug or two.  The program continuously reads multiple inputs from the FIFO buffer, which is being filled at around 100 kHz.  Every ms or so, the program reads all the values in the FIFO.  To keep track of the input channel being read, the program currently indexes a channel variable every time it reads a value from the FIFO and continues until the FIFO is empty.  The next time it starts reading the FIFO it continues from the last input channel read.  This works correctly sometimes, but other times the tracking system gets off by one then associates the values with the wrong input channels.
    As an example, reading two inputs at 100 kHz the DAQ card appears to read one input every 5 microseconds and put that value in the FIFO.  When the program reads, sometimes it reads an even number of values and other times an odd number.  The program tries to keep track of this, but several unmonitored variables that I'm aware of and several that I'm probably not aware of can lead to my tracking error.  The FIFO filling up is one example, I believe.  Many times when the card is started it is already off by one.
    Is there a way to know what input a value in the FIFO is associated with?  I'm trying to have the DAQ card run continously, empty the FIFO periodically, process the data, and continue this process.  I don't want to start the AI task for 1 ms, read the values, process the data, and restart the AI task for 1 ms if I don't have to.  Thanks.
    Aaron

    You could try using DMA. This thread has a code example and some corrections. I did not have to delete the acdReset, but your mileage may vary.
    Good luck
    Neil

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • PCI 7830R series DAQ card with SCB 68

    Can anybody how to mapp PCI 7830R card with SCB68, which was connected in 0 connector? is thier any VI as an example for this

    Hello Sir.... i created a VI in Project Explorer Methode to test the working condition of DAQ card PCI 7830R which i installed in my PC , in both Sub VI and the Host VI the programme is working , now i connect the SCB 68 hardware with DAQ card thro RMIO cable , i wired the DIgital Pins of SCB68 (respectievely with DAQ card Pins) in a Bread Board an place a LED corresponding to pins to show the real world output...
      Now my prob is after i connecting the wire i run the VI, in breadboard the LED's are not getting ON same status is displayed in Labview Front panel too , when i remove the wire the LED in front panel of both sub and Host VI is getting ON..... y this prob occuring? to solve this what i have to do? i want to show realworld output (LED On in Bread board) thro SCB68... how to solve this?
    Attachments:
    Digi.vi ‏37 KB
    Digi (H).vi ‏121 KB

  • Using LabVIEW and an E-Series DAQ Card to perform relatively high speed single point acquisition in response to a changing DIO pattern.

    I am using the DIO lines on my E-series card to drive an external multiplexer which switches 1 of 8 sets of 3 signals to channels 0,1 and 2 on my DAQ. I need to acquire the 3 single points of data, do a little processing, then update the mux code before acquiring the next 3 points of data and so on. I have been trying to do this using hardware controlled loops but can only achieve a real sampling rate (time between the same set of three signals) of about 200s/s. I am trying to achieve in excess of 800 s/s. Any ideas?.

    HI CP,
    You are doing pretty good if you are getting 200S/s.
    I believe the only way you can get 800 S/s reliably is to go to LV-Real Time. Not for the speed, but for the determinism.
    That's my idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to recognize s-series daq card in DAQmx Base 2.0

    I installed the "DAQmx BASE 2.0", and then installed 3 PCI DAQ boards.  It can recognize PCI-6024E and PCI-6713, but not PCI-6133.
    I followed exactly the same procedure as in the document called "How do I use NI-DAQmx Base with PCI/PXI Devices on Windows?"
    http://digital.ni.com/public.nsf/websearch/9C4E9FD0C7469BC286256F100074EADC?OpenDocument
    However, there is a web page (the link below) having labview example programs using DAQmx Base for "NI 6110 S Series Multifunction DAQ". So I think probably there is a way to recognize the S-series devices in DAQmx base.
    http://digital.ni.com/public.nsf/allkb/722DDAB4E914073D8625708100773677
    Does anybody know how to recognize S-series device in DAQmx Base 2.0?
    Thanks

    Alan,
    Thank you very much for the quick response.
    The reason I explored DAQmx: I want to do RLP and DAQmx Base has a simpler interface and more examples for RLP.
    The reason I want to go RLP instead of DAQmx is a long story.
    Summary of my applications:
    I need to read 4 input voltage (using PCI-6133) and then generate 12 voltages (using two PCI-6713 each has 8 outputs). Since the 12 generated voltages are related to the 4 input voltages, single sample /N channel AD/DA is required. The speed for the overall control loop has to be >100 kHz.
    Summary of my configurations:
    PIII, 700 MHz CPU, 512 MB RAM
    PCI-6133 and PCI 6713, LabVIEW 7.0, and DAQmx 8.0
    I also have PCI-6110 and PCI-6024E cards for comparison
    Summary for 4 channel single point acquisition (See the table below, AD only)
    1) The difference between P3/700MHz computer and P4/3GHz computer is very small
    2) The S-series performed worse than E- and M- Series
         Spec (kS/s)   Tested by me(700MHz P3)   by NI engineer (3GHz P4)
    6024E   200/4            15.7 kHz                    17.36 kHz
    6040E   250/4                                        18.9 kHz
    6251   1000/4                                        23.0 kHz
    6133   2500/1            13.8 kHz
    Summary for single channel single point acquisition (See the table below, AD only)
    1) The S-series performed much worse than E- and M- Series (simultaneous sampling is worse?)
         Spec (kS/s)    Tested by me (700MHz P3)
    6024E    200/1           54.8 kHz
    6110    5000/1           19.4 kHz
    6133    2500/1           14.5 kHz
    Simulated device          135 kHz
    Summary for single channel single point AO (See the table below, DA only)
    The spec of 6024E is only 10kS/s, but the loop can run at 132 kHz (the output from the port was not correct for sure). Using a simulated device (either 6024E or 6713), the loop rate is ~ 134 kHz (probably due to my low speed computer). This means the latency from 6024E devices is virtually zero. However, the latency from 6713 is way too much.
          Spec (kS/s)   tested by me (700MHz P3)
    6024E    10/1             132 kHz
    6713   1000/1              38 kHz
    Simulated device          134 kHz
    From all the above tests, it seems that s-series device (6133) and AO device (6713) perform much poorly in single point mode compared to E-series device (6024E).  I thought the difference might be due to the driver in DAQmx.  So, I want to try RLP to see whether I can gain up control loop speed to 100 kHz for my applications.
    Your suggestions and advices are appreciated.
    Thanks
    Jin-Xing

  • Frequency counter with E-Series DAQ Card

    I am trying to measure the frequency of a signal at 0.1 sec increments using a DAQCard-6062E and an AT-MIO-16E-10. I am using a VI from the examples (frequency counter.vi, in a while loop) which works well with the DAQCard, but it's giving wrong measurements with the AT-MIO card. Why is that?

    Hello Waw,
    Take a look at this KnowledgeBase to see if it fixes the problem.
    http://digital.ni.com/public.nsf/websearch/862567530005F09E8625681C0074935E?OpenDocument
    If not, what version of NI-DAQ do you have? Are you getting incorrect measurements with different ranges of frequencies? Is LabVIEW giving you any errors? Do any examples provide correct results with the AT-MIO-16E-10? Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments

  • Digital ı/o problem in mseries 6229 daq card

    In our lab, we have a 6229 M series daq card. We want to send digital output ,
    ( three square waves and their direction values for driving 3 dc motors.
    We will change pulses or frequencies during application). we tried to send the signals from single lines
    (altogether we need 6 lines.)  but we failed. We could only send pulses from counter ports but
    unfortunately there are only  2 counter ports. Can anybody help us about this problem?
    If anybody could also send a labview 7.x program for this application we will be thankful.

    Hi,
    You can use the correlated dio functionality of your M series board to output digital waveforms. However, you will need to construct the waveform before actually outputting the data. Here is the link to another discussion forum with more information on this including links to examples: How do I output a digital waveform?
    Regards,
    Hal L.

  • DAQ Card is inducing noise on an external clock signal resulting in false triggering

    I am using an optical encoder as an external clock source for analog measurements with a PCI 6036 card.  The optical encoder signal is "filtered" using a Schmitt Trigger circuit and proper shielding practices are used on the encoder cable.  I am using a recent version of Labview.
    When the TTL square wave signal from the encoder is viewed on an oscilliscope (without the DAQ attached) it is a picture perfect square wave, nothing that would cause any problems.
    When I then connect the encoder output to my PFI line (with or without the oscilliscope) I get false triggering due to intermittent (seemingly random...) high frequency noise "blips".  Out of 360 expected samples, I will typically get between 2 and 6 "bonus" samples...  When captured on a scope, the noise looks like a decaying sine wave and lasts for only a few us.  the peak magnitude is tyically around 2 V or so as shown on the scope, which is apparently just enough to make my card grab a sample.
    Since the noise is only present when the encoder signal is attached to the DAQ, it seems that the DAQ is somehow inducing noise into the signal.
    I have been fighting this problem for a while now and tried the following:
    1)  I first tried the raw encoder signal, but then added the Schmitt trigger, increased the signal strength of the encoder lines by adding resistors to ground, double checked my shielding, etc...
    2) I verified that my ground potential between my card and my conditioning circuit were not causing problems.  The conditioning circuit and encoder is now powered of the card itself, which should resolve any possible problem with grounds.
    3) Cursed at various inanimate objects (made me feel better but didn't help the situation)
    4) Checked if I could set a minimum pulse width required to trigger off of an exernal scan clock (I can't with my hardware.)
    5) Swapped my card with a card of a different type (problem is still there)
    If anybody out there has some recomendations, I am open to anything.

    Hello OSU_Mech_Eng,
    I'm not quite sure how the DAQ card could be inducing glitches into
    your digital signal.  Digital signals from mechanical devices like
    quadrature encoders can often be glitchy or bouncy, but your schmitt
    trigger should act as a debouncing filter to clean up that digital
    signal.  It sounds like you have thoroughly troubleshooted this
    problem, and I would recommend moving on and trying to use a counter on
    your DAQ board to generate the digital signal, rathar than using the
    raw signal from your encoder/schmitt trigger.
    You were correct when you stated that the best way to do this is by
    configuring your counter to perform retriggerable pulse
    generation.  You can use the signal of from your encoder to gate
    the internal clock on your DAQ card, creating a clean digital
    signal.  By setting the minimum pulse width of the signal, you
    will be able to ignore the small glitches in your signal. Here is
    a link to some Knowledgebases describing how to do this:
    How Do I Remove Glitches or Add a Debounce Filter to My Digital Signal?
    How Do I Define the Parameters for Pulse Generation in NI-DAQmx?
    For further reference, on all of NI's new M-Series DAQ cards (PCI
    625x), the PFI circuitry contains built in debouncing filters to
    protect against small glitches in digital signals.  If you have an
    M-Series card lying around, it might be helpful to give that a try.
    I hope this helps,
    Travis Gorkin
    Applications Engineering
    National Instruments
    www.ni.com/support

  • Method for accessing multiple DAQ cards

    Hello, I am trying to access two analog-input cards in a "ping-pong" type fashion with LabVIEW 7.1.
    The two cards are PCI-6052E DAQ cards (call them "B" and "C"). What I'd like to do, is get data in this fashion: B/ai0, C/ai1, B/ai2, C/ai3, B/ai4 ..... etc. However when I try to do this I get this error :
    "Error -200558 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi.
    Possible reason(s):
    One task cannot contain multiple independent devices.
    Create one task for each independent device.
    Device: B
    Device: C"
    So my question is, IS there a viable way to do this? I have attached my .vi that contains the trouble. Any help would be GREATLY appreciated! Thanks!
    Attachments:
    Surrogate.vi ‏251 KB

    One task cannot span multiple devices. Your problem is that your physical channels in DAQmx Create Channel reference two different devices. You cannot create tasks like that. If you want to ping pong between devices, you'll have to do it with single point reads like this:
    B/ai0 >> DAQmx Read Single Channel Single Sample
    C/ai1 >> DAQmx Read Single Channel Single Sample
    etc...
    Hope this helps.
    Regards,
    Erin

  • VI Logger - use of multiple DAQ cards

    How do I configure VI Logger to acquire data from multiple DAQ cards?
    I have set up channels for two DAQ cards but the VI Logger Tasks seems only capable of acquiring from either DAQ card, not both.

    Hi Metronet,
    VI Logger doesn't support acquiring data from multiple DAQ cards.
    VI Logger was a free software tool that came with new DAQ cards up until the end of March. To get customers up and running and acquiring data in the quickest possible time.
    VI Logger however is not LabVIEW, and as such cannot use more than 1 DAQ card at any one time. If you want to acquire from multiple cards then you will need to program in LabVIEW, CVI, Visual Basic or Visual C.
    I am sorry that I have to inform you of this, but NI has no plans to release VI Logger with support for multiple DAQ cards.
    Regards
    James
    Applications Engineer
    NI UK

  • How do I use two DAQ cards in one Labview code? Current I'm getting error " error 200558 occurred at DAQmx Create Channel.vi. One task cann't contain multiple independent devices". Can someone help me?

    The two DAQ cards are NI PCI-6070E & NI PCI-6052E. The Labview I'm using is labview 7 Express and the Window system is Window XP. I'm using NI SCXI-1000 chasis and SCXI-1102 & 1102B two modules plus a feedthrough SCXI-1180. 1102 is connected through SCXI-1349 cable to DAQ card 6052E while 1102B is connected through SCXI-1349 cable to DAQ card 6070E. SCXI-1180 is connected to 6070E through SCXI-1349 adaptor on the back of 1102B.

    Sarah, thank you for replying my question. It seems that I'm making progress everyday (smile). I'm able to run the test using both daq cards in my code now. But as I'm moving forward, I'm getting new questions too. How do I use one STOP button to control both tasks and how can I save data into one single file?
    I attached my code here hoping you can get the specifics on my application by looking at the code. Thanks very much!
    Thanks.
    Attachments:
    DAQmx_Task_Example_plus_voltage_2.vi ‏416 KB

  • How to switch multiple relays using PCI 6601 DAQ card

    What is the specification of the digital output value given from the PCI 6601 DAQ card?How to develop LAB VIEW code to switch a relay?Can anybody please explain?

    Hi hasi,
    did you read the manual and the specs of the PCI6601? It says: "5V TTL/CMOS compatible"...
    You shouldn't expect to much current from a simple DO pin - probably it's not enough to drive your relay!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Reading multiple channels in labview with 6062 e series dac card

    To whom ever can help,
    I have the e series dac card 6062 pcmcia as well as labview 7.1. I am trying to setup a program just to continuously read all of the analog channels and display them on the front panel via meters. I have setup
    one channel quite easy but after setting the others up the only one that actually works is ai0, the others
    don't seem to want to communicate.
    with thanks
    Nathan

    Hi sag666,
    By "don't seem to want to communicate", do you mean that no signals are acquired after selecting the specific channel or the string as suggested by zenith (ai0:15)? To first verify that all channels are working properly, try using the Test Panel in Measurement and Automation Explorer (MAX). When you enter the Dev1/ai0:7, you should acquire readings from the first 8 channels. If you can acquire proper signals from here, try running an example in LabVIEW 7.1 (e.g. Help >> Find Examples, then in browse tab, Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage >> Acq&Graph - Int Clk.vi). Setting the channels in differential mode, you should be able to acqurie signals from Dev1/ai0:7 (Assuming the card is device 1).
    Thanks,
    Lesley Y.

Maybe you are looking for

  • What is the best way to consolidate data on two Macs?

    Hi All, About to embark on a small project to move all my data on to my MacBook before finally saying goodbye to my trusty iMac.  In order to do this I'll be upgrading the HDD on the MacBook to a large one and using Time Machine to restore all the or

  • Calling a method of a returned reference

    Hello, is it possible to instantly do a method call on a returned reference in ABAP Objects? in this case i need it for singleton behaviour of "z_example", but the compiler wont allow me to call like this: result = z_example=>get_instance( )->do_stuf

  • Where is the ojsp.conf file located

    The tutorial is kind of misleading. The jsp file is ready and the tutorial tell me to do the following steps Before you can run the application you need to make sure that your HTTP server is configured appropriately. Perform the following steps: 1. E

  • Saving iBots in the Shared Folder

    Hi, I have a couple of questions regarding iBots: 1. How do I save the iBots in the Common Shared iBots folder? (I can do this as an Administrator, but not as any other user) 2. How can I have the content delivered as an Excel file to my dashboard. I

  • My Id has been deactivated

    Hello guys. I have a problem with my id, it has been deactivated and i cannot buy on apple store or make any actualisation. Can somebody tell me what i ve to do to activate my Id again?Please.