How to synchronize streams RS232 and GPIB in labview

Dear all, SOS.

I built a system with 2 instruments GPIB and serial RS232 1 instrument.

The VI works well with high light performance. But when I run the program normally with games step by step, what I get is only the stream GPIB. The serial data is not found after reading the GPIB data.

I wonder if there is a sync issue. If so, how can I get these two data streams synchronized?

BTW: I was trying to use the RS232-GPIBCVA converter to connect GPIB, but always had error6 at visa read. I still can't understand. Without the GPIB-RS232 converter, data can be read with the series making.

I'm fighting this case several days, hope you guys can give me some suggestions!  Thank you very much!

Zhenxing

A quick glance and I don't know why you need all local variables. And even if you have bunches of error wired inside all of these structures from sequence (you should also get rid of), you have not connected to the indicators or pass them to the sequence of the sequence. I have a question some of your other codes. With each iteration of the inner loop, you can reset each instrument. It is highly unlikely that you need to reset or initialize the serial port more than once.

You will need to also get rid of the constant cable outside during the end of the Terminal loop. Using the button abandon, this isn't the right way to stop a program.

Highlight the performance slows down the program in a little. You may need to add some delay. Run in normal mode and set breakpoints so that most of the code that runs at a normal speed. By the process of elimination, you will finally find the area problem.

p.s. These are Keithley instruments, you should really try the drivers that are available.

Tags: NI Hardware

Similar Questions

  • HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA?

    I'M TRYING TO WORK WITH CHARACTER ANIMATION. I CHOSE THE MONSTER. I SEE MYSELF ON HER CANERA, I PUT RESET POSE AND THE MONSTER DO NOT MOVE WITH MY MOVEMENTS. HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA? Thank you

    Hi Luz... You have the track selected in the timeline panel puppet? You need to target the puppet that is controlled by the webcam/microphone/keyboard/mouse by selecting its track. That it arms for registration.

  • How to activate the RS232 and USB communication on the guest operating system in vmware ESXi 4.0

    I installed a software in the OS (redhat 5.0) invited to vmware, it must communicate with the device via RS232 or USB

    but not to communicate.

    Vmware tools is installed.

    I try to change the attribute of vmware, add the com port and USB, but still, it does not take effect

    What is the RS232 or USB available on the operating system called?

    How to activate RS232 and USB?

    USB and series are not available in a prompt. There are IP network series and usb IP devices that can be used.

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • How will I know that the synchronization completed successfully and that it is prudent to close the browser?

    I'm working on my desktop PC or on my laptop. The latest Firefox is installed on both computers (FF10.0)

    (1) I don't know if I start synchronization manually (Tools/sync now) or if this is supported automatically on an ongoing basis.

    (2) in any case, how can I know when the synchronization completed successfully, and it is prudent to close the browser.

    I don't want to meet me on the road with my latest password updates or missing bookmarks.

    I do not see in the status information about the synchronization process. It is very disturbing and not exactly which involves trust.

    Your
    John

    Maybe check the synchronization log on the subject: a sync-log page

    You can open on: xxxx pages through the bar of addresses as you open a Web site.

  • Before you synchronize my iMac and Macbook Pro, in my menu bookmarks, all my favorites were colored icons - now they have disappeared - how to bring them back?

    Before you synchronize my iMac and MacBook Pro, in my Bookmarks Menu dΘroulant, all my favorites were colored icons - now they have disappeared - how to bring them back?

    It seemed to work on my FF 9.0.1 and Lion Mac. When I tried to set this parameter on FF 8.0.1 was ALREADY set to "FALSE". Must be something else?

  • I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)?  Fact is need to update

    I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)?  Fact is need to update itunes?

    Hi sonalnj,

    I understand that you cannot synchronize your iPhone as iTunes is requested it must be updated. I can help you with that.

    According to the technical specifications for a 6 s iPhone, you need a Mac running OS X v10.8.5 or later version with iTunes 12.3 or later. Because you are on OS X 10.6.8 your version of iTunes is up to date with this OS.

    iPhone 6 s Tech Specs
    http://www.Apple.com/iPhone-6s/specs/

    Now to fix that, you need to update your Mac OS X 10.8.5 Mountain Lion or OS X 10.11 El Capitan. If you want to go to the Mountain Lion, you can do it with the first link below. The cost will be $19.99 and a code will be delivered to you if you can download it via the Mac App Store. Once you have upgraded, be sure to make all software updates to go with him to get the latest version of iTunes.

    OS X Lion mountain
    http://www.Apple.com/shop/product/D6377Z/A/OS-x-mountain-lion

    Now the other option is to move to OS X 10.11 El Capitan, and is a free update that you can do right in the Mac App Store, if you meet the system requirements. Take a look at the following article for more details on how to do it.

    Update of OS X El Capitan
    https://support.Apple.com/en-us/HT201475

    Nice day!

  • I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    iOS9 on a mobile device requires iTunes 12.3 or higher, which in turn requires a computer running OSX 10.8.5 or higher.  Update of the system only checks the updates for the current version of the system you run, but that itself can be updated.  It may or may not be possible to upgrade your computer to the system requirements. Find your computer on the web site of http://www.everymac.com model and near the bottom of the specification of the system section, he will tell what versions of the operating system, it is able to run. If you can not run a newer system, you will not be able to sync this phone to your current computer. If she can run 10.8.5 or higher, you can either buy a download for Apple OSX 10.8 Mountain Lion code online, or you can try to install the free El Capitan OSX 10.11.  El Capitan can run slower on older machines and require the additional purchase of RAM.  Making a big jump in versions of system is also more likely to affect the old software.

    At el capitan Snow Leopard, it will make my macbook is slow?  - https://discussions.apple.com/thread/7412959

    Mountain Lion 10.8 purchase link United States of America - http://www.apple.com/shop/product/D6377Z/A/os-x-mountain-lion

    Mountain Lion 10.8 purchase link U.K. - http://www.apple.com/uk/shop/product/D6377ZM/A/os-x-mountain-lion

    Course OSX Upgrade General information, including configuration required - http://www.apple.com/osx/how-to-upgrade/

    If you have any generation of PPC software which works under OSX 10.6 it is not supported in later versions of the system.

  • I can't download the application for mac windows phone. The message: you are interested in the content is now available in the store. How can I synchronize microsoft limia and macbook?

    I can't download the application for mac windows phone. The message: you are interested in the content is now available in the store. How can I synchronize microsoft limia and macbook?

    Contact Ms and ask them.  Only they dictate where their application is made available.

  • How to synchronize the start of IT and relaxation the Scan list (DAQmx Switch)

    Hello

    I want to measure samples of N to the AI0 of Council NI PXI 4461. The measurement starts on a rising edge of a digital triggering provided to the PFI0 of the same Board. The measure is configured with samples of N/2 pretrigged. So far, everything is under control...

    Using an NI PXI 2567 Board, the signal applied at the entrance the 4461 (AI0) switches between a V2 and V1 signal. I would like to synchronize the switch between the two signals with the trigger signal applied to the input of the PFI0 Governing Council 4461. In order to obtain samples of N/2 of V1 and V2 samples N/2. Synchronization of 1 to 5 ms would suffice!

    My question is how to synchronize the start of acquisition of AI pretrigged of 4461 with the switch control given by the Council of 2567?

    Thank you in advance for your help...

    PS: the configuration of the system is:

    -LabView 8.5

    -Chassis PXI-1044

    PXI-4461 on slot 2

    Module 4-slot PXI-2567

    Hi Frederic,.

    I came back to this recently and used the following examples to run the desired synchronization.

    PXI-4461: Acq & graph tension-Int Clk - dig Start & Ref .vi

    Samples per channel = 1000

    Rate (Hz) = 10000.00

    Start the trigger Source = / [name of the instrument DAQmx] / PXI_Trig0

    Onboard start = fall

    Reference Source Trigger = DAQmx Device Name] / PXI_Trig0

    Reference edge = fall

    Trigger samples = Variable (100, 500, 900)

    PXI-2567: Switch Scaning-SW Trigger.vi

    Advance the output terminal full = / [name of the instrument DAQmx] / PXI_Trig0

    Scan list = / [name of the instrument DAQmx] / ch0-> com0.

    Scan list = / [name of the instrument DAQmx] / ch1-> com1;

    Hardware configuration:

    The PXI-2567 module controls an external relay that switches between the voltage of 5 V on ch0 and ch1 0 V.

    The PXI-4461 connects to the COM of the external relay and therefore reads 5V when ch0 is connected; 0 v when ch1 is connected.

    Procedure: The above examples are used in the following procedure.

    1. run the PXI-4461 VI.  A start trigger (falling edge) is necessary to start collecting samples before firing.

    2. launch the module, PXI - 2567 VI.  When ch0 is initially (and immediately) on com0, a trigger is sent to PXI_Trig0.  The PXI-4461 will begin to acquire samples before firing.

    3. - click on the "Connect to the next" button on the front of the PXI - 2567 VI module.  This sends a trigger to entry software for the PXI-2567 module and the transitions of the scan for ch1-> com1 list.  Once the PXI-2567 module remains (debounced), advanced complete relaxation is sent on PXI_Trig0 for the PXI-4461.  The PXI-4461 will begin to acquire samples after outbreak.

    Note: Instead of the trigger of the software entry, an external input trigger can be used (e.g. PXI_Trig1).

    Results:

    > Before instant release of samples = 100

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 500

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 900

    Delay is caused by the time of actuation of external relay.

    I hope that the attached screws and the explanation above helps you and/or other customers who have this problem.

    Best regards

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • How to synchronize clocks on USB-6009 and USB-6343

    Hello

    Can anyone provide an example on how to synchronize clocks on USB-6009 and USB 6343?

    I checked the example screws, but it shows that we must use 2 counters, one as the clock of the source and the other as a trigger. But only 1 CLK 6009.

    I read the user manual and it is mentioned to use (AI/start-trigger) in order to use PFI0 as source.i am somehow confused about how to achieve this.

    Furthermore, what would be the physical connections?

    Thank you

    LV_Enthu

    Unfortunately, you won't be able to completely synchronize your devices USB-6009 and USB-6343.  As you have seen, the 6009 has only a meter on board.

    You can certainly use PFI0 as an input to start your tasks at the same time digital release.  However, the 6009 is a strictly timed by the software.  There is no way to import an external sample clock.

  • How to uninstall Active Development Co., Ltd. - Streaming Media and Broadcast - USB TV Tuner?

    Hello

    Last month, I installed "Active Development Co., Ltd. - Streaming Media and Broadcast - TV USB Tuner" MS Update and this pilot "crashed" my TV not only. I saw on your page K. Azam suggesting another person to go to the system restore point, but I do not have a restore point before I installed the new driver.
    How can I remove it, it does not appear to remove windows updates?
    Any help would be greatly appreciated!
    D. Marek Köter

    Hi Marek,

    Currently, your TV tuner card working properly or you get a command prompt to install this update?

    If get you any prompt to install the update, then you can try to hide the update and check if it helps.

    a. open the Control Panel (all items view) and click the Windows Update icon.

    (b) after the updates of Windows or if you are looking for updates, click the link available updates .

    c. right click on Windows Update list that you want to hide, and then click hide update.

    d. If prompted by UAC, then click on Yes or enter the administrator password.

    You can also read the following article and check:

    Restore a driver with its previous version

  • How can I synchronize my catalog and photos stored on my PC with my new MacBook Pro?

    How can I synchronize my catalog and photos created on my PC with my new MacBook Pro?  I can't find a tutorial on how to do it.  I have the CC of photographers and Lightroom loaded on my MacBook.

    The easiest way to configure things so that you can use the same catalog on both systems is to put the catalog and the files of photos on a single external drive, which then you exchange between systems as needed. If you configure things properly, you can even avoid having to "link" the picture whenever you pass. You do only through pictures stored in the same folder as the catalog and at the same level, for example say you have "yourname Catalog.lrcat" located at the root of a folder called "Lightroom Sync", then you would need to have all your photos in the same folder "Lightroom Sync", once again to the root, so that the photos to sit at the same level as the catalog (paste all files under a single parent at the level folder of) catalog is easier). Installation like this, Lightroom can use the relative path of the catalog of photos and avoid any need to worry about the convention of naming/lettering of the operating system. Obviously, the hard drive must be formatted such as Windows and OSX have permissions of read/write on the disc, for example FAT32.

    There are other more complex methods, (for example using something like Dropbox), but the method 'all on one disc"is by far the simplest (and probably).

  • How to synchronize the catalog between mac pro and imac?

    I recently bought a macbook pro to work on the road.

    Since I was a very big picture library (catalogue of 25 GB, + / 40000 photos), I enclose the keywords to make a nice database.

    It is a hell of a job. But with my laptop now I could kill time and I am working on my catalog everywhere. This is the big idea.

    I would like the same catalog to keep being synchronized between my imac and laptop. My Imac is still my main computer. This is attached to my NAS system and the database of photos of 6 TB.

    All the images are in a catalog. On my laptop I don't need access to this database of real images. I just want to make selections, add keywords. Is there some way this can be done easily, without paying attention to the rather, I'm working on my laptop or My Imac, to avoid disrupting the catalogues.

    When I import new images on my laptop, I make a new catalog and import/export this to my main catalog, once my files are on their place on my NAS system.

    THX

    Hi Wannesnim,

    What you describe is more or less how I work all the time. I use Dropbox to synchronize my catalog and use Smart Previews (also synced via Dropbox) to work with my images. I use a MacBook Pro on the go and a Windows machine at home. I created a video tutorial explaining how this is done:

    A cell phone catalog Lightroom - Mike Hoffman

    I hope it's useful for you.

    MIke

  • How to make a streaming audio and video on BlackBerry.

    Hi all

    Please someone help me.

    I must be a 3rd part java application that can stream audio and video server and can play only audio/video on my phone from BB.

    Please share me your ideas or related links to do the same as soon as POSSIBLE.

    Thanks in advance.

    Thanks Peter.

    It's really useful links

Maybe you are looking for

  • PUB FF42 en indeseada y no en Android FF

    FF 42.0 sober Win10 muestra pub molesta that no veo en Android para FF. For example in www.universetoday.comsucede. Como puedo bloquear para 42 FF behaves como para Android version con respecto a esa publicidad?

  • AutoScale graphical wpf

    How can I autoscale graphical WPF on request? When you work with graphics WF, I used something like this (activate autoscale, then disable it): (Graph (AxisDouble). Axes [0]). Setting device = RangeAdjuster.FitLoosely;(Graph (AxisDouble). Axes [1]).

  • Error cannot access Internet wireless in Windows Vista

    Original title: im trying to connect to my internet at home, but he says there is no internet access how to fix I try to connect my internet home for my laptop, cordless, but when its connected he said thar is without internet access how to fix?

  • My ATI x 800 XT video card will not work with Windows 7.

    I have a pretty old AGP ATI x 800 XT card and it just doesn't work. I installed the last 9.5 drivers for 32-bit vista, and every time I launch the game it says that my drivers are up to date. I have windows 7 build 7100. Is there a way to make the up

  • Antivirus protection for PC

    I got my uninstalled McAfee and I was wondering if I really need to buy antivirus protection?  My firewall is enabled, automatic update is enabled, Windows defender is on, and other security settings are ok... do I have to buy an antivirus protection