How can I programmatically retrieve the CVI Target Version Settings (e.g. File Version, Copyright, etc) in my CVI application?

Is there any way that I can programmatically retrieve the CVI Target Version Settings (e.g. File Version, Copyright, etc) in my CVI application?
I am using LabWindows/CVI version 7.0.
The settings that I'd like to retrieve within my application are those that are set under Build | Target Settings... | Version Info...
e.g.
      File Version
      Product Version
      Company Name
      Legal Copyright
Thanks,
Darren
Message Edited by Darren Draper on 01-16-2006 02:03 AM

Well, "File access permission denied" claims for an authorization problem . I suggest you double check file attributes in the project directory: it could be that you have downloaded this example from a CD and the read-only attribute has not been cleared.
The library does not reside in the example folder: as you can see by selecting View >> Show full pathnames in the project window, it should be in ....CVI\sdk\lib folder.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    This can happen if the HD icon is inadvertently dragged to the iPhoto Window.
    Easiest solution: restore from your back up.
    Regards
    TD

  • How can I find out the number of lines in a text file?

    How can I find out the number of lines in a text file?

    java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
    int lineCount = 0;
    while( in.readLine() != null )
    lineCount ++;
    System.out.println( "Line Count = " + lineCount );

  • How can I return to the a previous version of itunes?

    How can I return to the a previous version of itunes?

    The only way to return is to remove Lion and reinstall Snow Leopard.

  • HT2188 How can I update to the latest ios version on my ipod touch?

    How can I update to the latest ios version on my ipod touch?

    Check to see what model of iPod you have:
    http://support.apple.com/kb/HT1353
    If you have a second-generation iPod, the last version of iOS it can run is iOS 4.2.1. If you have a 3rd or 4th generation iPod touch, see:
    http://support.apple.com/kb/HT4972
    Regards.

  • How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    Thanks for looking into this Jeff!
    I work with an Inventory module software and is responsible for software detection across several computers. Once an updated version comes up, I update our database with latest software details to get it detected if installed on any machines.
    The problem tracking updates with Desktop Creative Cloud Software are;
    1)We have to have it installed with the CC applications in-order to get the notification of the latest updates and have to check everyday.
    2)Only relates to the latest updates, so in-between we may miss a prior update unknowingly.Hence, the remote machines having those updates may not get  detected with the software version update which would create problem in reporting.
    3)For all CC products, there is no base or previous updates available for installation if we miss one.
    I went through the Adobe Products Update pages [Product updates] which holds good when it comes to Acrobat and Reader software which I follow to track down any newer updates but this is inconsistent when it comes to CC products like in After Effects CC, Dreamweaver CC etc...
    So overall to be very specific, is there any one channel I can follow to get the notifications only for the updates on CC products and then may be I can rely on Desktop Creative Cloud for installation if not available anywhere like in product update pages of Adobe ?
    Regards,
    Subrat

  • How can an applet retrieve the values of a HTML form shown in a JEditorPane

    Hi,
    I'm doing an applet that contains a JTree and a JEditorPane
    among other components. Each node of the JTree represents some
    information that is stored in a database, and whenever a JTree
    node is selected, this information is recovered and shown in
    the JEditorPane with a html form. To make the html form,
    the applet calls a servlet, which retrieves the information of
    the node selected from the database. This information is stored
    like a XML string, and using XSLT, the servlet sends the html
    form to the applet, which shows it in the JEditorPane.
    My problem is that I don't know how I can recover new values
    that a user of the application can introduce in the input fields
    of the html form. I need to recover this new values and send them
    to another servlet which store the information in the database.
    If someone could help me I'd be very pleased.
    Eduardo

    At least I found a fantastic example. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class FormSubmission extends JApplet {
    private final static String FORM_TEXT = "<html><head></head><body><h1>Formulario</h1>"
    + "<form action=\"\" method=\"get\"><table><tr><td>Nombre:</td>"
    + "<td><input name=\"Nombre\" type=\"text\" value=\"James T.\"></td>"
    + "</tr><tr><td>Apellido:</td>"
    + "<td><input name=\"Apellido\" type=\"text\" value=\"Kirk\"></td>"
    + "</tr><tr><td>Cargo:</td>"
    + "<td><select name=\"Cargo\"><option>Captain<option>Comandante<option>General</select></td>"
    + "</tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Enviar\"></td>"
    + "</tr></table></form></body></html>";
    protected HashMap radioGroups = new HashMap();
    private Vector v = new Vector();
    public FormSubmission() {
    getContentPane().setLayout(new BorderLayout());
    JEditorPane editorPane = new JEditorPane();
    editorPane.setEditable(false);
    editorPane.setEditorKit(new HTMLEditorKit()
    public ViewFactory getViewFactory() {
    return new HTMLEditorKit.HTMLFactory() {
    public View create(Element elem) {
    Object o = elem.getAttributes().getAttribute(javax.swing.text.StyleConstants.NameAttribute);
    if (o instanceof HTML.Tag)
    HTML.Tag kind = (HTML.Tag) o;
    if (kind == HTML.Tag.INPUT || kind == HTML.Tag.SELECT || kind == HTML.Tag.TEXTAREA)
    return new FormView(elem)
    protected void submitData(String data)
    showData(data);
    protected void imageSubmit(String data)
    showData(data);
    // Workaround f�r Bug #4529702
    protected Component createComponent()
    if (getElement().getName().equals("input") &&
    getElement().getAttributes().getAttribute(HTML.Attribute.TYPE).equals("radio"))
    String name = (String) getElement().getAttributes().getAttribute(HTML.Attribute.NAME);
    if (radioGroups.get(name) == null)
    radioGroups.put(name, new ButtonGroup());
    ((JToggleButton.ToggleButtonModel) getElement().getAttributes().getAttribute(StyleConstants.ModelAttribute)).setGroup((ButtonGroup) radioGroups.get(name));
    JComponent comp = (JComponent) super.createComponent();
    // Peque�a mejora visual
    comp.setOpaque(false);
    return comp;
    return super.create(elem);
    //editorPane.setText(FORM_TEXT);
    editorPane.setText(texto);
    getContentPane().add(new JScrollPane(editorPane), BorderLayout.CENTER);
    private void showData(String data) {
         // ergebnis significa resultado
    StringBuffer ergebnis = new StringBuffer("");
    StringTokenizer st = new StringTokenizer(data, "&");
    while (st.hasMoreTokens()) {
    String token = st.nextToken();
    String key = URLDecoder.decode(token.substring(0, token.indexOf("=")));
    String value = URLDecoder.decode(token.substring(token.indexOf("=")+1,token.length()));
    v.add(value);
    ergebnis.append(" "); ergebnis.append(key); ergebnis.append(": "); ergebnis.append(value); ergebnis.append(" ");
    ergebnis.append(" ");
    JOptionPane.showMessageDialog(this, ergebnis.toString());
    public static void main(String[] args) throws Exception {
    JFrame frame = new JFrame ();
    FormSubmission editor = new FormSubmission ();
    frame.getContentPane().add(editor);
    frame.pack();
    frame.show();
    }

  • How can I programmatically change the fill color Settings of the Cwslide ActiveX Controls

    In design mode (Visual Studio 6.0),I want to programmatically change the fill color in properties of  cwslide  ActiveX Controls.what's the command?
    Attachments:
    cwslide.JPG ‏11 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • How can you Programmatically recalculate the tax on AR Transaction Line

    Hi
    Does anyone have any clue about the API which can be used to programmatically recalculate the tax on the sales order line.
    We are using EBTAX Engine.
    Regards

    Which tax engine are you using in your environment? Are you using standard Oracle e-biz tax?

  • DSC Module: Alarms & Events: How can I programmatically set the 'set user'?

    How can I set the Alarm&Event 'set user'?  Right now, it is always '(Nobody)'

    Thanks for the info.  I had not discovered the Security dialog under the Options.  However, now that I have delivered the first version of the software and have more time to play around, I have discovered the Account Domain Manager under Tools->Security, and that seems to be what I need.  In the image below, I used the Example entitled 'DSC Dynamic Alarm Update'  (available in Example Finder).  But first, I created a local domain called 'Skelly', and logged in as a user named 'zimmer'.  When the alarm came in, you can see that the set user is no longer 'Nobody'.  So now, all I need to do is modify my startup VI, to have each operator log in (using the DSC Security VIs).  That way I will have a record of which operator adjusted the valves & pumps.  ( I write all commands going to control devices to a text shared variable which I log. I also have checked the option to Generate an event upon value change.)

  • How can I programmatically change the colour of tab pages? If not, when?

    I have found that in LabVIEW 6.0.2 the "Dialog" tab control cannot be coloured, but the other type of tab control one can be coloured by the paintbrush tool. I cannot find any property node to programmtically set the colour of the enitre tab control or individual pages. When will these properties be available in LabVIEW?

    The dialog controls and indicators are designed
    specifically for use in dialog boxes. These controls inherit their color from the colors you set in Control Panel >> Display. Because of this you will not be able to programmatically change their color.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • How can I permanently change the orientation of an I-Phone MOV file.

    I'm trying to burn DVDs for family members from some wedding videos I  took with my I-Phone.  Because I held the I-Phone in an upright, or  "portrait" position, the normal playback comes through in a "landscape"  orientation with the images laying sideways.  Within QuickTime Pro, I'm  able to rotate the viewing angle by 90 degrees to be viewed properly,  but when I save the adjusted settings, the original file remains  unchanged in its "un-rotated" format.  How can I change the actual,  native file format so that the orientation is correct for a DVD playback  that does not have the benefit of QuickTime functionality?

    The "normal" size of the source video is 1920 pixels wide x 1080 pixels high.  My goal is to crop some of both the top and bottom of the display area so as to reduce the size of the pillar box effect when I export the file in the 90-degree rotated position.  Within Photoshop I made as many as 12 different variations of masks using the same 1920x1080 dimensions.  But when I apply the masks, the resulting views I get are bottom left, bottom right, bottom middle, etc., but none of the masks will display any portion of the top half of my source video?
    Maybe it would be easier to run through the entire strategy here. First of all you have determine your workflow.
    1) First of all you have to decide if you are making a data DVD (one that plays on a computer) or a normal DVD that is to be played on a commercial DVD player. Based on your previous comments, I had assumed you wanted the latter.
    2) The next step is to decide which DVD standard you need for the DVD player. Am assuming you are creating an NTSC DVD here which means your final encode matrix will be 720x480.
    3) The next step is to decide whether you are creating a widescreen or a full screen DVD. I.e., you need to decide whether you need to mask or crop your content to a 16:9 or 4:3 aspect ratio.
    4) At this point I would decide upon a specific workflow strategy—i.e., whether to crop or mask the content. Since you mention the creation of masks, I assume this is your preference.
    5) Having answered the above questions, I would now open the rotated file in QT 7 Pro as a 1080x1920 display file.
    6) At this point I would probably scale the display dimensions as needed to most easily work at your preferred target aspect ratio. By this I mean your maximum width is 1080 which works well at a 4:3 aspect (1080x810) but not so well as 16:9 aspect (1080x607.5) mask. Obviously in the latter case dimensions something like 960x540 would be easier to work with and I would likely "scale" the display width to 960 in the "Keep Aspect" mode and allow QT 7 Pro to scale the verticle dimension as it pleases.
    7) Now is the time to create the white mask background at the same dimensions as your scaled or unscaled display screen as currently open in QT 7 Pro.
    8) To create the actual mask, you now black out the area (e.g., 1080x810 within a 1080x1920 screen or 960x540 within your "scaled" display screen) you want to display in your final DVD. This area can be centered or offset high or low to center the focus of attention in your final DVD.
    9) Once you have finished step 8, you can export your properly oriented and masked content to any compression formats compatible with your DVD authoring application which will properly scale, convert, and author the content for DVD burning according to the proper widescreen or full screen settings selected by you.

  • How can I return to the Snow Leopard version of Quick Look?

    Lion does not allow playing more than one movie clip in succession, using Quick Look. In Snow (and earlier), you can select a bunch of clips, hit the spacebar, and they each play in alpha/numeric order without clicking the arrow button to play the next one. So, if your movie project is 10 clips in a folder, you highlight each and hit Space (play), you've got to click the forward arrow per clip. That's 10 times. You can't see your project as a whole. How can you get that function back? It's the same deal when quick-looking photos.
    I prefer this method because it does not put what you view into the Recent Items.

    The only way to return is to remove Lion and reinstall Snow Leopard.

  • How can I programmatically change the voltage range settings in a DAQ Assistant

    Hi,
    First post here.  
    I need to be able to change the voltage range properties of a daqmx DAQ Assistant based on user input.  My hardware, an SCXI-1102C does not allow changing this property on a running task, so I'd like to either set the analog input voltage range before the DAQ Assistant activates, or pause the DAQ Assistant immediately after it starts, set the values and then resume.
    I don't know how to edit the task ahead of time because the DAQ assistant creates the task when it runs, and there is no task before that.
    In the attached picture, I have a conditional section, set to run only if the while loop iteration is 0.  I take the task from the Daq assistant, send it to a stop task vi, set the property, and then send the task on to the start task vi. I can watch it run with the debug light on, and everything seems to work correctly, but on the second (and all the other) iteration of the loop, I read out AI.Max and it seems like the DAQ Assistant has re set it back to 5V.  Can anyone see what is going wrong here?
    BTW, this is continuous acquisition and the code does not produce error messages when it runs.
    I did come across a similar question that someone posted here back in 2006, but his question was specifically aimed at a Labview API (VB, I think), and not an actual G solution.
    Attached are the actual vi in question and a png image of the block diagram.
    Thanks! 
    Ruby K
    Solved!
    Go to Solution.
    Attachments:
    Labview_question.PNG ‏14 KB
    Sample_AIV.vi ‏91 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • How can I programmatically retrieve Cursor Locations from 3D Measurement Tool window

    I like to know if there is API which allows me to retrieve cursor locations shown on the 3D Measurement Tool window.
    Thanks

    I'm sorry I missed this request. :-(
    To accomplish your goal, you could use a MouseEventHandler, which would report back mouse positions in the 3D window (known as the canvas). You can get momentary positions on events such as MouseDown or MouseUp, or if you really need it, you can obtain real-time mouse positions using MouseMove.
    Here's a hunk of example code:
    //===================================================
    myMouseHandler = new MouseEventHandler();
    myMouseHandler.onMouseDown = true; //this prop is true by default
    myMouseHandler.reportAllTargets = false;
    myMouseHandler.onEvent = function(event)
    console.println("canvasPixelHeight = " + event.canvasPixelHeight );
    console.println("canvasPixelWidth = " + event.canvasPixelWidth );
    console.println("mouseX = " + event.mouseX );
    console.println("mouseY = " + event.mouseY );
    console.println("currentTool = " + event.currentTool );
    console.println("isMouseDown = " + event.isMouseDown );
    console.println("isMouseOut = " + event.isMouseOut );
    console.println("isMouseOver = " + event.isMouseOver );
    //Register the handler and turn the mule on
    runtime.addEventHandler(myMouseHandler);
    //===================================================

Maybe you are looking for

  • Multiple devices on same account - how to transfer ALL files in one place?

    Hi, I am using my Apple ID on 5 apple devices, incl. 2 laptops and Mac. Need to migrate all files to one computer for syncing with iPhone and cut out some devices, but... Question 1:  How I can move ALL my music files from old MB Pro (runs Mac OS X 1

  • N:1 file merging scenario in bpm

    Hi friends, Can anybody send me link of blog for file merging scenario in BPM. i hav two files and i hav to merge it into one single file. I am new to XI, plz help me. Thanks in advance, Shweta

  • Dynamic sender SOAP Adapter

    Hi, i need to define a web service that could be consumed by any sender system, how could i do this if i need to define the BS in the URL when i create the WSLD undel menu tool-->Define web service http://host:port/XISOAPAdapter/MessageServlet?channe

  • MX Records added to business catalyst but email not working since site was taken offline (subsequently put back online) by registrar.

    Hi. We've been experiencing some issues sending and receiving email since 1and1 took our domain name down. We've now got the site back live (check devonshiremarkets.com) but emails are still not being received. I have been informed the MX records hav

  • Feed title?

    Hi, I wonder if anyone can help me? I'm running wordpress 2.0 with the plugin podpress. I have submitted a podcast RSS feed and it has been accepted but it is now asking for a feed title? In the podpress options I have specified a title (I'm not sure