General Purpose Signaling with LabVIEW 7

I need LabVIEW 7 to handle the following situation. I have 3 concurrent VI's - A, B and C. A and B want to hear different sets of "signals" from C. Specifically, A wants to hear only signals 2, 4 and 6 while B wants to hear only signals 1, 3 and 5. These sets are arbitrary and NOT known at compile-time. Furthermore, A and B can listen for their signals one or more at a time, service any received signals, and loop to listen for one or more additional signals. Neither A or B want to poll and both must hear all their respective signals regardless of the order they are generated by C and regardless of the order A and B choose to listen for them.
LabVIEW 7 Notifiers almost solve this problem except for the timestamp feature that
prevents notifications from being received out of order. For example, if C sends notifier 1 to B while B is waiting on notifier 3, and then C sends notifier 3, notifier 1 will NEVER be heard by B (unless, of course, B has a Wait on Notification icon on his diagram for each possible notification he is to receive).
User defined events look very promising for solving this problem but I am not sure how to get the event structure to hear different sets of events (not known until run-time) at different times. For example, A may first want to listen for signals 2 and 4, say with a timeout, and then listen for signals 4 and 6.
Any insights into solving this problem would be appreciated.
W. Brown

Attached is a workaround that answers this problem.
W. Brown
Attachments:
Notifier_Problem.llb ‏91 KB

Similar Messages

  • Catching POSIX signals with labview

    Hi,
    is there a way to catch POSIX signals with LabVIEW.
    Im building a LabVIEW Client (Linux AND Windows) to a non LV Server
    (Linux, C). All works fine except the catching of the interrupts sent
    by the server. The server sends interupts using POSIX signals. For full
    functionality I should be able to catch this signals. How can I do
    that?
    Thanks for your help
    Ulrich

    Interesting project!
    I looks like a few people have tackled decoding the data (both WWV and WWVB) using reciever modules that create a digital signal stream and Arduinos to decode the data.
    How about GPS based time? Here is reciever/decoder module that provides a decoded serial data stream:
    http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/GPSManualV1.1.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • How to generate BPSK and QPSK signals with Labview and ARBS?

    Has anyone used Labview to program a Wavetek 75 or equiv Arbitrary Waveform Generator to produce BPSK and/or QPSK signals.

    You can use Modulation Toolkit 2.0 for LabVIEW to generate PSK signals (including BPSK and QPSK) using common PSK configuration parameters.
    http://sine.ni.com/apps/we/nioc.vp?lang=US&cid=128​55
    You can use resampling tools present in Modulation Toolkit if you need to resample the generated data to a different sample rate for your third party AWG.
    In addition, Modulation Toolkit integrates seamlessly with NI's high-speed signal sources, including the NI 5421 for PXI:
    http://sine.ni.com/apps/we/nioc.vp?cid=12472〈=US

  • Decoding NIST WWVB signals with LabVIEW

    Hi All,
    I was wondering if anyone had code for decoding the NIST WWVB signal from CO.  Wikipedia: http://en.wikipedia.org/wiki/WWVB
    Sometimes this is incorrectly referred to as the atomic clock.
    Since this is fairly old I figured there would be something on the forums but to my surprise nothing I could find.
    This is for a specific application where I need a very low cost timing signal outside.  I have a receiver outputting the signal shown in the Wikipedia link above and access to LabVIEW I/O input DAQ, CRIO, sbRIO etc.
    Regards,
    -SS

    Interesting project!
    I looks like a few people have tackled decoding the data (both WWV and WWVB) using reciever modules that create a digital signal stream and Arduinos to decode the data.
    How about GPS based time? Here is reciever/decoder module that provides a decoded serial data stream:
    http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/GPSManualV1.1.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Write signal with time stamp

    hii...
    I've a student project to read and write data from a continous signal with labVIEW.. I'm going to read the system for 24/7, The reading program already finished.
    The problem is in the writing procces.. I have no idea how to write data to file with low level vi.. I'm new in LabVIEW and I already try some modification to my program but it still don't work as i want.
     I want the writing procces only occur when i press the button and it only run for a few second with constant time stamp.. It just to check if there are any data missing or not.. The system are a fast (It's what make problem bigger).
    I'm getting crazy at all.. If some one could help me i will be very grateful... I'm using LabVIEW 8.5 and PCI 6259...
    Kind Regards,
    Dani
    -Keep Learning-
    Attachments:
    Read Circle Encoder.gif ‏22 KB

    Hi Dani,
    here's the two-loop version...
    When you use the local you wouldn't need the queue at all... But using locals may lead to race conditions (not in your simple vi, but general) - locals don't provide "atomic" data access.
    In Labview the wire is equivalent to variables in text programming languages!
    The vi uses the producer-consumer-scheme (Erzeuger-Verbraucher-Struktur ?): one loop is producing values, the other is consuming them. It's a common scheme in LV programming, you will find examples and a lot of threads here in the forum.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    circle.vi ‏48 KB

  • "North America General Purpose 2"-color setting back on every start : PS CS5, Win 8.1 HELP

    Hi,
    have a problem with my Photoshop CS5 Color Settings on Windows 8.1. Maybe there's already a thread but haven't found.
    If I close and reopen PS my color settings are gone and back on "North America General Purpose 2" with sRGB. Have to change every time I open PS doesn't matter if I'm admin or user. Why doesn't PS leave my settings as the default the next time it opens?
    Any ideas? Cause this is very annoying ...

    Could be a problem with the Color Settings. Open it up and press the Alt key. The Cancel button will change to Reset. Click on that and it should place it to default. The Custom settings should hold.
    If not, you can use the Save button, give your Custom setting a name, add some notes and Save it.
    Gene

  • Acquire generated signal with this hardware ?

    Hello everyone,
    I didn't really know where to post this, I apologize if it's the wrong place.
    I'm very new to the LabView thing, and I have for project to trigger an injector and so to create a digital signal like this:
    Due to the characteristics of the signal (110V, 10-20A, injection duration: ~20ms), someone recommended me this hardware (sorry if I'm not allowed to post these links):
    - programmable power supply: http://fr.farnell.com/ea-elektro-automatik/ea-ps-9200-25-2u/alimentation-1-voie-200v-25a-prog/dp/2422474
    - USB interface: http://fr.farnell.com/ea-elektro-automatik/usb-interface-ea-if-u1/interface-for-psi-el-usb/dp/1268147?ost=EA-IF-U1
    I'll try to figure out on how I create (on my own for now) the signal with LabView.
    My question is, will I be able to acquire the generated signal with this hardware in LabView, do I need something else ?
    Thanks.
     

    I have designed and built injector drivers. To get a waveform somewhat like the one you showed requires a sophisticated and fast control circuit. I would not call that a digital signal.  It may be controlled by some kind of logic signals, but that is an analog signal.  No programmable power supply I have seen is fast enough to come close.
    The pull-in current does not typically go into a ring/overshoot flat-topped waveform as you have shown. It follows an exponential curve defined by the L/R rise time and the current limit set by the supply voltage and the injector coil resistance. For the injectors I have seen that current limit is much higher than the current required to generate the magnetic field required to open the valve.  That oscillatory response could be the result of a switch-mode current regulator.
    Similarly, the hold-in current does not occur by magic. Either the supply voltage needs to be changed (open loop system) or the current sensed and regulated (closed loop system).  The kind of ringing you show can occur in a switch-mode current regulator.
    Lynn

  • Is it possible to get 2-ch signals from TDS2012 oscilloscope at the same time with LabVIEW "7.0"?

    Hi, everyone.
    I've been trying to get the signals from 2-ch of Tektronix TDS2012 oscilloscope at the same time using IVI connection with LabVIEW "7.0"
    I've already searched this developer zone for the answer.
    I've tried the famous example: "IviScope - Acq Dual Wfm Edge Triggered.vi"
    and it gave me the error message like:
    Error -1074110451 occurred at IviScope Initialize With Options.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA600D) Primary Error: (Hex 0xBFFA600D) The Config Server module is not present on the system.
    I think I've installed all~ the required softwares for IVI. For example, ICP 2.2, IVI engine 2.0.46, and tktds1k2k ivi (instrument driver for tds2012, in fact this one is for LabVIEW "7.1"... :-P)
    TDS2012 and my computer is connected through HPIB(GPIB) and it is shown on the MAX (a GPIB instrument as well as an IVI hardware asset)
    I've tried GPIB connection but it gives me asynchronous signals...
    Is it possible to get 2 signals at the same time with LabVIEW 7.0(not 7.1 or higher) by any means?
    What in the earth is the "Config Server" in this case?
    I don't need to sticking to IVI and any method to achieve my goal will be welcome.
    Could anyone give me the hint for this problem, plz?

    I think your problem is that the instrument specific driver is version 7.1 and you are using the class driver with 7.0. You can create your own 7.0 driver by downloading the LabWindows driver and using the Import CVI Instrument Driver under the Tools>Instrumentation menu.
    Since you don't seem to have a good reason to use IVI, why don't you try the native LabVIEW driver at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9139659CE034080020E748.... I believe you have all of the functions to setup each channel and then when you trigger the scope, both channels will be captured. You would then transfer each waveform separately. The data is always read sequentially but that's not important as long as both channels are triggered at the same time.

  • Where can I found hardware to get analog signal from VCR and work with labview and then sample this signal in very high frequency?

    I am trying to build a Digital Video Recorder using Labview. The problem is that I found that Labview sample the signal in the order of milisecond. I wanted it to be in the order of microseconds. Also I am looking for a cheap Hardware solution if it is possible

    Your question does not make a lot of sense to me, so I will just point out a few things.
    1. The PCI-1411 works well with VCR signals. It has a BNC connector as well as a S-Video connector. The price is under $1000, so it is fairly reasonable. The amount of time you save getting it to work with LabVIEW is worth any extra cost.
    2. The PCI-1411 is sampling three colors at 30 frames per second, with an image resolution of 640x480. This is the best resolution you are likely to get from a VCR signal. The sampling rate for each byte in the image is about 28 MB/sec. This is in the microsecond range that you are looking for, I think. If you are only interested in the raw signal instead of the image, you could look at the high speed digitizing boards NI sell
    s that acquire at higher rates.
    If this information isn't really what you were looking for, perhaps you could clarify your question.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    Do you even know how to nuke and re-set Photoshop's preferences, colorplak?  Your last post seems to reveal that you don't understand what I'm talking about. Here's a link you can click on:
    Preference file functions, names, locations | Photoshop CC
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CC Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    Note for Photoshop 14.1 and later: If you use Generator and reset your Preferences, Generator is disabled. Choose Preferences > Plug-ins to turn it back on.
    Video: Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • How interface N5181A MXG signal generator with labview by using LAN Interface????????????

    hai every one ...i have a doubt how  to interface N5181A MXG signal Generator with Labview by using LAN Interface???? and
    how to find IP Address of N5181A MXG signal Generator????????
    when i connect instrument with labview it shows that no instrument connected and what are the requirements for LAN interfacing with that instruments in labview and please help me?????? 

    You can set the IP Address on the instrument.  You may need to be in the same subnet of your controlling computer, so you may need to set your computer's IP Address to something static.
    Use VISA.  It makes life easier if you decide to use another bus (like GPIB, USB, serial, etc).  In MAX, create a network session with the static IP address you set the instrument to and use that as the VISA Resource.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to make a synchronous acquisition of two analog signals with a one channel DAQ ?

    Hi !
    It is the first time I use Labview. I have just made some easy VIs, and now, I do not know how to deal with my problem...
    My problem : I have only one acquisition card (DAQ Ni 6034E) and I would like
    to acquire simultaneously two analog signals. It seems to be possible, in a quasi-synchronous acquisition if the card acquires one point of the first signal, then the first point of the second signal, then the second of the first signal, and so on ... I thougth that I could made two sequencies with a VI of data acquisition in each sequency, with the AI MULT PT. But with this, I think that I will lose the precision of the sampling frequency. And I have to know the sampling fre
    quency ...
    Thanks for your help !
    Carline

    Hi Carline,
    A PCI-6034E is a low-cost board, which only has one Analog to Digital Converter (ADC).
    With only one ADC you can't acquire different channels at the same time. That's why you find a multiplexer before the ADC in this type of board. This enables you to acquire multi-channels at the same rate quasi simultaneously. The samples of the different channels will be interleaved as it is explained in the following knowledge base :
    - http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9379ea091c264b7c86256bc90082ca5d?OpenDocument.
    With this method, the sampling frequency is the same for all channels. The sampling frequency of one channel is determined with the "scan rate" parameter. There is only a small delay between the samples
    of each channels. When you perform an interval scanning acquisition, this delay depends on the "sample rate" that you specify. To have more informations about this terminology, please refer to the following KBs :
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    To easily perform such a multi-channels analog acquisition, you can use the VI named "AI Acquire Waveforms.vi". You also can use an example provided with LabVIEW. You just have to browse the NI Example Finder in "Harware Input & output >> Traditional NI-DAQ >> General".
    Best regards,
    Benjamin
    National Instruments France

  • Controlling a Nanomotion motor with LabVIEW?

    What do I need to run a Nanomotion motor with LabVIEW?
    LabVIEW - Controller - Driver - Motor
    The Nanomotion motor which I intend to use is a HR4, for alignment purposes in a cleanroom environment. Do you have any experience in using this or other Nanomotion motors please add a comment to this post.
    Regards,
    Marcus
    Marcus Törndahl
    Senior Software Designer @ Prevas AB

    Marcus,
    some years ago I have used an NI 7344 motion control board to control a Nanomotion ultrasonic actuator. I don't remember the model type of the drive, but it has provided a +/- 10 V command input. The position feedback signal came from a quadrature encoder.
    In fact NI's motion control R&D has worked with Nanomotion to implement some features into the control algorithm of the 734x and 735x boards to optimize the control behavior for Nanomotion actuators. The most important parameters, that were added to support these motors are the foward and reverse offset voltages to configure the static friction deadzone.
    Brief explanation: There is a deadzone of approximately +/- 2 V at the command input, where the motor doesn't react to command voltage changes. The 734x and 735x boards can avoid this deadzone. Otherwise it would be very hard to properly control the actuator.
    I hope that helps,
    Jochen Klier
    National Instruments

  • Having trouble figuring out how to use trigger inputs as a general purpose input.

    I'm trying to use "Trigger 1" as a general purpose input to indicate the status of external circuitry. I can't seem to get the "Read High-Speed Capture Status" to indicate anything. I'm using the "Configure High-Speed Capture" VI with the capture mode set to Inverting Digital Input, and that VI feeds into a Do-While loop which contains the "Read High-Speed Capture Status" VI, which has the Ret Vect set to 0. I see from the online help that the High-Speed Capture function is available on Servo and Closed-Loop stepper systems, which I suppose is to enable the ability to read the position of the encoders. I'm using an open loop stepper system, so are these High-Speed Capture fun
    ctions unavailable even though I'm looking only for status (Trigger 1), and not concerned with reading position? Thanks in advance, Rob.

    Thanks for the answer Ken. I'm going to try a different workaround. The global was too slow, and I think I'll break my subVI into two parts. I'll create a sub that has all the setup stuff in it, then embed the actual "check trigger status" loop in the main VI. The loop contains only 2 or 3 nodes. Too bad LabView works this way. I can see one reason it should, but another larger reason it shouldn't. Wishlist.... Oh, speaking of wishlist, I like the improvements that 6.0 has brought, but one thing still bugs me. There's no way to have LabView remember the place to look for files when it's first started. It defaults to "My Documents", which should be, as all LabView programers know "LabVIEW6\user.lib" (or whatever). Of course, once th
    ere, LabView remembers for that session. Next time it's started, back to "My Documents" again. How 'bout fixing the "Options", "Path" settings so that it will actually remember the path set? Am I missing something here, or does it have anything to do with the fact that we're using Windows 98? My buddy's using NT, and his works the same. Is there a way around this? TIA, Rob.

  • Generating signal with several frequencies - Timing issues

    Hi
    I use Labview 7.1.
    I am trying to generate a signal composed of 1000 different frequencies.
    For this purpose I am using the Multitone Generator VI .
    My problem is that the generating process is too long for my real-time
    application.
    Is there any way to accelerate (optimize) this process?
    I think about several options, such as:
    Using more powerful computer (multicore)
    Making the process parallel (is it relevant
    for Labview7.1?)
    Changing VI's properties (priority etc..)
    Please advice
    Amir

    Hi,
    Attached my problem.
    I am trying to generate signal with 100 frequency component (100 different sine waves).
    According to the timers it is taking 87mSec to produce the signal which length is 1 second.
    In my project, I need to generate 1000 frequency components. And also 20 channel of this kind.
    So it is clear that i will not be able to achieve the timing requirements
    (It will take more than 1 second to generate a signal of 1 second)
    What can you advise me ?
    Thanks
    Amir
    Attachments:
    Generate_100_freq_signal.jpg ‏156 KB

Maybe you are looking for