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.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Excel with Labview 6?

    I'm trying to get Excel '97 to work with Labview 6.02, but I'm always receiving error message: -2147319784: "old format or invalid type library". I modified windows registry as told in LV knowledgebase. After that I could see Excel components in ActiveX pull down menus. I have tried to run demos such as "Open Excel And Make visible.vi" but they always output the error message. I have tried this with both Windows 2000 and NT. Other programmes, for instance MS Access, seem to work fine. What is the catch?

    Anders,
    You have run into a special case of the problem that actually has a work around for it. However, you will have to contact LabVIEW technical support to obtain the temporary fix since they need to keep track of all the people with this special case.

  • Using excel to generate signal in labview

    Hi there
    I am having a trouble in generating a signal in labview using excel and then plotting it as waveform.
    In excel file, I have 2199 rows and 9 columns with time in second and I want to plot time against other columns except column 1. In rows, I have text in first one.
    Any help much appreciated.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Data File Modified.xlsx ‏554 KB

    smercurio_fc wrote:
    You haven't shown us any code, so we don't know which columns you're using. However, you should be aware that Excel and LabVIEW use different epochs: https://decibel.ni.com/content/docs/DOC-8733.
    Thanks smercurio the link appears to be broken so anyone who tries just remove the "." at the end.
    The best solution is the one you find it by yourself

  • How can I set the SRQ bit on GPIB with LabView ?

    Hello,
    I am developping an application with LabView RT on a PXI RT system. This application acts as an instrument (non controller GPIB), and I need to assert the SRQ line. How can I do that ?
    I know the ibrsv function, but I can't find it in LabView, and I can not use it through a DLL call since GPIB DLLs are not compatible with Real-Time.
    Thank you.

    Hello Alfonso,
    It sounds like you might be getting errors -200279 and -200278.  (In the future, if you post the actual error codes, it helps us to know exactly what is happening).  Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough.  Basically it's a buffer overflow error.  It means older samples have been overwritten before you attempted to read them out.  As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
    Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop.  If you want to perform a finite acquisition, you should only call DAQmx Read once.  For more information on this error, see the KB Error -200278 at DAQmx Read.
    Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module.  As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13).  Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s.  You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
    I hope this helps!  Let me know if you have any questions about what I've described.
    Best regards,

  • Error, in Getting started with Labview. Chapter 3, part 4.

    Hi.
    Still struggling on, trying to find the time to work through the "Getting Started with LabVIEW" document.
    Only 19 days left to go, and I'm still only in chapter 3!...
    Right.  In the "Saving Data When Prompted by a User" exersise, part 4...
    4.   Right-click the Signals input of the Write To Measurement File
          Express VI and select Insert Input/Output from the shortcut menu to
          insert the Comment input.
    Problem is, that option is greyed out, so not available!...
    I did what the instructions said, I right clicked on the "Signals" input, and it doesnt do what it says on the tin!
    Any pointers?   Please don't mention search the help, I've crashed the entire LV environment 3 times now, trying to search for something in there.  It's OK if it finds someting, but it seems to bomb at times, when there is some ambiguity when searching.
    Also, I won't be able to do anyting with any replies for a day or two, as I have to go up country to a customer, and mess about with hot oil, high volts, and lots of RF.  It never ends.   (I've still got the day job to do, while trying to fight my way through this "evaluation".   30 days of "Use" would be better, than 30 calendar days for some of us.)
    Regards.
    Dave Baxter.
    Technical Manager: AR-UK Ltd.
    AR United Kingdom
    OK... Who let the smoke out?

    Hi Dennis, and everyone else..
    That is not how it looks when first dropped on the BD.  On my machine, it is partialy expanded by default, after you clear the Configure dialog that pops up ocupying most of the screen.
    Again, if it makes a difference to the way the Right Click shortcut menu works, it should be documented in the Getting Started document, especialy as it seems to be a critical point.
    OK, explain this...
    I've just rubbed out the save to file VI, cleaned up the broken wires etc, and then planted a new one on the BD.   Once I cleared the Configure dialog that covers up most of the screen before you see it the first time, the VI was partialy expanded.  I forget the exact list, but "Signals" was not at the top.
    I did *EXACTLY* the same again, deleted it, cleaned up, and then planted a fresh new one.   That DID appear that time with nothing but the "Signals" item showing, and two down caretts below that, indicating more items.
    So......
    Why the different behaviour each time, on the same BD, in the same session.   Some underlying working data not being correctly initialised when invoked?  Of course, that never happens, right? ('C' programmes eh?)
    Trying some more, it seems the behaviour loosley depends on just how close to the edge of the While loop grey border you place it.   Odd.   I have a 1280x800 screen to play with, and a 1280x1024 second screen I use for the Getting Started document.  That is the absolute maximum I can have, due to hardware limits.
    I also find, that if you fully expand the "Write to Measurement File" VI block, then fully collapse it, then expand it again, all the items in that list have changed places!  Why?
    I had noticed earlier that there is no uniformity in the layout of even the items common to many if not all VI blocks (error in, and error out to name but two) Sometimes one is above the other, sometimes the other way round, sometimes they are not even ajacent to each other.   Has that been done as a source of minor ammusement or something?
    Talking to another colegue here, who just wandered in to see how I was getting on with this.  Seems he also has tried the introductory entry into LV (V8.something) in the past.  But he too, found too many things that behaved differently from one time to another, so abandoned it as a lost cause, then decided to learn how to use Visual Basic with NI-GPIB IO instead.   Not without issues either he said, but at least it all behaves exactly the same, each and every time.
    End of the day now...
    Regards.
    Dave B.
    OK... Who let the smoke out?

  • Want to input interference signal in labview + perform bandpass filtering/demodulation

    Hello to whom it may concern,
    I have a fiber-based OCT system linked to a Tektronix TDS 2024B digital oscilloscope, with which is showing the interference fringes of the low-coherence lightsource. The signal is linked to the computer using the NI DAQ Board USB-6251. I want to input the fringes using Labview and not only that, but to perform a high-pass filter command, along with an active full-wave rectifier and a lowpass filter to see the group velocity of the interference pulse. Now I am new to using Labview so this question be a little elementary, however I am struggling here. Any helps are greatly appreciated.

    Hello!
    Basically  you will need to measure a signal in LabVIEW and then perform some processing on it. First I suggest, if you haven’t, getting familiar to LabVIEW and DAQmx that are basically what you will use for acquisition. For processing, you might find useful some toolkits we have for filters and signal processing. I’m linking information on these subjects, if you wish, you can download them in evaluation mode and take a look at the examples on how to use those functions.
    NI LabVIEW Digital Filter Design Toolkit
    NI LabVIEW Advanced Signal Processing Toolkit
    Getting Started with NI-DAQmx
    Getting Started with LabVIEW
    Regards,
    Alina M

  • How to switch central frequency fastly with labview and USRP?

    Hello everybody,
             Recently I was making a frequency hopping receiver with labview and USRP N210 and SBX. The transmitter works on the 2.4G band, and it changes from one central frequency to another every 65536us. As I think, if I start receiving at the correct time, and  change the central frequency of the USRP every 65536us, I should be able to receive the data.
        But I find that, when usrp switch form one central frequency to a different one, it spends nearly 48ms and when it switch from one frequency to the same one, it only spends 3ms(I test the performance by modifying the niUSRP EX Rx Continuous Async Reconfig on the Fly.vi example). So if I want to follow the hopping sequency, I may can only receive 17ms data because I have to save time for switching central frequency. 
         My problem is that: why usrp changes central frequency so slow,  how can I make the process faster? If I want to follow the hopping sequency, can anybody give me some good advice? Thanks

    There is an attribute "LO Frequency" that you can use to lock down the frequency of the local oscillator.  Then, when you set the "Carrier Frequency" attribute, the difference between the carrier frequency value and the LO frequency value will be realized by frequency shift in the DSP in the FPGA.  Changing this "digital" frequency shift value is much faster, since you don't have to re-tune the local oscillator.
    Let's say you're sweeping from 2.44 GHz to 2.46 GHz.  Set the "LO Frequency" to 2.45 GHz then Commit.  Then, in your loop, program the "Carrier Frequency" attribute from 2.44 GHz to 2.46 GHz.  In the loop, it will only program the digital frequency shift, which will happen much faster.
    Another tip is to use the property node to program only the attributes you want to change, rather than the niUSRP Configure Signal.vi (which sets many at once).
    For more details, see the "Configuration:Advanced:LO Frequency Property" in the NI-USRP Help, and look at this example:
    <LabVIEW dir>\examples\instr\niUSRP\niUSRP EX Fine-Tune LO Frequency.vi

Maybe you are looking for