Synchronization of read VISA issues

I use a RS232 to control an older model of power supply (PS 120-10 OXFORD).

I wrote with success several VI that all the work, the only problem is that reading VISA takes too long. I'm talking about a few tens of seconds to refresh. I need refreshing in milliseconds or less than a few tens of seconds for the measures that we need to have it. All VI, wrote I have the same problem of synchronization.

The simplest write VI series is attached. Is it possible to improve the reading rate? Or maybe it's a problem of instrumentation. The strange thing is writing commands work almost instantly (I seem to be them on the instrument display).

Please help if you can, I have only been working with LabVIEW for a few weeks and am very must still in the learning process.

Thank you!

Try this minor mod

After Power cycling the device restores the State from "Q0".

Tags: NI Software

Similar Questions

  • issue of beta - seeks in recorded streams and synchronization of reading record

    Hi lccs, some initial questions for you as I get started on the beta...

    you say audio and video are saved in separate FLVs on client server.  CLC ensures that the audio/video synchronization is maintained during playback?

    How recorded streams are delivered during playback?  You can search in these rivers? for example if I have a recording of a video conversation, can I use a calendar to look forward and back through this video?

    and finally - I want to read an audio video conversation between two users.  LCCS will take care of synchronization between these four rivers? (two videos, audio two) or do I need to build a strategy of buffering that is synchronized to achieve?

    Reiterate the point of Raff - when configure you a ConnectSessionContainer with one

    PlaybackAuthenticator (essentially, a 'reading application"), which

    ConnectSession does all the work flow of synchronization for you. As Raff

    You can create a timeline and look in his - ConnectSession

    archiveManager exposes all aspects of reading for you.

    In fact, here's a basic seek bar you can try:

    ID value = "{CSession.archiveManager.CurrentTime}" = "slider" "

    change = "CSession.archiveManager.Seek (Slider.value)" / > "

    Finally, as Raff also says, you are not limited to the exact reading

    application that you saved. If you had, say, audio/video chat more text chat

    registered and you didn't want to read was the A / V, delete the text chat

    your application of reading (and remove the cat FLV from the record

    (zip, to save on bandwidth), and your player application should work. You can

    also completely rearrange the appearance of your application to playback from

    'live' or allow your users to manipulate the presentation or the content of that of

    reading course back looking at the record. We believe that this will lead to the

    some really interesting and innovative applications.

    hope that helps,

    Nigel

  • Hardware interface - the VISA issue?

    Hello

    I'm trying to control several instruments of measurement with LabVIEW.

    The first one I'm getting is a Fluke 43 b. I implemented a basic code where I asked him to identify himself. The code works, but not systematically. When this happens, the resulting string is always cut little matter how I increase the number of bytes on the block of reading series. Most I had (with respect to the complete production chain) is when I put the number of bytes to 256, but when I went above he returned to does not. When the .vi does not work, it just works and then stops running with the error telling me that there was a problem with the block of reading series.

    I'm sorry that I can't provide the error code, I had to leave the aircraft back to the lab and will not have access to him until Monday. I thought I would present the issue over the weekend in the hope to have a few tracks when I get back. I thought that the problem could be the fact that I have not yet added the VISA Open and Close VISA blocks. Would it be that simple?

    Any help would be greatly appreciated, the .vi is attached.

    Thank you

    Yusif

    Yusif,

    Lol the VISA Open and Close cause no problem.  An open is done implicitly when writing, or maybe when you configure. Bad closing will not produce an error reading although it could preven any other program to access the hole and could pose a problem the next time you tried to configure.

    The real problem is termination characters.  You have activated the end reads upon receipt of a termination character. The default character is the newline. The moat transmits a newline at the end of each message.  Any message which contains a character (decimal 10, Allen A), line break will end the reading with a warning (not error) that more data might be present.  I haven't looked in the manual of entire order for the moat, but at least a command can generate a line break: Instrument of State when the value of status is 10 = load and automatic selection.  It is likely that there are other institutions.

    The solution: change the stop character to return to the configuration VI wagon. Then, you should get the full messages.

    Lynn

  • Problem reading visa

    I have a series vi communication that works very well.  I need to go to the Visa and created a vi.  My problem is that I get data that are not logical at all with the VISA program.

    For example:

    Byte 1: Leading byte 0D

    Byte 2: Bit 0,1,2 define the decimal and only one of them can be 1.

    Byte 3: Different data

    Byte 4: What are the units and only at 1 bit 0-6 may be 1.

    The Hex data is now invalid.  I can run the old communication vi series and I get the correct data without changing any installation.

    Any ideas?  There is no stop character.

    Thank you

    The Subvi did what I thought he could. You will need to apply the same logic in your new program. Like the old driver, there is no built-in function to search for a main character then return the rest. Your reading with the new chain will be incorrect until you synchronize the flow of data, as did former program.

    p.s. If you hadn't cheated a bit and used a law degree to keep the old level series features low, your VI 7.1 would have used VISA. The conversion was (and is) automatic.

  • Virtual serial port: no bytes to the serial port before you read visa

    Hi I want to use LabView for data acquisition in real time from my dc servo motors. I'm new to LabView, so I will try to do the same thing with virtual port. I am writing some data (a sinusoidal wave) to the virtual port and can read and display it on the chart. the writing part just works that we see in the hyper terminal. but he's not reading anything. the number of bytes to port is zero. I tried to put the number of bytes in visa read manually, but it does not work. I have attached my code below. any comment is appreciated. Thanks in advance

    This is just the basics of how communication works series. To do a reading without any instrument, you loopback (short) the transmission line to the receiving line. For a connector 9 pins, you short-circuit pins 2 and 3. If you have not done this, I do not understand where you thought you could do a reading of.

    In any case, if you have servos that are controllable of RS - 232, it isn't likely that the series is even close to what you do a closure won't tell you much more that the converter is functional. When you have a real instrument connected, you still need to debug settings com (baud, parity, handshake), type of cable (null-modem or directly through) and the actual orders that you send to the instrument and its answers.

  • County to return read VISA does not match number of bytes

    I encounter an error with a VISA reading.  I ask 8 bytes (in number of bytes), but get only 7 return (return number), which causes errors in my code downstream.  Curiously, the VISA Read block does not return an error.  Any ideas on how to debug this?

    Data sheet:

    LabVIEW RT 8.2

    VISA 4.3

    Series OR 3.3.0

    PXI-8431/4

    Parameters: 1843200 Baud, 8N1.

    Is VISA reading set to put an end to the reception of a termination character?  I think that it does not have the stop in the output string character, which could make your short back counter.

    Lynn

  • GPIB & amp; Reading VISA queue

    I'm trying to read binary data from the GPIB or VISA. Now I have the problem that I don't know how much memory I should I allot that I can read all the data.

    There the entry queues where I can get the size of bytes to read? The problem is that the binary data can variy 150 up to 2.5 MB.

    Thanks for your reply.

    The problem is that I don't have to get the single curve. I need also the BMP or PNG screenshot.

    And, it is not possible to obtain the size of the file before. I do not want to redraw the image in my application.

    But for now, I have a solution. I just wrote my own object buffer before playback control and so I store information (assigned to 10 MB) in the machine's memory, and if I can ask the purpose of the buffer size. After getting the data I release the buffer of the object and so I just the memory I need in the format I need.

    Thanks for your help. Good day.

  • You can synchronize Adobe Reader PDF between iPad and iPhone?

    I run a bakery of wedding cake and have all my contracts saved as PDFs on my iPad using Adobe Reader. I downloaded Adobe Reader for my iPhone thinking it would be to synchronize the files and I would be able to access it when I wasn't close to the iPad, but it doesn't seem to work. Both the iPad and iPhone are signed on my adobe account, but the documents I can access are completely different on the two devices.

    Is there a way to make the documents saved on Adobe Reader App on my iPad sync and become visible on my Adobe Reader App iPhone?

    Ella H.

    Save files on acrobat.com.

  • Since Thursday, the synchronization does not (unknown issue, but properly connect)

    Hello

    Since Thursday, the synchronization failed, but I am correctly to connect to "https://accounts.firefox.com/settings".
    (I have try without antivirus and firewall)

    I said, this isn't a story of creation. I have no pb for 2 months (I create new account with ff 30...)

    I put my ' subject: sync-log "If anyone is interested...

    Thank you

    Thanks, the error seems to be caused by the history items synchronized - can you try to disable the synchronization of your story for testing purposes?

  • HP ENVY 17 Notebook PC TS: Fingerprint Reader driver issues

    Before I upgraded to WIndows 10 my fingerprint reader work properly.  I used it to connect to the laptop.  After the 10 Windows, upgrade and update of my first Norton 360 to a compatible version of windows 10 I got an error in for the fingerprint reader device manager.  I uninstalled the driver (Device Manager said that the registry entries have been corrupted).  After four hours of trying to find the right driver on the HP site, I was able to install validity sensor Driver version 4.4.232.0 dated dated 18/08/12, which recognizes the device.  However, it now under the tab ' events/information"error message:"USB\VID_138A & PID_0050\2012482178ab device still requires the installation."

    The fingerprint reader is completely ineffective: no lights at startup.

    I'd appreciate any help anyone could offer to solve this problem.  The fingerprint reader is a nice feature.

    Thank you

    Bill

    Hello @Bill38,

    Thanks for the quick response!

    Have you tried to find the drivers for you fingerprint reader, using the link above?  You can also use Windows Updateto search for the drivers that are compatible with Windows 10.

    If you have problems to install the drivers, you can use the tool on the following site:

    Open the Windows Update troubleshooting tool

    Please consult the following document as well and let me know if this can help:

    HP Notebook PC - a (Windows 8) fingerprint reader troubleshooting

    I hope this helps.

    Kind regards!

  • error timeout on write and read VISA

    I'm having problems of error timeout with a VI who just writes and reads the necessary data and will be eventually added as a Subvi. Everything is set up the same as my camera. I tried to increase the timeout for the session, but it does not work and I don't know what else to try.

    Any help would be appreciated!

    The \r is the termination character (carriage return) and YOU set the constant/control channel for------display Codes. It is a right click option.

    The driver is located by help > find the instrument Drivers. The driver page main has links on what makes a driver is and how to use a.

    http://www.NI.com/downloads/instrument-drivers/

  • Adobe Reader DC issue of customization

    Hello

    I recently deployed Adobe Reader DC in my environment of the company to about 1200 + users. We have about 400 users in this environment Adobe Standard XI, X or Adobe Professional X or XI.

    After deploying Adobe Reader DC it now takes on the default file association to open PDF files which is unhappy with the Adobe Acrobat (Standard and Pro users).

    Of course to work around the problem we manually value return their product Adobe Acrobat file association.

    My question relates to customize Adobe Reader DC package to disable PDF as default if earlier versions of Standard or Pro are found on the computer.

    In any case, after reading the document Customization Wizard it says that the following property on the command line should solve this problem... LEAVE_PDFOWNERSHIP = YES

    I tried to add this property but it does not have a difference, is there anything else I need to change?

    Just to confirm, I am Deploying Adobe Reader DC as a transformation that has been created in the DC Customization Wizard.

    Thank you.

    I don't know what version is: 15.007. Please try the following steps:

    (1) on a Windows 7 machine, which has XI Acrobat installed, copy "AcroRdrDC1501720050_en_US.exe" from: ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/1501720050/

    (2) open an admin command prompt and run the following command:

    AcroRdrDC1501720050_en_US.exe /msi LEAVE_PDFOWNERSHIP = YES/QB

    (3) let me know if Acrobat XI is selected as default or CD player becomes the default.

  • No difficulty for the read head / issue scrubber with El Capitan?

    Hi, I have change all the way to Mountain Lion of El Capitan due no update with first (CS6) on the iMac and recently upgraded to update / support for OS, Chrome, etc., go ahead. After update, I encountered the problem of the read head I've seen others face - after washing of gases, and release the mouse, the playback cursor reflects the movements that you have just made.

    I'm just curious, from April 2016, if there is still no workaround or fix for this. I upgraded to El Capitan 10.11.4. Unfortunately I can't go back to Yosemite (as far as I can tell) as I ever had on my system - this has been offered as a solution.

    Can anyone help?

    Thank you

    Sean

    What is your problem?

    First read CTI head repeat the movements of the mouse, error

    the last update of the cloud 2015cc fixed this one.

  • SQL Tuning "read-consistency Issue.

    Hello

    Oracle 9.2 we Dim 5.10

    I have a problem with the query below.
    SELECT INDV_ID
    FROM
     INDV WHERE SSN = :B1
    
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute    121      0.16       0.09          0          0          0           0
    Fetch      121    327.52     320.00    1446367    1892864          0           2
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total      243    327.68     320.10    1446367    1892864          0           2
    
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 42  (CORE)   (recursive depth: 1)
    
    Rows     Execution Plan
    -------  ---------------------------------------------------
          0  SELECT STATEMENT   GOAL: CHOOSE
          0   TABLE ACCESS   GOAL: ANALYZED (BY INDEX ROWID) OF 'INDV'
          0    INDEX   GOAL: ANALYZED (RANGE SCAN) OF 'INDV_IDX1' (NON-UNIQUE)
    
    
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                     97091        0.02          4.85
      db file scattered read                     270729        0.01         40.49
    ********************************************************************************
    The above query is part of a release of tkprof with sql trace level 8. A simple query with a good explain plan and if I run the query each it doesn't take any time. But the work takes 12 hours to complete with most of the time showing the query above as the "current state". The query above should run appx 16000 times in the work. The above output is a record which lasted only 15-20 min. If we see the value of the query and disk above, the value is too high from the table and he ranks should not change very often (I won't say static though).

    I would be very grateful if someone can explain the behavior of query above.

    Thank you
    Ankit.

    It looks like SQL from a pl/sql procedure.
    "Implementation Plan" is almost certainly wrong, and you do a comprehensive analysis or full index.
    It is likely that you have a type mismatch that is the problem.

    Option 1) your SSN is a character column, the pl/sql variable is of a different type - perhaps a number.
    Option 2) for some reason, you have a defined character offset - SSN is perhaps a varchar2 and the incoming pl/sql variable is a 'nvarchar' or similar, probably because of character set used on the client.

    Since you have the tkprof output and it comes to 9i, then you might look at the trace file to find the text of this statement and check the line where it says: «Parsing in cursor...» ", this will be an entry hv = NNNNN.

    To see the offender for the instruction memory:

    select
            operation, options, object_name
    from    v$sql_plan
    where
            hash_value = {your value for NNNNN}
    order by
            child_number, id
    ;
    

    Next step - look for the pl/sql with this SQL and check the type of variable.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." Stephen Hawking.

  • How to synchronize Adobe REader with Firefox browser

    I can see is more than all the attachments pdf while in Mozilla - I save the file and then display. How can I display in Mozilla?

    Have you tried the Preview in Firefox value in the Message Application?

Maybe you are looking for

  • My 'Restore previous Session' button no longer works. When I click it, nothing happens. How can I fix?

    When I click on the 'Restore previous Session' button on my Firefox home page, nothing happens. Usually, it restores all my tabs from the previous session, and now it does nothing.

  • Bluetooth mouse does not work on my Satellite A300-1ND

    HelloI am pleased for the installation of double sys XP operating after Oem Vista over two days.anyway thanks for the help here.After you have installed all the drivers, BlueTooth mouse is not recognized by the internal bluetooth.I tried to install a

  • Black screen "go" on my Satellite 1110

    My satellite 1110 has been, during these last weeks, losing the screen (as if I closed the cover) I then just press the small black button close light food and whatnot and it comes back to life. It's driving me crazy as it does sometimes permanently.

  • With the firmware.05 router WRT110

    OK, here's my problem and I searched the forum and I see that others have the same problem with the firmware.05.  before we begin, I want everyone to know that I don't know how to set up my network and I am a professional network. My problem is on my

  • There shared certificate truststore is BB OS 7 +?

    My company explores opportunities to develop its application for the BB platform. For iOS, we learned the hardway that ther eis no shared truststore X.509 client-side only certificates obtained by a soft for use by the user in other applications. For