Convert 8.2.1 VIs to 7.1 VIs

Hi all!
I am working on USB micro's U421 USB interface. I found the following VIs on the internet, which are very useful to my project. But, they are in LabView 8.2.1, whereas I have a licensed version of LabView 7.1. I would be really grateful to you if anyone can please convert the VIs in the following attachment into LabView 7.1 VIs.
Attachments:
LabViewSPI.zip ‏168 KB

Hi kiriti,
you already posted that question in the correct thread... So why did you create a double post then?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How to convert a string to visa resource name

    I have a string , like "visa://192.168.123.212/RIO0::INSTR", how can I convert it to a Labview visa resource name? The resource name is going to be used for "Open VI reference" control.
    Also, a related question is , is there a special vi control for ip address input?  How do I check whether the input ip address is in valid format or not? 

    Just wire it up. A string will coerce to a resource name.
    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

  • Como puedo convertir a executables 2 vIs

    I have two vIs and it wanted them to turn executables, it wanted to know if it is possible to be done with I saw "Exec.vi System" and that steps are seguirian in this case if it is possible or that another form podria to obtain.
    Agradesco the aid that can offer me.

    The only way to create executables is with the LabVIEW Application Builder. It is included with the Pro version (and higher) of LabVIEW or can be purchased separately.

  • Hello, Can anyone help me to convert these LV6.1 vis that I can view them with LV6.02?

    Thanks,
    Ogulcan Kaya
    Attachments:
    ex.zip ‏136 KB

    The vi's contain some items specific to LV 6.1. They no longer run, but here you go anyway. You might be able to get them back working in 6.02 with some effort, or at least see what's being done.
    Good luck
    Tim
    Attachments:
    converted_6i.zip ‏108 KB

  • Connecting hp 8508a vector voltmeter with agilent 82357a usb/gpib converter

    Hello
    For my experiment, I need to connect to a HP 8508A vector voltmeter by using an agilent 82357A usb/gpib converter. I have a serious problem about communicating with my device using NI-VISA. I tried to do the steps indicated at following links which were indicated at the forum posts by people using 82357A:
    http://digital.ni.com/public.nsf/allkb/F7C187DBF09EBE1186256F550065BD32?OpenDocument,
    http://digital.ni.com/public.nsf/websearch/3B3626D9C1F999218625694200791AD7?OpenDocument,
    http://cp.literature.agilent.com/litweb/pdf/5990-3731EN.pdf?cmpid=1273CN.
    The version of MAX is 4.3.0f0 and i am using labview 8.5 with NI-VISA 8.2. I am trying to configure my 82357A using agilent io libraries suite 14.1. 
    First, I tried to configure my usb/gpib controller using  agilent connection expert and set the visa interface id to GPIB6 and connect to the 82357A without any problems. Then I connect this gpib converter to my vector voltmeter. The gpib adress of the voltmeter was 6(gpib address of the interface converter was 10) so visa address GPIB6::6::INSTR was assigned to voltmeter by connection expert. I tried to connect to the voltmeter from the connection expert by using the agilent interactive IO. Send *IDN? command and took the proper response from the voltmeter. The voltmeter went into remote mode and I tried to read the voltage values by using the FETCH? command of the device and got the voltage properly which means I successfully connected to the device.Then I went to MAX and enabled the NIVISATulip.dll and restarted the MAX. Then I went back to agilent connection expert and checked the box: "use agilent 488 library where possible" for side-by-side communication between the NI and agilent visa. By the way agilent visa was installed as the secondary library.  Then when I went back to MAX, I start to see the voltmeter under miscellaneous VISA resources with the address  GPIB6::6::INSTR. But the problem started here. When I tried to send commands from MAX to voltmeter with the "open visa test panel" I encountered an error which exactly says:"unable to open session to GPIB6::6::INSTR, return status code:0xBFFF009E, status name:VI_ERROR_LIBRARY_NFOUND, a code library required by VISA couldn't be located or loaded." As I said before i enabled the libraries of agilent 488 from the options of the agilent connection expert. When I went back to connection expert and unchecked the box for using agilent 488 libraries nothing changed. Also when I went to NI-VISA interactive control I couldn't see my device under the tab of VISA I/O. 
    I tried to read some posts from this forum. People are using this usb/gpib converter successfully without any problems by performing the steps I have done. I have some questions about possible subtle points specific to my application.
    First question is according to the manual of the voltmeter(this is an old device by the way from 1988):"vector voltmeter is capable of remote operation via the HP-IB which is HP's implementation of IEEE standard 488.1  "So, what I understand from this sentence is my device is communicating remotely with IEEE standard 488.1 and not 488.2 Does it make any problem? What kind of modifications should I do to my setup for overcoming this if it creates any problems? As I said before I was communicating with device very properly from the agilent connection expert. In manual there is also a sentence like "HP-IB commands used in the vector voltmeter conform to the standards set by document IEEE 488.2 1987." 
    Second question is should I install newer versions of agilent io libraries suite or MAX or NI-VISA. I wrote the versions I am using before are they compatible? Where can I install newer versions? As I know the newest version of the agilent io libraries suite is 15.1 or 2. Is is compatible with 82357a?(maybe I should ask this question to agilent people)
    Third question I don't remember how I did it but agilent visa is indicated as secondary visa resource in agilent connection expert(I think I did it while installing agilent io libraries suite.) . How can I switch between NI and agilent visa as primary visa resource? Do you think think this will help?
    I terribly need measurements from this set up and really appreciate your help if possible.
    Sincerely
    Caglar Yavuz, University of Michigan,Ann Arbor,EECS department. 

    Caglar,
    The documents you mention ahould include the proper prcedure for using this hardware in LabVIEW. Here are my recommendations:
    The version of NI-VISA  you mentioned is not valid. The most recent version is 4.6.2. I would recommend ugrading if you do not have this version. After the upgrade,ensure that tulip is enabled as well as the other settings and see if this helps.
    When talking about the instrument, the biggest concern that usually is relevant with 488.1 is that it will not respond to *IDN?. In your case, it looks like it does, and should work as 488.2 is backwards compatible. It seems to me, the issue is still with the 82357A, and we have not yet reached the voltmeter.
    In order for NI-VISA to work with your device, NI-VISA must be the primary visa driver.
    Hope this helps, let us know how the upgrade turns out. If you continue to have issues, take some screenshots of the preferences in MAX and upload them on the forum.
    Regards,
    Peter Flores
    Applications Engineer

  • VISA Labview 8 variant

    Labview 8 runing on windows xp Pro
    crashes with this error message
    when trying to convert variant value of VISA resource name to string.
    see attached example VI
    This VI was working great in Labview 7.0
    Attachments:
    Windows xp Error.JPG ‏7 KB
    Test VISA Variant to String Bug.vi ‏9 KB

    This has been reported to R&D (# 3WKDUGV2) for further investigation. A
    possible workaround is to use the Type Cast VI instead of Variant to Data. Thanks for the feedback!
    Jarrod S.
    National Instruments

  • A program to convert videos...?

    I am a proud new owner of a Black iPod classic. I have a Sony camcorder, and have some movies I have made that I would like to put on my iPod. The only problems is, is that the movie has to be compatible with Quick Time player, and my movies are not. They are in Windows Media Player format. If anyone has any ideas how to convert it, or any programs that will convert it for me, that would be great.
    Thanks in advance for all the help!!!! =^)

    Videora is considered the 'industry standard' of converting videos for iPod on Windows (I think :P)
    http://www.videora.com/en-us/Converter/iPod/
    For alternatives visit the link posted earlier, such a wealth of information can sometimes be confusing though :P
    Merry Christmas!

  • Control Camera Attibutes through serial port using VISA commands

    Hi there,
    I'm using a Basler acA2000-340kc camera through an PCIe-1473R FPGA as frame grabber.
    I would like to be able to configure the camera through the serial port just in LabView, not using a third-party as Pylon (which I can do now).
    According to this forum post 
    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/My-Basler-acA2040-180km-NIR-is-not-visible-in...
    this is possible just taking the VI posted here
    https://decibel.ni.com/content/docs/DOC-5049
    and converting from IMAQ to VISA, as RIO frame grabbers cannot use IMAQ. I have been trying to do this by changing the IMAQ vi to their VISA equivalents, but I have no good results.
    Does anyone know which are the steps to go from that piece of code to one that can be used to control the camera in my case?
    Thanks a lot,

    Hi i.popa,
    Basler makes the Basler Binary Protocol Library for serial communication with their cameras. If you make sure you're running the serial server section of your FPGA code to keep the serial port open, you should be able to use calls from this library to communicate with your camera. We have a community example with more information on using the Call Library Function Node to call a DLL. This DLL will take care of all the processes needed to write from and read to the registry, so this implementation will probably be similar to the example program you listed above, using calls to this library instead of the IMAQ Serial functions.
    Good luck with your application!
    Emily C
    Applications Engineer
    National Instruments

  • Help required with DAQ and waveform generation

    Hi,
    I'm using DAQ 6024E card for waveform acquisition using LabVIEW 8.2 version. I've also attached my vi for your reference.
    My next step is , I want to add another waveform to the acquired waveform, i.e. I mean to say if the acquired waveform is a sine wave with 60 Hz frequency and amplitude of 8V peak-to-peak, I want to finally display a wave which is 8V peak-to-peak with sinusoidally changing freuency.
    To be more clear...I want a sine wave with frequency =  60 Hz + 1*sin( 2*pie**t).
    As cane bveen seen in my vi, I can extract the phase and magnitude of the original acquired signal.
    Can anyone help me out with this...as I'm not able to figureout how should I proceed next.
    Looking forward to hear soon,
    Regards,
    Rohit
    Attachments:
    test_analog.vi ‏162 KB

    You'd probably want to use the DAQmx VI's instead of the Express VIs, when doing something more exotic. You can start by converting the existing Express VIs to code by opening their front panels and saving them as a VI.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Wrong use of "Scan From String" function in a while loop?

    Hi,
    I've got a "Scan From String" function inside a while loop. On the first iteration it converts correctly the number passed by the input string (for example 4) But on the second one it has only spaces (one or more \s) as input string.
    I expected to obtain a zero as output (as it does always that it can not make any conversions, as I am supposed to) but indeed, i subtracts 1 from the previous number (according to the number indicated as example I would obtain a 3 as output)
    What's wrong with this?
    Does the function fails on this case?
    The rest of the diagram o the VI is expected to manage a 0 on that situation, like others in which the conversion is not made.
    Andres.

    I have simplified the VI evading calls to other VIs and trying to reproduce the mistake.
    The type of string I introduce to reproduce the mistake is:
    clock 3 (30) clock (40)
    Forgetting to introduce a number between the second "clock" and the following parenthesis, I would manage it programmatically with code that isn't included.
    Then "Scan From String" is supposed to do not make a conversion. But it leaves a 2 as output (in this example)
    I have realised, unbelievable but true, that it has matter with the number I substract to the output number (if it were 2, I would obtain 1 as output and so on)
    Excluding that, I got the conversion made before as output, 3, on the second time that "Scan From String" executes. But, how can this func
    tion as bad?
    I am using LV4 on an old PC. I have tried to reproduce it with LV6 and it works. But it isn't desirable for me, I would have to convert a lot of VIs and surely I will find a lot of errors due to the conversion (I have already tried)
    Attachments:
    EXTCLOCK.VI ‏26 KB

  • Help with a SQL Query

    Per my clients requirement, they need to pull all patients  with two qualifying visits in the past 2 years. What I have now, I believe is just ones for the past year - looking on ways to better imporve the coding to pull this info.
    SET NOCOUNT ON
    DECLARE
    @StartDate DATETIME ,
    @EndDate DATETIME ,
    @groupby1 VARCHAR(60)
    SET @StartDate = ISNULL(NULL,'1/1/1900')
    SET @EndDate = ISNULL(NULL,'1/1/3000')
    SET @groupby1 = CONVERT(VARCHAR(60),'None')
    DECLARE @AgeDate DATETIME
    DECLARE @Year DATETIME
    DECLARE @EndRptDate DATETIME
    DECLARE @StartRptDate DATETIME
    SET @AgeDate = '12/31/' + CONVERT(VARCHAR , YEAR('12/31/2013'))
    SET @Year = CONVERT(VARCHAR , ( YEAR('12/31/2013') ))
    SET @StartRptDate = CONVERT(VARCHAR , ( '01/01/2013' ))
    SET @EndRptDate = CONVERT(VARCHAR , ( '12/31/2013' ))
    DECLARE @qmed INT
    DECLARE @qden INT
    DECLARE @qbh INT
    DECLARE @qsa INT
    DECLARE @qen INT
    DECLARE @qop INT
    SELECT @qmed = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - MED'
    SELECT @qden = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - DEN'
    SELECT @qbh = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - BH'
    SELECT @qsa = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - SA'
    SELECT @qen = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - EN'
    SELECT @qop = MedListsId FROM MedLists WHERE TableName = 'ProcedureCodeQualifier' AND Description = 'HCPC - OP'
    IF OBJECT_ID('tempdb..#Temp') IS NOT NULL
    DROP TABLE #Temp
    --- Return visits with HCPC Qualifier
    --- Per Clients requirement, patients aged 50 - 80 with at least 2 qualifying visits in the last 2 years.
    SELECT DISTINCT
    pv.PatientProfileId,
    pv.PatientVisitId,
    pv.Visit,
    ml.Description
    INTO #Temp
    FROM
    PatientVisitProcs pvp
    LEFT OUTER JOIN PatientVisit pv ON pv.patientvisitid = pvp.patientvisitid
    INNER JOIN PatientProfile pp ON pv.PatientProfileId = pp.PatientProfileId
    LEFT OUTER JOIN MedLists ml ON ml.Medlistsid = pvp.CPTProcedureCodeQualifierMId
    WHERE
    CPTProcedureCodeQualifierMId IN(@qmed, @qden, @qbh, @qsa, @qen, @qop)
    AND ISNULL(pvp.voided,0) = 0 --filter out voided visits
    AND pvp.DateOfServiceFrom >= @startdate AND pvp.DateOfServiceFrom < @enddate + 1
    AND DATEPART(Year , pv.visit) = DATEPART(Year , @EndRptDate) -- limit to visits in this year
    AND -- Filter on Age
    (('50' = '-1' AND '80' = '125') OR (CAST((DATEDIFF(DAY,pp.Birthdate,@AgeDate) /365.25) AS INT) BETWEEN ('50') AND ('80')))
    GROUP BY
    pv.PatientProfileId ,
    pv.PatientVisitId ,
    pv.Visit ,
    ml.Description
    HAVING
    COUNT(*) >= 2
    -- must have 2+ visits in last 2 years
    SELECT
    dbo.FormatName(pp.Prefix , pp.First , pp.Middle , pp.Last , pp.Suffix) AS Name ,
    pp.PatientId ,
    ISNULL(CONVERT(VARCHAR(20), pp.BirthDate, 101),'') AS Birthdate ,
    ( DATEDIFF(day , pp.Birthdate , @AgeDate) / 365.25 ) AS Age ,
    ISNULL(pp.Address1 , '') AS PatientAddr1 ,
    ISNULL(pp.Address2 , '') AS PatientAddr2 ,
    pp.Address1 + ' ' + ISNULL(pp.Address2 , '') AS PatientAddress ,
    ISNULL(pp.City , '') AS PatientCity ,
    ISNULL(pp.State , '') AS PatientState ,
    ISNULL(pp.Zip , '') AS PatientZip ,
    ISNULL(pp.Country , '') AS PatientCountry ,
    ISNULL(pp.Address1 , '') + ISNULL(' ' + pp.Address2 , '') + ISNULL(pp.City , '') + ISNULL(', ' + pp.State , '') + ISNULL(' ' + pp.Zip , '') AS PatientFullAddr ,
    ISNULL(dbo.formatphone(pp.phone1 , 1) , '') AS [Phone 1] ,
    ISNULL(pp.Phone1Type , ' ') AS [Phone 1 Type] ,
    ISNULL(dbo.formatphone(pp.phone2 , 1) , '') AS [Phone 2] ,
    ISNULL(pp.Phone2Type , ' ') AS [Phone 2 Type] ,
    ISNULL(dbo.formatphone(pp.phone3 , 1) , '') AS [Phone 3] ,
    ISNULL(pp.Phone3Type , ' ') AS [Phone 3 Type] ,
    pv.TicketNumber ,
    ISNULL(CONVERT(VARCHAR(20) , ( pv.Visit ) , 101) , '') AS [Visit] ,
    pv.Visit AS PatientVisit ,
    fac.ListName AS Facility ,
    doc.ListName AS Doctor
    FROM
    PatientVisit pv
    JOIN #Temp t ON pv.PatientVisitId = t.PatientVisitId
    INNER JOIN PatientProfile pp ON pv.PatientProfileId = pp.PatientProfileId
    INNER JOIN DoctorFacility fac ON pv.FacilityId = fac.DoctorFacilityId
    LEFT JOIN DoctorFacility doc ON pv.DoctorID = doc.DoctorFacilityID

    If I understand the problem correctly, this criterion 
    AND DATEPART(Year , pv.visit) = DATEPART(Year , @EndRptDate) -
    needs to be changed to
    AND pv.visit >=dateadd(year, -2, @EndRptDate) and pv.visit <= @EndRptDate 
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Frequent Crashes - Running, Exiting, While in Block Diagram...

    I am suffering from frequent crashes and lockups of LabVIEW 8.5 Base version. I have not been able to pin down the root as the occurances may happen when my program is running , or when I try to exit, or when working in a block diagram. It seems like it is more likely to occur in and around vi's created using the dll conversion wizard. The vi's are for the API for Silicon Labs CP210x USB to UART configuration. In my test the device powered on an off several times and so appears and disappears several times, and this gets repeated as new devices are tested.
    How do I track this down?
    How do I practice "safe" programming to avoid unexpected occurances that crash LabView?

    Hi MG,
    Are you using the Import Shared Library Utility from Tools >> Import >> Shared Library (.dll)?  This is a tool within LabVIEW that can be used to convert shared libraries to VIs.
    In response to your most recent question, by controlling or adding a timeout for the COM (USB) communication you would be able to stop a portion of the process or the entire VI. This is because when the timeout value is exceeded this initiates an error which will propagate to the subsequent code and prevent any further operations from executing.  In order to stop this error chain from continuing to the end of the code a General Error Handler VI can be used with the COM timeout error code wired to the 'exception code' terminal to ignore this error for future code execution.
    Hopefully, this is a possible solution for your application.  If you need any further clarification, please let me know.
    Jason W.
    National Instruments
    Applications Engineer

  • IVI Shared Components

    Is the down load of the "shared componets" from the IVI foundation a replacement for  the 750 mega byte NI-VISA down load?
    See:
    http://www.ivifoundation.org/shared_components/Default.aspx
    In other words will the "shared compnents" allow me to use my USB to GPIB converter with visa32.lib, visa.h, and visa-type.h?

    Frank_Zappa wrote:
    Is the down load of the "shared componets" from the IVI foundation a replacement for  the 750 mega byte NI-VISA down load?
    No. Nothing to do with each other.

  • Optimising Execution speeds

    Hi,
    I'm constructing a program that sends commands down the serial port and
    reads the data coming in. This data is in the form of character strings
    which I am converting in various conversion VIs to data that can be
    displayed on dials etc. I'm experiencing problems trying to get the dials
    to run smoothly and wondered what ways other than mentioned in the help
    files are there to optimise performance. So far I have placed all the
    conversions in a separate VI which then writes to global variables. These
    globals are then called in the display VI in a while loop - iterating as
    fast as possible. I load the conversion VIs up at the start of opening the
    display VI and set them running in the background when required. My ma
    in
    problem is I want the data displayed on the dials to be as near as is
    possible to real-time. I would be grateful for any help. The serial port
    link is running at 19200 baud.
    Regards,
    Martin.

    > I'm constructing a program that sends commands down the serial port and
    > reads the data coming in. This data is in the form of character strings
    > which I am converting in various conversion VIs to data that can be
    > displayed on dials etc. I'm experiencing problems trying to get the dials
    > to run smoothly and wondered what ways other than mentioned in the help
    > files are there to optimise performance. So far I have placed all the
    > conversions in a separate VI which then writes to global variables. These
    > globals are then called in the display VI in a while loop - iterating as
    > fast as possible. I load the conversion VIs up at the start of opening the
    > display VI and set them running in the background when required. My main
    > problem is I want th
    e data displayed on the dials to be as near as is
    > possible to real-time. I would be grateful for any help. The serial port
    > link is running at 19200 baud.
    >
    As fast as possible is usually way too fast for UI stuff, and consumes too
    much CPU time not allowing the other loop to run as often as you like. You
    can either put a delay in the UI loop, like 10ms, you can put the two
    loops together, or you can use synchronization VIs to control how often
    the UI loop is coaxed to run.
    Another thing to do is to use the profile tool to see how much time different
    VIs are taking. You can then focus on easing the load on that VI.
    Often it
    is due to a runaway loop that is guaranteed to eat as much processor
    time as
    is available. While this often seems like a good idea at the time, it can
    mean that globals are being polled 100,000s of times per second, and even
    though the controls are fast, 60-100Hz is all the screen updates anyway; so
    you want to slow it down to run less often, which will
    allow for the other
    tasks to run more quickly or just lighten the CPU load and make the machine
    feel more responsive.
    Greg McKaskle

  • DAQmx physical channel error message

    Hi,
    I am new to Labview but I managed to create a new analogue voltage input task in Measurement and Automation Explorer. I am using DAQmx create virtual channel VI but  I am getting an error message saying that "required input physical channel is not wired". Any idea why I am getting this error message. Also what is the difference between using DAQmx Assistant and using VI's like DAQmx create virtual channel, DAQmx timing etc.Any help is appreciated.
    Thanks
    Duran
    Attachments:
    error2.JPG ‏171 KB

    The first VI 'Create Virtual Cannel' has an input called physical channel. This needs an input. Right click on the terminal and select Create>Constant. Then you can select the channel (something like Dev1/ai0).
    To your 2nd Q: The assistant is a fast way to configure your measurement. You can later also convert it to the VIs you use now. Using the VIs gives you full programmatically control of the task. (The meaningful phrases are 'configure' and 'full programmatically').
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

Maybe you are looking for

  • PROBLEM IN SETTLEMENT CO88 - G/L  7000203 cannot be created as a co element

    Dear friends, I am facing with an error. Kindly suggest the way how to come up with the issue. My Client due to some reason passed an JV in the month of december in PRD. Now after this all the settlement for the next periods are in error. The followi

  • COA Account Segmentation

    Please can anyone tell me how to create level 5 in account Segementation? I already have a COA on normal account upto level 5 and i want to convert it to Account segmentation up to level 5.

  • Can I use Photoshop Elements 12 for digital drawings?

    By this, I mean can I freehand draw on PSE 12? I bought it originally to replace PSE 8, and, being the simple person I am, didn't bother researching it a bit first. I assumed that it would be like PSE 8, only better, so it seemed worth it. I just fin

  • Problems getting title tags to stick

    I am trying to use iweb SEO Tool to add Title tags and analytics code to my website. I go through the process and the SEO tool says that changes have been saved to my idisk website. But when I go to google and google Nightmare 13 it still has the old

  • Apple TV painfully slow buffering HD files from iTunes over WiFi

    When using Apple TV over WiFi to access my iTunes library everything works well EXCEPT when the video is an HD format file.   I convert using SmartConverter to the standard Apple TV setting, and anything that is HD transfers so slowly over to Apple T