Capture of 4 analog chanels, using one of them as a trigger

Hello there,
I posted a message a week or so ago about some issues I was having, and
I seem to have sorted them out (which is great!). Thanks for the
pointers.
So, I have one more quiery, and hopefully the last for a while. I've
attatched a copy of part of the VI I'm working with. All it does is
capture a user-specifiable number of analog input channels and write
them to a data file. It does so quite nicely, and with no problems. So..
My requirement is that the actual capture of the input channels must
occur only when a certain triggering voltage is met. This trigger will
come from a Berkley Nucleonics 500A pulse generator box. The precise
nature of how it might work I am not sure about because I'm a little
unsure about what my equipment can do. I was thinking the trigger could
be one of the input channels.. that would be great. My interface is an
SCB-68 board. It is currently set up for 4 analog input channels (and 2
output channels), using BNC connectors.
I've been doing some digging to try to avoid spamming a new message,
but haven't really got anywhere.. I'm a little concerned about whether
my system will even allow something like this. Will I have to wire in
(physically) some new channels into the SCB board? I read something
about only digital edge triggering being possible. If I have to use a
digital trigger, is there any way to use the current pulse generator..?
Again, any pointers are greatly appreciated. Regards,
mike
Attachments:
Input_only.vi ‏76 KB

Hi Mike,
You need to create a digital trigger task in MAX.
Open your Functions pallet on your block diagram, Measurement I/O, DAQmx – Data Acquisition, DAQ Task Name VI.
Once you have places the Task Name VI on your block diagram, right click it, choose New NI-DAQmx Task, MAX.
The NI DAQ Assistant window will open. Choose from the menus:
Analog Input, Voltage, your card, highlight your channels, Next, enter a name for the task, Finish.
Voltage Input Set-up Window should then open.
Are you using the TTL trigger to stream or as a clock?
If you are using it as a clock:
Go to the Task Timing tab and enter the number of samples you require.
If you are using it to stream:
Go to the Task Trigger tab and set start trigger type to Digital, Edge to Rising.
If you click on the Connection Diagram tab at the bottom of the window it show you how to wire the task.
When you have finished setting up the task click ok, this saves the task along with the configured settings within MAX.
I have attached an example piece of code which reads the 4 channels once triggered as configured in MAX.
If you require the channels to be read iteratively once triggered simply place a while loop around the read function and graph, so that the display updates.
Hope this helps
Emma R
NIUK& Ireland
Attachments:
Example code.vi ‏17 KB

Similar Messages

  • I have 2 iCloud accounts. 3 devices use one of them as a primary account; my iPhone uses the other as a primary account so I can't stream photos from iPhone etc. What to do?

    I have 2 iCloud accounts. 3 devices use one of them as a primary account; my iPhone uses the other as a primary account so I can't stream photos from iPhone etc. What to do?

    Sorry, yes indeed you can do that, I thought you wanted to keep the accounts the way they are now and also share photo stream between all devices, which of course is not possible.
    In order to login to the account you are currently logged in to as a secondary account, as a primary account, and vice versa, you will need to delete both accounts from that device and then log back into them with the correct account as a primary (settings > iCloud) and the correct account as a secondary (settings > mail, contacts, calendars).

  • HT1338 How can i use my data on windows or mac when i use one of them in the same time?

    Hi,
    i have a Mac book with 2 operating system, ( Windows& mac). How can i use my data on windows or mac when i use one of them in the same time?
    Thank you

    The following article(s) may help you.
    Resolving duplicate calendars
    Resolving duplicate contacts

  • At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required

    At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required
    Also the passwords are long and cumbersome to type every time on the apple  TV remote, what is the alternative if I cannot store them on the memory of the Apple TV

    Is it possible that you are using the same password for the old O2 Study and newer O2 Apple Base Station networks?
    If so, Keychain Access is storing the old information about the old network and may be associating it with your AirPort Extreme settings based on the BSSID that William has mentioned.
    If that's the case, open Macintosh HD > Applications > Utilities > KeyChain Access and look for a listing with the old network name. Delete this entry. You may need to power down both the computer and the AirPort Extreme and restart them.

  • I need to know the difference between planned SKF and Actual SKF from business view and when I can use one of them ?

    I need just to know the difference between plan SKF and Actual SKF in business example and when I use one of them.
    thanks

    Hi Salaam,
    Statistical Key Figure (SKF) is a base to allocate the cost between cost centers. Usually, common cost centers cost should allocate to respective department cost centers on monthly basis.
    Some of SKFs are: Calculating floor rent on SFT, Telephone charges on No. of units, and employees head count is with "Each" in SAP.
    Apart from Ajay's reply, you can consider the Canteen exp in an organization. Assume Admin, Fin and Mfg departments are getting food services from Canteen. Here, total monthly cost of Canteen exp should be allocated to respective departments. Here, we use SKF as total head count of each department and distribute the cost.
    Planned SKF is what you planned on the beginning of a period. (Assume head count was planned as 30 in the month beginning)
    Actual SKF is what exactly you consumed over the period. (Actual employees provided canteen services during the month is 25)
    BR, Srinivas Salpala

  • I have two ipads with the same apple id but my 3 year old uses one of them, how do i update hers witht he apps she can use instead of everything that is on min as well?

    I have two ipads using the same apple id.  My 3 year old uses one to play learning games.  How do I set them up so my apps arent displayed on her ipad?

    When you connect that iPad to iTUnes, go to the summary page and scroll down, there should be a box saying 'automatically update' or something to that effect. De select that.
    With automatically update on, what you buy on one goes onto the other. but with that box off you can choose.
    On the iPad itself, it's under
    Settings
    iTUnes and App Stores
    and then you can choose what you want automatically updated between the two devices.

  • Can I install CC on three computers - I only use one of them at a time?

    I'd like to use CC on three computers in three cities where I travel - I only use one computer at a time - is this possible with a single license? If so, how?

    As long as you sign out of at least one of them you can.  Sign out before you depart from a given city and you should be set to sign in at another.

  • Three monitor setup, Only use one of them?

    Hi!
    Before i buy a third monitor I want to make sure everything work as expected. I need to be able to switch between the monitors so sometimes I want all of them to be active, sometimes only two or one of them. How do i switch between those modes?
    I have two now and its easy in Windows + P where i can choose "PC Screen only" and "Second Screen Only" or extend. How does it looks with three monitors? What i want to switch between First & Second and Second & Third ?
    Thanks for the help!

    I shall suggest you to go through the following article:
    Nice Multi-Monitor Enhancements in Windows 8.1
    You may try DisplayLink
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • I had 2 Apple IDs but now Apple implemented new conditions and i can't use one of them after 90 days using the prior one..! - "This Device Is Already Associated With an Apple ID"

    I have two Apple IDs because i travel frequently between Mexico and the US, and the apple stores offer different products, so i like to download music, movies and TV series from both sites.
    Apparently apple changed the conditions, becauise until a few days ago i could log our from one account and log in from my other one. Yesterday i was at Miami International Airport and wanted to download a few chapters from one of my TV series (Walking Dead) to watch on my way to Mexico City, but a pop up window came up saying "this device is already associated with an apple id". Curoiously, the ID to which i was connected to was precisely the one under which i had bought weeks ago the chapters i was wanting to download from the cloud. So it says i have to wait 90 days to change apple id.... weard! probably i accepted these terms when dowloading a new IOS version, so legally I'm dead in complaining, but why is it that if i am paying for all that i buy as a model citizen i am now blocked from jumping from one apple id to another one???? I can certainly buy another ipad and have one with one id and another one with the other, but is there any other way i can keep the two in just one device?? If i don't use i-could would anything change? This is really making me mad, and is the first time i have thought of moving our of mac products into samsung or others and buy my music and movies somewhere else where stupid restrictions like this one do not exist. Please help with a solution!

    OK, but in my ipad, the apple id i have in itues is already the one  iwant to have, but th one i used to sin in for i-coud is the other one. Any tip as to how to change the apple id for icloud and any idea how to know what apps i bought with the other apple id so as to delete them from my ipad to avoid being asked to enter another apple id every time they get updated? thanks!

  • IOS5 and iCloud have duplicated my contacts and iCal entries.  How to I fix this / only use one of them?, iOS5 and iCloud have duplicated my contacts and iCal entries.  How to I fix this / only use one of them?

    Since loading iOS5 and starting to sync with iCloud, I'm getting multiple contacts in my Macbook as well as on my phone. How do I get rid of one or the other? The best soultion would be to fix the error without having to delete all of the duplicates manually.  This also happens with my events and reminders in iCal.

    I had the same problem and many contacts amongst my 330 differant people were duplicated up to 3 times. What seemed to have happened is any one who was in your main addrees book and also in a list would be duplicated when icloud syncs.
    I solved it by switching off icloud on the phone. deleting all entries in my mac address book. Checking the address book was totally empty. Then manualy deleting all the duplicates on the phone. Once I was happy everything on the phone was correct I Then turning cloud back on the phone. thats synched back all entries to the mac and no problem since.
    Now when i amend/delet/add a contact it syncs acros  both devices within minutes.

  • I have a 2 different .me e-mail accounts I was able to use one in my new mac but I can't create the other. Why is this happening? What can I do to enable de second one.

    Hi, my wife has 2 different .me e-mail accounts. She uses one of them on her old mac-mini, that account was .mac and then updated to .me, and so she sends and gets mail there. Now she a new mac mini and she is using her second .me account on the new mac but when I try to open (create) other it won't let me. In other words she wants both of the accounts to be on the same computer (the new mac mini) since she wants to to sell the old one. I don't have much experience with Mac and all this ID thing has me confused. Why is this happening? What can I do to enable de second mail account on the same computer?

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • I have 3 ipods that buy different stuff. Can i use one itunes account.

    My 3 kids each have an ipod touch.  They used giftcard to buy all there stuff on them or got the free stuff. I have only hooked them up to a computer once when I got them.  Do i need an itunes account for all or use one for them.
    Please Help
    Mom with to many ipods

    You can do either.
    If you want to easily share music and apps across all 3 then use one account. But then if there is money in that account, anyone can buy music or apps, as they all know the same password.
    It is possible to have 3 accounts and also share music and apps, but this is a little more tricky and would require them to know each others logins, or keep asking that person to come and login on the app store/itunes update apps/download music and then logoff again.
    You can keep a combined library on your computer as well so they all can easily use the same music/apps as well.

  • I used to export cut clips to tape (version 9.0)  but recently I bought the 13.0 version of PREMIERE and after cutting (etc) - to keep having the exàct same video-quality as what I IMPORTED/CAPTURED via an (analog) source - I export cut material simply to

    I used to export cut clips to tape (version 9.0)  but recently I bought the 13.0 version of PREMIERE and after cutting (etc) - to keep having the exàct same video-quality as what I IMPORTED/CAPTURED via an (analog) source - I export cut material simply to external HDs (so, actually to the computer)... but whatever I am trying  I notice that when I check the export-material with the original clip the first is NOT ONLY SMALLER but ALSO DOES NOT SEEM TO HAVE THE SAME RESOLUTION, DETAILNESS, SHARPNESS (or whatever you may call it) as what I origanally captured !! ... What am I  doing wrong? WHICH SETTINGS DO I HAVE TO MAKE - at least- IN ORDER TO KEEP THE SAME IMAGE-QUALITY (or even to enhance it) IN STORING ON THE COMPUTER ?!     Thanks, RVH

    Don't triple post, and especially not in the wrong form.

  • New to LABVIEW. How can I use one analog channel to trigger acquisiton of a signal on another analog channel?

    I am new to using Labview and have been tasked to write data acqusition program for my company. We are attempting to log 6 machines, each with their own asynchronous trigger (I can't use one trigger for all 6 machines). I have the idea to use (for example) ai0 for the measurement and ai1 for the trigger (for one machine), yet I see nothing in the documentation on how this is done. I have tried playing around with the DAQ express VI (I am using Labview7) but still don't see a way to have the setup I am looking for. I'm sure this is a relatively easy question, but I'm unsure where to go to look for an answer. Any helpful pointers or guidance in the right direction
    would be very helpful!

    If what you want to do is start the acquisition of channel 0 when channel 1 reaches the trigger condition and not start channel 2 until channel 3 reaches it's trigger condition, then no, you cna't do that unless you have multiple daq devices. What can be easily done is continuously acquire all channels and monitor your trigger channels. When the trigger condition is met, then perform the analysis/logging. On the Analyze>Waveform Monitoring palette is the Basic Level Trigger Detection function. Use one for each trigger channel and have it return either the index or relative time of the trigger occurance. This value can then be used to idex that portion of the measurement channel that you're interested in.

  • Use one drive for attachments using outlook

    using the portal or OWA you can use one drive for attachments rather then adding the file to the e mail itself , i was wondering if we will have this feature on outlook soon

    Hi,
    As you have known, in Outlook client there is no such feature right now, we need to insert the OneDrive file link manually to the new message if we want to attach a file.
    I can't guarantee if this feature will be added in the further version, but please be assured that any improvements in the product are based on users' requirements. Our developers strive to capture Microsoft users' ideas and are working hard to create a
    more powerful and easy-to-use product.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Opinion of Java Book

    What is your opinion of the book Sun Certified Programmer & Developer for Java 2 Study Guide (Exam 310-035 & 310-027) for use in studying for the Sun Programmer test. I have been developing for 5 years now and think it is about time to get certified.

  • Critical intercompany STO issue

    Hello Together, We are facing a strange issue in Intercompany STO process. Supplying plant has done the goods issue ( movt type 643 ) against STO order and sent us the delivery document. Accordingly we have changed the Import STO Po & manintained the

  • Error While copying the Planning version : S001 001 doesnt exist in P44V

    Hi Leads, I am trying to copy the planning version for S001 (Version - 001), from the Transaction MC8V. But, it is giving error sayin "S001 001 doesn't exist in P44V". How can I solve this issue. Please do suggest. Thanks, Sandeep

  • Need SQL*PLUS ON WINDOWS 7 32bit

    PLEASE HELP!!!!!!! I HAVE FIRST TRIED ORACLE 9I DATABASE INSTALLATION BUT IT FAILED.....(ERROR OCCURED AND SETUP CLOSED FORCEFULLY) [ unable to install more than 28% from 1st disc only] THEN I UNINSTALLED IT FULLY. NEXT I TRIED ORACLE 11G (R2) [downl

  • What's up with this image?

    I only use PSE for very basic stuff like editing iTunes artwork, and I can't figure this out: Sometimes I run into images like this one that appear to have a transparent background, but when I bring it into PSE it has a black background. The image in