How to synchronize parallel VIs in labview 7.1

Hi
I want to synchronize two parallel VIs . If anybody know this please help me.
Wije
Solved!
Go to Solution.

Hi Mike
Thanks a lot concern about my problem. Actually I need synchronice two DMM using same external trigering source. So I programme two DMM using parallel VIs. See attachment. I gave same voltage input to the both DMM and detected digitized signal. But at display there is a phase differance due to time delay with parallel VIs. Hilight excecution shows that although the two parallel VIs not run same time. This time delay between parallel VIs create phase differance even for same signal. So I want to synchronize trigering section in programe as shown in attached figure. I checked manual and examles. But I have no Idea how to put these VIs in queue operations. Your help in this mattter highly appriciated
Wije
Attachments:
2 DMM Syn.JPG ‏157 KB

Similar Messages

  • How can I write VISA in labview to communicate with instrument using RS485

    my instrument has a Modbus communication procotol, how can I use VISA write or read to communicate with the instrument? Thanks!

    RS485 is simply a physical-layer protocol defining pinouts, signal levels and the like. To make the connection you need either an RS232-RS485 converter (check with BlackBox) or an RS485 serial IO card (check with NI). Either way, there should be no changes required to you Modbus drivers or other software.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • "how to read parallel port using labview"

    "i am doing a bio medical project and need to read data from parallel port using labview. can anyone help me"

    Hi
    in most cases a simple example helps best.......see attachment. Find in addition in Word document a helpful picture of LPT - Pins.
    In case you work with WinNT, W2k, XP - you need to install accesshw.
    Regards
    Werner
    Attachments:
    printer_port_test.zip ‏41 KB
    dsub_25_parallel_port.doc ‏29 KB

  • How to synchroniz​e several compiled LabVIEW VIs with trigger?

    - We have a timer (LabVIEW-VI).
    - We also have several different other files who should listen to the timer.
    Triggering with notifications wont work because copilation gives an own thread for each app. Notifications work only in the same thread...
    Triggering with a global doesnt work also!
    Seems to be the same problem...
    Someone have an idea how to send a trigger from one compiled VI to another?
    (We dont want to communicate over a file by the way.. )

    I'm assuming that you're talking about built applications (.exe files) since all VIs are compiled. To communicate between applications, you can use ActiveX, TCP/IP, or datasocket. Datasocket might be the easiest. Set the time program to be a datasocket writer and have a datasocket read in the other programs.

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • How can I do to communicate to parallel port using labview 5.0 and NT ?

    I am trying to write and read from parallel port using Labview 5.0. It does not work with NT.
    How can I do to communicate to parallel port using labview 5.0 and NT ?
    Thank you in advance.
    Regards,

    If you are trying to use In/Out port functions that come with LabVIEW they will not work with NT. I think the AccessHW file at the following link will fix that problem:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/49664743ded6f1da862564bc004e3a7f?OpenDocument
    Try also this link:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument
    and do some searchs at NI.com for parallel port, you should find some more usefull info.
    Good luck
    Brian

  • How to control a parallel port with labview

    Hi. I'm trying to control a dc motor with a parallel port using labview. the program has to be able to vary the out put voltage of the computer (0 - 5V) through the parallel port into a circuit which will step up the voltage for the motor. Any help would be greatly appreicated. garreth

    Do you want to output and varying signal from the parallel port pins? If so you can't do it, the port pins are digital and can only be high or low, not inbetween. You can control the individual lines high or low using the In/Out Port vis in Advanced>>Port I/O. For more help on doing this search the message archives (I know I've answered a few) and NI's site, there is some good info on it out there. Try some of these for starters:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f4146c66990c46388625695f00726581?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f3c4ee6ee2c23ef386
    25646b007882c8?OpenDocument
    http://www.advmeas.com/goodies/parallelport.html
    I hope this helps get you started
    Brian

  • Controlling XY stage connected to parallel port using labview

    Hi,
    I have a XY stage which I can control using mach3 software. I want to control a signal generator, VNA and the XY stage at the same time. I have programmed SG and VNA using Labview but I am having difficulties controlling XY stage using Labview. I have never controlled an instrument connected through parallel port using labview.
    Can anybody give me some ideas to start with? How do I use VISA to control the parallel port? I really appreciate your help. Thank you in advance.

    Hi srms,
    Since your question is related to using VISA, I would try posting your question on the Instrument Control Board. You're likely to have better luck there.

  • How to control parallel pins I/O thru USB converter

    Few years back I developed a 5.1 Labview program and a 3 axis stepper motor control system. It used the parallel port on the PC for communications. The last several laptop PCs I purchased have no parallel ports, at all. So I bought some Manhattan (336581) USB to parallel convert cables. I'm attempting to use NI-VISA 3.0 to control the USB converter therefore a parallel port. I'm having some trouble finding the correct VendorID, ProductId, ManufactName, and Model Name. I did manage to create a .inf and then .pnf files from info I received but Measurement&Automation Explorer doesn't find any Usb devices, much less the one I should have created. Once I do find the device, how do I control the IEEE-1284 pins at the 25 sub-d connector? I have the block diagram of USBTMC.vi but I'm confused as how to use output and input similar to the way I used to use "outport" and "inport"in 5.1 etc. Any suggestions how to control parallel I/O using a USB to Parallel converter. Thanks Robert

    hi steve, i also facing the problem when using the USB to parallel port  to control output. before this i direct use the parallel port (PC) to control, now im adding a usb to parallel port to control the output (LAPTOP). it is using the device that u recommeded can solve the problem ? what is the function node that used in labview ? thanks. sheng
    Attachments:
    usb to parellel port led testing.jpg ‏1619 KB

  • How to synchronize presentation on the front panel to the start of a 75Hz monitor's retrace cycle?

    How to synchronize front panel presentation with the start of a retrace cycle of a 75Hz Monitor, so when a bitmap is presented 100ms, its duration is indeed 100ms on the monitor?

    Hi,
    In the old days (late 90's), we used in port and out port to wait for
    vertical retraces (or even horizontal retraces).
    I searched the web (vertical retrace), and there seem to be lots of
    infromation and tools, like
    http://www.compuphase.com/vretrace.htm
    It uses a simple routine:
    mov dx, 3dah ; VGA input status register
    vretrace_loop:
    in al, dx
    test al, 8 ; bit 3 set?
    jz vretrace_loop ; no, continue waiting
    But to get it working, you need a VxD. Good news is you can download it.
    The also suggest you use WaitForVerticalBlank(), but dx could be hard to get
    working under LabVIEW.
    Please let us know how (and if) you got it working with LabVIEW!
    Regards,
    Wiebe.
    "Vinci HK" wrote in message
    news:[email protected]...
    > Hi Robert,
    > I am so excited to have received a response! Sorry that I didn't reply
    > earlier as I have been out of town. You are understanding the problem,
    > so good!
    >
    > I just want to know the exact duration a stimuli in the front panel is
    > presented. I can make it to last for 13 frames, but the problem is to
    > ask LabView to synchronize with the start of a frame.
    >
    > The crucial thing is that I want a trial of presenting 700ms blank
    > screen + 1300ms bitmap will add up to 2000ms on the front panel. And
    > in the next 2000ms, a different bitmap will be used for the 1300ms.
    > The start of a trial is initiated by a pulse from the parallel port. I
    > need the 2000ms on the front panel to be really 2000ms+/-5ms.
    >
    > My worry is that even if I buy the external clock and the RealTime
    > system of LabView, I won't be able to get the front panel to
    > synchronise with the refresh cycle of the monitor, so that the trial
    > length as it appears on the front panel is 2000ms +/- 5ms.
    >
    > What do u think?
    >
    > I am using LabView for my fMRI experiment, and I wonder if you know
    > anyone from the fMRI community who are using LabView for stimulus
    > presentation and synchronization with MRI data acquisition?
    >
    > Thanks,
    > Vinci

  • Report generation VIs in Labview 6.1

    Hello,
    I am havinf problems with using Labview 6.1 VIs for report generations. The VIs provided by Labview are not executable! It seems as if they had internal errors, non fixed errors. Moreover, I am not able to open the diagram because it is password protected. Does someone know if there is any patch to fix this or the reason why these VIs don't work?
    Thanks a lot!
    Regards,
    María

    Hello Maria,
    are you using the report Generation Toolkit for MS Office or the standard vis that LabVIEW provides for report generation?
    If you use the Office toolkit, this may help:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c8888a9a74e75c4786256cda00694a1e?OpenDocument
    If not, this may also help:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9acb175f6de483ae86256b2200776b8b?OpenDocument
    In any case, WHAT I WOULD TRY FIRST is to do a Mass Compile of the folder where the report vis are located.
    Here you can see what this does and how to perform it:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/654877e62a97b72986256c95006f9b24?OpenDocument
    One last question...are you having trouble only
    with executables or also during development?
    Regards,
    JorgeM.

  • How to synchroniz​e sampling on PXIe-5162

    Hi, I need to characterize phase and amplitude imbalance of two quadrature signals from a 14bit TxDAC. I selected two 5162 modules to do the job. The signals can have a frequency of up to 1.2GHz..
    Is PXIe-5162 capable of doing this job?
    The plan was to record a long sample of the signals and then do the processing in ie. Matlab.
    I am facing a few problems. Is it possible to synchronize sampling of all channels on one 5162 module, and how to synchronize sampling of 2 x 5162 modules with enough accuracy to have a phase resolution below 1deg?
    Are there any examples of how to synchronize sampling of multiple channels/modules in LabView ?
    Can the phase and amplitude measurement be done directly in LabView without involving Matlab?

    Hi Robert,
    Did you already read some white paper and KB about synchronization using LabVIEW?
    http://www.ni.com/white-paper/11369/en/
    http://www.ni.com/white-paper/4322/en/
    You can find some other white papers on ni.com. I think this will be a good start before doing something else.
    You also can search in the LabVIEW examples.
    Here some information about the measurement of the phase and the amplitude:
    http://zone.ni.com/reference/en-XX/help/371361H-01​/lvanls/amp_and_phase_spectrum/
    http://www.ni.com/white-paper/7670/en/
    Let me know if it is good
    Jean | Applications Engineering | National Instruments Switzerland

  • How to synchronize NI-Scope and DAQ

    I use a PXI-1042 System with a PXI-5124 Ni-Scope Card and a PXI-6120
    with traditional DAQ controlled by a PC running WinXP and LabView 7.0
    The intention of this setup is to make synchronized acquisition with
    both cards with different sample rates. For the sake of an example let's
    assume the NI-Scope runs at 100MS/s and the DAQ (6120) with 100kS/s. The Trigger is generated by
    analog triggering of the 6120. I'm looking for a solution to garanty
    that for a STOP trigger with post-trigger scans the last sample of the
    6120 coincides in time with the last sample of the NI-Scope 5124 card.
    Or to put it in more general terms a way to identify which of the 1000
    Samples the 5124 Card takes in the sample interval of the 6120
    coincides with the respective sample of the 6120 ? The point is to have
    a time resolution (for phase difference measurements) better than that
    given by the samplerate of the PXI-6120.

    Here you can find an example that shows how to synchronize a DAQ-Device with a Scope-card:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E2C556A4E034080020E74861&p_node=175382&p_source=External
    Hope this helps.

  • How to synchronize NI-Scope and traditional DAQ

    I use a PXI-1042 System with a PXI-5124 Ni-Scope Card and a PXI-6120
    with traditional DAQ controlled by a PC running WinXP and LabView 7.0
    The intention of this setup is to make synchronized acquisition with
    both cards with different sample rates. For the sake of an example let's
    assume the NI-Scope runs at 100MS/s and the DAQ (6120) with 100kS/s. The Trigger is generated by
    analog triggering of the 6120. I'm looking for a solution to garanty
    that for a STOP trigger with post-trigger scans the last sample of the
    6120 coincides in time with the last sample of the NI-Scope 5124 card.
    Or to put it in more general terms a way to identify which of the 1000
    Samples the 5124 Card takes in the sample interval of the 6120
    coincides with the respective sample of the 6120 ? The point is to have
    a time resolution (for phase difference measurements) better than that
    given by the samplerate of the PXI-6120.

    Here you can find an example that shows how to synchronize a DAQ-Device with a Scope-card:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E2C556A4E034080020E74861&p_node=175382&p_source=External
    Hope this helps.

  • How can I write program in Labview for zbrain kit..??

    Hello everybody
    I need to write the program in Labview fro Zbrain kit. I need to write code for multiple analog input (through multiple channels) that results multiple digital output. I found one refrence code which has one analog input (one channel) and gives one digital output.
    I also need to save data for channels. I have no idea how can I save data for channels.
    I have attached here the base program. Please give me idea how can I understand this program so that I can complete following tasks:
    1. Save data for one channel and later for multiple channels
    2. Modify the number of channels from one channels to multiple channels.
    Actually I have gone through the videos and text based content(basics in labview) but I am unable to write the code.
    Attachments:
    Analog_3_InBlock.vi ‏131 KB

    Hi,
    Attached is an example snipped with some more comments on how to acquire multiple channels on a ZBrain platform that is based on an Analog Devices Blackfin processor. Just drag and drop it into your LabVIEW diagram. More examples can be found here: http://wiki.schmid-engineering.ch/zsystem/doku.php?id=example_zmc_adc-dma_continous. The idea behind dynamic data acquisition on a microprocessor is simple: you define the channels (up to 6x) , sampling frequency (up to 250kHz)  and block sizes (up to 65'000) and start the acquisition. The underlying driver model samples in the data in parallel and the LabVIEW program gets this data. While e.g. processing the data, the underlying driver model continues sampling new data.
    I hope this helped.
    Marco Schmid
    Schmid Engineering
    Attachments:
    snippet_zmc_adc-dma_continuous.png ‏107 KB

Maybe you are looking for

  • My iphone was stolen and i need to wipe it out but i do not have access to itunes what do it do?

    my iphone was stolen and i need to wipe it out but i do not have access to itunes what do it do?

  • Provide authenticated username as parameter to a business service in OSB 12c

    Dear OSB/OSB experts, I have the following issue: 1. I have a web service that would accept username as a parameter in the SOAP request in order to do some internal authorization checks (filtering database rows, tables, etc.) 2. I want to connect tha

  • How to load data thru flat file in demantra?

    Hi, I am using seeded data model for loading data for DM module in demantra. As per data model there is 3 staging tables for item, location and sales_data i.e. t_src_item_tmpl,t_src_loc_tmpl,t_src_sales_tmpl respectively. I have seen the final table

  • Enregistrer un Standart Report

    Bonjour, je souhaiterai enregistrer un Standart Report. Pour l'instant j'utilise le report HTML qui m'ouvre une page HTML, puis me permet d'enregistrer mon repport sur un fichier word ( sans avoir le toolkit office). Mais je souhaite commander une ve

  • Voice Demo Reel

    I do a lot of voice-over work and I would like to start editing my own demo reels so that I can send them out to potential clients. In the past, I've always had them professionally done but with the types of programs out now, it really gives VO artis