How to AO signal continuously

Now I can use 4461 to AO signal continuously, but the structure of the program is based on the while loop.So if I want to stop the generation,I must click the "stop" control on the front pannel.What I really want to know is if there is a method which isn't based on the while loop,thus when I run this vi, it can generate signal continuously.Because this vi isn't based on the loop, 4461 can still generate signals even though I closed this vi.And if I want to stop generation, I can run another vi to stop the generation. It will be better if there exists such a method. So I can program using TestStand. One step is signal generation, and next several steps will stop the generation.
Thanks a lot!

I haven't found a way to do it yet. To get the hardware to run, you have to create and run a task. Unfortunately, the tasks are only 'alive' as long as the VI that ran them is running. If you took advantage of the card's memory and used regeneration, I couldn't see a reason why you needed to have a VI running to keep the output going. I ended up using a producer-consumer program structure with the AO stuff as the producer loop and the acquisition contained in a state machine consumer loop using queues to pass commands and data back and forth. It works quite well.

Similar Messages

  • How to generate GPS signal continuous

    Hi,
    I encountered a problem recently and I need your help. A customer used a PXI-5671 to generate GPS signals to test a receiver. The problem was like this:
    1) When we used actual GPS signals instead of simulated signals generated from the PXI-5671, the receiver functioned normally.
    2) When we streamed bin file to generate signals repeatedly using the PXI-5671, the receiver could receive correctly for the first time, while at the rest of it the receiver couldn't receive the signals nor display how many satellites there were and what the signal strengths were.
    I supposed, that this was due to the reason that the timestamp for the second time was earlier than that at previous time. How do we generate GPS signals continuously with the timestamps updated?

    Hi,
    When you stram from a bin file repeatedly, it will run first time but will lose lock because when it comes tothe beginning of the file, its time suddenly jumps and the receiver does not accept this. For example, lets say your bin file is from GPS time t1=0 to GPS time t2=30000s. When you loop back around the file, the time increases from 0 to 30000 and then jumps back to 0 and that is not acceptable by receiver. You will need a direct streaming from 5671.
    I can put that up for you soon if you want.
    Regards, 
    Sastry 
    Sastry Vadlamani
    RF and Communications Software R&D
    National Instruments

  • HT4929 I have a power mac using Tiger so how do I to continue to use mail on my computer?

    Hello,
    I have a power mac using Tiger so how do I to continue to use mail on my computer?
    Please Help. I love using Mail on my G4.
    Thank you.
    Gaynor Kemmett.

    Thank you so much for your outstanding information. Even me - a 52 year old die hard Power Mac G4 Tiger user was able to follow the simple directions and I know have a iCloud account. Yeah!!! Thank you.
    Gaynor.

  • How Can I Avoid Continually Entering Serial Numbers

    I purchased a new iMac to replace my older iMac.  Aperture works only if I re-enter serial numbers each time I open Aperture.  How can I avoid continually entering the serial numbers.  It is annoying that my Mac won't remember my labour.

    You cannot "access it" at all using a serial number.
    Please explain what you are attempting.

  • How long will Apple continue to release patches for Snow Leopard?

    Now that Mountain Lion has been released, how long will Apple continue to support Snow Leopard with patches?

    I think the support has already stopped for 10.6.8 if past practice is anything to go on.*
    Past observation suggests Apple supports the current and the preceding OS.
    On the  25th of July, 2012** it became no longer the preceding but relegated to 'bronze'.
    * exceptions have been known but are rare.
    ** when 10.8 came out.

  • Canon T5i - How would I turn continuous AF in movie mode?

    Canon T5i - How would I turn continuous AF in movie mode? My current settings require me to push the shutter button to adjust focus. I can also push the video screen to adjust the focus point, but then I still have to push the shutter button. Thanks!

    See page 196 of the manual and select Enable.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • How applet can read continuous data stream

    How applet can read continuous data from server(like database update)

    You can keep opened a socket to the server. You can send any data from/to the applet in that way.

  • How to read a continuous temperatur​e signal from a Pyrometer via RS-232

    I'm trying to read and graph a continuous signal from a Pyrofiber Lab pyrometer which is coming in through an RS-232 cable. As far as I can tell there are no device drivers for this instrument (or any other pyrometers). 
    If I have the pyrometer take single measurements I can get those into LabView using the Instrument I/O Assistant, but only as an ABC string reading " 'emmisivity value' 'temperature' 'corrected temperature'" and not as individual numbers or data that I can use/graph. If I have the pyrometer in High Speed Transmit mode (which is the mode I need it in), I can't read the signal at all. How can I get LabView to continuously read (and record or graph) the incoming signal? And is there some way to parse the signal when it comes in as a string with " 'time' 'emissivity' 'temperature' 'corrected temperature'"?
    I'm very new to LabView (and programming in general), so any hints on a good starting point would be appreciated. 
    Solved!
    Go to Solution.

    progers - There is not a specific solution, as there is not a device driver for this device (assuming you are also using a pyrometer).
    There are serial communication examples in LabVIEW, by going to Help >> Find Examples >> Hardware Input and Output >> Serial. 
    You will need the programmer's manual for the device to know what serial commands to use to talk to the device (see Dennis's post above).
    Best Regards,
    K. Anderson
    Applications Engineer
    National Instruments

  • How to select signals from the output of a DAQ assistant

    Hi! 
    I am a new user of Labview 8.5 and I am working with a USB-6210. I have two different instruments connected to the same USB device, half of the channels are being used for pressure transducers where I only need to reed and save the data, while the other half are associated to TCD detectors where I need to perform some analysis to the signal to obtain and save the data. I am in the first step of building the block diagram, After I define each of the signals which its corresponding channel using the DAQ assistant, I need to select and separate the signals coming from the pressure transducers from those coming from the TCD detectors, before I can continue drawing the block diagram. I am trying to use the Select Signal function but I am not sure how to do this. Can anyone please let me know at least in which manual can I find a good explanation? I have been reading the Getting Started and the User Manual for LabView but they have not been very useful so far.
    Thanks!
    Solved!
    Go to Solution.

    Wire the Select Signals express VI to your DAQ Assistant and run the VI once (this allows the signal names to propegate).  Then when you open the Select Signals configuration you'll be able to pick out the channels you want by name instead of just "Signal 1" etc.
    It sounds like you'll probably want two Select Signal Express VIs, one for the TCD detectors and one for the pressure transducers.  Something like this:
    If you right click on the VI and select Help or click on the Help button within the configuration dialog you will bring up the LabVIEW help page for this (or any other) VI.  Are you looking for some other information that isn't documented in the help file?
    Hope this helps,
    Simon

  • How can I perform continuous acquisition of a repetitive waveform?

    I want to synchronously acquire a repetitive waveform where there is little or no dead time between cycles. I plan to use an external trigger and scan clock. I need to store each cycle of the waveform as a separate record so I need to know the start and stop sample for each cycle.
    I considered putting an N sample acquisition inside a Do While loop, but I can't afford to drop cycles.
    I'm considering doing a continuous acquisition and calculating the correct number samples to read from the buffer for each waveform cycle. My concern with this method is that I need to acquire waveforms for a long time (many hours) and I'm concerned about losing synchronization. I've thought that maybe I could acqu
    ire say a 1000 cycles and then restart the process, which would minimize dropping cycles and maintain synchronization.
    Any suggestions? Am I making this harder than it really is? I probably should say that I'm using a 6052E DAQ sampling at 100ksps.

    Hi
    I am trying to solve a similar problem at the moment (I have a discussion going in the 'Dynamic Signal Acquisition and Analysis' section) but have not found a completely satisfactory solution so far.
    I am acquiring an analogue signal from a rotating machine from which I also have a TTL signal which gives me a once per revolution (OPR) marker. I want to continuously acquire the analogue signal and use the OPR pulsing signal to 'chop up' my continuous analogue signal into a set of data for each rev.
    I have used a method similar to the one you have described - I use continuous double-buffered acquisition to acquire the analogue signal and the counter values, with the OPR pulse signal as the counter gate. However, I have been unable to synchronise the s
    tart of the signal and counter acquisitions together. I can start the signal acquisition using the OPR signal as a trigger but not the counter. I tried using GPCTR_Change_Parameter() to set the start trigger to external (ND_ENABLED) but this is not permitted with my E Series device (PCI-6111E with DAQ-STC).
    Do you know a way round this? And even if I could start my counter acquisition using the OPR signal, how do I ensure that I haven't missed any revs between starting the signal and counter acquisitions (in tests where I use immediate software triggers for the signal then the counter in successive lines of C++ code, my counter is already 2 cycles behind at just 100Hz OPR).

  • How to view signal in a waveform chart in Labview Signal Express?

    Hi,
    I would like to view a signal in Signal Express 3.0  in a "waveform chart" but don't know how to do it and I am thinking that it may be impossible?
    In Labview there are two ways of viewing data, either in a "waveform chart" or in a "waveform graph". The great thing with "waveform chart" is that it lets you define a history length and you can see the data move to the left (strip chart option) as the samples are being retrieved. It works perfect. 
    In Signal Express I can only select "XY graph" or "Waveform graph" by making a right-click the mouse but I cannot select "Waveform chart". Is it really true that it is not possible to view the data in a "waveform graph with Labview SE? (1 analog signal being read continuously, 100 samples to read at 1K rate)
    Thank you in advance,
    Enrique
    Solved!
    Go to Solution.

    Hi Enrique,
    You are correct that there is currently no waveform chart in SignalExpress. The closest thing you can get to, is recording the data as a log and then viewing it while recording (which I realize is not quite the same, interactive behavior).
    For your last comment, you wrote "waveform graph", but I assume you meant to say "chart" there as well.
    Sorry about this. We have recently been getting this request, so perhaps in a future version.
    Phil

  • How to debug signal related issues with mdb

    I have a C++ application and occassionally it core dumps receiving a SIGABRT signal. We are not able to find the source of the SIGABRT signal. All we have is the core. Is there a way to find out who sent SIGABRT to our process? For that matter if someone sends our application a SIGABRT using kill cmd asynchronously, how does one find out who has sent the same? We can't keep truss'ing the process as it's a production env. Is there a way to find this out from the core file?

    I don't have a specific suggestion, but these ideas might help you.
    I assume by 'cannot be resumed' that you are able to launch the application, but after leaving the application and returning back to it, the app crashes? Or is it that you can run the app once but never a 2nd time (even after it fully closes)?
    What kind of app is it? WP7, WP8, WP8.1? Silverlight or WinRT? It might not make a difference but it might make it easier to find a solution. I suggest looking up the application life cycle relevant to the version you are targeting.
    Is your app.xaml.cs doing anything out of the ordinary or is it just the default code?
    Here's what I would try: put a breakpoint at the start of every method in App.xaml.cs/VB and hope one is hit! Not very helpful, but you might get lucky. I'm not too well versed in app resuming, but is the app navigating back to the page it was on when tombstoned?
    Perhaps the issue is in the page OnNavigatedTo or the Loaded event handler (if you have one).
    When my apps fail to launch and don't hit any breakpoints it usually ends up being an issue in XAML, not code behind. But I don't think your problem fits that becuase you can clearly launch the app, just not resume it.
    I'm sure you've probably tried most of those things, but hopefully I thought of something you missed and it turns out to help :)
    Visit http://blog.grogansoft.com/ for Windows development fun.

  • How do I get continuous replay of a video created in Premiere Elements 13?

    I created a video in Premiere elements 13 and I would like it to play continuously.  Elements 10 had a specific marker that could be added to the end of the video and cause it to go back to the beginning.  I don't know how to accomplish this in Elements 13.

    Mortsphotos
    Bottom line: I see no difference between 10 and 13 in what you may be asking about.
    Please read the longer reply below, and then we can discuss this further.
    Details
    If you are talking about looping video....
    I have never run into the looping feature that you attribute to Premiere Elements 10 Editor (or any other version).
    Was this supposed to be a Premiere Elements 10 Editor Timeline content looping feature for viewing only within the project or a feature that allowed the export to loop without intervention of the player after the export?
    For looping of files
    a. find a repeat button on the player
    b. repeat the Timeline content on the Timeline as many times as you want a repeat and then export the whole Timeline.
    c. if you want to have a looping DVD-VIDEO on DVD disc, consider
    ATR Premiere Elements Troubleshooting: PE: Looping DVD-VIDEO on DVD Disc
    If you are talking about disc menu navigation of a disc menu...
    I wonder if the above is really what you are asking about. Are you asking about placing stop markers at the end of a particular movie in a multi movie Timeline so that the viewer
    selects one Timeline movie from a choice of many, the selected movie plays, and, when playback of that particular movie is finished, it returns the viewer to the main menu? For that
    you put a stop marker at the end of the individual movies on the Timeline. You never put a stop marker at the end of the last item on the Timeline. Problems if you do.
    Please review and consider. Please supply more details. And, then we will discuss this further. If you need clarification on anything that I have written, please do not hesitate to ask.
    We can go at whatever pace that you want in the troubleshooting.
    Thank you.
    ATR

  • How to Restrict the Continuous Absences in 2001

    Hi,
    We have maximum eligibilty of CL is 3days . After the 3 days of quota, system accepting immediate 3 days as CL in infotype 2001. so total 6 days CL quota is continuously coming. how to restrict this for only 3days.
    another case is after 3 days CL, immediately emplyee appying for SL quota also. as per client requirement we need to restrict that.
    please guide me

    Dear SK,
    I do not have the knowledge on Development side, could you please give me the brief information about USER EXIT and in which report we need to do the development. its very urgent requirement
    Thanks & Regards
    BVB

  • How to configure a continuous pulse generation that doesn't end after the VI exits with DAQmx?

    Hi,
    I'm just learning the DAQmx and I have run into a problem.
    With the legacy DAQ API I could configure a counter to create continuous pulses and
    when I needed change the freq or duty cycle, I would just call the the configuration function
    again. The pulses were generated even after I closed LV, so it was all in the hardware.
    Now, with DAQmx api, it seems that this is not possible. I read a forum post saying that
    LV will end the pulse generation after the VI exits. Is there a workaround for this?
    I could ofcourse create a LV thread for this, but I liked the old one better
    It was simpler and I didn't need to worry about threads so much.
    All LV operations are going to be inside a DLL that is called from outside of LV, so I can't
    use LV threads in a simple way, e.g. putting things inside a while loop. Just that you'll
    know why I wan't to avoid using the threads.
    Thanks.

    It is possible to achieve this behavior using the DAQmx API by using the DAQmx Create Task VI to explicitly create the task (rather than relying on DAQmx Create Channel to do it implicitly) and setting the AutoCleanup attribute to False.  This method prevents LabVIEW from automatically clearing the task when your VI (or the function you'll be exporting to your C .dll) finishes executing.  The disadvantage is that you might accidentally "leak" a task if you're not careful.  In order to stop the pulse generation on command, you can either reset the device or somehow store the task name you created and come back later to call DAQmx Stop and/or Clear Task.
    Here's how you would start the generation:
    ...and how you could come back and stop it later, using the task name you created:
    Hopefully this helps-
    Message Edited by Tom W [DE] on 11-16-2007 07:54 AM
    Tom W
    National Instruments
    Attachments:
    autoCleanup.JPG ‏17 KB
    clearTask.JPG ‏4 KB

Maybe you are looking for

  • Class to Get File List from Application Server

    Hi all I've to obtain the file list of a directory from application server, I can use a FM too but It's possible the lenght of file name is upper then 40 characters so I can't use FM EPS_GET_DIRECTORY_LISTING. Thanks Edited by: Aristoteles92 on Apr 2

  • ICal doesn't 'see' any appts. on a delegated account on an Exchange Server

    We have an Exchange 2007 (SP1) Server in an Active Directory environment. We have several OSX 10.6.2 macs using iCal and Apple Mail to interface with the Exchange service. The email and calendars work just fine with the accounts that I have defined f

  • External HDD Not Appearing

    Hi All, I'm trying to connect a Windows HDD to my Mac via a USB - SATA cable as the windows laptop has died. The disk has booted fine but does not show up in finder or Disk Utility. Any ideas why its not appearing? Could it be the adapter I'm using a

  • OCCI-getString error

    The following is a small console program written with Visual C++ 6.0 sp 4. The program has a crash when it tries to destruct the string variable fodt in the while loop. Is this a known bug or is there an error in the code ? Bertil Reppen #include "st

  • Need help with the serial numbers

    Hi Gurus, I am facing this problem of dealing with the embeded spaces in the serial numbers of the meters. The standard MIGO transaction doesnot allow the use of spaces in the serial number entries. Even if some one puts a space in the field the syst