Reading frames of 10 sensors simultaneously

Hello

I developed a code that reads CAN data frame the port box (PCI-CAN / 2 series 2). The Board of Directors has 2 ports CAN. I have connected a sensor to one of the ports and reading frames using my code. I want to use the same code to read frames of 1o sensors simultaneously. Can someone help me? I tried to create UNDER VI of my code, but it reads only one port at a time.

Thanks in advance

Mark VI as re-entering, and you should be able to call it in parallel (VI properties-> performance-> clone pre-allocated re-entrant execution).

Remember, if you do this, you will need to use multiple files (as multiple threads can not write to the same file handle).

Tags: NI Products

Similar Questions

  • XNET Executive session: read frame vintage - not able to read i / c frames

    Hello

    I created Veristand Custom Device for RT PXI monitor Xnet CAN of my Test frameworks to the UUT. I use CAN map 8513. I have a problem that I could see images from to WEAR it, but not able to see the (outgoing) frames, I send to USE.

    But since my host PC (windows pxi) I used the monitor Bus Xnet - in remote mode - to monitor CAN interface in this RT PXI, when bus Xnet monitor device custom above also starts showing outgoing executives. Please help me with this.

    In the custom device - create Xnet session using '.vi XNET Create Session (frame Input Stream)' and 'reading XNET (Raw image) .vi"to read CAN traffic.

    A slightly modified version of 'https://github.com/NIVeriStandAdd-Ons/XNET-CAN-Bus-Monitor-Custom-Device' to see frames the two inbound/outbound.

    With the help of VeriStand 2014

    The people on our Board of Directors VeriStand may be able to help a little more with making a custom device.

    http://forums.NI.com/T5/NI-VeriStand/BD-p/440

    You don't know how it would work in VeriStand, but ownership XNET Echo pass? is probably what you want to use.

  • XNET read frame CAN

    Hello

    I use Veristand 2011 and I worte a device custom for the reading of the electronic can over reading XNET CAN frame

    now my problem is, who is unable to retrieve the CAN-Messages.

    I could install my custom device CAN-Frame, but there is no information can.

    On the other hand, I've defined a XNET Session on exploring system with CAN1. That would be the problem?

    Or maybe my RT pilot?

    Help, please.

    Kind regards

    YesB

    Hello

    your device does not work correctly. and I can see frames. I made the following changes:

    It is possible that you have seen the error image. But you have several frames on the Bus. This means that you must write all the frames in the RT FIFO. I would recommend to use XNET Read RAW Frame. It is an array of U8 you can better manage that work with groups and so on.

    Kind regards

    Philippe

  • during the RAM Preview and reading frame counters

    I understand that I should be able to display the number
    of the Treaty currently framework during a RAM Preview
    in both the meter of timeline (in frame display mode) and in the info panel.
    This does not work for me, and I'd like to see if I'm missing something.

    This is the State of the counters with a current RAM Preview.
    The only images update count is at the bottom of the composition window,
    and it could not be visible during the processing of a RAM full screen preview.

    RAM PREVIEW CURRENT

    COUNTER_RAMpreview.jpg

    This is the status of the counters during the RAM Preview playback.
    Playback CTI is roughly 90 of 912 frame, but the counters at the same time the
    Chronology and the compose window are frozen at zero, while the Info Panel
    is frozen in the last number of the frame in the scenario (the last rendered image).


    READING OF THE CURRENT RAM

    COUNTER_RAMplayback.jpg

    During the reading of the space bar, only the counter the composition window displays
    the current frame.  The meter of the timeline is frozen in the frame number where
    the CTI was stationed during playback started (in this case, frame 0).
    The info panel displays only the playback framerate.

    READING OF THE STANDARD PREVIEW

    COUNTER_SpacebarPlayback.jpg

    If I stop playing RAM Preview or standard using the space bar
    the meter of timeline updates to the frame of the CTI, but if playback resumes
    the frozen counter stays where ICT was parked at the resumption of play.
    I feel this behavior using frames, timecode, ft + frames and using
    "To present" the RAM previews.

    Please tell me I'm doing something wrong.

    > I can't seem to get a current account in the timeline will appear a rendering or reading circumstance

    This does not happen.

  • Reading of inductive proximity sensor

    Hello world

    I need to get the output signal of a proximity sensor inductive PNP no. I have a cDAQ-9188 and NI 9215 module but I'm not sure if it is possible to get the signal with this module. If this isn't the case, I would like to know what type of module, I need.

    Thank you.

    Enrique,

    You have to think in terms of current flow as well as votlage drops.

    The sensor behaves like a switch. It connects to the output line (the one you have shown connected to R1) on line V + when the target is detected. If you had no resistance, it would short-circuit the power of V + V - short. The likely result would be the destruction of the probe.  By connecting the R1 and R2 as shown below some current will flow from the output of the sensor on the ground when the target is present. This will cause a voltage drop across R2 which is then measured by the NI 9215.  The values of R1 and R2 are chosen so that the maximum voltage across R2 is less than 10 V limited the DAQ hardware. For a 10 V power R1 could be zero ohms (a wire in place so the resistance). If the power supply is 24 v and R1 is 1000 ohms, R2 would be 1500 ohms.

    Given that the negative side of the entrance to the DAQ hardware is on the negative (grounded) power delivery, setting single ended input should be.

    Lynn

  • Reading frames inconsistent stuttering / deleted

    Only, I went from a mid 2010 Mac Pro to 27 "new IMac 5 K retina display.  I'm working on a one hour program that started on my MacPro.  He's dead, so I moved the project to my MacBook Pro and IMAC.  Images is a mixture of DVCPRO HD 1080/30i. GoPro 1080/30 & 60 P; HDV; Canon 1080/30 p; stills, old and new, some old small, some major & new shot with guns.  Chronology is 1080/30i.


    During playback of the chronology, I get incompatible stuttering in some plans.  Inconsistent because a specific clip can read without problem once, then next time I play there is obvious stuttering.  Play again and the problem will be displayed in a different place in the clip and it may be better or worse.  could start 3 seconds into the clip, maybe 5 or 7.  I first noticed when editing on my laptop, which is a model of retina 15 "with plenty of Ram and the fastest processor I7 nine last year, which is not all that rare.

    When I moved to the IMac, I did a transfer of the time machine MacPro, being understood, it may not be the best way to launch new aa machine.  After all the questions, I reformatted the IMAC and started from scratch.  Exact same results.

    I drove back from 2014, 8.2 to 7 CC and playback smoothed in some test shots I brought in a new project.  I also tried to export a few minutes of the hardest parts of the timeline in a H264 file and it read smoothly, so, apparently, that the file is not corrupted just reading.  Fortunately I'm not editing with the client, so that the element is mute, but I occasionally customers here and this kind of reading isn't great for show work.


    I spent a few days and several hours on the phone with tech support without a solution to the problem.


    I also tried the plans incriminated in FCP7 and they reproduce uniformly smooth.  Older DVCPRO HD and HDV clips were captured in FCP7, so I took the first Pro, thinking that for some reason may have been the cause, but the results are the same.


    I'm at the end of what some "Wit", I left and would be very grateful for any suggestions on a solution.  Also when I reinstalled my plugins and Prime Minister they are not appearing in PP.  When I look in the library only 7.0 is there with of course my plugins.  How can I get 8.2 to be present.  just add a new folder and drag the plugins from 7 to 8?  Plugins are only creative culture Impatience to feathers.  Boris Continuum 9 Image restoration and Sonicfire Pro.


    THX... Jim Watt

    IMac (retina 5K, 27 inches, end of 2014)
    Processor: Intel Core i7 4 GHz

    Memory: 32 GB 1600 MHz DDR3

    Boot disk: Mac HD/3 TB Fusion

    Chart: AMD Radeon R9 M295X 4096 MB

    Video player: Raid 6 to '0' in OWC Raid housing

    Write speed: 328 MB/s

    Reading 333.7 MB/s

    First Pro CC 8.2

    2 additional HDMI monitors

    Determined that it was a hardware problem because stuttering also happened to format Quicktime.  Back Apple's IMac to an Exchange which should arrive next week.  I hope that reading not more jerky.  Exports also played fine.

    JW

  • SPI read sensor VN-100

    I'm trying to contact sensor IMU VN-100. How can I convert the reading frame three floats?

    In a normal programming lanague I activate a record of three tanks and write to the address of each item in the folder. Is it possible to do in LabView?

    What values you get reading frame,

    You want to extract out of the values read in three values?

    If I'm right, you will get a table of 12 markings and each index 4 represent the value of (yaw, pitch, roll).

    To make it work

    Use the subset of the table and retrieve the number of required index and convert them into respective value.

    For the detailed response provide the read values.

  • communication serial port to read from an Analog Devices inertail sensor

    Hi, I have an ADIS16350 of inertial sensor by Analog Devices. My motive is to read continuous data of the sensor. Firmware sensor has specific commands as follows:

    Wil returns OK

    RA read a time of sensor

    It's going to read the sensor continuously

    When I try this in hyperterminal, everything works fine.

    However, I tried in the same method labview. However when I send no matter what this command the façade shows an error message. That means if I send 'at' command, instead of return 'OK' I get "ERROR: 61-74-30-43-error" in my opinion, this is a mistake sent by the firmware of the sensor. However just to test the system, I tried to send the command "continuous acquisition" of my program, LABVIEW, LabVIEW close, open Hyperterminal. To see the data is received at the Hyperterminal.

    Did someone come acroos a situation? Your comments are greatly appreciated.

    Thank you!

    Stéphane

    Check the stop character that you send with your order.  It is \r return (hex 0D dec 13) of the distribution or the new line/newline (hex 0A dec 10) \n?

  • How can I expand the frame of reading on my computor

    original title: how DO I EXPAND THE READING FRAME ON MY COMPUTOR

    I can't read my email - reading image is too small

    Hello

    • E-mail are what customer you referring?
    • This only happens on the Email?
    If you use a Webmail, you can check this link:
     
    Reply back with more information.
    See also:
  • Digital i/o with clock sensor line sharing

    Hello

    I'm trying to contact several sensors relative humidity using LV 8.6 and a USB-6009. The sensors are Sensirion SHT71. They communicate with 2 lines, a bidirectional data line and a line of the SCK. With the code sent on this forum

    http://forums.NI.com/NI/board/message?board.ID=170&requireLogin=false&thread.ID=179022

    I can easily communicate with 1 probe.

    What I would do, is to extend this to read simultaneously from several sensors. I wish that the readings to be as close in time as possible. I'll use sensors as much as I have available data pins.

    I wonder if anyone thinks that it would work to share a single clock between several sensors line and just use a single row of data for each.  In this way, a single port 8 lines could read 7 sensors simultaneously.

    I tried to do it with 2 sensors using a change very klugy of the code that worked for a single probe... in this case, I simply added 2 read and write routines to a single port. It doesn't seem to work, but I guess I should probably go through and re - write this using several lines per channel.

    I have a feeling that this could be an idea doomed, however, so I would really appreciate if someone can tell me if they think it will be or will not work until I spend the better part of a day to re - write the code. I posted the code only probe that works.

    Thank you!

    Mike

    It solved! Turns out that the simple routine for single point of digital output must manage somehow tristate configuration. The polymorphic, we do not.  So, rather than to read the actual value at the PIN, the DAQmx read 1 sample of channel 1 bool 1 D has been simply by reading the last value passed.

    The trick is to set the tristate true property before trying to read the pin code and then set it to false after completing a reading...

    Thanks to MarkGrot and this thread to help me to understand.

    http://forums.NI.com/NI/board/message?board.ID=250&message.ID=46293&query.ID=323548#M46293

  • Can SCXI 1102 measurement of current and voltage signals simultaneously?

    This may be a simple question, but I have a pair of moisture sensors that output 3 x 0-10 Vac @ 10 my max of signals that will be connected to a test loop that will have also a pair of sensors of flow as 2 x 4-20 my output signals, and I need to know if I can connect all four sensors on the same card of SCXI 1102 with endings of 1300 block , or if I need separate maps for the voltage and current signals. I am also looking at extra material for the other sensors, so I can have a different card if it will do the job better.

    Thanks in advance!

    BBalmforth Hey!

    If I understand your description of the system you want to measure tension through the moisture sensors and known for flow sensors simultaneously.

    Absolutely, this can be done with the 1102.  In the pilot DAQmx can we individually select the channels to read the voltage by the moisture sensors, and then choose the appropriate channels to read the current of the flow transducers.

    Let us know if there is something else you need said.

    Happy holidays!

  • Read only the SPI using the box USB-8451

    I am using the NI USB-8451 box to read the SPI of a Honeywell digital pressure transducer data.  The difficulty comes from that part of Honeywell uses only the SPI in half-duplex mode, meaning that it only transmits data, but does not require anything beyond the appropriate chip select signal and SCLK to start transmitting its 32-bit sensor data.  To facilitate experimentation with the sensor, I bought a USB-8451 SPI Interface thinking I could easily configure the 8451 to read data from the sensor.

    However, if I understand the situation, there is a problem.  The 8451 considers full duplex data, i.e. a data word must first be sent to the SPI device in question before the unit will start to transmit back data of its own.  And since the MOSI data writing periods, since this particular device starts transmitting immediately once a clock is applied, synchronizing the unused address data will cause the unit will return its data before the 8451 begins listening for data in return.  The call used by the 8451 to write read action can be divided into the individual reading and actions of writing of any kind that I could discover.

    Can someone tell me if I missed something in this operation or if there is some quick tips, that I could use to be able to use the 8451 therefor?  Thank you!

    Doug G.

    Exactly correct. It's nice when things are easier than expected. Hope it works as easy as it sounds.

  • Fingerprint reader for HP DV7 - Ubuntu 15.04

    Recently, I got my hands on a HP DV7 and installed Ubuntu 15.04. As usual, everything works immediately after installation and it is surprisingly free of errors, even being a beta version. I use Ubuntu for 11.10, but one thing I always noticed is the lack of support of fingerprint reader. Does anyone know of a tool to manage this without counting that the fingerprint-gui APP? I ask this question because I don't want to use this APP. It replaces policykit-gnome with its own version and some things that depend on it to stop working. In addition, the app has not completely updated to support the upcoming release of 15.04.

    Seriously, I hope I'm not the only user of Linux here.

    ArgentWarrior wrote:

    Recently, I got my hands on a HP DV7 and installed Ubuntu 15.04. As usual, everything works immediately after installation and it is surprisingly free of errors, even being a beta version. I use Ubuntu for 11.10, but one thing I always noticed is the lack of support of fingerprint reader. Does anyone know of a tool to manage this without counting that the fingerprint-gui APP? I ask this question because I don't want to use this APP. It replaces policykit-gnome with its own version and some things that depend on it to stop working. In addition, the app has not completely updated to support the upcoming release of 15.04.

    Seriously, I hope I'm not the only user of Linux here.

    Hello

    Try the hard way: http://askubuntu.com/questions/442838/fingerprint-reader-driver-for-validity-sensors-fingerprint-scanner

  • Use of different sensors with scc-sg24

    Hello

    in my application, I have to use two types of sensors with the following characteristics:

    -a pressure sensor: 10V Ex V, input rated 950 ohms output nominal 300 ohms

    (what does this mean? I know that this should be a full bridge 350 ohm...)

    -a load cel: 10V Ex V, full bridge 700 ohms

    It's the SG24 able to read this kind of sensors?

    Can I use a single module SG24 to read the two sensor using both

    channels at the same time?

    Thank you

    Pets

    Hi animals,

    the SCC - SG 24 has two differential channels you can connect both sensors at the same time.

    Ciao,.

  • Cannot read file WAV in 2013 of Labview

    Hi gurus of LabView

    I am a novice with some minimal experience with Labview.

    Quick summary

    In my experience, I am using Labview in the measurement of exercise device. I have not haveany wrong with the acquisition and display of the signal using NI USB-6008. However, I have an obligation to play a WAV file (generated by MATLAB) for the people the pace at a pace and the game is defective 4810 error saying the format is unknown. The WAV file (can be found here-metronome. TXT - but the extension. Change WAV. TXT select Download) plays in other players. Previous posts have not sufficiently addressed this issue.

    More details:

    An exercise device measure movement of reading of the Volt sensor and converts it remotely by a formula of calibration (simple y = mx + c). During the 3 minutes the person exercises - part in the attachedVI works great. However, a rhythmic ticking noise must play the Division pace for him. I created the file WAV sound functions MATLAB or play 8 kHz (attached). But it does not work no matter how many different ways I tried. Suggestions needed!

    I am running Windows 7 Enterprise, 2 GB of RAM, LABVIEW 2013

    Any help/suggestion/improvement is appreciated.

    -SM

    Thank you, Ilooked some information more and was able to play the file.

    Specifically, this Youtube video is great ride-

    http://www.YouTube.com/watch?v=ChSVf9lZ44k

    Also I write the VI which can play a WAV file when its path is given (attached)

Maybe you are looking for

  • iPhone 6 WiFi disconnection and incorrect GPS location

    From a week ago, my iPhone 6 GPS would show incorrect places where I was not only in the Maps app, but also in other applications that use GPS services. I tried to fix it myself by force it reboot several times, which did not work, and restore twice

  • How can I increase the font size of default browser?

    When you click on 'tools' received 'options', there is no 'option' not found. So I can't go to tools options content of fonts and colors and cannot change the default size of the browser. All the documents I want to print from a Web site have the siz

  • iMac will switch after integrated

    We had one fitted while I used iMac, now she won't once again. It is plugged into an anti surge protection

  • I need to swap a hard drive to retrieve data (one once the exercise)

    Hello I have an old m10560y of HP Media Center PC with a PJ751AV 160 G hard drive SATA 7200 RPM, which I removed because the motherboard is damaged. I was running Win XP on this machine.  I only need to recover data from this drive... not going to us

  • Scanned image default size

    Does anyone know how to make the default size of the documents of my small Canon scanner? Thank you.