Conversion of vi series Lv5.1 of VISA

The question: is there a simple routine or a utility that will allow me to put to port vi series day in LV 5.1 wrote to the current version of LV?

We use LabView 5.1 series vi (no VISA) to pass requests and data between an instrument and a PC. Series vi communication were easy to use and have been widely used in several legacy programs that have continued to evolve (and use) over the past 6 years (probably not the best code).

I want to upgrade to a recent version of Labview, and in my first test (using a version 8.2) could open the old 5.1 VI with only minimal errors. However, none of the communications series void IA function. Change series vi in a subroutine for versions of the series VISA write / read / bytes to the Port / etc. as well as the works of appropriate but c‰blage to do it for all occurrences of these series vi leaves me quite cold to the idea of "redevelopment".

I've looked through the boards, but have not found something that seems to meet my need. Any help would be greatly appreciated.

First of all, these are not errors and warnings. Second, if you do not see the VISA features in LabVIEW 8.2, so what could happen is that someone made the mistake of creating a Bachelor's degree in law and Economics vi.lib functions in the llb. If the location of the series functions is in a Bachelor's degree in law, you really, really want to remove them from the llb (as well as all other functions of vi.lib). Registration of the vi.lib in a just llb functions makes very difficult upgrade process. You should also really, really thinking about giving up a total of llb. They have no use and must be used for the distribution of the code. A VI corrupt in a llb will damage the whole llb. A Bachelor's degree in law does not work with source code control. Use separate screw or the new lvlib folders.

Here is the block diagram of the pilot series Open. And Yes, VISA uses another way to select ports. the 'ASRL1::INSTR' is the more formal way to use com1, but normally, people use the alias VISA "COM1". It is much better than the old way where Com1 is port '0'.

Tags: NI Software

Similar Questions

  • "Arduino TTL series for Windows (LabVIEW VISA).

    Quick Q to the forum.

    I guess that the TTL output series of Arduino can be read and written directly by LabVIEW but I don't know if this is the case when you use the TTL series on the arduino.

    I realize that it is possible to talk to arduino via its serial port secondary (or primary), one who sets himself up as a port virtual com how a USB serial Converter and use a USB cable. It is very good.

    But what speaks directly to the Council?

    If I want to configure Arduino, a wait loop to pronounce on its input series ttl line how to connect to it from my Windows and LabVIEW?

    I have to worry not about levels of the PC serial port interface? Can I just connect TX RX and ground of the serial port directly at the entrance of serial Arduino TTL?

    Thanks in advance.

    Easiest thing, in my humble OPINION, would be to use a USB-serial to TTL level adapter. Something like this: http://www.mouser.com/Search/Refine.aspx?Keyword=RS-232-WE.

    If not, a search for RS-232 level, removal of the circuits should show a number of options, ranging from IC meant for the task to the discrete component simple circuits.

  • series of commands by visa



  • Communication Serial Port without a VISA

    Is it possible to connect to the serial port without a VISA?

    The thing is that the VISA is required to be installed on the deployed machine. It is not for my client.

    Thanks for any help.

    You can find driver series placed in Non-VISA:

    http://www.MHST.de/downloads.htm

    Benefits:

    • you need not install DURATION VISA on a deployed machine. Place a dll (dll is included) in the system folder - that's enough.
    • There are several additional features that has no VISA
    • works reliably

    Disadvantages:

    • Works for serial port only
    • uses the WinAPI functions
  • Communication through MAX with equipment series

    I use a converter RS 232 to USB to communicate with a gas Analyzer. I want to communicate using the C-link protocol to communcate with the Analyzer, but I cannot do this through Labview and MAX. In the manual of the machine, it is said that control of the aircraft have first the ASCII, code 128 character and its id to the instrument, which, in my case, is 43, which means that the command should start with ASCII character code 171. Then, each statement must end with a carriage return. I tried several different ways to send these commands but in MAX, I get an error in time-out for the series in Labview and VISA Communicater, I get an error on the property node (I used the basic series write read provided vi).

    Can someone help me on? I'm not really sure how to send these commands properly to the analysers.

    You send the characters 'C' and 'R '. This isn't at all the same that the CR control code. You might have used the cast to send hexagonal 0d, you can use the constant CR on the palette of the chain, you could set the string to display hexadecimal constant and send D 0, you can use the constant string defined for '-' display the Codes and \r to send.

  • VISA VI requirements

    Hi all

    What are the requirements for the use of the NI VISA vi?
    all series cards are required for the use of this vi?
    I want to use VISA vi for communication with NI 6251 or 6509 series.
    Is THAT VISA driver vi is available with these cards of NOR.
    What all the other necessary software drivers for the use of the vi of this VISA?

    Thank you & best regards
    Techiess


  • Batch (actions) of the PSD to Jpeg conversion

    Until a month or two ago, using photoshop CS5 - windows, a batch of files psd conversion of many say fred1. PSD through fred10.psd gave me fred1 jpeg through fred10.jpeg. I have saveconversions in a folder of jpeg of discharge to another disk where there is also, dump dump tiff with tiff and psd serve not to much.

    Using measures, the first conversion of a series will be fred.jpeg, but later, it will be copy.jpeg by fred10 copy .jpeg fred1. No big deal for some files as the copy of words cannot be deleted. However, if a JPEG say fred.jpeg should be updated to say a slide show or web site then the news of the conversion of the file updated as fred copy.jpeg causes problems of identity.

    Please, please, how can I go back to the situation where the fred.psd becomes fred.jpeg and not fred copy.jpeg. This seems not to happen for individual conversions the manual way. I tried to convert to JPEG 2000, but the same thing happened. I'm not sure of jpeg 2000 and how it would work if holding on to a processor phot for "prints".

    Thanks for your help in the past and I hope that your help now. I am hoping to move to photoshop CS6 and dreamweaver CS6 shortly that I did the calculation over three years and upgrades to purchase seems to be better than the monthly arrangements.

    Graham davies

    Hello, why don't you use the image processor, in the bridge tools > Photoshop menu? It allows to make easy conversions without setting up complex actions.

  • Windows 7 & Satellite Pro A200 (PSAE7)

    Hello

    I have a Satellite Pro A200 (PSAE7). I recently upgraded my laptop to
    Windows 7. Where can I download the drivers compatible with Windows 7?
    I already have the Web site check toshiba and I do not find anything.

    Thanks in advance

    I agree with sascha.
    I think that Win 7 drivers must be released in the near future, because Windows 7 drivers have been published for other series
    You can also visit the Toshiba page we obtain some drivers Win 7 for Sat A205 series.
    The A205 is very similar to A200.

    See you soon

  • Satellite L305D-S5873 - touchpad does not work under Win XP

    HUGE problem
    Key Satellite L305D - S5873 DOESN'T work under XP.

    I am with XP now and doesn't work, while I had Vista it worked and he stopped.
    Then I installed the xp and still, it does not.

    Hello

    So you say that the touchpad works properly using the Vista operating system, but you are not able by using the touchpad running Win XP.
    Is this good?

    If Yes, then I think that you have not installed the XP drivers good touchpad.

    Satellite L305 belongs to the Toshiba U.S. series and you should visit the Toshiba driver page us to get XP drivers

    Sorry, but for me it s a clear case. It's a softer question, and possibly the right driver installation is required.

  • Simulated equipment

    Hi all

    I'm going to give lessons on the CVI programming soon, and if I have all ^ H ^ H most of the C/UIR ready stuff, I also want to show the interactions of material. I usually do all my communication of hardware under Linux, so I'm a little rusty with different codes. And also I don't have actual hardware very convenient.

    So my question breaks down to: is it possible to simulate the material? The same system of pure software, or on a machine separate the cable flexible and appropriate.

    Let's see the details:

    -niDaqmx: I think that the answer is yes I recall using it once.

    -USB to give an example of the use of VISA.

    -Series. I guess I could run some program talk series on a separate computer with a crossover cable. Or in the simplest case, a null-modem bounce?

    -GPIB. Identical to the series I guess.

    Any advice?

    Thank you.

    Hello

    As long as DAQmx is installed, you should have no trouble making a simulated device in Max just make sure that you simulate a device capable of what you're trying to do. An as the 6353 X series card should cover most of the bases (analog & digital I/O + meters).

    USB, GPIB, and series all fall under VISA / Instrument control. Far from having one of these, a serial communication program, as you described is a good way to get hands on experience. You could also have do them a loopback test to demonstrate the basics.

    Without doubt, the most important thing you can teach is where to find more information, once the class is over. Don't forget to let them know where they can find examples of navigation. In addition, IDNet is a good place to go for instrument drivers specific (and device specific examples in some cases). Most students don't remember everything a class, so they'll be much better if they know where they can find information later.

    I hope this helps! Good luck with your class!

  • How can I save data in a spreadsheet for a while?

    Hello

    I have currently a VI that will connect the ports series 2 and use VISA to read data in an IMU and a RC transmitter.  Currently, I use around my loop shift registers to generate an array of all the values that I have read the serial ports.  Then when I finished the loop, I write all the data in a spreadsheet.

    I want to change this code so that I can add a capture button, so that when I press the button (Boolean is true), the data will be saved and is not pressed the button data will not be saved.   I tried using the spreadsheet feature writing and activating the Add file option.  I can generate a file of text this way, but when I use Matlab to plot or post-processing on this file, the data do not come out of the right.

    I enclose a smaller version of my program that will not connect to the serial port 1 and includes my attempt of saving data while the program and while the loop in the program is running.  I am also attaching a simple script Matlab to plot the data to check whether the labview VI works, I wrote and the graphic I get from executing a test case using my set up.

    Please look over it and see if you can identify what is the problem.

    Thank you.

    Here's a better exp.

  • How to create an image in 16-bit grayscale of the matrix of values

    Hi all

    I'm having a problem of conversion of a series of measures in a specific image. I have a matrix of size nxm (variable n and m), which contains the measurement data. My intention is to transform this matrix into an image to be analyzed later by external software. The trick, however, is that the image must be in the format 16-bit grayscale: grayscale for image processing and 16 bits to ensure that the resolution is not hindered.

    I search the Web and still have not found a way of mapping somehow measured values I have in this matrix in pixels (16-bit grayscale ones, that is). I have access to the LabView Full Development System version, but not other toolboxes.

    Does anyone have any suggestions?

    Hello world

    I managed to make it work with the help of people on other forums. The key is to use the IMAQ driver, which gives the screws required to create pictures on 16-bit grayscale (only supported nicely by PNG format apparently).

    The discussion on the other forum can be found here: http://stackoverflow.com/questions/11101420/structure-of-16-bit-grayscale-image-to-be-generated-in-c...

    The IMAQ driver can be found here: http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav%3adu, n13% 3ahardwareDr...

  • P2V on Redhat 8 failing miserably

    Hello

    I was responsible for the conversion of a v8 box antique intact Red Hat in a virtual machine.  I had no problem of conversion of a series of boxes of SUSA before but it continues to refer to me.  The question I wonder is am I flogging a dead horse?  I know that this version is not supported, but is it because this will only work with success as a virtual machine or because nobody really wants to support older versions of LINUX?

    Thanks in advance for any help

    /StuZ

    Welcome to the forum.

    8 HR is not supported the cause is an old distro.

    But it can work in an environment virtual (there are only a few problems with clock... screw).

    But to convert it, do it manually (creating a VM, the boot with a CD live, netcat allows to copy all the data, change the configurare hardware and install the VMware Tools), or try to find 3rd party tool.

    PS: thread placed in the converter box.

    André

  • Ask in the meantime - just an occurrence at a point in time

    Hi all

    I need to develop a logic of the following situation:

    I have 2 times using this format (HH24):

    vTime departure: 08:00
    vTime end: 18:00

    In my table
    Check-out time: 07:00
    End time: 19:00


    I need to know if the period time I'll save is already listed in my table.

    I can't have the following situations:

    Record the time that it is recorded in the time interval in my table.

    THX

    Hello

    user13728488 wrote:

    CREATE TABLE TIME_TIMESHEET
    (
    "USER_NAME" VARCHAR2(40),
    "TS_DATE" DATE,  -- Store  Date (DD-MM-YYYY)
    "TIME_START" DATE,  -- Store  Hours (hh24:mi),
    "TIME_END" DATE -- Store Hours (hh24:mi)
    )
    /
    
    INSERT
    INTO TIME_TIMESHEET
    (
    USER_NAME,
    TS_DATE,
    TIME_START,
    TIME_END
    )
    VALUES
    (
    'USER01',
    TO_DATE('17-02-2011','DD-MM-YYYY'),
    TO_DATE('04:00', 'HH24:MI'),
    TO_DATE('14:00', 'HH24:MI')
    );
    

    Why you use 3 columns DATE, 2 of them with no meaning year, month and day? It would be so much easier if you just use 2 columns, like this:

    INSERT
    INTO TIME_TIMESHEET
      (
        USER_NAME,
        TIME_START,
        TIME_END
      )
      VALUES
      (
        'USER01',
        TO_DATE('17-02-2011 04:00', 'DD-MM-YYYY HH24:MI'),
        TO_DATE('17-02-2011 14:00', 'DD-MM-YYYY HH24:MI')
      );
    

    In view of the table you have posted it and the table of test settings:

    CREATE TABLE     parameters
    (       vDate          VARCHAR2 (10)     -- DD-MM-YYYY
    ,     vTimeStart     VARCHAR2 (5)     -- HH24:MI
    ,     vTimeEnd     VARCHAR2 (5)     -- HH24:MI
    );
    
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '04:00', '14:00');
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '05:00', '13:00');
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '03:00', '13:00');
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '05:00', '15:00');
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '03:00', '15:00');
    
    -- Don't we need to test some that don't overlap?
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('16-02-2011', '03:00', '15:00');
    INSERT INTO parameters (vDate, vTimeStart, vTimeEnd) VALUES ('17-02-2011', '00:00', '00:30');
    COMMIT;
    

    Here's a way to get the desired results:

    SELECT       p.*
    ,       CASE
               WHEN  EXISTS (
                               SELECT  NULL
                         FROM    time_timesheet
                         WHERE   ts_date = TO_DATE (vDate, 'DD-MM-YYYY')
                         AND     TO_CHAR (time_start, 'HH24:MI')     <= p.vTimeEnd
                         AND     TO_CHAR (time_end,   'HH24:MI')     >= p.vTimeStart
                            )
               THEN  'Exists'
               ELSE  'Not exists'
           END     AS exist
    FROM       parameters p
    ORDER BY  vDate
    ,            vTimeStart
    ,            vTimeEnd
    ;
    

    This assumes that the hours: minutes: seconds of ts_date are always 00:00:00, as they are in your test data.

    Output:

    VDATE      VTIME VTIME EXIST
    ---------- ----- ----- ----------
    16-02-2011 03:00 15:00 Not exists
    17-02-2011 00:00 00:30 Not exists
    17-02-2011 03:00 13:00 Exists
    17-02-2011 03:00 15:00 Exists
    17-02-2011 04:00 14:00 Exists
    17-02-2011 05:00 13:00 Exists
    17-02-2011 05:00 15:00 Exists
    

    Two ranges overlap if (and only if) they start before the other ends.
    That is not evident at first, then look at this way: two ranges do NOT overlap, if (and only if) one of them begins after the end of the other.

    Any time you are tempted to do conversions of type series, like this

    (TO_NUMBER(TO_CHAR(TO_DATE(...
    

    seek help. Things like that are almost never necessary in Oracle. It's 3 conversions; you almost never more than 1, even with a bad design table.

  • VISA: on the conversion of the other date to string

    I met a problem to make the series using VISA communication. When I convert the decimal value of 10 type that matches the CSA Code, there is an error, but another digital conversion is no problem.  Can someone help me?

    ben64 wrote:

    Isn't strange that the size of the VI went from 59K to 46K just renaming?

    Ben64


    I opened it in LV 2011 and back recorded on the original file 8.5 LV since I do LV 8.5 installed.  That the change in size may be the vs file saving code downgrade upgrade function.  But it's still a significant percentage.

Maybe you are looking for