LV5 VISA Open vs LV6 VISA Open

Currently have TestStand feeding the VISA Resource Name (string) into a LV5 VISA IO Open. We have upgraded to 6i and would like to re-use our current VI's. How do I mimic this same interface using the LV6i VISA IO Open. Specifically, how do I convert the TestStand string into the VISA Resource Name, such that it is controlled thru TestStand.

In my LV5 VIs I wrote for TestStand, I had string constants wired to the VISA Open and when I converted to LV6, it used a new function called Old VISA Open. However, I have no idea where to find this function on any of the pallettes. I've had to do a copy and paste for new VIs when I've wanted the same functionality.

Similar Messages

  • I am using CGI Vis examples in LV6.1, and the VI simply opens when I click on a link. What am I doing wrong?

    I am running Labview 6.1 and am simply trying to learn about the CGI VIs from the examples. I set up the Web Server root directory and I have the cgi-bin directory in it. When I view the provided index.htm file using http://localhost/index.htm, I see the web server document (so the server is working???). I go to the CGI examples and click on the link for CGI Basics. Everytime I click on the link, the vi tries to download with a prompt for SAVE or OPEN. If OPEN is selected the vi opens but does not run. I thought it might be a problem with the browser being on the same machine, so I went to a machine without Labview installed and it still tries to download th
    e vi locally from the server. I assumed from the documentation that the vi runs on the server and sends a request back in html form. I must have missing something or setup wrong. Any help would be deeply appreciated!
    Setup (In case it matters)
    Labview 6.1
    Internet Developers Toolset 5.0
    Windows XP Pro and Windows 2000 Pro (Tried both)
    Internet Explorer 6.0
    Happy New Year to all!!!

    I am not sure what the problem could be and I am a little confused about the exact steps you took. I launch LabVIEW, start the HTTP server, point my web browser to http://localhost/index.htm. This brings of a page entitled G Web server. I click on the button to "View CGI Examples" which redirects by browser to http://localhost/examples/index.htm . I click on CGI Basics and go to http://localhost/examples/basics.htm .
    This page has four groups of examples and within each group there are several examples. All of the examples I clicked on redirected my browser. Is this what you see?
    Was the message to save or open from the browser or from LabVIEW? If it was from LabVIEW, then you might consider mass compiling the VIs on your computer. You can do this
    by opening LabVIEW >> tools >> advanced >> mass compile.
    You might also try a reinstall of the Internet Toolkit. The examples may have been corrupted.
    Finally, LabVIEW 6.1 introduced remote front panels. You might find them easier to use than CGI scripting.

  • Open VISA sessions in LV6 VISA Ref control and LV executables

    I have created a LV executable that opens a TCP/IP socket class VISA
    session. Once the session is opened, it appears below the dividing
    line in the executable's VISA resource control. However, the open
    session does not appear in the resource control of any open,
    uncompiled VI in the development environment, nor in the VISA control
    of other LV executables. However, if I run the VI as an uncompiled
    VI, the opened session appears in all other open uncompiled VI's as an
    available resource that may be selected. It should also be noted that
    VISA sessions opened by executables are not returned by the "Open VISA
    sessions" utility VI running in the development environment.
    My wish is to create a
    separate compiled executable applet that
    creates a TCP/IP connection to a network device and have that resource
    appear in the VISA control of other executables and VI's. It appears
    the executable uses its own memory space to keep track of open VISA
    sessions. Is there any way to change this so that all runtime
    executables and the development environment all work from the same
    list?
    Thanks in advance,
    sm

    jwf wrote in message news:<[email protected]>...
    > If you haven't done so, you should try updating LabVIEW 6.0 to 6.0.2.
    > You can download this update for free by going to www.ni.com and
    > clicking on downloads and then drivers and updates and pick the
    > LabVIEW updater out of a list. I know for a fact that this update
    > fixed some problems using the VISA resouce control in LabVIEW 6
    > executables. Hope this is helpful.
    Thanks for the advice, but I've already updated to 6.0.2.
    sm

  • Concatenating to a variable more than once?

    Is it possible to concat to the same variable more than once? For some reason I am thinking not.
    I have the following:
    declare v_sql VARCHAR2(2000);
    v_sql := 'Select blah balh Where myfield in (';
    if v_show1 = 1 then
    v_sql := v_sql || '1,'
    end if;
    if v_show2 = 1 then
    v_sql := v_sql || '2,'
    end if;
    if v_show3 = 1 then
    v_sql := v_sql || '3,'
    end if;
    v_sql := v_sql || '4)';
    Is that possible or is there another way to do this?
    Thanks,
    Greg

    Ok. I thought it was but just checking. Then I guess I have an issue with my procedure below. It doesn't appear to be looking at the v_statuslist as it is empty each time.
    CREATE OR REPLACE PROCEDURE USP_REPORTAUDITMETRICDEF(
         v_apprid IN PM_MetricDefData.M_ApprId%TYPE,
         v_startdate IN PM_MetricDefData.AsOfDate%TYPE := NULL,
         v_enddate IN PM_MetricDefData.AsOfDate%TYPE := NULL,
         v_bshowpending IN NUMBER,
         v_bshowapproved IN NUMBER,
         v_bshowrejected IN NUMBER,
         v_bshowprocessed IN NUMBER,
    cv_results OUT SYS_REFCURSOR)
    IS
         v_sql VARCHAR2(2000);
         v_statuslist VARCHAR2(20) := '';
         v_code VARCHAR2(10);
         v_parentid NUMBER;
    BEGIN
         Select M_Code, M_ParentId into v_code, v_parentid From PM_MetricDefApproved
         Where M_ApprId = v_apprid;
         if v_parentid = 0 then
              /* Select parent metric snapshot records */
              v_sql := 'Select MDS.M_Title, MDS.M_Code, MDS.M_Desig, MDS.M_Desc, MDS.M_SuggChgs, MDS.M_Remarks, '
                   || 'NVL(LV.ValueDesc, '''') as TypeDesc, MDS.M_ParentId, NVL(LV5.ValueDesc, '''') as UnitDesc, '
                   || 'LV6.ValueDesc as M_Compare, MDS.M_AllowDataEntry, MDS.M_VisiblePublic, '
                   || 'MDS.M_Weight, NVL(LV2.ValueDesc,'''') as AreaValueDesc, '
                   || 'MDS.M_ParaNum, MDS.M_Obj, MDS.M_Thresh, MDS.M_PWSNum, MDS.M_UpperDataLimit, MDS.M_LowerDataLimit, '
                   || 'NVL(LV3.ValueDesc,'''') as RptFreqValueDesc, NVL(LV4.ValueDesc,'''') as ColFreqValueDesc, '
                   || 'MDS.M_RptProcess, MDS.M_RptMethod, '
                   || 'MDS.PS_Level1, MDS.PS_Level2, MDS.PS_Level3, MDS.PS_Level4, MDS.PS_Level5, '
                   || 'MDS.AF_Level1, MDS.AF_Level2, MDS.AF_Level3, MDS.AF_Level4, MDS.AF_Level5, '
                   || 'AC.ApprovalDesc, '
                   || 'MDS.M_CreateDate, NVL(UL.UserName,''<unknown>'') as CreatedUserName '
                   || 'From PM_MetricDefSnapshots MDS, '
                   || 'PM_ApprovalCodes AC, '
                   || 'PM_LookupValues LV6, '
                   || 'PM_MetricDefApproved MDA, '
                   || 'PM_UserLookup UL, '
                   || 'PM_LookupValues LV, '
                   || 'PM_LookupValues LV2, '
                   || 'PM_LookupValues LV3, '
                   || 'PM_LookupValues LV4, '
                   || 'PM_LookupValues LV5 '
                   || 'Where MDS.M_ApprStatus=AC.ApprovalId '
                   || 'and MDS.M_CompareValueId=LV6.ValueId '
                   || 'and MDS.M_LinkApprId=MDA.M_ApprId(+) '
                   || 'and MDS.M_CreateUserId=UL.UserCAMID(+) '
                   || 'and MDS.M_TypeValueId=LV.ValueId(+) '
                   || 'and MDS.M_AreaValueId=LV2.ValueId(+) '
                   || 'and MDS.M_RptFreqValueId=LV3.ValueId(+) '
                   || 'and MDS.M_ColFreqValueId=LV4.ValueId(+) '
                   || 'and MDS.M_PSUnitValueId=LV5.ValueId(+) '
                   || 'and MDS.M_Code = :code ';
         else
              /* Select child metric snapshot records */
              v_sql := 'Select MDS.M_Title, MDS.M_Code, MDAP.M_Desig, MDAP.M_Desc, MDAP.M_SuggChgs, MDAP.M_Remarks, '
                   || 'NVL(LV.ValueDesc, '''') as TypeDesc, MDS.M_ParentId, NVL(LV5.ValueDesc, '''') as UnitDesc, '
                   || 'LV6.ValueDesc as M_Compare, MDS.M_AllowDataEntry, MDS.M_VisiblePublic, '
                   || 'MDS.M_Weight, NVL(LV2.ValueDesc,'''') as AreaValueDesc, '
                   || 'MDAP.M_ParaNum, MDAP.M_Obj, MDAP.M_Thresh, MDAP.M_PWSNum, MDS.M_UpperDataLimit, MDS.M_LowerDataLimit, '
                   || 'NVL(LV3.ValueDesc,'''') as RptFreqValueDesc, NVL(LV4.ValueDesc,'''') as ColFreqValueDesc, '
                   || 'MDAP.M_RptProcess, MDAP.M_RptMethod, '
                   || 'MDAP.PS_Level1, MDAP.PS_Level2, MDAP.PS_Level3, MDAP.PS_Level4, MDAP.PS_Level5, '
                   || 'MDAP.AF_Level1, MDAP.AF_Level2, MDAP.AF_Level3, MDAP.AF_Level4, MDAP.AF_Level5, '
                   || 'AC.ApprovalDesc, '
                   || 'MDS.M_CreateDate, NVL(UL.UserName,''<unknown>'') as CreatedUserName '
                   || 'From PM_MetricDefSnapshots MDS, '
                   || 'PM_MetricDefApproved MDAP, '
                   || 'PM_ApprovalCodes AC, '
                   || 'PM_LookupValues LV6, '
                   || 'PM_UserLookup UL, '
                   || 'PM_LookupValues LV, '
                   || 'PM_LookupValues LV2, '
                   || 'PM_LookupValues LV3, '
                   || 'PM_LookupValues LV4, '
                   || 'PM_LookupValues LV5 '
                   || 'Where MDS.M_ParentId=MDAP.M_ApprId '
                   || 'and MDS.M_ApprStatus=AC.ApprovalId '
                   || 'and MDAP.M_CompareValueId=LV6.ValueId '
                   || 'and MDS.M_CreateUserId=UL.UserCAMID(+) '
                   || 'and MDS.M_TypeValueId=LV.ValueId(+) '
                   || 'and MDAP.M_AreaValueId=LV2.ValueId(+) '
                   || 'and MDAP.M_RptFreqValueId=LV3.ValueId(+) '
                   || 'and MDAP.M_ColFreqValueId=LV4.ValueId(+) '
                   || 'and MDAP.M_PSUnitValueId=LV5.ValueId(+) '
                   || 'and MDS.M_Code = :code ';
         end if;
         /* if date range was specified, add it to where clause */
         if v_startdate is not null then
              v_sql := v_sql || 'and MDS.M_CreateDate Between :startdate and :enddate ';
         end if;
         /* Determine what status to retrieve */
         if v_bshowpending = 1 then
              v_statuslist := v_statuslist || '0,';
         end if;
         if v_bshowapproved = 1 then
              v_statuslist := v_statuslist || '1,';
         end if;
         if v_bshowrejected = 1 then
              v_statuslist := v_statuslist || '2,';
         end if;
         if v_bshowprocessed = 1 then
              v_statuslist := v_statuslist || '3,';
         end if;
         if substr(v_statuslist, length(v_statuslist)-1,1) = ',' then
              v_statuslist := substr(v_statuslist,1,length(v_statuslist)-1);
         end if;
         if v_statuslist <> '' then
              v_sql := v_sql || ' and MDS.M_ApprStatus in (' || v_statuslist || ')';
         end if;
         v_sql := v_sql || ' Order By MDS.M_CreateDate Desc';
         if v_startdate is not null then
              OPEN cv_results FOR v_sql
                   using v_code,
                        v_startdate,
                        v_enddate;
         else
              OPEN cv_results FOR v_sql
                   using v_code;
         end if;
    END;
    /

  • What is the correct command sequence code in Labview that will take an instrument out of Remote and put it in Local mode?

    I am writing a routine in Labview 5.1 that will capture the screen data on a Network Analyzer after configuring the display. The routine to capture the data is working fine but when I try to send the equipment into local to allow me to manually make another change to the data I want to capture, the analyzer will go into a listen mode. The command I am sending to the analyzer using the 488 misc function is "loc". I've notice that is seems to put the anayzer into listen mode which will not respond to the commands to capture the screen data again.

    Check the manual for the instrument. Some instruments do not have a specific command to go into local (or remote) mode. Tektronix oscilloscopes use the GTL command to Go To Local. HP and Agilent instruments do not have a command for this.
    It's been a while since I used LV5.1, but in LV6, there is a VI under Instrument I/O->488->488.2 that allows you to set instruments into local mode. Hopefully, the same VIs exist in LV5.1.
    Rob

  • Open and Close a command line exec via OpenG.lib in seperate VIs

    Hi,
    I'm aiming to perform tests on my UUT - over a command line based executable which established a USB connection, so - sendings commands and checking the return string. 
    So far i'm reusing the pipeNight.vi which is shared in the following post.
    http://forums.ni.com/t5/LabVIEW/How-to-pass-input-to-a-DOS-executable-that-is-running-in/m-p/1763182...
    However i wish expand from LabVIEW and utilise NI-TestStand sequence files to ramp up the test coverage and perform the tests automatically.
    The issue i've encountered - every time i call the pipeNight.vi from a TestStand sequence Step, the USB connection is build up and torn down.
    Although i'm not encountering any performance issues to date, i would ultimately like to open a session (i.e.establish the usb connection) - at the beginning of a sequence file, send a bunch or commands and check return strings, before closing the session at the end of the sequence file. This is surely a more effecient and elegant solution.
    Is it somehow possible to split the pipeNight.vi into several VIs to realise this objective?
    - Open 
    - Write/Read
    - Close
    i'd appreciate and help or alternatice solutions on this!
    B.Regards
    Kech
    Solved!
    Go to Solution.

    I had tried to explain in my initial post, that if i call the pipeNight.vi from a TestStand sequence file step, then establishes a USB connection and tears it done - for every command that i send/ respectively every sequence step that i run in TestStand. As i envisage multiple (several hundred) test steps, i woul like to improve effeciency by establishing the ESB connection once instead of multiple times.

  • I want to edit my raw images on cs5 photoshop.  But when I go to open the .CR2 file it says  '' Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. Please visit

    I want to edit my raw images on cs5 photoshop.  But when I go to open the .CR2 file it says 
    '' Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. Please visit the Camera Raw help documentation for additional information.  '' 
    When I go to updates in photoshop help i try to update photoshop and photoshop camera raw but it then says 
    '' Updates could not be applied the error log file may help you in identifying the problem. Then, try updating again. If the problems persist, contact customer support for further assistance. 
    Photoshop Camera Raw 8.7.1(CS6) There was an error installing this update. Please quit and try again later. Error Code: U44M1I216 ''  
    I dont know how to get around this please help

    CR2 files from which Canon camera?
    Supported cameras are listed here
    Camera Raw plug-in | Supported cameras

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

  • Whenever I visit youtube I get strange page errors when I click on a video or try to open something in a new tab.

    Whenever I visit YouTube I sometimes have problems opening new tabs or clicking on videos. Sometimes when I click on a video all that shows is code and nothing else. Other times I click on a video and I get a window that looks like I'm trying to download the link. The window often says "You have chosen to watch... which is a: application/octet-stream from http://www.youtube.com What should Firefox do with this file?" It gives me the option to save file or open with. But, if I try to save the file or open it with a program it doesn't work. How can I make these glitches go away? This only happens on YouTube.
    == URL of affected sites ==
    http://www.youtube.com/

    Whenever I visit YouTube I sometimes have problems opening new tabs or clicking on videos. Sometimes when I click on a video all that shows is code and nothing else. Other times I click on a video and I get a window that looks like I'm trying to download the link. The window often says "You have chosen to watch... which is a: application/octet-stream from http://www.youtube.com What should Firefox do with this file?" It gives me the option to save file or open with. But, if I try to save the file or open it with a program it doesn't work. How can I make these glitches go away? This only happens on YouTube.
    == URL of affected sites ==
    http://www.youtube.com/

  • How do I open and close VIs from within a VI?

    Ladies and gentlemen,
    I would like to use a VI to open and close other VIs based on user input.  Example:  The first VI will have text that reads:  "Does the car have heated mirrors?"  There will be two buttons: one for "YES" and the other for "NO."
    If the user hits the "NO" button, the current VI will close and a similar VI will open that asks the user the next question, "Are the mirrors lighted?" "YES" or "NO..."
    If the user hits the "YES" button, the current VI will close and another will open that will tell the user to "Activate the heated mirrors" and press a button that will say "NEXT."  At that point, that VI will close, and in two minutes another VI will open and ask the user "Is the driver's side mirror hot?" with another set of "Yes" or "No" buttons.  If the user presses "YES" we will have verified that the heated driver's side mirror is working properly and store that information somewhere .  If the user presses "NO", the VI will close and another VI will open with some kind of repair instruction and a button that says "RETEST" that will rerun the heated mirror test when repairs are completed.
    During the two minutes we are waiting for the mirrors to heat up the program should move on to the next question: "Are the mirrors lighted?" "YES" or "NO..."
    Does anyone know how to manipulate VIs in this way?  Please help!
    Drew

    Instead of opening and closing vi's, just create one main vi with a state machine architecture.  Search for examples on state machines to get a basic understanding of them.  This is pretty complex so I have written an example of how this could be accomplished.  The trick part was the 2 minute timer (my vi is set for 5 seconds for quick testing).  Each state produces a question, and depending on the answer, the next state is inserted into a queue.  You can add more states for more questions and answers.  Notice that the boolean buttons can be hidden if you just want to show one button (like Next) instead of two buttons (Yes and No).  Study the vi and let me know if you have questions.
    - tbob
    Inventor of the WORM Global
    Attachments:
    Q&A.vi ‏166 KB

  • Visa Open and Close on every iteration of loop

    I have noticed that when you open the front panel of the Instrument I/O Assistant, the diagram starts with a visa session open, sets timeout property, writes, reads, parses data and ends with a visa session closed.  If I were to place this into a while loop the visa session would open and close on each iteration of the loop. 
    Is it common practice to open and close the visa session on each iteration?

    No you would not want to open and close that often. If you want to use the Instrument I/O assistant what I would do is configure it the way you want and then save it under another name so you can open the block diagram. Pull the VISA open and close outside of your loop.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • How can I close all open subVI front panels, without closing my top level VI front panel when all VIs are built into executables?

    I'm using the code shown in the sample VI discussed here: http://digital.ni.com/public.nsf/allkb/353A696A3F393D9B86256E8B007A2912
    to close all open VIs except my top level VI.  My top level VI is actually a separate executable and the sub-VIs are their own executables.  All reside under the same project.  It works very well if I'm running in LabView but will not work when I build them.  I added all the sub-VIs to the Always Include box in my top level VIs properties which did nothing.  I also tried adding them to the Startup VIs box.  This allowed me to close them all programmatically from the top level VI but it also open all the VIs at once (which was expected and not desired).  I think the problem is the executables are not able to see outside their own memory space so the top-level VI never finds any other open front panels to close.  Is this correct?  Is there another way to go about doing this? 
    Thanks!

    Where do I begin…..
    I’m using a “server” to control 4 “client” PCs.  My server opens references to 4 VIs on each client then executes them sequentially.  So on a normal day, the server will run everything itself and I will have no contact with the clients.  But on a several occasions, I’ve needed the ability to walk up to one of the clients and run just one of the 4 VIs. 
    We are updating from LabView 6.1 to 8.5 and we want to run executables rather than VIs for various reasons.  I have a new VI running on the client PCs who’s only function is to initialize the shared variables and open/close the VIs.  I initially thought of making the remaining 4 VIs sub-VIs but I will loose the ability to run them individually.  I think I would also have to rewrite the VI running on the server since the 4 references it originally opened do not exist.  I don’t think you can open a reference to a sub-VI on another PC.  Can you???
     As you can see, this is a huge mess.  I’m still pretty new with LabView so any help you can provide would be great. 

  • Open DeviceNet interface error when TestStand call VIs of NI PCI-8532

    Hello,
    We use NI PCI-8532 was used as DeviceNet master to do functionality test with a slave (AC Drive).
    But when open DeviceNet interface, it happen the error.
    We can't find the solution and hope to find help from you.
    The basic sequence in TestStand is:
    1). Call "Open DeviceNet Interface.vi" to open interface and creat interface object.
         Interface(master) setting: interface name=dnet0, MAC ID=0, baudrate=125000bps
    2). Call "Open DeviceNet IO.vi" to creat DeviceNet IO object.
         Device(slave) setting: MAC ID=63
    3). Call "Operate DeviceNet Interface.vi" and operation code=start
    4). Call "Wait For State.vi"
    5). Call "Read DeviceNet IO.vi" to read data from IO object
    6). Call "Close Object.vi" to close IO object handle
    7). Call "Close Object.vi" to close interface object handle
    Remark, these DeviceNet VIs locates at "C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\DeviceNet\VIAPI".
    First time to run sequece in TestStand, it can pass to run step 1) to open DeviceNet interface.
    But once there is some error with these steps, and it will happen "Open DeviceNet Interface" error (error code=0xBFF62006) when run these steps again.
    Then even use LabVIEW DeviceNet example to test, and it happen the same error except restart computer.
    The DeviceNet example locates at "C:\Program Files\National Instruments\LabVIEW 2012\examples\NI-Industrial Communications for DeviceNet\Basic Examples\PXI & PCI\MixedCommunication.vi".
    Some information more:
    PC operate system: Windows XP SP3
    LabVIEW version: 2012 SP1
    TestStand version: 2012 SP1
    PCI 8532 driver version: 2.3.0
    Other installed PCI board: PCI 8531 CANOpen

    The following errors may be resolved by resetting the CAN, DeviceNET or LIN device:
    Error -1074388986 occurred at ...
    NI-CAN:  (Hex 0xBFF62006) The object is already open in another application.  Solutions: Ensure that only one application at a time uses an object , and that you close all objects prior to exiting your application (don't use LabVIEW toolbar's Abort button).
    Error -1074388969 occurred at ...
    NI-CAN: (Hex 0xBFF62017) This attribute's value must be provided prior to the Open. Solutions: Set the attribute using the Config function before the Open, and do not set the attribute at any later time; Do not configure multiple CAN Objects for the same ID.
    SO,you should reset the DeviceNet.
    And another similar issue can explain some points of your problem  http://digital.ni.com/public.nsf/allkb/7D9383E9BEAD0B21862571640002F687?OpenDocument

  • Can't open Pages 05 saved in Dropbox on new Pages iPad app and visa-versa

    Updated to the new Pages 05 on all my devices (macbook, iPad, iPhone). Problem now is that I want to save documents into Dropbox. Works fine when saving a file from my macbook to dropbox, and then opening it on my macbook again. But whenever I create a document on either the macbook or iPad and save it into dropbox, it will not allow me to open it on the other device. I am very uneducated in this area, especially the new 'packages' that files are put in now, I'm not understanding how this all works and why I cannot open a pages file created on my macbook in a pages app on my iPad and visa-versa.

    I've just encountered this problem trying to work away from my main mac on pages and numbers documents, through my iPad - this was a great feature through dropbox -  now it's just another frustration - Apple why are you taking us backwards?  To resolve it I have to spend time moving all my documents to iCloud which is just making what was a brilliantly simple file sharing option, now very complicated.

  • Using Open VI Reference to run a VI, on an RT target, with sub-VIs not loaded

    I've been using Open VI Reference and Call By Reference Node to remotely run VIs on my RT controller.  I
    usually wire string data to the vi path input, but this
    requires the VI to be in memory.  I understand (from LabVIEW help) that I can wire a path to this terminal and specify a VI that is
    not in memory, but is on the disk.  NI has an example that
    confirms my understanding.  I get errors when I attempt to do the same
    with VIs that have sub-VIs; I suspect that the problem is that
    the sub-VIs aren't in memory and that the top-level vi doesn't know where to
    look for them (because the paths aren't specified).  All of the sub-VIs are on the RT system (in the same directory), they're just not in memory.
    Is there a way to get LabVIEW to look for sub-VIs on the disk?  I don't want to rely on using a startup application and rebooting to get my VIs into memory.
    Thank you,
    Jim Carmody
    Software Engineer
    G2 Technologies
    www.g2tek.com
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

    Hi Jim,
    It sounds like you are going about calling VIs remotely the correct way.  It would be very helpful if you could post the errors you are receiving.  I also wanted to know if you saw the note at the bottom of the article that says your VI library must contain everything your top level VI calls.
    Eric A.
    National Instruments
    Distributed I/O Product Support Engineer

Maybe you are looking for

  • Airplay no longer connecting to apple tv using MAC

    Just last night my ipad and my iphone will not connect to my TV via airplay. Tried rebooting everything no luck.  I was trying to watch my BBC global player.  Any advice?  Thanks.

  • Billing document text in customer line item.

    Dear SD Champs, While posting collections from customers, our users are entering some text in the "Text" field. BSEG-SGTXT. Whatever text is entered over can be displayed in customer line items fbl5n. Users want the same facility in billing document.

  • To Winston Churchill

    Why is it that everytime a User has a problem with Home Sharing you either just refer it to the standard trouble shooting procedures or totally ignore the questions. It look like Apple is having serious issues with Home Sharing with the Apple TV devi

  • PRESENCE = "hidden" is not working for me!

    Hello I am developing a interactive form and the back end is SAP ERP software (where in the INITIAL screen will be developed) and the data bse is Oracle, fine. The my_form has 4 pages. The first 2 pages (1&2) are meant for to enter the family head de

  • Multi block validation in a form using nested tables

    Hi, I have a tables that contains 3 nested tables plus some other varchar2 columns. I have created a form with 4 blocks, three of them based on views on the 3 nested tables, the forth containing the other columns from the table. I have created relati