How to use DAQ to control Mindstorms NXT in real time?

I have a project in which I must use a a biosignal to control a Lego robot in real time.  My group is using a DAQ to read an EMG signal into the computer.  We are trying to use the RMS of this signal to control the power of the Servo motors that drive the robot.  However, the DAQ assistant can not be loaded into the NXT (the error message says something about password protection).  
Is there any way to read the RMS from another vi and feed it into the vi that is loaded into the NXT?  
In general terms, what I would like to do is use the root mean square of a biosignal read by a DAQ to control the power of the Servo motors, in real time.
Any help would be greatly appreciated. 
Attachments:
Master File.vi ‏65 KB

You won't be able to run DAQmx VIs on the NXT. The error message is misleading -- the problem is that the DAQ VIs weren't written to run in the NXT's virtual machine.
Instead, you should create two separate VIs. The first VI will run completely on the PC, will acquire the EMG signal, and then pass messages to the NXT over Bluetooth indicating how much power the motors should get.
The second VI will run completely on the NXT, will read messages from one of the Bluetooth mailboxes, and then feed that power value into a motor control VI.
If Bluetooth is not an option for you, you could use just one VI running on the PC, and use the NXT direct command VIs to set motor power over USB. (The drawback is that your NXT is now tethered to the computer.) 
James Blair
NI R&D

Similar Messages

  • How to use interface and abstract class in the real time sennario ?

    how to validate password and reenter password fields in the struts through the xml files?

    Here is a modified dealForm.jsp that merges the 2 steps - both symbol submission and Yahoo convert is done by it. Play with it and add your DB code to it:
    <html>
    <head><title>IPIB Database Selection</title></head>
    <body bgcolor="#DFDFFF">
    <H1><CENTER>IPIB Database Selection</CENTER></H1>
    <font size=4>
    <%@ page language="java" %>
    <%@ page import="java.net.*,java.io.*,java.util.*" %>
    <%
    String symbol = request.getParameter("symbol");
    if (symbol != null) {
    String urlString = "http://finance.yahoo.com/download/javasoft.beans?SYMBOLS=" + symbol + "&format=ab";
    try {
    URL url = new URL(urlString);
    URLConnection con = url.openConnection();
    InputStream is = con.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line = br.readLine();
    StringTokenizer tokenizer = new StringTokenizer(line,",");
    String name = tokenizer.nextToken();
    name = name.substring(1, name.length()-2);
    String price = tokenizer.nextToken();
    price = price.substring(1, price.length()-2);
    %>
    <p>
    Original line from yahoo <%= line %>
    </p> <p>
    Name: <%= name %>
    </p> <p>
    Price: <%= price %>
    </p> <p>
    Pub DB processing code from dealLoad.jsp here
    </p>
    <%
    } catch (IOException exception) {
    System.err.println("IOException: " + exception);
    } else { %>
    <form action="dealForm.jsp"method="GET">
    <p>Enter Symbol: <input size="20" name="symbol">
    <inputtype="submit" value="Submit">
    </p></form>
    <% } %>
    </font>
    </body>
    </html>

  • [Forum FAQ] How to use parameter to control the Expand/Collapse drill-down options in SSRS report?

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

  • I need to program a Hittite Fractional​-N Synthesize​r Evaluation Kit with a HMC702LP6C​E an external YIG oscillator​. Not sure how to use Labview to control the PLL.

    I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator.  Not sure how to use Labview to control the PLL.

    Here is how to use the PLL. But I don't know of how to interact with that device
    http://zone.ni.com/devzone/cda/tut/p/id/3781
    And for thouse who don't know what a PLL is a free bonus link is here:
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E​9AE258625708B007CE74F?OpenDocument
    and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC​702LP6CE
    Now we are all caught up to speed.
    Sam S
    Applications Engineer
    National Instruments

  • How to use tcom to control vi

    how we use tcom to control vi program? we have got this tcl script from googling  but it is not running , it says to run the vi as activex server ,how can we do it? it is opening the vi but gives the error "high frequency not found in vi connector pane.what are the different methods that we can use with vi ? in the example  some methods such as  getvireference  etc have been used
    # Interfacing to LabView via TCOM
    package require tcom
    # Start the "Frequency Response" VI as an ActiveX server.  (If the VI
    #was
    # compiled then you would refer to it by its registered server name.
    #For
    # example, if you compiled 'A.vi' and created 'A.exe', then you would
    #load
    # it with 'set lv [::tcom::ref createobject "A.Application"]'.)
    set lv [::tcom::ref createobject "LabView.Application"]
    # Create a reference to the VI.  (You may want to use
    # '[$lv ApplicationDirectory]' to get the correct path for this PC.
    # For a compiled VI, use just the VI's name, for example:
    # 'set viPath "A.vi"'.)
    set viPath "C:\\Program Files\\National Instruments\\LabVIEW 8.2\\examples\\apps\\freqresp.llb\\Frequency Response.vi"
    set vi [$lv GetVIReference $viPath]
    $vi FPWinOpen True
    # Create the parameter arrays.  The first array is a list of terminal
    #names;
    # the second array is a list of their values.  We must pass in a value
    #for
    # every terminal on the VI's connector (unless we are very sure that
    #the VI
    # has a valid initial value for that terminal).  We must also pass in
    #a
    # value for the output terminals; LabView will ignore it.
    set names [list Amplitude "Number of Steps" "Low Frequency" "High
    Frequency" "Response Graph"]
    # Create the values array
    set values [list 5 105 15 1005 0]
    # Call the VI and get the results
    $vi Call names values
    # The Response Graph is returned in 'values'
    puts $values
    #5 105 15 1005 {{400.0 406.238291234 412.573873162...
    # If the VI is running we cannot use the 'Call' method, but we can
    # set and query individual Controls/Indicators.  (The "Frequency
    # Response" VI does not continue running - you call it, it runs, then
    # it stops until you call it again.  However, many VIs run
    #continuously
    # once you start them, and many are set to start running as soon as
    #you
    # load them.  Obviously, compiled VIs typically start running as soon
    # as you load them.)
    $vi SetControlValue "Low Frequency" 5
    $vi SetControlValue "Amplitude" 10
    $vi GetControlValue "Amplitude"
    # 10
    # The graph hasn't changed (because the VI isn't running), but we can
    # still read it.  Notice that the graph is an Indicator (not a
    #Control),
    # but we still use the 'GetControlValue' method to read it.
    set new_graph [$vi GetControlValue "Response Graph"]
    # You may need to manipulate the VI's menus.  Unfortunately LabView
    #does
    # not expose any method for doing this, so you must use the Windows
    # Scripting Shell.  The <ESC> key does not seem to work this way, so
    # the menus should have shortcuts that use ALT or Ctrl key
    #combinations.
    # Start the Windows Scripting Shell and send an <ALT> key to the GUI
    set WShell [::tcom::ref createobject WScript.Shell]
    $WShell SendKeys %%
    $WShell SendKeys {DOWN}
    # Send Alt-X
    $WShell SendKeys %X
    # When we are done, we may want to shut down the VI.
    $lv Quit

    Hi,
    I'm not too familiar with tcom interfacing with LabVIEW, but you may want to check out other DFs, such as this one here.  Would it be possible to printscreen the LabVIEW error you are talking about- "high freq not found...".  Furthermore, you may want to confirm the functionality of the script with the person who made it.
    I hope this helps,
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • How to use the custom control ?

    Hi Friends,
    plz help to use of  custom control in screen painter ?
    and how to use the custom control ?
    Thanking you.
    Regards,
    Subash.

    HI,
    Screen Elements
    A screen can contain a wide variety of elements, either for displaying field contents, or for allowing the user to interact with the program (for example, filling out input fields or choosing pushbutton functions). You use the Screen Painter to arrange elements on the screen.
    You can use the following elements:
    ·        Text fields
    Display elements, which cannot be changed either by the user or by the ABAP program.
    ·        Input/output fields and templates
    Used to display data from the ABAP program or for entering data on the screen. Linked to screen fields.
    ·        Dropdown list boxes
    Special input/output fields that allow users to choose one entry from a fixed list of possible entries.
    ·        Checkbox elements
    Special input/output fields that the user can either select (value ‘X’) or deselect (value SPACE). Checkbox elements can be linked with function codes.
    ·        Radio button elements
    Special input/output fields that are combined into groups. Within a radio button group, only a single button can be selected at any one time. When the user selects one button, all of the others are automatically deselected. Radio button elements can be linked with function codes.
    ·        Pushbuttons
    Elements on the screen that trigger the PAI event of the screen flow logic when chosen by the user. There is a function code attached to each pushbutton, which is passed to the ABAP program when it is chosen.
    ·        Frame
    Pure display elements that group together elements on the screen, such as radio button groups.
    ·        Subscreens
    Area on the screen in which you can place another screen.
    ·        Table controls
    Tabular input/output fields.
    ·        Tabstrip controls
    Areas on the screen in which you can switch between various pages.
    ·        Custom Controls
    Areas on the screen in which you can display controls. Controls are software components of the presentation server.
    ·        Status icons
    Display elements, indicating the status of the application program.
    ·        OK field
    Every screen has a twenty-character OK_CODE field (also known as the function code field) that is not displayed directly on the screen. User actions that trigger the PAI event also place the corresponding function code into this field, from where it is passed to the ABAP program. You can also use the command field in the standard toolbar to enter the OK field. To be able to use the OK field, you need to assign a name to it.
    All screen elements have a set of attributes, some of which are set automatically, others of which have to be specified in the Screen Painter. They determine things such as the layout of the screen elements on the screen. You can set the attributes of screen elements in the Screen Painter - either for a single element, or using the element list, which lists all of the elements belonging to the current screen. Some of the attributes that you set statically in the Screen Painter can be overwritten dynamically in the ABAP program.
    with regards,
    sowjanyagosala

  • How to update the HTML file so that we can Control our process in real time

    After installing following three steps as per the lookout 4 online help I am unable to Monitor and control the Process in HTML format, which was exported manually in lookout server.
    1) Creating a Web Client Page in Lookout
    2) Download a Lookout Web Client
    3) Setting Up Own Web Server
    My browser shows only the instance, which I have uploaded manually without any update
    Problem: How to automatically update/refresh the HTML file so that we can Monitor/Control our process in real time/bi-directional mode.

    Hi,
    It seems like your process is not updating. When you create a Web Client, it uses ActiveX which lets you control the Lookout process fully. Make sure that you run the process. You can do this by pressing CTRL+Spacebar which puts it in Run-mode. Perhaps then you may see your graphs, etc updating.
    Also, please refer to page 11-1 of the Users Manual linked below:
    http://www.ni.com/pdf/manuals/322390a.pdf
    What kind of Web Server are you using? Make sure all the settings in it are done properly. If you have LabVIEW, you can use the LabVIEW Web Server.
    Hope this information is helpful. Please let us know if you have any further questions.
    Regards,
    A Saha
    Applications Engineer
    National Instruments
    Anu Saha
    Academic Product Marketing Engineer
    National Instruments

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

  • How to Login to Web Dynpro developer studio in real time scenario.

    Hi,
    1. How to Login to Web Dynpro developer studio in real time scenario.
    Do we have login pad and User id to enter developer studio.
    Is the user id for login maintained in UME of J2EE engine.
    2. How to stop and start j2ee engine in real time. Is it same SAP Management console is used like in Demo version.
    3. If I use central server, Do I have to install GUI like SAP R/3 GUI to Develop, test and deploy my application.
    Cheers,
    Sam

    Hi,
    What do you mean with real time scenario? Do you talk about runtime?
    NetWeaver Developer Studio (NWDS) is only for design time and you install it on the local PC/laptop of the developer. The 'connection' between NWDS and engine is specified in the preferences (Window->Preferences->SAP J2EE engine) of NWDS. The development track is in 'real life' (e.g. if the engine is a remote one) connected with support from SLD (System Landscape Directory) which is a tool for managing the NWDI (NetWeaver Development Infrastructure). In normal case, there are so-called 'development configurations' that can be imported into NWDS (Window->Preferences->Java Development Infrastructure).
    For starting and stopping the engine, there are several possibilities: SAP MMC, view in NWDS or console.
    If you've a central server, you connect your NWDS to this central server and then you can deploy to this central server.
    Regards,
      Jan

  • How to Logon to Web Dynpro developer studio in real time scenario.

    Hi,
         1. How to Login to Web Dynpro developer studio in real time scenario.
             Do we have login pad and User id to enter developer studio.
             Is the user id for login maintained in UME of J2EE engine.
         2.  How to stop and start j2ee engine in real time. Is it same SAP Management console  is used like in Demo version.
         3. If I use central server, Do I have to install GUI like SAP R/3 GUI to test and deploy my application.
    Cheers,
    Sam

    Hi,
    What do you mean with real time scenario? Do you talk about runtime?
    NetWeaver Developer Studio (NWDS) is only for design time and you install it on the local PC/laptop of the developer. The 'connection' between NWDS and engine is specified in the preferences (Window->Preferences->SAP J2EE engine) of NWDS. The development track is in 'real life' (e.g. if the engine is a remote one) connected with support from SLD (System Landscape Directory) which is a tool for managing the NWDI (NetWeaver Development Infrastructure). In normal case, there are so-called 'development configurations' that can be imported into NWDS (Window->Preferences->Java Development Infrastructure).
    For starting and stopping the engine, there are several possibilities: SAP MMC, view in NWDS or console.
    If you've a central server, you connect your NWDS to this central server and then you can deploy to this central server.
    Regards,
      Jan

  • How to identify the Stanadard Extractor  will support for Real time Data

    How to identify the Stanadard Extractor  will support for Real time Data  Acquisation . Enabled

    Hi
    In the ROOSOURCE table you can find the extract structures, go through all the fields of the extractor and if you find all of your equired fields exist ok else try to enhance for teh needed fields and go with user exit to populate the data for that fields'

  • Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar

    Hi All,
    Check out the blog post 'Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar'
    Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar
    Regards
    Prabaharan

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Which correspondents fine with the
    device "hw:0,3"
    in my mpd.conf alsa section.
    Also sound worked fine withh this config before I started installing ffmpeg-svn and alikes
    hokasch:
    I tried changing the mixer to "Master" but that did not change much.

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • How to use VISA to control a RS-485 interface.

    Hi All,
    I am devloping an app that needs to talk to a custom made device using full-duplex rs-485. There are two types of operations I have to accomplish.
    1) Down load micro-code and stuff like that when ever a user pushes a button.
    2) Deterministically transmit a small command packet that sets some control parameters.
    I will never have to do both operations at the same time.
    I would like to do task 1) in a windows environment.
    I have to do task 2) using LV-Real Time.
    The windows machine will be in full control of the RT system, so I will be able to dictate that the two operations never happen at the same time.
    So...
    A) Is this hardware config "legal"?
    B) Is ther any thing special I have to do
    (like got into tri-state mode)?
    C) Does any one have examples or hints that would help me get through this project with a minimum of blood loss?
    Thanks for reading this,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

    Ben,
    See these documents:
    KnowledgeBase 17M6L0TI: What Are the Different Transceiver Modes on the NI RS-485 Serial Cards?
    KnowledgeBase 2EMAARXY: How Can I Configure My Serial Board for 2- or 4-Wire Mode in LabVIEW RT?
    Regards,
    Chad H.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • How to use active X controls to read/write protect an excel or word document created by created by Save Report to File VI

    Hi all,
    I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
    Thanks a bunch!
    O

    There is no predefined functionality available in LabVIEW. So you have to implement this on your own.
    It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
    Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for